Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: pinigu sistema - serveriai
Parašė Lordcraft· 2008 Gru. 22 21:12:53
#1
kaip pasidaryti kas big serverius rodytu po du vienoj eilutes o ne po viena. su table dar nelabai man iseina susigaudyti tai gal padesit kas nors. vnz yra taip:
http://img171.imageshack.us/img1...877ud9.png
o reiketu kad butu taip:
http://img171.imageshack.us/img1...147jp3.png
Stai pats tas kodas:
if($big == 1){
if (file_exists("images/".$map.".jpg")){$map_image = "<img src='images/".$map.".jpg' class='img2'>";}else{$map_image = "<img src='images/noimage.gif' class='img2'>";}
echo "\n";
echo "<table width='400' class='bgbigo' width='764' align='center'>\n<tr>\n<td>\n";
echo "<table width='100%' align='center' border='0'>\n";
echo "<tr>\n";
echo "<td rowspan='7' width='160'>\n";
echo $map_image."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[pavadinimas];
echo "<td>\n";
if (strlen($server_host_name) > $maxlongname){
$server_host_namesmall = substr($server_host_name, 0, $maxlongname - 3) . "...";
}else{
$server_host_namesmall = $name;
}
echo $server_host_namesmall."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td >";
echo $locale[adresas];
echo "</td>\n";
echo "<td>\n";
echo "<a href='http://".$web."' target='_blank'>".$web."</a>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[zaidejai];
echo "</td\n>";
echo "<td>\n";
echo htmlspecialchars($exp)."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[zemelapis];
echo "</td>\n";
echo "<td >\n";
echo htmlspecialchars($drop)."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[protokolas];
echo "</td>\n";
echo "<td >\n";
echo htmlspecialchars($versija)."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[pingas];
echo "</td>\n";
echo "<td>\n";
echo "</table>\n";
echo "</td>\n</tr>\n</table>\n";
kur cia koki koda reiketu iterpti?
Parašė Lordcraft· 2008 Gru. 22 23:12:32
#2
nei vienas??? :|
Parašė blingas· 2008 Gru. 22 23:12:22
#3
Kas zinos tas pades,neklausinek 100kartu...
Parašė ex-it· 2008 Gru. 22 23:12:08
#4
$counter = 0; $columns = 4;
if($big == 1){
if (file_exists("images/".$map.".jpg")){$map_image = "<img src='images/".$map.".jpg' class='img2'>";}else{$map_image = "<img src='images/noimage.gif' class='img2'>";}
echo "\n";
if ($counter != 0 && ($counter % $columns == 0)) echo "</tr>\n<tr>\n";
echo "<table width='400' class='bgbigo' width='764' align='center'>\n<tr>\n<td>\n";
echo "<table width='100%' align='center' border='0'>\n";
echo "<tr>\n";
echo "<td rowspan='7' width='160'>\n";
echo $map_image."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[pavadinimas];
echo "<td>\n";
if (strlen($server_host_name) > $maxlongname){
$server_host_namesmall = substr($server_host_name, 0, $maxlongname - 3) . "...";
}else{
$server_host_namesmall = $name;
}
echo $server_host_namesmall."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td >";
echo $locale[adresas];
echo "</td>\n";
echo "<td>\n";
echo "<a href='http://".$web."' target='_blank'>".$web."</a>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[zaidejai];
echo "</td\n>";
echo "<td>\n";
echo htmlspecialchars($exp)."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[zemelapis];
echo "</td>\n";
echo "<td >\n";
echo htmlspecialchars($drop)."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[protokolas];
echo "</td>\n";
echo "<td >\n";
echo htmlspecialchars($versija)."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>\n";
echo $locale[pingas];
echo "</td>\n";
echo "<td>\n";
$counter++;
echo "</table>\n";
echo "</td>\n</tr>\n</table>\n";
Megink, is lempos sudejau :D
Redagavo ex-it· 2008 Gru. 22 23:12:23
Parašė Lordcraft· 2008 Gru. 22 23:12:10
#5
apsoliuciai niekas nepasikeite...
Parašė Lordcraft· 2008 Gru. 23 19:12:41
#6
daugiau variantu nera? :|
Parašė stygis· 2008 Gru. 23 19:12:01
#7
Tipo nori kad tie serveriai butu po 2 vienoje eiluteje?
Parašė Lordcraft· 2008 Gru. 23 19:12:00
#8
taip