Parašė cofi· 2010 Lap. 10 08:11:01
#1
Sveiki noreciau kad man padetumet del vieno dalyko :)
Stai tas
php kodas
echo "<table align=center class='mainsite-border' align='left' width='500' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td><div id='sub-nav'><div id='container'>";
echo "";
error_reporting(0);
$IP = array(
"<font size=2>Login: </font>" => "78.58.83.53:2106" , "<font size=2>Game: </font>" => "78.58.83.53:7777",
); while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo($ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<font color='green'><font size=2>Online </font></font><br>");
fclose($fp);
}
else {
echo ("<font color='red'><font size=2>Offline</font></font><br>");
}
}
echo "</table></div>";
echo "</td>
<td align='center' width='100%'>";
echo "</td>
</tr>
</table>";
Jej kas blogai pataisykit cia nes net pats neisivaidzuojiu ka cia ir kaip pridariau svarbu buwo tiek kad paviko ant image uzmest ta panele :D :D :D sitas kodas eis i theme.php. Issanksto Aciu Geriems zmonems :)
Deiviux tarė žodį: plačius paveikslėlius dėk tarp [frame] tag'ų.
Redagavo Deiviux.eu· 2010 Lap. 11 10:11:19