This repository has been archived by the owner on Nov 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
banned.php
53 lines (45 loc) · 1.49 KB
/
banned.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
require_once 'app/require.php';
$user = new UserController();
Session::init();
$username = Session::get("username");
if (!Session::isLogged()) {
Util::redirect('/auth/login.php');
}
?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Banned - Brand</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css">
<link rel="stylesheet" href="assets/css/untitled.css">
</head>
<html>
<div class="container-fluid">
<br>
<center>
<div style='max-width: 500px; margin-bottom: -7px;' class='alert alert-primary' role='alert'>
You have been permanently banned.
<br>
Reason: <?php Util::Display($user->banreason($username)); ?>
</div>
<br>
</center>
<center>
<br>
<a
class="dropdown-item" id="logout"
href="/auth/logout.php"
style="color: rgb(255,255,255);"><i
class="fas fa-sign-out-alt fa-sm fa-fw me-2 text-gray-400"
style="color: rgb(255,255,255)!important;"></i> Logout</a>
</center>
<style>
body {
background: #121421;
}
</style>
<html>