100 lines
4.8 KiB
PHP
100 lines
4.8 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" type="text/css" href="astyle.css">
|
|
<title>Admin Panel</title>
|
|
<script type="text/javascript">
|
|
function checkAll(allbox) {
|
|
var checkboxes = document.getElementsByName('check1');
|
|
|
|
for (var i = 0; i < checkboxes.length; i++) {
|
|
if (checkboxes[i].type == 'checkbox') {
|
|
checkboxes[i].checked = allbox.checked;
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="content">
|
|
<div class="platform">
|
|
<div class="admin-title">
|
|
<h1>User Management Panel</h1>
|
|
</div> <br>
|
|
<form action="admin.php" method="post">
|
|
<div class="admin-options">
|
|
<form action="admin.php" method="post">
|
|
<div class="admin-searchbar">
|
|
<h2>Search</h2>
|
|
<input type="text" name="search" class="admin-searchinput"> <br>
|
|
<input type="submit" value="Search">
|
|
</div>
|
|
<div class="admin-filter">
|
|
<h2>Show users:</h2>
|
|
<input type="checkbox" name="status" value="Active"> Active <br>
|
|
<input type="checkbox" name="status" value="Muted"> Muted <br>
|
|
<input type="checkbox" name="status" value="Banned"> Banned
|
|
</div>
|
|
</form>
|
|
<div class="admin-actions">
|
|
<h2>Batch Actions: </h2>
|
|
<input type="radio" name="actions" value="mute"> Mute <br>
|
|
<input type="radio" name="actions" value="ban"> Ban <br>
|
|
<input type="radio" name="actions" value="unban"> Unban <br> <br>
|
|
<input type="submit" value="Confirm">
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<div class="admin-users">
|
|
<h2>Users:</h2>
|
|
<table class="usertable">
|
|
<tr>
|
|
<th class="table-checkbox">
|
|
<input type="checkbox" name="checkall" onchange="checkAll(this)">
|
|
</th>
|
|
<th class="table-username">User</th>
|
|
<th class="table-status">Status</th>
|
|
<th class="table-comment">Comment</th>
|
|
<th class="table-action">Action</th>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="check1"></td>
|
|
<td>John Smith</td>
|
|
<td>Banned</td>
|
|
<td>unregulated time travel</td>
|
|
<td>
|
|
<form class="admin-useraction" action="index.html" method="post">
|
|
<select class="action" name="actions">
|
|
<option value="mute">Mute</option>
|
|
<option value="ban">Ban</option>
|
|
<option value="unban">Unban</option>
|
|
</select>
|
|
<input type="submit" value="Confirm">
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="check1"></td>
|
|
<td>poey jokeaim</td>
|
|
<td>Banned</td>
|
|
<td>l33t h4xx</td>
|
|
<td>
|
|
<form class="admin-useraction" action="index.html" method="post">
|
|
<select class="action" name="actions">
|
|
<option value="mute">Mute</option>
|
|
<option value="ban">Ban</option>
|
|
<option value="unban">Unban</option>
|
|
</select>
|
|
<input type="submit" value="Confirm">
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|