Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Atsitiktiniai Siuntiniai

Parašė Pradinges· 2008 Bir. 13 22:06:53
#12

openside("Atsitiktiniai siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY RAND() DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'> ".$data['download_description']."
</td>
<td align='right'><a href='".BASEDIR."downloads.php?cat_id=12'' title='".$data['download_title']."' class='side'><b>Parsisiųsti</b></a></td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
closeside();






Ka as blogai darau :S