-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
106 lines (73 loc) · 3.94 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="assets/css/style.css"/>
<title>Login to your account</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body id="bootstrap-override">
<?php
session_start();
include "assets/php/header.php";
?>
<br>
<main>
<!--grid container-->
<div class="container h-100">
<!--grid row-->
<div class="row justify-content-center d-flex align-items-center h-100">
<!--grid column-->
<div class="col-lg-12 col-xl-11">
<div class="card">
<div class="card-body p-md-3">
<!--grid row-->
<div class="row justify-content-center">
<!--grid column-->
<div class="col-md-10 order-2 col-lg-6 order-lg-1">
<h1 class="text-center">Log In</h1>
<form action="assets/php/login-action.php" method="post" class="mx-1 mx-md-4">
<!--grid row-->
<div class="flex-row d-flex align-items-center mb-4">
<div class="form-floating mb-3 flex-fill">
<input type="text" id="username" class="form-control" name="username" placeholder="DOOMfan1003" required/>
<label class="form-label" for="username">Username</label>
</div>
</div>
<!--grid row-->
<div class="flex-row d-flex align-items-center mb-4">
<div class="form-floating mb-3 flex-fill">
<input type="password" id="passwd" class="form-control" name="passwd" placeholder="Password" required/>
<label class="form-label" for="passwd">Password</label>
</div>
</div>
<!--last grid row-->
<div class="justify-content-center d-flex">
<p class="text-center">Read our<a href="privacyPol.php" class="form-link"> Privacy Policy</a></p>
</div>
<div class="justify-content-center d-flex mx-4 mb-3 mb-lg-4">
<button type="submit" class="justify-content-center btn btn-primary btn-lg" value="submitted" name="submitted">Log In</button>
</div>
</form>
</div>
</div>
</div>
<div class="text-center mb-2">
Don't already have an account? <a href="register.php" class="register-link">Register.</a>
</div>
</div>
</div>
</div>
</div>
</main>
<br>
<?php
include "assets/php/footer.php";
?>
</body>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
</html>