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

Parašė ex-it· 2008 Sau. 16 20:01:08
#3

openside("Naujausi mp3");
$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,50"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 100);
  if (iMEMBER) {
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 <img src='TAVO IMg NUORODA'></a>\n";
} else {
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."nariams.php' title='".$data['download_title']."' class='side' target='_blank'>$itemsubject</a>\n";
}
}
} else {
echo "<center>".$locale['004']."</center>\n";
}


closeside();



Redagavo ex-it· 2008 Sau. 16 20:01:24