|
<?
$title = 'Администрация';
require_once ('system/function.php');
require_once ('system/header.php');
if(!$user['id'])
{
header('Location: '.$HOME.'');
exit();
}
echo '<div class="title">'.$title.'</div>';
$result = mysql_query("SELECT * FROM `users` WHERE `level` > '0' ORDER BY `id` DESC ");
$id = mysql_query("SELECT * FROM `users` ");
$users = mysql_query("SELECT * FROM `users` where `viz` > '".(time()-360)."' ORDER BY `viz` DESC LIMIT $start, $max");
while ($row = mysql_fetch_assoc($result))
{
$id = $row['id'];
echo '<div class="links"><b>'.nick($row['id']).' </b>[id:'.$id.'] <a href="'.$HOME.'/mes/newmes'.$id.'"><img src="/design/icons/mail.png"></a><br></div> ';
}
require_once ('system/footer.php');
?>