Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Ts3f {
- /* CONFIG */
- private $ts3_ip;
- private $ts3_user;
- private $ts3_pass;
- private $ts3_query;
- private $ts3_port;
- private $ts3;
- function __cunstruct() {
- $this->ts3_ip= 'localhost';
- $this->ts3_user= 'serveradmin';
- $this->ts3_pass= 'xTqAQaij';
- $this->ts3_query= '10011';
- $this->ts3_port= '9987';
- $this->ts3 = TeamSpeak3::factory("serverquery://$this->ts3_user:$this->ts3_pass@$this->ts3_ip:$this->ts3_query/?server_port=$this->ts3_port");
- }
- function showbanlist() {
- $ts3= $this->ts3;
- $banlist = $ts3 -> banlist();
- echo '<table>';
- echo '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement