Advertisement
Guest User

Untitled

a guest
Jul 4th, 2014
1,190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. final public function getBans()
  2. {
  3. global $engine;
  4. return $engine->result("SELECT count(id) from bans");
  5. }
  6.  
  7. final public function GetRegisteredUsers()
  8. {
  9. global $engine;
  10. return $engine->result("SELECT count(id) from users");
  11. }
  12.  
  13. final public function GetVIPUsers()
  14. {
  15. global $engine;
  16. return $engine->result("SELECT count(id) from users WHERE rank = '2'");
  17. }
  18.  
  19. final public function GetStaffUsers()
  20. {
  21. global $engine;
  22. return $engine->result("SELECT count(id) from users WHERE rank >= '5'");
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement