-
Notifications
You must be signed in to change notification settings - Fork 1
/
projadminhtml.php
47 lines (41 loc) · 1.32 KB
/
projadminhtml.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
<?php
session_start();
$username=$_GET['id'];
if($_SESSION['hash'] == $username){
?>
<!DOCTYPE html>
<html>
<head>
<title>Admin Page</title>
<link href="css/projnavcommom.css" type="text/css" rel="stylesheet">
<link href="css/projadmin.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="nav">
<nav>
<ul>
<li><a href="projadminhtml.php" style="background:#2c3e50">Pentest</a></li>
<li><a>Admin Login</a></li>
<li class="oonn"><a href="index.php">SignOut</a></li>
</ul>
</nav>
</div>
<br>
<br>
<h1 style="text-align:center;"> Welcome admin upload videos</h1>
<div>
<form method="post" acton="projadmin.php" enctype="multipart/form-data">
<input type="file" name="upload" id="upload" value="upload video"
required="required" placeholder="upload video">
<br><br>
<input type="submit" id="submit" name="submit" class="form-control"
required="required" value="SUBMIT">
</form>
</div>
</body>
</html>
<?php }
else{
header("Location:http://localhost/WTL project/signout.php");
}
?>