-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
40 lines (36 loc) · 1.25 KB
/
login.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
<?php
include "header.php";
include "navigation.php";
?>
<div align="center" style="padding: 10px">
<?php
if (isset($_GET['status']) && $_GET['status'] == 'error'){
echo '<br>';
echo "<h2 class='alert alert-danger'>Wrong Email or Password</h2>";
}
?>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="jumbotron">
<h1>Login Form</h1>
<hr>
<form action="login_check.php" method="post">
<div class="form-group">
<label for="Email">Email: </label>
<input type="text" class="form-control" name="email" size="50" required/>
</div>
<div class="form-group">
<label for="password">Password: </label>
<input type="password" class="form-control" name="password" size="50" required/>
</div>
<div class="form-group">
<input class="btn btn-dark" type="submit" name="submit" value="Login" />
</div>
</form>
</div>
</div>
</div>
</div>
<?php include "footer.php"; ?>