Hi Mairu !
hier mal das Script der TS2.php:
<?php
defined ('main') or die ( 'no direct access' );
$title = $allgAr['title'].' :: -=TSF=-Teamspeak';
$hmenu = '-=TSF=-Teamspeak';
$design = new design ( $title , $hmenu );
$design->header();
/*
Copyright

2004 Niklas Håkansson <niklas.hk@telia.com>
PHPTS2 ver 2.0 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 "include/contents/TS2/ts2status.php";
require_once "include/contents/TS2/config.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>PHPTS2 Viewer</title>
<?if($doRefresh) {?>
<META HTTP-EQUIV="refresh" CONTENT="<?=$reInterval?>; URL=index.php?ts2">
<?}
if($tree) {?>
<script language="javascript">
var selectColor = "<?=$selectColor?>";
var unselectColor = "<?=$bgcolor?>";
</script>
<script src="include/contents/TS2/js/vMenu.js" type="text/javascript"></script>
<?}?>
<link rel="STYLESHEET" type="text/css" href="include/contents/TS2/css/stylesheet.css">
</head>
<body bgcolor="#FFFFFF" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="17"><spacer type="block" width="17" height="1"></td>
<!-- MAIN -->
<td width="610" valign="top">
<img src="include/contents/TS2/include/contents/TS2/img/pix.gif" width="1" height="10"><br>
<table cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td class="bgFrame" width="1"><img src="include/contents/TS2/include/contents/TS2/img/pix.gif" width="1" height="1"></td>
<td width="100%" height="25" background="include/contents/TS2/img/mainnewsBar.gif" class="headerBread"> :: Teamspeak 2</td>
<td class="bgFrame" width="1"><img src="include/contents/TS2/include/contents/TS2/img/pix.gif" width="1" height="1"></td>
</tr>
<?
$fp = @TSConn($ip,$port,$tPort);
if(strlen($fp)>1) {?>
<?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 class="bgFrameGrey" height="18"><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/contents/TS2/include/contents/TS2/img/pix.gif" width="1" height="1"></td>
<td height="26" class="bgFrameGrey" valign="top">
<img src="include/contents/TS2/include/contents/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="<?=$headerColor?>"><td colspan="2"><img src="include/contents/TS2/include/contents/TS2/tsicons/gts.gif" width="16" height="15" alt="" border="0"></td></tr>
<?
}
getTSInfo($ip,$port,$tPort,$basic,$bgcolor);
if($basic) {
?>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="include/contents/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 class="bgFrameGrey" height="18"><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/contents/TS2/img/pix.gif" width="1" height="1"></td>
<td height="26" class="bgFrameGrey" valign="top">
<img src="include/contents/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,$bgcolor,$headerColor)
?>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="include/contents/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 class="bgFrameGrey" height="18"><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/contents/TS2/img/pix.gif" width="1" height="1"></td>
<td height="26" class="bgFrameGrey" valign="top">
<img src="include/contents/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="<?=$bgcolor?>">
<td width="16"><img src="include/contents/TS2/tsicons/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/contents/TS2/img/bar.gif"><spacer type="block" width="2" height="1"></td>
<td width="50%"></td>
</tr>
<tr bgcolor="<?=$bgcolor?>">
<td></td>
<td valign="top">
<table cellpadding="1" cellspacing="0">
<?
getTSChannelInfo($ip,$port,$tPort);
?>
</table>
</td>
<td width="2" background="include/contents/TS2/img/bar.gif"><spacer type="block" width="2" height="1"></td>
<!-- TS INFO -->
<td valign="top">
<iframe src="include/contents/TS2/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/contents/TS2/img/pix.gif" width="1" height="1"></td>
</tr>
<?} else {?>
<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/contents/TS2/img/pix.gif" width="1" height="1"></td>
<td height="26" class="bgFrameGrey" valign="top">
<img src="include/contents/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>
<td class="bread" width="15%">
<strong>Couldn't connect to server</strong><br><br>
<i>- Verify that the TS2 host allow a connection via <strong>TELNET</strong>.</i><br>
<i>- Verify that correct <strong>IP Address to server</strong>.</i><br>
<i>- Verify that correct <strong>Server QueryPort number</strong> has been entered.</i><br>
<i>- Verify that correct <strong>port number to the TS2 server</strong> has been entered.</i><br>
</td>
</tr>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="include/contents/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:niklas.hk@telia.com?subject=TeamSpeak 2 - Web Interface"><img src="include/contents/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/contents/TS2/img/pix.gif" width="1" height="5"><br>
</td>
<!-- /MAIN -->
<td width="5"><spacer type="block" width="5" height="1"></td>
</tr>
</table>
</body>
</html>
<? $design->footer(); ?>
Das sollte doch eigentlich ok sein - aber wieso landen alle Gäste bis hoch zu den Co-Admins beim Login wenn sie das Menue aufrufen - da hab ich irgendwie ein Verständnisproblem ! LOL
LG
Rico