-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
227 lines (209 loc) · 11.1 KB
/
index.php
File metadata and controls
227 lines (209 loc) · 11.1 KB
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
<!--Created by PhpStorm.-->
<!--* User: prabhatdas-->
<!--* Date: 2019-02-25-->
<!--* Time: 01:01-->
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="image/favicon.png" type="image/png">
<title>Plus 2 Rooms</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/royal_assets/css/bootstrap.css">
<link rel="stylesheet" href="assets/royal_assets/vendors/linericon/style.css">
<link rel="stylesheet" href="assets/royal_assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/royal_assets/vendors/owl-carousel/owl.carousel.min.css">
<link rel="stylesheet" href="assets/royal_assets/vendors/bootstrap-datepicker/bootstrap-datetimepicker.min.css">
<link rel="stylesheet" href="assets/royal_assets/vendors/nice-select/css/nice-select.css">
<link rel="stylesheet" href="assets/royal_assets/vendors/owl-carousel/owl.carousel.min.css">
<!-- main css -->
<link rel="stylesheet" href="assets/royal_assets/css/style.css">
<link rel="stylesheet" href="assets/royal_assets/css/responsive.css">
<!--CUSTOM CSS--->
<link rel="stylesheet" href="assets/plus2rooms_assets/css/animation/animate.css">
<link rel="stylesheet" href="assets/plus2rooms_assets/css/page_css/index.css" >
<!--------------->
</head>
<body>
<!--================Header Area =================-->
<?php
include_once "navbar.php";
include_once "config.php";
include_once "UrlHandler.php";
$pagename="";
$_SESSION['redirect_url'] = $basePath.$pagename;
?>
<!--TOP SECTION-->
<!--================Header Area =================-->
<!--================Banner Area =================-->
<section class="banner_area">
<div class="booking_table d_flex align-items-center">
<div class="overlay bg-parallax" data-stellar-ratio="0.9" data-stellar-vertical-offset="0" data-background=""></div>
<div class="container">
<div class="banner_content text-center">
<div style="margin-bottom: 20%;" class="hotel_booking_area position">
<div class="container">
<div class="hotel_booking_table">
<div class="col-md-3">
<h2>Book<br> Your Room</h2>
</div>
<div class="col-md-9">
<div class="boking_table">
<div class="row">
<div class="col-md-4">
<div class="book_tabel_item">
<form method="post" action="hotels/disp_hotels.php" id="property">
<div class="form-group">
<div id="search_div" class='input-group date'>
<input id="address" required name='searchbar' type='text' class="form-control" placeholder="Where Are You Travelling ?"/>
<input hidden type="text" name="lat" >
<input hidden type="text" name="lng">
<span class="input-group-addon">
<i class="fa fa-map-marker" aria-hidden="true"></i>
</span>
</div>
</div>
<div class="form-group">
<div class='input-group date'>
<input required onchange="setdate()" name="setTodaysDate1" id="setTodaysDate1" type='date' class="form-control" placeholder="Check In : "/>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="book_tabel_item">
<div class="form-group">
<div class='input-group date' id="date_picker">
<input required onclick="validate()" name="setTodaysDate2" id="setTodaysDate2" type='date' class="form-control" placeholder="Check Out : "/>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="book_tabel_item">
<br>
<button name="index_book_btn" class="book_now_btn button_hover" type="submit" >Book Now</button>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--================Banner Area =================-->
<!--================ Accomodation Area =================-->
<!--================ Accomodation Area =================-->
<!--================ Facilities Area =================-->
<!--================ Facilities Area =================-->
<!--================ About History Area =================-->
<!--================ About History Area =================-->
<!--================ Testimonial Area =================-->
<section class="testimonial_area section_gap">
<div class="container">
<div class="section_title text-center">
<h2 class="title_color">OFFER AND DEALS</h2>
</div>
<div class="testimonial_slider owl-carousel">
<?php
$obj = new UrlHandler();
$promotions = $obj->fetchContents($baseURL.'/promotions');
if($promotions!=404)
foreach($promotions as $promotion):?>
<?php echo "<img id='img' src='".$promotion["imageLink"]."'>" ?>
<?php endforeach;
else
echo "404_err_not found !";
?>
</div>
</section>
<!--================ Testimonial Area =================-->
<!--================ Latest Blog Area =================-->
<section class="latest_blog_area section_gap">
<div class="container">
<div class="section_title text-center">
<h2 class="title_color">WHY US</h2>
</div>
<div class="row mb_30">
<div class="col-lg-4 col-md-6">
<div class="single-recent-blog-post">
<div class="thumb">
<img class="img-fluid" src="assets/royal_assets/image/blog/blog-1.jpg" alt="post">
</div>
<div class="details">
<div class="tags">
<a class="button_hover tag_btn">Plus 2 Rooms</a>
<a class="button_hover tag_btn">Cost</a>
</div>
<a><h4 class="sec_h4">Low Cost Rooms</h4></a>
<p>Get low cost rooms comparision to others</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="single-recent-blog-post">
<div class="thumb">
<img class="img-fluid" src="assets/royal_assets/image/blog/blog-2.jpg" alt="post">
</div>
<div class="details">
<div class="tags">
<a class="button_hover tag_btn">Plus 2 Rooms</a>
<a class="button_hover tag_btn">Amenities</a>
</div>
<a href="#"><h4 class="sec_h4">Hotels With Best Amenities</h4></a>
<p>Best amenities available at best price</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="single-recent-blog-post">
<div class="thumb">
<img class="img-fluid" src="assets/royal_assets/image/blog/blog-3.jpg" alt="post">
</div>
<div class="details">
<div class="tags">
<a class="button_hover tag_btn">Plus 2 Rooms</a>
<a class="button_hover tag_btn">Deals</a>
</div>
<a><h4 class="sec_h4">Best Deal</h4></a>
<p>Get the best deal ever while booking a room</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!--================ Recent Area =================-->
<!--================ start footer Area =================-->
<?php include_once"footer.php"; ?>
<!--================ End footer Area =================-->
<!-- Optional JavaScript -->
<script src="assets/plus2rooms_assets/js/dategenerator.js"></script>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="assets/royal_assets/js/jquery-3.2.1.min.js"></script>
<script src="assets/royal_assets/js/popper.js"></script>
<script src="assets/royal_assets/js/bootstrap.min.js"></script>
<script src="assets/royal_assets/vendors/owl-carousel/owl.carousel.min.js"></script>
<script src="assets/royal_assets/js/jquery.ajaxchimp.min.js"></script>
<script src="assets/royal_assets/js/mail-script.js"></script>
<script src="assets/royal_assets/vendors/bootstrap-datepicker/bootstrap-datetimepicker.min.js"></script>
<script src="assets/royal_assets/vendors/nice-select/js/jquery.nice-select.js"></script>
<script src="assets/royal_assets/js/mail-script.js"></script>
<script src="assets/royal_assets/js/stellar.js"></script>
<script src="assets/royal_assets/vendors/lightbox/simpleLightbox.min.js"></script>
<script src="assets/royal_assets/js/custom.js"></script>
<!-- GOOGLE MAPS LOCATION SEARCH -->
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src="assets/plus2rooms_assets/js/mapsautoload.js"></script>
<script src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/20625/jquery.geocomplete.min.js'></script>
<script src='https://maps.googleapis.com/maps/api/js?key=AIzaSyCVEYA5NcJqfr4x8Y9BrSLzVdGAypNsFWk&libraries=places®ion=in'></script>
<!---------------------------------->
</body>
</html>