Show Your Support
$perm = getpermission(); if($perm['ismoderator']) echo "supermod"; if($perm['cancontrolpanel']) echo "admin";
$admins=$DB_site->query("SELECT username, userid FROM user, usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.cancontrolpanel=1"); $adminnames=""; while($admin=$DB_site->fetch_array($admins)) { $adminnames.=$admin[username]." "; }