Размер файла: 872B
<?php
// by mides, icq: 529-899-6, mail: [email protected]
$title = 'Администрация';
require("../config.php");
require("../includes/start.php");
require("../includes/functions.php");
tp('Администрация');
echo '<div class="s1">Список</div><div class="s2">';
$result = mysql_query("SELECT * FROM `users` WHERE `user_access` > 0 ORDER BY `user_access`");
while($user = mysql_fetch_assoc($result)){
if($user['user_access'] == 1){$user_access = 'Администратор';}
elseif($user['user_access'] == 2){$user_access = 'Старший куратор';}
elseif($user['user_access'] == 3){$user_access = 'Куратор';}
echo '<a href="profile.php?id='.$user['id'].'">'.$user['user_login'].'</a> ['.$user_access.'] ('.$user['user_points'].')<br/>';
}
echo '</div>';
nav();
require("../includes/tail.php");
?>