Parašė Kywis· 2011 Kov. 20 16:03:21
#1
Sveiki, padekit del 2. paveikslelio:) Kaip padaryt kad eitu viskas stulpeliu?
Padejusiems +rep.
JEI REIKIA STAI KODAS:
<?php
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,08");
if (dbrows($result) != 0) {
echo "<table width='210' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<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='small2'>".trimlink($data['download_title'], 50)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>Nera siuntiniu</div>\n";
}
?>
Redagavo Kywis· 2011 Kov. 20 16:03:12