if ($bbuserinfo['usergroupid']==5 || $bbuserinfo['usergroupid']==6 || $bbuserinfo['usergroupid']==7) { $adminmodop = '<a href="mod/givepoints.php">Give Points</a>'; } else { $adminmodop = ''; }