<?php
/*
Copyright (C) 2004 Niklas Håkansson <niklas.hk@telia.com>
PHP_TS2 ver 1.3 is a free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public.
Please leave the copyright image as it is if you using this scripts
*/
include "ts2status.php";
require_once "config.php";
$fp = TSConn($ip,$tPort);
if($fp) {?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>BF2-Gaming Teamspeak2</title>
<?}
if($tree) {?>
<script src="include/ts2/js/vMenu.js" type="text/javascript"></script>
<?}?>
<link rel="STYLESHEET" type="text/css" href="include/ts2/css/stylesheet.css">
</head>
<body bgcolor="9999CC" text="#ffffff"topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0"><font color="#ffffff">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="17"><spacer type="block" width="17" height="1"></td>
<!-- MAIN -->
<td width="690" valign="top">
<img src="include/ts2/img/pix.gif" width="1" height="10"><br>
<table width="100%" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
<td width="100%" height="25" bordercolor="#333333" class="headerBread"> ::
Teamspeak 2</td>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
</tr>
<?if($basic) {?>
<!-- BASIC -->
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame"></td>
<td height="18" bordercolor="#333333" class="bgDarkFrame">
<div class="smallheaderBread"> Basic information </div></td>
<td class="bgFrame"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
<td height="26" valign="top" bordercolor="#333333" class="bgFrameGrey">
<img src="include/ts2/img/pix.gif" width="1" height="5"><br>
<table cellpadding="2" cellspacing="1" width="95%" align="center">
<tr><td height="5"><spacer type="block" width="1" height="5"></td></tr>
<tr bgcolor="#5b5b5b"><td colspan="2"><img src="include/ts2/icons/gts.gif" width="16" height="15" alt="" border="0"></td></tr>
<?
getTSInfo($ip,$port,$tPort);
?>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr><td height="15"><spacer type="block" width="1" height="15"></td></tr>
<!-- BASIC -->
<?}
if($info) {?>
<!-- USER INFO -->
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame"></td>
<td height="18" bordercolor="#333333" class="bgDarkFrame">
<div class="smallheaderBread"> User info</div></td>
<td class="bgFrame"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
<td height="26" valign="top" bordercolor="#333333" class="bgFrameGrey">
<img src="include/ts2/img/pix.gif" width="1" height="5"><br>
<table cellpadding="2" cellspacing="1" width="95%" align="center">
<tr><td height="5"><spacer type="block" width="1" height="5"></td></tr>
<?
getTSUsers($ip,$port,$tPort)
?>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr><td height="15"><spacer type="block" width="1" height="15"></td></tr>
<!-- USER INFO -->
<?}
if($tree) {?>
<!-- CHANNEL INFO -->
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame"></td>
<td height="18" bordercolor="#333333" class="bgDarkFrame">
<div class="smallheaderBread"> Channel and user info</div></td>
<td class="bgFrame"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
<td height="26" valign="top" bordercolor="#333333" class="bgFrameGrey">
<img src="include/ts2/img/pix.gif" width="1" height="5"><br>
<table cellpadding="2" cellspacing="0" width="95%" align="center">
<tr><td height="5"><spacer type="block" width="1" height="5"></td></tr>
<tr bgcolor="#A3A3CB">
<td width="16"><img src="include/ts2/icons/ts.gif" width="16" height="15" alt="" border="0"></td>
<td class="bread"><a href="ccInfo.php?cID=0&type=0" onmouseover="javascript:window.status='Default'; return true;" onmouseout="window.status=''; return true;" target="info" class="wrapCell" onClick="vMenu(this,1,1)" onblur="vMenu(this,0,1)"> <?=$name?> </a></td>
<td width="2" background="include/ts2/img/bar.gif"><spacer type="block" width="2" height="1"></td>
<td width="50%"></td>
</tr>
<tr bgcolor="#A3A3CB">
<td></td>
<td valign="top">
<table cellpadding="1" cellspacing="0">
<?
getTSChannelInfo($ip,$port,$tPort);
?>
</table>
</td>
<td width="2" background="include/ts2/img/bar.gif"><spacer type="block" width="2" height="1"></td>
<!-- TS INFO -->
<td valign="top">
<iframe src="ccInfo.php?cID=0&type=0" height="<?=$iframeHeight?>" width="300" frameborder="0" name="info"></iframe>
</td>
<!-- TS INFO -->
</tr>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="include/ts2/img/pix.gif" width="1" height="1"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td></td>
<td height="18" align="right"><a href="mailto:neddie@mastercombatants.com?subject=TeamSpeak 2 - Web Interface"><img src="include/ts2/img/copyright.gif" width="106" height="11" alt="" border="0"></a> </td>
<td></td>
</tr>
<tr><td height="15"><spacer type="block" width="1" height="15"></td></tr>
<!-- CHANNEL INFO -->
<?}?>
</table>
<img src="include/ts2/img/pix.gif" width="1" height="5"><br>
</td>
<!-- /MAIN -->
<td width="5"><spacer type="block" width="5" height="1"></td>
</tr>
</table>
</font>
</body>
</html>
Fehl anzeige, da ist nix zu finden, nur die 333333 und die 9999CC sowie ffffff, aber das ist nicht die farbe.