Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit del bg

Parašė zabello· 2009 Kov. 9 20:03:37
#1

openside("Server Status");
error_reporting(0);
$IP = array("<center><b>Login Server " => "78.157.94.18:2106",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo("<tr><td>".$ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<img src='http://lineage2.com/images/server_online.png'>");
fclose($fp);
}
else {
echo("<img src='http://lineage2.com/images/server_offline.png'>");
}
echo ("</center></td></tr>\n");
}



error_reporting(0);
$IP = array("<center><b>Game Server " => "78.157.94.18:7777",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo("<tr><td>".$ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<img src='http://lineage2.com/images/server_online.png'>");
fclose($fp);
}
else {
echo("<img src='http://lineage2.com/images/server_offline.png'>");
}
echo ("</center></td></tr>\n");
}

closeside();


kaip padaryti kad nebutu to tarpo paneleje ? idedu img