virtualserver_status; $server_name = $ts3_connect->virtualserver_name; $server_adress = $ts3_connect->getAdapterHost(); $server_uptame = TeamSpeak3_Helper_Convert::seconds($ts3_connect->virtualserver_uptime); $server_actuallyusers = $ts3_connect->virtualserver_clientsonline - $ts3_connect->virtualserver_queryclientsonline; $server_maxusers= $ts3_connect->virtualserver_maxclients; $server_channels = $ts3_connect->virtualserver_channelsonline; $server_download = TeamSpeak3_Helper_Convert::bytes($ts3_connect->connection_filetransfer_bytes_received_total + $ts3_connect->connection_bytes_received_total); $server_upload = TeamSpeak3_Helper_Convert::bytes($ts3_connect->connection_filetransfer_bytes_sent_total + $ts3_connect->connection_bytes_sent_total); // show server as online echo ""; echo ""; echo ""; echo ""; echo ""; echo "" ; echo ""; echo ""; echo "" ; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Server Status:$server_status
Server Name$server_name
Server Adress:$server_adress
Server Uptime:$server_uptame
Users:$server_actuallyusers/$server_maxusers slotów
Channels:$server_channels
Download:$server_download
Upload:$server_upload
"; } // check error catch(Exception $e){ echo "

ERROR:

" , $e->getMessage(), "\n"; } ?>