-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
43 lines (27 loc) · 837 Bytes
/
index.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
<?php
if(isset($_SESSION['loggedin'])){
header('location:dashboard.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DRIVING SCHOOL</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<img class="steering" src="image/car-steering.png" alt="car-steering">
<div>
<form action="logics/loginServlet" method="post" class="login-form">
<label for="email" hidden>Enter Email</label>
<input type="email" name="email" id="email" placeholder="Enter Your Email">
<label for="password" hidden>Enter Password</label>
<input type="password" name="password" id="password" placeholder="Enter Your Password">
<input type="submit" id="loginbutton" value="Login">
</form>
</div>
</div>
</body>
</html>