Еще бы знать где он есть(((
Добавлено через 03:08 сек.
$req = mysql_query("SELECT * FROM `download` WHERE `time` > '$old' AND `type` = 'file' ORDER BY `time` DESC LIMIT $start,$kmess");
while ($newf = mysql_fetch_array($req)) {
echo $i % 2 ? '<div class="list2">' : '<div class="list1">';
$fsz = filesize("$newf[adres]/$newf[name]");
$fsz = round($fsz / 1024, 2);
$ft = functions::format("$newf[adres]/$newf[name]");
switch ($ft) {
case "mp3" :
$imt = "mp3.png";
break;
case "zip" :
$imt = "rar.png";
break;
case "jar" :
$imt = "jar.png";
break;
case "gif" :
$imt = "gif.png";
break;
case "jpg" :
$imt = "jpg.png";
break;
case "png" :
$imt = "png.png";
break;
default :
$imt = "file.gif";
break;