Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: naujas puslapis

Parašė eXtazY· 2007 Gru. 30 14:12:12
#8

openside("Top 50");
echo "<br>";
echo "<div class='side-label'><b>Top 50 siuntiniai</b></div>\n";
$result = dbquery("SELECT * 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>\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' target='_blank'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}

closeside();



Redagavo eXtazY· 2007 Gru. 30 14:12:16