-
Notifications
You must be signed in to change notification settings - Fork 4
/
login.php
83 lines (67 loc) · 2.9 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
<?php
include('include/header.php');
?>
<!-- Navbar-->
<div class="container">
<div class="row align-items-center my-5">
<!-- For Demo Purpose -->
<div class="col-md-5 pr-lg-5 mb-5 mb-md-0">
<img src="assets/picture/icons/thumbs-up.png" alt="" class="img-fluid mb-3 d-none d-md-block">
<h1>Login and Book rooms</h1>
<p class="font-italic text-muted mb-0">Information provided below will be used to sign in to your Hotel Elite account.</p>
</p>
</div>
<!-- Registeration Form -->
<div class="col-md-3 col-lg-5 ml-auto">
<div class="login-form">
<form action="validation.php" method="POST" enctype="multipart/form-data" >
<h2 class="text-center mb-4">Sign in</h2>
<?php
if (isset($_GET["error"])) {
echo '<div class="text-danger text-center">' . $_GET["error"] . '</div>';
}
?>
<div class="form-group mt-3">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">
<span class="fa fa-user"></span>
</span>
</div>
<input type="text" class="form-control" name="email" placeholder="Email" required="required">
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="fa fa-lock"></i>
</span>
</div>
<input type="password" class="form-control" name="password" placeholder="Password" required="required">
</div>
</div>
<!-- <div class="clearfix mb-3">
<label class="float-left form-check-label"><input type="checkbox"> Remember me</label>
<a href="#" class="float-right">Forgot Password?</a>
</div> -->
<div class="form-group ">
<button type="submit" name="user_login" class="btn btn-primary login-btn btn-block">Sign in</button>
</div>
<div class="or-seperator"><i>or</i></div>
<p class="text-center">Login with your social media account</p>
<div class="text-center social-btn">
<a href="#" class="btn btn-secondary"><i class="fa fa-facebook"></i> Facebook</a>
<a href="#" class="btn btn-info"><i class="fa fa-twitter"></i> Twitter</a>
<a href="#" class="btn btn-danger"><i class="fa fa-google"></i> Google</a>
</div>
</form>
<p class="text-center text-muted small">Don't have an account? <a href="signup.php">Sign up here!</a></p>
</div>
</div>
</div>
</div>
<?php include('include/footer.php')?>
<!-- validation -->
<?php
?>