Размер файла: 861B
<?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");
?>