-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.php
44 lines (34 loc) · 1.04 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
echo "<a href='firs.html'>Back</a>";
if($_SERVER['REQUEST_METHOD']=='POST')
{
$mail=$_POST["email"];
$pass=$_POST["password"];
if($mail="[email protected]" and $pass="otms12345"){
header('Location:adminhome.php');
}
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/logincss.css">
<body>
<h2><i><b><center>Admin Login Form </i></b></center></h2>
<form action="admin.php" method="post">
<div class="imgcontainer">
<img src="images/logo/logo1.jpg" alt="Avtar" class="avatar">
</div>
<div class="container">
<label for="email"><b>email</b></label>
<input type="text" placeholder="Enter email " name="email" required>
<label for="password"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="password" required>
<button type="submit" name="submit">Login</button>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
</div>
</form>
</body>
</html>