diff --git a/mcping.php b/mcping.php index 2cb7d86..cc966c9 100755 --- a/mcping.php +++ b/mcping.php @@ -9,11 +9,11 @@
include('http://unps-gama.tk/mcping.php?ip=$ip&port=$port') - echo "Server: " . $ip . " on port: " . $port . " is: "; + echo "Server: " . $ip . " on port: " . $port . " is: "; include('http://unps-gama.tk/testserver.php'); $status = GetServerStatus($ip, $port); - if ($status=="ONLINE") echo "" . $status . "\n"; - if ($status=="OFFLINE") echo "" . $status . "\n"; + if ($status=="ONLINE") echo "" . $status . "\n"; + if ($status=="OFFLINE") echo "" . $status . "\n"; echo "motd: " . $srvinfo[0] . "\n"; echo "players online: " . $srvinfo[1] . "\n"; echo "max players: " . $srvinfo[2] . "\n";