PHP Code:
<?php
$s_ip = "231232132";
$login_p = "11002";
$char_p = "13000";
$world_p = "13003";
$mysql_p = "3306";
?>
<center>
<table width="170" border="0">
<tr>
<td width="119">Login-Server:</td>
<td width="41">
<?php
@$fp = fsockopen($s_ip, $login_p, $errno, $errstr, 30);
if (!$fp)
{echo '<font color="#FF0000">Offline</font>';}
else
{echo '<font color="#00CC00">Online</font>';}
?>
</td>
</tr>
<tr>
<td>World-Server:</td>
<td> <?php
@$fp = fsockopen($s_ip, $world_p, $errno, $errstr, 30);
if (!$fp) {echo '<font color="#FF0000">Offline</font>';} else {echo '<font color="#00CC00">Online</font>';}
?></td>
</tr>
<tr>
<td>Char-Server:</td>
<td> <?php
@$fp = fsockopen($s_ip, $char_p, $errno, $errstr, 30);
if (!$fp) {echo '<font color="#FF0000">Offline</font>';} else {echo '<font color="#00CC00">Online</font>';}
?></td>
</tr>
<tr>
<td>Mysql-Server:</td>
<td>
<?php
@$fp = fsockopen($s_ip, $mysql_p, $errno, $errstr, 30);
if (!$fp) {echo '<font color="#FF0000">Offline</font>';} else {echo '<font color="#00CC00">Online</font>';}
?>
</td>
</tr>
</table>