47 lines
1.7 KiB
PHP
47 lines
1.7 KiB
PHP
<?php if (!defined('IN_APP')) die() ?><!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="referrer" content="never">
|
|
<title>Moderator Flags</title>
|
|
<link rel="stylesheet" type="text/css" href="/css/staffroster.css?12">
|
|
<script type="text/javascript" src="/js/helpers.js?1"></script>
|
|
<script type="text/javascript" src="/js/staffroster.js?8"></script>
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|
</head>
|
|
<body <?php echo csrf_attr() ?>>
|
|
<header>
|
|
<h1 id="title">Moderator Flags</h1>
|
|
</header>
|
|
<div id="menu"><ul>
|
|
<li><a class="button button-light" href="<?php echo self::WEBROOT ?>/staffroster">Roster</a></li>
|
|
<li><a class="button button-light" href="?action=activity">Activity</a></li>
|
|
<li><a class="button button-light" href="?action=scoreboard">Scoreboard</a></li>
|
|
<li><a class="button button-light" href="?action=manage">Manage</a></li>
|
|
<li><a class="button button-light" href="?action=flags">Flags</a></li>
|
|
<li><a class="button button-light" href="?action=j_names">/j/ Names</a></li>
|
|
<li><a class="button button-light" href="?action=check_email">Check E-Mail</a></li>
|
|
</ul></div>
|
|
<div id="content">
|
|
<table class="items-table">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>Flags</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="items" class="col-center">
|
|
<?php foreach ($this->users as $user): ?>
|
|
<tr id="item-<?php echo $user['id'] ?>">
|
|
<td><?php echo htmlspecialchars($user['username']) ?></td>
|
|
<td id="flags-<?php echo $user['id'] ?>"><?php echo htmlspecialchars($user['flags']) ?></td>
|
|
<td><span data-cmd="update-flags" class="button btn-other">Edit</span></td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<footer></footer>
|
|
</body>
|
|
</html>
|