-
Notifications
You must be signed in to change notification settings - Fork 4
/
login.php
32 lines (25 loc) · 915 Bytes
/
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
<?php include "header.php"; ?>
<div class="row">
<div class="col-md-6 col-md-offset-3 text-center">
<h1 class="mt-5">Login</h1>
<div class="post_to_page">
<form action="checklogin.php" method="post">
<?php
if(isset($_GET["incorrectpass"])) {
echo "<p class='bg bg-warning'>Incorrect credentials</p>";
}
?>
<div class="form-group">
<label>Username:</label>
<input type="text" name="username" class="form-control" placeholder="Username">
</div>
<div class="form-group">
<label>Pass:</label>
<input type="password" name="password" class="form-control" placeholder="Password">
</div>
<input type="submit" class="btn btn-primary" value="submit">
</form>
</div>
</div>
</div>
<?php include "footer.php"; ?>