Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panele ant paveikslelio

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

Parašė Jaunelis· 2010 Lap. 10 13:11:07
#2


echo "";
 
error_reporting(0);
 
$IP = array(
echo "<div style='padding-left:50px;'>";
 
"<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 "</div>";
 
}
 
}
 


try it.

Redagavo Jaunelis· 2010 Lap. 10 13:11:30

Parašė cofi· 2010 Lap. 11 00:11:54
#3

Aciu, Tikrai padejio :) tik kad tavo sitas echo "<div style='padding-left:50px;'>"; kodas turejio but virsuj vietoj to kito echo
Bet vsitiek lb padejaj Aciu :)

Redagavo cofi· 2010 Lap. 11 00:11:46