Before you upload or redo the layout you better check if PHPTS2 is working 
with your hosts web app.

Open the file named config.php and type in correct values

/*****************************************************
* Connection variables							      
*****************************************************/
$ip 	= "127.0.0.1";		// IP Address to server
$tPort 	= "51234";			// Server QueryPort number
$port 	= "8767";			// Port number to the TS2 server


Now upload everything and load the ts2.php in your browser.
 
If the connection succeded you might want to change some other varibles.


# Here you can for an example chose to only view the tree info by setting $basic and $info equal false.

/*****************************************************
* View selection								      
*****************************************************/
$basic 			= true;		// true or false
$info  			= true;		// true or false
$tree			= true;		// true or false
$iframeHeight 	= 300;		// Adjust iframe height - Presenting info from a selected channel 


# Here you can chose if you want to have an automatic refresh and which intervall the refresh shall have.

/*****************************************************
* Refresh										      
*****************************************************/
$doRefresh 	= true;			// true or false
$reInterval	= 60;			// Amount of seconds until next refresh


# Here you can set if you want to have a join button when a user click on a channel, only concern the tree view.

/*****************************************************
* Join Button									      
*****************************************************/
$joinButton = true;			// true or false


# Here you can alter those color which cant be set in the css document.

/*****************************************************
* TeamSpeak special colors  					      
*****************************************************/
$bgcolor 		= "#A3A3CB"; // Default is TS2 purple background color
$headerColor	= "#5b5b5b"; // Header background color used for "Basic info" and "User info"
$selectColor 	= "#CECECE"; // Used when click on a channel in tree


Cheers
Niklas Hkansson