-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
309 lines (276 loc) · 11 KB
/
index.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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<?php
include ("dbconnection.php");
if(isset($_POST["submit"]))
{
include ("dbconnection.php");
$conn = $dbconnection;
$email = $_POST['email'];
$sql ="INSERT INTO subscribe(email) values('$email')";
if (mysqli_query($dbconnection, $sql))
{
$msg='<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>You Submitted Successfully</strong>
</div>';
}
else
{
$errormsg='<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Got some Error.</strong>
</div>';
}
}
if(isset($_POST["save"]))
{
include ("dbconnection.php");
$conn = $dbconnection;
$guest_name = $_POST['guest_name'];
$tdate = $_POST['tdate'];
$check_in = $_POST['check_in'];
$check_out = $_POST['check_out'];
$adult = $_POST['adult'];
$children = $_POST['children'];
$t_room = $_POST['t_room'];
$sqlinss = "INSERT INTO booking(guest_name,check_in,check_out,adult,children,t_room) values(' " . $guest_name . " ',' " . $check_in . " ',' " . $check_out . " '," . $adult . "," . $children . " ," . $t_room . ")";
if (mysqli_query($dbconnection, $sqlinss))
{
session_start();
$_SESSION['booking_id'] = mysqli_insert_id($dbconnection);
header("Location: query.php");
}
else
{
$errormsg='<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Got some Error.</strong>
</div>';
}
}
include 'header.php';
?>
<body class="page1" id="top" onload="date()">
<!--==============================header=================================-->
<header>
<div class="container_12">
<div class="grid_12">
<div class="menu_block">
<?php
include 'menu.php';
?>
<div class="clear"></div>
</div>
</div>
</div>
</header>
<div class="slider_wrapper">
<div id="camera_wrap" class="">
<div data-src="images/one.jpg">
<div class="caption fadeIn">
<h2>ROSEWOOD INTERNATIONAL</h2>
</div>
</div>
<div data-src="images/two.jpg">
<div class="caption fadeIn">
<h2>ROSEWOOD INTERNATIONAL</h2>
</div>
</div>
<div data-src="images/three.jpg">
<div class="caption fadeIn">
<h2>ROSEWOOD INTERNATIONAL</h2>
</div>
</div>
<div data-src="images/four.jpg">
<div class="caption fadeIn">
<h2>ROSEWOOD INTERNATIONAL</h2>
</div>
</div>
<div data-src="images/five.jpg">
<div class="caption fadeIn">
<h2>ROSEWOOD INTERNATIONAL</h2>
</div>
</div>
</div>
</div>
<!--==============================Content=================================-->
<div class="content">
<div class="container_12">
<div class="grid_4">
<div class="banner">
<img src="images/E.jpg" alt="">
<div class="label">
<div class="title">DELUXE GUEST ROOM</div>
<div class="price">from<span>$ 1.600</span></div>
<a href="deluxe.php">LEARN MORE</a>
</div>
</div>
</div>
<div class="grid_4">
<div class="banner">
<img src="images/F.png" alt="">
<div class="label">
<div class="title">SUPERIOR GUEST ROOM</div>
<div class="price">from<span>$ 2000</span></div>
<a href="sup.php">LEARN MORE</a>
</div>
</div>
</div>
<div class="grid_4">
<div class="banner">
<img src="images/G.jpg" alt="">
<div class="label">
<div class="title">CLUB LEVEL GUEST ROOM</div>
<div class="price">from<span>$ 1.500</span></div>
<a href="guest.php">LEARN MORE</a>
</div>
</div>
</div>
<div class="clear"></div>
<div class="grid_12">
<h3>Welcome</h3>
<div class="clear cl1"></div>
<p>Here on our website you'll find extensive information not only about us but also about the abundance of Rosewood's year-round leisure activities</p>
<p> We look forward to making your stay both comfortable and memorable by providing personalized service exceeding the quality of our amenities.</p>
<p>I look forward to having you as our guest!</p>
<p>Sincerely,</p>
<p>Maitri Patel</p>
<p>General Manager</p>
<p>Rosewood International</p>
</div>
<div class="grid_12">
<h3>CHECK AVAILIBLITY</h3>
<div class="clear cl1"></div>
<form class="form-horizontal" role="form" method="POST">
<div class="form-group">
<label for="check_in" class="col-sm-2 control-label">Guest Name</label>
<div class="col-sm-10">
<input type="text" name="guest_name" class="form-control" id="guest_name">
</div>
</div>
<div class="form-group">
<label for="check_in" class="col-sm-2 control-label">Check In Date</label>
<div class="col-sm-10">
<input type="date" name="check_in" class="form-control" id="check_in">
</div>
</div>
<div class="form-group">
<label for="check_out" class="col-sm-2 control-label">Check In Out</label>
<div class="col-sm-10">
<input type="date" name="check_out" class="form-control" id="check_out">
</div>
</div>
<div class="form-group">
<label for="adult" class="col-sm-2 control-label">Adult</label>
<div class="col-sm-10">
<select name="adult">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
</div>
</div>
<div class="form-group">
<label for="children" class="col-sm-2 control-label">Children</label>
<div class="col-sm-10">
<select name="children">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
</div>
</div>
<div class="form-group">
<label for="t_room" class="col-sm-2 control-label">No Of Rooms</label>
<div class="col-sm-10">
<select name="t_room">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<button class="btn btn-primary" name="save" style="float: right;margin-right: 20px;">Check</button>
</div>
</div>
</form>
</div>
<div class="clear"></div>
<div class="grid_12">
<h3 class="head1">Amenities</h3>
</div>
<div class="grid_4">
<div class="block1">
<div class="text1 col1"><a href="#">Pick Up</a></div>
We Offer A Huge Facility Of Pickup.
</div>
</div>
<div class="grid_4">
<div class="block1">
<div class="text1 col1"><a href="#">Spa</a></div>
Spa, a facility that operates under the full-time, on-site supervision of a licensed health care professional whose primary purpose is to provide comprehensive traditional, complementary and/or alternative therapies.
</div>
</div>
<div class="grid_4">
<div class="block1">
<div class="text1 col1"><a href="#">Swimming</a></div>
These consist of a small vessel (usually about 2.5 × 5 m) in which the swimmer swims in place, either against the push of an artificially generated water current or against the pull of restraining devices. These pools have several names, such as swim spas, swimming machines, or swim systems.
</div>
</div>
<div class="grid_12">
<h3 class="head1"></h3>
</div>
<div class="grid_4">
<div class="block1">
<div class="text1 col1"><a href="#">Gym</a></div>
A health club (also known as a fitness club, fitness centre, health spa, and commonly referred to as a gym) is a place that houses exercise equipment for the purpose of physical exercise.
</div>
</div>
<div class="grid_4">
<div class="block1">
<div class="text1 col1"><a href="#">WIFI</a></div>
ROSEWOOD has dedicated Internet Leased line connected to all the terminals throughout the Campus. Employees and Guest are free to access internet.
</div>
</div>
<div class="grid_4">
<div class="block1">
<div class="text1 col1"><a href="#">Bar</a></div>
A great diversity of choices awaits you at the ROSEWOOD with restaurants and bars dedicated to fully please your appetite and quench your thirst with refreshing cocktails, fresh juices and smoothies as well as branded and locally produced alcoholic drinks.
</div>
</div>
<hr>
<div class="grid_12">
<h3 class="head1">GET THE BEST OFFER FIRST</h3>
<div class="text1 col1"><a href="#">Join Our Newsletter</a></div>
</br>
<form class="form-horizontal" role="form" method="POST">
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="text" name="email" class="form-control" id="inputEmail3">
</div>
</div>
<div class="row">
<div class="col-lg-12">
<button class="btn btn-primary" name="submit" style="float: right;margin-right: 20px;">SUBMIT</button>
</div>
</div>
<div class="clear"></div>
</form>
</div>
</div>
</div>
<?php include 'footer.php';?>