
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once \\\"maincore.php\\\";
require_once \\\"subheader.php\\\";
require_once \\\"side_left.php\\\";
opentable(\\\"Top 100 siunciamiausiu\\\");
echo \\\"\\\";
$result = dbquery(\\\"SELECT * FROM \\\".$db_prefix.\\\"downloads ORDER BY download_count DESC LIMIT 0,100\\\");
if (dbrows($result) != 0) {
echo \\\"<table width=\\\'100%\\\' cellpadding=\\\'0\\\' cellspacing=\\\'0\\\'>\\\";
while($data = dbarray($result)) {
$itemsubject = trimlink($data[\\\'download_title\\\'], 23);
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\\\'>$itemsubject</a></td>\\\\n
<td align=\\\'right\\\'>\\\".$data[\\\'download_count\\\'].\\\"</td>\\\\n</tr>\\\\n\\\";
}
echo \\\"</table>\\\";
} else {
echo \\\"<center>\\\".$locale[\\\'004\\\'].\\\"</center>\\\\n\\\";
}
   closetable();
require_once \\\"side_right.php\\\";
require_once \\\"footer.php\\\";
?>
