-
Notifications
You must be signed in to change notification settings - Fork 0
/
old.php
71 lines (39 loc) · 1.9 KB
/
old.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hotel Booking System</title>
<link rel="stylesheet" href="css/css.css" type="text/css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery-2.2.0.js"></script>
</head>
<body contenteditable="false">
<h3>Hotel Booking System</h3>
<div class="form col-sm-4 col-sm-offset-8 col-lg-4 col-lg-offset-7">
<div class="forceColor"></div>
<div class="topbar">
<div class="spanColor"></div>
<form action="authenticate.php" method="POST">
<input type="text" name="uname" class="input" id="username" placeholder="username"/>
<input type="password" name="pwd" class="input" id="password" placeholder="Password"/>
<button class="submit" id="submit" type="submit" >Login</button>
</form>
</div>
</div>
<div id="login_error">
<?php
session_start();
if(!empty($_SESSION['message'])){
echo $_SESSION['message'];
unset($_SESSION['message']);
}
?>
</div>
<script src="js/index.js"></script>
<script type ="text/javascript">
setInterval(function(){
$("#login_error").fadeOut();
},15000);
</script>
</body>
</html>