Файл: system/new_files.php
Строк: 14
<?php
$fsize = fsize(''.$HOME.'/files/down/'.$load['files']);
$file = mysql_result(mysql_query('select count(`id`) from `load_file`'),0);
if($file >= 1)
{
$file_t = mysql_query("SELECT * FROM `load_file` ORDER BY `time` DESC LIMIT 4");
while($load = mysql_fetch_assoc($file_t))
{
echo '<table cols="2" width="100%" cellpadding="0" cellspacing="0" style="font-size:14px;"><tr>
<td class="menudiv" width="80%"><a class="k_menu" href="'.$HOME.'/down/file'.$load['id'].'"><img src="'.$HOME.'/images/load/'.$load['format'].'.png" alt="*" /> '.$load['name'].' </a>';
echo '</td></table>';
}
}
else{
echo '<div class="podmenu"><center><b>Нет файлов</b></center></div>';
}
?>