(GPLv2)
or write to the Free Software Foundation, Inc., 51 Franklin Street,
Fifth Floor, Boston, MA02110-1301, USA.
********************************************************************************/
if (stristr(htmlentities($_SERVER['PHP_SELF']), "block_download_lat_top.php")) {
die("
Error: This file cannot be opened directly! |
");
}
global $siteConfig,$dblink;
$dw_result = $dblink->get_list("SELECT id,nome,DATE_FORMAT(data, '".$siteConfig['timestamp']."') as data FROM memht_download WHERE enabled=1 ORDER BY scaricato DESC LIMIT 20");
foreach ($dw_result as $row_dw) {
$did = intval($row_dw['id']);
$dnome = outCode($row_dw['nome']);
$ddata = $row_dw['data'];
echo "\n";
}
?>