$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']} ORDER by id");
$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']} AND staff_hide = '0' ORDER by id");
wtf that's so excessive, just change this query:Code:$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']} ORDER by id");
Add a column in the users table called "staff_hide" and make it an int length 11 , 0 (Alternatively, use an ENUM variable if you only want 1 and 0)
then just change the top code to this:
Code:$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']} AND staff_hide = '0' ORDER by id");
Set staff_hide to 1 to hide them from the page.
$GetRanks = mysql_query("SELECT id,name,tab_colour,title FROM ranks WHERE id > 1 ORDER BY id DESC");
$GetRanks = mysql_query("SELECT id,name,tab_colour,title FROM ranks WHERE id > '1' AND id < '8' ORDER BY id DESC");