|
<?
$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 `time` > '1440' 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.'"> <b>Написать</b></a><br></div> ';
}
require_once ('system/footer.php');
?>