View file ofnewts.php

File size: 436B
<?php
include 'inc/db.php';
include 'inc/1.php';
msg("Новые файлы");
$last=mysql_query("SELECT * FROM `obmen` WHERE `visible` = '1' ORDER BY `time` DESC LIMIT 15");
$b=1;
while ($f=mysql_fetch_assoc($last)){
$p=($b%2);
echo "<div class='p$p'><a href='file.php?id=$f[id]'>".htmlspecialchars($f['nameras'])."</a></div>";
$b++;
}
msg("<a href='obmen.php'>Обменник</a>");
include_once 'inc/foot.php';
?>