if ($bbuserinfo[usergroupid]==6) { $adminlink = '<a href=\"admin/index.php\">Admin CP</a>'; } else { $adminlink = ''; }