View file fnc/aut/user.php

File size: 720B
<?php
include"../../sys/fnc.php";

$page_user=$_GET['page_user'];



if(empty($page_user)){$page_user=0;}
$res=$db->query("select * from `user` order by `id` DESC  LIMIT ".$page_user." ,".$str."");
while($pole = $res->fetch_array())
{
	echo'<p><b>'.$pole[user].'</b><br/>Дата регистрации: '.vremja($pole[time]).'<br/>';
	if($user[leval]==4){echo'<a href="javascript:users_del('.$pole[id].')">Удалить пользователя</a><br/>';}
	echo'..........................................</p>';
}
if($res->num_rows==0)
{
	echo'Зарегистрированых нет :(';
}
$res->close();
$dop_user="";
mess_str("user",$page_user,$dop_user);


?>

<?include"../sch2.php";?>