|
<?php
$file = $db->super_query('select count(id) as count from `load_file`');
if ($file['count'] >= 1)
{
$file_t = $db->query("SELECT * FROM `load_file` ORDER BY `time` DESC LIMIT ".$settings['output_load']);
while ($load = $db->fetch_assoc($file_t))
{
echo '<a class="menudiv" href="'.HOME.'/down/file'.$load['id'].'"><img src="'.HOME.'/images/load/'.$load['format'].'.png" alt="*" /> '.$load['name'].' <span class="counts_right"><b>'.$load['get'].'</b></span></a>';
}
} else
{
echo msg('Нет файлов');
}
?>