Файл: vsime.com/users/index2.php
Строк: 24
<?php
include('../system/includes/system2.php');
$title = 'Пользователи';
ex_head();
$count_results = $dbi -> result("SELECT COUNT(*) FROM `user`");
$count_pages = count_pages($count_results);
$page = page();
$start = start_pages();
if ($count_results == 0)
{
echo "<div class='list'>n";
echo "Нет пользователейn";
echo "</div>n";
}
$query = $dbi -> query("SELECT * FROM `user` ORDER BY `id` ASC LIMIT $start, $config[rop]");
while ($post = $query -> fetch())
{
echo "<div class='list'>n";
echo "<div class='left'>n";
//show_avatar($post['id'], 'small');
echo "</div>n";
echo "<div class='overfl_hid'>n";
echo $post['nick'];
//echo profile_icon($post['id']).profile_nick($post['id'], 1).profile_medal($post['id'])."<br />n";
echo "Регистрация: ".vremja($post['date_reg'])."n";
echo "</div>n";
echo "<div class='clear'></div>n";
echo "</div>n";
}
pages_show("?");
ex_foot();
?>