Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Uz pagalba +10 :)

Parašė Nevo· 2009 Spa. 28 15:10:54
#8

opentable("Top 100 siunčiamiausia");
$result = dbquery("SELECT download_title, download_cat, download_id, download_count FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,50");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
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'>$itemsubject</a></td>
<td align='right'>".$data['download_count']."</td></tr>";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>";
}
closetable();





va megink