Parašė Poker· 2008 Lie. 2 21:07:36
#2
<?php
openside("Serverio statusas");
$servo_ip='82.135.252.12';
$servo_loginport=1850;
$servo_serverport=7777;
echo'
<table width="100%"> <tr> <td colspan="2"><center><b>Mūsų ir L2-kk.lt serveris</b></center></td> </tr> <tr> <td><br>';
if($fp=fsockopen($servo_ip, $servo_loginport, $ERROR_NO, $ERROR_STR,(float)0.5))
echo"<b>Login:</b><span style='color:lime'> Online</span><br>";
else
echo"<b>Login:</b><span style='color:red'> Offline</span><br>";
echo('<b>Game:</b>');
if($fp=fsockopen($servo_ip, $servo_serverport, $ERROR_NO, $ERROR_STR,(float)0.5))
echo"<span style='color:lime'> Online</span>";
else
echo"<span style='color:red'> Offline</span>";
echo('</td> </tr>');
echo('</table>');
closeside();
?>
Kaip naudotis neklausk.
Redagavo Poker· 2008 Lie. 2 21:07:54