-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin_home.php
53 lines (46 loc) · 1.35 KB
/
admin_home.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
include "connect.php";
var_dump($_SESSION['email']);
require_once 'secure_admin.php';
if (isset($_GET['stat'])) {
$stat = $_GET['stat'];
if ($stat == 1) {
echo "<script>alert('File Uploaded Successfuly');";
}
if ($stat == 2) {
echo "<script>alert('Link Uploaded Successfuly');";
}
echo "window.location.href = 'admin_home.php'";
echo "</script>";
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Proyek Tekweb</title>
<?php include('assets/header.php'); ?>
<link rel="stylesheet" type="text/css" href="assets/css/admin_sidebar.css">
<link rel="stylesheet" type="text/css" href="assets/css/admin_home.css">
<link rel="stylesheet" type="text/css" href="assets/css/admin_home_style.css">
<script>
$(document).ready(function() {});
</script>
</head>
<body>
<div class="row">
<?php include('assets/admin_sidebar.php'); ?>
<div class="p-4 my-5">
<h1>Upload Images</h1>
<button class="button-1"><a href="admin_upload_file.php">Upload Here</a></button>
<button class="button-1"><a href="admin_files.php">View Uploads</a></button>
<p></p>
<p></p>
<p></p>
<h1>Upload Videos</h1>
<button class="button-1"><a href="admin_upload_videos.php">Upload Here</a></button>
<button class="button-1"><a href="admin_files.php">View Uploads</a></button>
</div>
</section>
</div>
</body>
</html>