-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeveloper.php
65 lines (55 loc) · 1.34 KB
/
developer.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
54
55
56
57
58
59
60
61
62
63
64
65
<?php
require "init.php";
$id = "true";
if (!$id) {
header("Location: login.php");
}
$user = AdminPanelServices::getInstance()->getSessionManager()->getLoggedInUser();
if($user->getRank() === 4)
{
}elseif($user->getRank() === 3)
{
}else
{
header("Location: index.php");
}
HEAD::printHead("Dev Tools - Admin Panel", "developer.css");
$id = AdminPanelServices::getInstance()->getSessionManager()->getLoggedInUser();
if(!$id)
{
header("Location: login.php");
}
?>
<body>
<?php
Navbar::printNavbar();
?>
<div class="container">
<div class="col-md-12">
<h1 class="text-center" style="padding-top: 40px;padding-bottom: 64px;">Developer Tools</h1>
</div>
<a href="phpinfo.php">PHP INFO</a>
<h3>Error Codes</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Fehler</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Die Decodierung in der Klasse "Tools" oder die Integer Daten der Datenbank ist beschädigt</td>
</tr>
<tr>
<td>2</td>
<td>sdff</td>
</tr>
</tbody>
</table>
</div>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/bs-init.js"></script>
</body>
</html>