Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Top 100 , naujausi 100

Parašė Narysx· 2010 Rugp. 17 13:08:08
#9

Jei v6, tai:

<?php

require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";

openside("TOP siuntiniai");
$top = dbquery("SELECT * from ".$db_prefix."downloads order by download_count DESC LIMIT 0,100");
$n=0;
while ($q = dbarray($top))
{
$n++;
$download_id = $q['download_id'];
$download_title = $q['download_title'];
echo "$n <a href='downloads.php?page_id=$download_id'>$download_title</a><br>";
}
closeside();

require_once "side_right.php";
require_once "footer.php";

?>



Redagavo Narysx· 2010 Rugp. 17 14:08:41