forked from pcsaini/hotel_management_system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
62 lines (57 loc) · 2.21 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
<?php
/**
* Created by PhpStorm.
* User: vishal
* Date: 10/23/17
* Time: 1:45 PM
*/ ?>
<!--
you can substitue the span of reauth email for a input with the email and
include the remember me checkbox
-->
<html>
<head>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/login.css"/>
</head>
<body>
<div class="container">
<div class="card card-container">
<img id="profile-img" class="profile-img-card" src="//ssl.gstatic.com/accounts/ui/avatar_2x.png"/>
<p id="profile-name" class="profile-name-card">Login For Hotel Management</p>
<br>
<div class="result">
<?php
if (isset($_GET['empty'])){
echo '<div class="alert alert-danger">Enter Username or Password</div>';
}elseif (isset($_GET['loginE'])){
echo '<div class="alert alert-danger">Username or Password Don\'t Match</div>';
} ?>
</div>
<form class="form-signin" data-toggle="validator" action="ajax.php" method="post">
<div class="row">
<div class="form-group col-lg-12">
<label></label>
<input type="text" name="email" class="form-control" placeholder="Username/Email Address" required
data-error="Enter Username or Email">
<div class="help-block with-errors"></div>
</div>
<div class="form-group col-lg-12">
<label></label>
<input type="password" name="password" class="form-control" placeholder="Password" required
data-error="Enter Password">
<div class="help-block with-errors"></div>
</div>
</div>
<button class="btn btn-lg btn-primary btn-block btn-signin" type="submit" name="login">Login</button>
</form><!-- /form -->
<a href="#" class="forgot-password">
Forgot the password?
</a>
</div><!-- /card-container -->
</div><!-- /container -->
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/validator.min.js"></script>
</body>
</html>