2011-03-28 14:21:28 +00:00
|
|
|
<?
|
2013-04-05 08:00:43 +00:00
|
|
|
if (!check_perms('admin_manage_permissions')) {
|
|
|
|
error(403);
|
|
|
|
}
|
2012-10-11 08:00:15 +00:00
|
|
|
View::show_header('Special Users List');
|
2011-03-28 14:21:28 +00:00
|
|
|
?>
|
|
|
|
<div class="thin">
|
|
|
|
<?
|
2013-07-04 08:00:56 +00:00
|
|
|
$DB->query("
|
2013-11-17 08:00:47 +00:00
|
|
|
SELECT ID
|
|
|
|
FROM users_main
|
|
|
|
WHERE CustomPermissions != ''
|
|
|
|
AND CustomPermissions != 'a:0:{}'");
|
2013-07-10 00:08:53 +00:00
|
|
|
if ($DB->has_results()) {
|
2011-03-28 14:21:28 +00:00
|
|
|
?>
|
|
|
|
<table width="100%">
|
|
|
|
<tr class="colhead">
|
|
|
|
<td>User</td>
|
|
|
|
<td>Access</td>
|
|
|
|
</tr>
|
|
|
|
<?
|
2013-04-05 08:00:43 +00:00
|
|
|
while (list($UserID)=$DB->next_record()) {
|
2011-03-28 14:21:28 +00:00
|
|
|
?>
|
|
|
|
<tr>
|
2012-10-11 08:00:15 +00:00
|
|
|
<td><?=Users::format_username($UserID, true, true, true, true)?></td>
|
2011-03-28 14:21:28 +00:00
|
|
|
<td><a href="user.php?action=permissions&userid=<?=$UserID?>">Manage</a></td>
|
|
|
|
</tr>
|
|
|
|
<? } ?>
|
|
|
|
</table>
|
2013-04-05 08:00:43 +00:00
|
|
|
<?
|
|
|
|
} else { ?>
|
2011-03-28 14:21:28 +00:00
|
|
|
<h2 align="center">There are no special users.</h2>
|
2013-04-05 08:00:43 +00:00
|
|
|
<?
|
|
|
|
} ?>
|
2011-03-28 14:21:28 +00:00
|
|
|
</div>
|
2012-10-11 08:00:15 +00:00
|
|
|
<? View::show_footer(); ?>
|