Parašė interaktyvus· 2008 Spa. 12 16:10:23
#1
stai turiu panele bet niekaip nerandu kaip butu galima pakeisti panles raidziu spalva is juodos y balta
openside("L2 Serveris");
error_reporting(0);
$IP = array("<center><b>LS STATUS</b><br>Serverio statusas: " => "127.0.0.1:5000",);
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>GS STATUS</b><br>Serverio statusas: " => "127.0.0.1:5000",);
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();
Redagavo interaktyvus· 2008 Spa. 12 16:10:57