Hola Evil, hay un par de variables indefinidas, además el and no funciona, tiene que ser &&, compara con este código (funciona):
Código PHP:
<?php
print'<table width="100">';
$server = "127.0.0.1";
$portg = "3306";
$portl = "80";
$timeout = "5";
if ($server && $portg && $timeout) {
$game = @fsockopen($server, $portg, $portl, $errno, $timeout);
$login = @fsockopen($server, $portl, $portl, $errno, $timeout);
}
if($login) { print'<p>Login:<font color="#00FF00"><strong> OnLine</strong></font></p>'; }
else { print'<p>Login:<font color="#FF0000"><strong> OffLine</strong></font></p>'; }
if($game) { print'<p>Server:<font color="#00FF00"><strong> OnLine</strong></font></p>'; }
else { print'<p>Server:<font color="#FF0000"><strong> OffLine</strong></font></p>'; }
print'</table>';
?>
espero que sirva, saludos