2022-03-13 16:16:46 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
2022-08-27 09:53:10 +03:00
|
|
|
<%- include("extra/meta", {title: "Admin Panel!" }) %>
|
2022-08-26 21:16:28 +03:00
|
|
|
|
|
|
|
|
|
|
|
<body style="text-align: center;">
|
|
|
|
<%- include("extra/navbar") %>
|
2022-08-29 21:32:57 +03:00
|
|
|
<b>SİLME LAN İT BEN SİLECEĞİM</b>
|
|
|
|
<h1 style="color: #4d18e6;">Welcome to the admin panel of the forum, <%= user.name %>!</h1>
|
|
|
|
<h2 style="color: #606060;">Banned users:</h2>
|
|
|
|
|
|
|
|
<table >
|
|
|
|
<tr>
|
|
|
|
<th>IP</th>
|
|
|
|
<th>Reason</th>
|
|
|
|
<th>AuthorID</th>
|
|
|
|
</tr>
|
|
|
|
<% for (const ban of bans) { %>
|
|
|
|
<tr>
|
|
|
|
<td><%=ban.ip%></td>
|
|
|
|
<td><%=ban.reason%></td>
|
|
|
|
<td><%=ban.authorID%></td>
|
|
|
|
</tr>
|
|
|
|
<% } %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
function ban() {
|
|
|
|
var id = document.getElementById("id").value;
|
|
|
|
window.location.href = "/ban/give/" + id;
|
|
|
|
}
|
|
|
|
</script>
|
2022-08-26 21:16:28 +03:00
|
|
|
</body>
|
|
|
|
</html>
|