\n");
}
?>
Error reporting ");
//echo("is currently on. Turn it off in live environments !
\n");
//error_reporting(E_ALL);
//ini_set("display_errors", "1");
//ini_set("display_startup_errors", "1");
//ini_set("ignore_repeated_errors", "0");
//ini_set("ignore_repeated_source", "0");
//ini_set("report_memleaks", "1");
//ini_set("track_errors", "1");
//ini_set("html_errors", "1");
//ini_set("warn_plus_overloading", "1");
//================== END OF ERROR REPORTING CODE ======================
// Load the Teamspeak Display:
require("teamspeakdisplay/teamspeakdisplay.php");
// Get the default settings
$settings = $teamspeakDisplay->getDefaultSettings();
//================== BEGIN OF CONFIGURATION CODE ======================
// Set the teamspeak server IP or Hostname below (DO NOT INCLUDE THE
// PORT NUMBER):86.63.64.60
$settings["serveraddress"] = "86.63.64.60";
// If your you use another port than 8767 to connect to your teamspeak
// server using a teamspeak client, then uncomment the line below and
// set the correct teamspeak port:8888
$settings["serverudpport"] = "8888";
// If your teamspeak server uses another query port than 51234, then
// uncomment the line below and set the teamspeak query port of your
// server (look in the server.ini of your teamspeak server for this
// portnumber):
//$settings["serverqueryport"] = 51234;
// If you want to limit the display to only one channel including it's
// players and subchannels, uncomment the following line and set the
// exact name of the channel. This feature is case-sensitive!
$settings["limitchannel"] = "^ToP. Clan TeamSpeak";
// If your teamspeak server uses another set of forbidden nickname
// characters than "()[]{}" (look in your server.ini for this setting),
// then uncomment the following line and set the correct set of
// forbidden nickname characters:
//$settings["forbiddennicknamechars"] = "()[]{}";
//================== END OF CONFIGURATION CODE ========================
// Is the script improperly configured?
if ($settings["serveraddress"] == "") { die("You need to configure this script as described inside the CONFIGURATION CODE block in " . $_SERVER["PHP_SELF"] . "
\n"); }
// Display the Teamspeak server
$teamspeakDisplay->displayTeamspeakEx($settings);
// Display autorefresh status and control link:
echo("
\n");
if ($autorefresh == 0) {
echo("Autorefresh: Off (
Turn on)
\n");
} else if ($autorefresh == 1) {
echo("Autorefresh: On (
Turn off)
\n");
}
?>
Powered by
Teamspeak Display