if (($usergroupid==X) and ($bbuserinfo[usergroupid]!=6)) { echo "<p>You cannot delete this Admin.</p>"; cpfooter(); exit; }