Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panele v7
Parašė iNeT· 2008 Gru. 29 18:12:09
#1
Gal kas gali idet Naujausiu siuntiniu ir Top 10 siuntiniu panele viename ant v7?
Parašė Spyware· 2008 Gru. 29 18:12:53
#3
Tu grybas, jis prašo ant v7.
Parašė iNeT· 2008 Gru. 29 18:12:39
#4
Aisku kad grybas. ;)
Parašė iNeT· 2008 Gru. 29 19:12:32
#5
Sorry uz 2DUOBLE post bet nieks nepades? :(
Parašė iNeT· 2008 Gru. 29 19:12:38
#6
alio
Parašė Enzo· 2008 Gru. 29 20:12:22
#7
Valio:
echo "<table width='100%'>
<tr>
<td width='50%'>";
openside("Naujausi Siuntiniai");
$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,10"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
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>Nėra siuntinių</center>\n";
}
closeside();
echo "</td>
<td width='50%'>";
openside("Top 10");
$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_count DESC LIMIT 0,10"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
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>Nėra siuntinių</center>\n";
}
closeside();
echo "</tr>
</table>";