Advertisement
Guest User

Untitled

a guest
Nov 1st, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. class Ts3f {
  2.  
  3. /* CONFIG */
  4. private $ts3_ip;
  5. private $ts3_user;
  6. private $ts3_pass;
  7. private $ts3_query;
  8. private $ts3_port;
  9.  
  10. private $ts3;
  11.  
  12. function __cunstruct() {
  13.  
  14. $this->ts3_ip= 'localhost';
  15. $this->ts3_user= 'serveradmin';
  16. $this->ts3_pass= 'xTqAQaij';
  17. $this->ts3_query= '10011';
  18. $this->ts3_port= '9987';
  19. $this->ts3 = TeamSpeak3::factory("serverquery://$this->ts3_user:$this->ts3_pass@$this->ts3_ip:$this->ts3_query/?server_port=$this->ts3_port");
  20.  
  21. }
  22.  
  23. function showbanlist() {
  24.  
  25. $ts3= $this->ts3;
  26.  
  27. $banlist = $ts3 -> banlist();
  28.  
  29. echo '<table>';
  30. echo '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement