Parašė sniuff· 2008 Vas. 22 18:02:24
#2
openside("Serverio Veikimas");
$servo_ip='78.62.72.211'; // IP
$servo_loginport=2106; // Login PORT
$servo_serverport=7777; // Game PORT
echo'<table width="100%"><tr><td>Login : ';
if($fp=@fsockopen($servo_ip, $servo_loginport, $ERROR_NO, $ERROR_STR,(float)0.5))
echo"<span style='color:lime'>ON</span>";
else
echo"<span style='color:red'>OFF</span>";
echo('</td> <td>Game : ');
if($fp=@fsockopen($servo_ip, $servo_serverport, $ERROR_NO, $ERROR_STR,(float)0.5))
echo"<span style='color:lime'>ON</span>";
else
echo"<span style='color:red'>OFF</span>";
echo('</td> </tr>');
echo('</table>');
closeside();