<?
$q = mysql_query("SELECT * FROM `koleso_log` ORDER BY `id` DESC");
while ($arr = mysql_fetch_assoc($q))
{
// Лесенка
echo '<div class="' . ($num % 2 ? "nav1" : "nav2") . '">';
$num++;
echo '<div class="foot"> '.user::nick($arr['us'], 1, 1, 1) . ' ('.date('d.m в h:i', $arr['time']).')</div>
'.output_text($arr['mess']).'';
echo '</div>' ;
}