<?php
/*
*Copyright (C) 2012-2013  Psychokiller
*
*This program is free software; you can redistribute it and/or modify it under the terms of 
*the GNU General Public License as published by the Free Software Foundation; either 
*version 3 of the License, or any later version.
*
*This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
*without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
*See the GNU General Public License for more details.
*
*You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>. 
*/
if(!defined("SECURECHECK")) {die($lang['error_file_alone']);} 
/*
REGARD!!
If you use the web interface, they must write the webserver ip in the query_ip_whitelist.txt.
After adding the ip, the server must be restarted!

Add more Server Ip's.
For Example
$server[0]['alias']= "Lokaler Server1";
$server[0]['ip']= "127.0.0.1";
$server[0]['tport']= "10011";

$server[1]['alias']= "Lokaler Server2";
$server[1]['ip']= "127.0.0.2";
$server[1]['tport']= "20022";

$server[2]['alias']= "Lokaler Server3";
$server[2]['ip']= "127.0.0.3";
$server[2]['tport']= "30033";
*/

$server[0]['alias']= "TeamSpeak 3 Server";

if(isset($_POST["hostname"]))
	$server[0]['ip']= $_POST["hostname"];
else
	$server[0]['ip']= "127.0.0.1";

if(isset($_POST["query"]))	
	$server[0]['tport']= $_POST["query"];
else
	$server[0]['tport']= "10011";

$cfglang	="en";			//Language German = de, English = en, Netherlandish=nl (by pd1evl), French = fr (by supra63200)

$duration = "100";				//Set the Limit for Clients show per Page on Client List

$fastswitch=true;				//If true you can switch the Server on the header

$showicons="left";				//Define the position where the icons on the Viewer will show left or right

$style="new";					//Chose your design  set 'new' for the default design or the name of your own create design

$msgsend_name="Webinterface";	//This Name will be show if you send a message to a Server

$show_motd=false;				// Set it to false to not show the message of the day window

$serverhost=false;				//If this true normal query clients must specific a port on Login.
?>