Parašė Urbonas· 2008 Spa. 29 19:10:18
#1
openside("Naujausi siuntiniai");
echo "<table><td height='70'>";
$result = dbquery(
"SELECT td.*,tdc.* FROM ".$db_prefix."downloads td
INNER JOIN ".$db_prefix."download_cats tdc ON td.download_cat=tdc.download_cat_id
WHERE ".groupaccess('download_cat_access')." ORDER BY download_datestamp DESC LIMIT 0,7"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 20);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</td></table>";
closeside();
echo "</td></tr></table>";
closeside();
Kaip padaryti siuntinius, jei jie yra sudeti i /infusions/pro_download_panel/download.php :?
Redagavo kiskiss· 2008 Spa. 29 22:10:46