-
Notifications
You must be signed in to change notification settings - Fork 0
/
reser.php
247 lines (233 loc) · 9.41 KB
/
reser.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<title>Hotel Online Reservation</title>
<meta charset = "utf-8" />
<meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">-->
<link rel="icon" href="img/favicon.png" type="image/png">
<title>Blog</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="vendors/linericon/style.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="vendors/owl-carousel/owl.carousel.min.css">
<link rel="stylesheet" href="vendors/nice-select/css/nice-select.css">
<!-- main css -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!--================ Start Header Menu Area =================-->
<header class="header_area">
<div class="main_menu">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<a class="navbar-brand logo_h" href="index.html"><img src="" alt=""></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse offset" id="navbarSupportedContent">
<ul class="nav navbar-nav menu_nav ml-auto">
<li class="nav-item active"><a class="nav-link" href="index.html">Home</a></li>
<li class="nav-item"><a class="nav-link" href="packages.php">Packages</a></li>
<li class="nav-item"><a class="nav-link" href="blog.php">Places</a></li>
<li class="nav-item"><a class="nav-link" href="about-us.php">About Us</a></li>
<li class="nav-item"><a class="nav-link" href="contact.php">Contact</a></li>
</ul>
<ul class="nav navbar-nav ml-auto">
<li class="nav-item">
<a href="logout.php" class="primary-btn">Logout</a>
</li>
<li class="nav-item">
<button type="button" class="search nav-link">
<i class="lnr lnr-magnifier" id="search"></i>
</button>
</li>
</ul>
</div>
</div>
</nav>
</div>
</header>
<!--================ End Header Menu Area =================-->
<!--================Home Banner Area =================-->
<section class="banner_area ">
<div class="banner_inner overlay d-flex align-items-center">
<div class="container">
<div class="banner_content">
<div class="page_link">
<a href="index.html">Home</a>
<a href="blog.html">Places</a>
</div>
<h2>Places Of Interest</h2>
</div>
</div>
</div>
</section>
<!--================End Home Banner Area =================-->
<nav style = "background-color:rgba(0, 0, 0, 0.1);" class = "navbar navbar-default">
<div class = "container-fluid">
<div class = "navbar-header">
<a class = "navbar-brand" >Hotel Online Reservation</a>
</div>
</div>
</nav>
<div style = "margin-left:0;" class = "container">
<div class = "panel panel-default">
<div class = "panel-body">
<strong><h3>Please Fill the form to book the room</h3></strong>
<br />
<?php
require_once 'admin/connect.php';
$query = $conn->query("SELECT * FROM `room` WHERE `room_id` = '$_REQUEST[room_id]'") or die(mysql_error());
$fetch = $query->fetch_array();
?>
<div style = "height:300px; width:800px;">
<div style = "float:left;">
<img src = "photo/<?php echo $fetch['photo']?>" height = "300px" width = "400px">
</div>
<div style = "float:left; margin-left:10px;">
<h3><?php echo $fetch['room_type']?></h3>
<h3 style = "color:#00ff00;"><?php echo "BDT ".$fetch['price'].".00";?></h3>
</div>
</div>
<br style = "clear:both;" />
<div class = "well col-md-4">
<form method = "POST" enctype = "multipart/form-data">
<div class = "form-group">
<label>Firstname</label>
<input type = "text" class = "form-control" name = "firstname" required = "required" />
</div>
<div class = "form-group">
<label>Middlename</label>
<input type = "text" class = "form-control" name = "middlename" />
</div>
<div class = "form-group">
<label>Lastname</label>
<input type = "text" class = "form-control" name = "lastname" required = "required" />
</div>
<div class = "form-group">
<label>Address</label>
<input type = "text" class = "form-control" name = "address" required = "required" />
</div>
<div class = "form-group">
<label>Contact No</label>
<input type = "text" class = "form-control" name = "contactno" required = "required" />
</div>
<div class = "form-group">
<label>Check in</label>
<input type = "date" class = "form-control" name = "date" required = "required" />
</div>
<br />
<div class = "form-group">
<button class = "btn btn-info form-control" name = "add_guest" >
<i class = "glyphicon glyphicon-save"></i> Submit</button>
</div>
</form>
</div>
<div class = "col-md-4"></div>
<?php require_once 'add_query_reserve.php'?>
</div>
</div>
</div>
<br />
<br />
<div style = "text-align:right; margin-right:10px;" class = "navbar navbar-default navbar-fixed-bottom">
<label>© Copyright Spidey 2019</label>
</div>
<!--================ start footer Area =================-->
<footer class="footer-area">
<div class="footer_top section_gap_top">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="single-footer-widget">
<h5 class="footer_title">About the website</h5>
<p class="about-text">We have used dynamic web building technique to ensure your safety while browsing our website. </p>
</div>
</div>
<div class="col-lg-2 col-md-6 col-sm-6">
<div class="single-footer-widget">
<h5 class="footer_title">Navigation Links</h5>
<div class="row">
<div class="col-5">
<ul class="list">
<li><a href="about-us">About Us</a></li>
<li><a href="packages.html">Packages</a></li>
<li><a href="places.html">Places</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="single-footer-widget">
<h5>Newsletter</h5>
<p>For business professionals caught between high OEM price and mediocre print and graphic output, </p>
<div class="footer-newsletter" id="mc_embed_signup">
<form target="_blank" novalidate="true" action="https://spondonit.us12.list-manage.com/subscribe/post?u=1462626880ade1ac87bd9c93a&id=92a4423d01"
method="get" class="form-inline">
<div class="d-flex flex-row">
<input class="form-control" name="EMAIL" placeholder="Enter Email" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Enter Email '"
required="" type="email">
<button class="click-btn btn btn-default"><span class="lnr lnr-location" aria-hidden="true"></span></button>
<div style="position: absolute; left: -5000px;">
<input name="b_36c4fd991d266f23781ded980_aefe40901a" tabindex="-1" value="" type="text">
</div>
</div>
<div class="info"></div>
</form>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="single-footer-widget mail-chimp">
<h5 class="mb-20">Instragram Feed</h5>
<ul class="instafeed d-flex flex-wrap">
<li><img height="60px" width="100px" src="img/i1.jpg" alt=""></li>
<li><img height="60px" width="100px"src="img/i2.jpg" alt=""></li>
<li><img height="60px" width="100px"src="img/i3.jpg" alt=""></li>
<li><img height="60px" width="100px"src="img/i4.jpg" alt=""></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="copyright">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-12">
</div>
</div>
</div>
</div>
</footer>
<!--================ End footer Area =================-->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/popper.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/stellar.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="vendors/nice-select/js/jquery.nice-select.min.js"></script>
<script src="vendors/owl-carousel/owl.carousel.min.js"></script>
<script src="js/jquery.ajaxchimp.min.js"></script>
<script src="js/mail-script.js"></script>
<!--gmaps Js-->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCjCGmQ0Uq4exrzdcL6rvxywDDOvfAu6eE"></script>
<script src="js/gmaps.min.js"></script>
<script src = "js/jquery.js"></script>
<script src = "js/bootstrap.js"></script>
<script src="js/theme.js"></script>
</body>
</html>