$perm = getpermission(); if($perm['ismoderator']) echo "supermod"; if($perm['cancontrolpanel']) echo "admin";