if ($banuser['usergroupid']!=2 or $ismod) { echo "<p>You may not ban someone who is not a normal registered user!</p>"; }
if ($banuser['usergroupid']==5 or $banuser['usergroupid']==6 OR $banuser['usergroupid']==7) { echo "<p>You can not ban someone who is a Mod. S.Mod or an Admin!</p>"; }