forked from prasangafdo/RapidDeliveryweb1.5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.php
44 lines (34 loc) · 1.06 KB
/
admin.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
<?php
include('loginAdmin.php'); // Includes Login Script
if(isset($_SESSION['login_user'])){
header("location: adminhome.php");//Rederecting to admin's
}
?>
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Rapid Delivery Login</title>
<link rel="stylesheet" href="css/style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body>
<div class="body"></div>
<div class="grad"></div>
<div class="header">
<div>Admin <span>Login</span></div>
</div>
<br>
<div class="login">
<form action="" method="post">
<br/>
<input id="username" name="username" placeholder="username" type="text"><br>
<input id="password" name="password" placeholder="**********" type="password"><br>
<input name="submit" type="submit" value="Login">
<br/>
<span class="credentials_failed"><?php echo $error; ?></span>
</form>
</div>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</body>
</html>