Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: kaskoks uzrasas

Parašė Antilamer· 2008 Kov. 4 16:03:46
#4

Ir pasakyk kad pats nematai kur tai yra? :D

<?php
openside_header($locale['020']);
$result=dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n";
if(dbrows($result)!=0){
echo "<tr><td colspan='2' class='small'></td></tr>";
while($data=dbarray($result)){
echo "<tr>
<td class='small'><a href='".BASEDIR."downloads.php?cat_id=$data[download_cat]&download_id=$data[download_id]'
title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 22)."</a></td>
<td align='right' class='side'>$data[download_count]</td>
</tr>
<tr>
<td class='small'>".$download_cat_name."</td>
</tr>\n";

}
}
echo "</table>\n";
closeside_header();
?>