Файл: setk/obmen/moders.php
Строк: 67
<?
include_once '../sys/inc/start.php';
include_once '../sys/inc/compress.php';
include_once '../sys/inc/sess.php';
include_once '../sys/inc/home.php';
include_once '../sys/inc/settings.php';
include_once '../sys/inc/db_connect.php';
include_once '../sys/inc/ipua.php';
include_once '../sys/inc/fnc.php';
include_once '../sys/inc/user.php';
$set['title']='Зона Обмена - Модераторы'; // заголовок страницы
include_once '../sys/inc/thead.php';
title();
aut();
err();
echo "<div class='foot'><img src='/style/icons/Back.gif' alt=''/><a href='/obmen/'>Зона Обмена</a></div>n";
$k_post=mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `group_access` = '4' "), 0);
$k_page=k_page($k_post,$set['p_str']);
$page=page($k_page);
$start=$set['p_str']*$page-$set['p_str'];
$q = mysql_query("SELECT * FROM `user` WHERE `group_access` = '4' ORDER BY `date_last` DESC LIMIT $start, $set[p_str]");
if ($k_post==0)
{
echo " <tr>n";
echo " <div class='count'>n";
echo "Нет никогоn";
echo " </div>n";
echo " </tr>n";
}
while ($obmen = mysql_fetch_array($q))
{
$ank=mysql_fetch_array(mysql_query("SELECT * FROM `user` WHERE `id` = $obmen[id] LIMIT 1"));
echo "<div class='block'>";
echo status($ank['id']) , group($ank['id']);
echo " <a href='/mysite/?name=$ank[nick]'<span style='color:#79358c'><b>$ank[nick]</b></span></a><font color='green'>[".vremja($ank['date_last'])."]</font>";
echo "".medal($ank['id'])." ".online($ank['id'])."<br />";
echo "</div>";
}
if ($k_page>1)str("moders&",$k_page,$page); // Вывод страниц
include_once '../sys/inc/tfoot.php';
?>