forked from bladespinner/JsOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ending.php
34 lines (31 loc) · 852 Bytes
/
ending.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
<?php
session_start();
if( !isset($_SESSION['rank']) || $_SESSION['rank']!='admin')
{
http_response_code(403);
exit();
}
?>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.0.1.min.js"></script>
<script src="style.js"></script>
<link rel="stylesheet" type="text/css" href="../test.css">
</head>
<body>
<div class="paper">
<div class="content">
<h1><a href="adminPanel.php"> Admin Panel <a></h1>
<?php
if(isset($_GET['okStatus']) && $_GET['okStatus']==='1')
echo "<h3>Files uploaded successfull.";
else if(isset($_GET['okStatus']) && $_GET['okStatus']==='')
echo "<h3>Something went wrong :(";
else if(isset($_GET['validFiles']) && $_GET['validFiles']==='')
echo "<h3>No files uploaded.";
?>
</div>
<?php include '../controls/footer.php'; ?>
</div>
</body>
</html>