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

Parašė interaktyvus· 2008 Bir. 3 16:06:14
#1

kaip padaryti kad viskas butu normaliai pasisveikinimas virsuje o naujienos po top panele
paveiksliukas http://img507.imageshack.us/my.p...576yt2.jpg
stai duodu paneles skripta

echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("Naujausia siuntiniai");
echo "<div class='side-label'><b>Nauji siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("Top 5 Siuntiniai");
echo "<div class='side-label'><b>Top 5 siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</td>
<td width='33%'>";



Redagavo interaktyvus· 2008 Bir. 3 16:06:55

Parašė Giedrunskis· 2008 Bir. 3 16:06:25
#2

O kurioje vietoja ijungineji panele? :D

Parašė interaktyvus· 2008 Bir. 3 16:06:12
#3

U-Ctr

Parašė interaktyvus· 2008 Bir. 3 16:06:25
#4

gal kas zinot?:?

Parašė MAnjack· 2008 Bir. 3 17:06:52
#5

Trink <td width='33%'> apačioj.

Parašė interaktyvus· 2008 Bir. 3 17:06:37
#6

dabar ismete ziurek
http://img113.imageshack.us/my.p...122mj9.jpg

Parašė MAnjack· 2008 Bir. 3 17:06:54
#7

echo "<table width='100%'>
<tr>
<td width='50%'>";
openside("Naujausia siuntiniai");
echo "<div class='side-label'><b>Nauji siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='50%'>";
openside("Top 5 Siuntiniai");
echo "<div class='side-label'><b>Top 5 siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</td></table>";



Parašė interaktyvus· 2008 Bir. 3 18:06:19
#8

o dekuj viskas veike ;)