This repository has been archived by the owner on Feb 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
722 lines (587 loc) · 24.1 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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
<?php
$pageTitle = 'Welcome';
include 'header.php';
?>
<!-- Intro Section -->
<div id="home" class="view jarallax" data-jarallax='{"speed": 0.2}' style="background-image: url(img/SlideBackground.jpg); background-repeat: no-repeat; background-size: cover; background-position: center center;">
<div class="mask rgba-black-strong">
<div class="container h-100 d-flex justify-content-center align-items-center">
<div class="row smooth-scroll">
<div class="col-md-12 white-text text-center">
<div class="wow fadeInDown" data-wow-delay="0.2s">
<h2 class="display-3 font-weight-bold text-uppercase mb-2 spacing rgba-white-slight px-4 py-3">
<strong>Let's go</strong>
</h2>
<h4 class="subtext-header mt-4 mb-5">Network Er Bahire</h4>
</div>
<a href="#destination" data-offset="100" class="btn btn-white btn-rounded font-weight-bold dark-grey-text wow fadeInUp" data-wow-delay="0.2s">Show more</a>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- /. Navigation & Intro -->
<!--Main content-->
<main>
<div class="container">
<!-- Section: Features v.1 -->
<section id="destination" class="mt-4 wow fadeInDown">
<!--Section heading-->
<h4 class="text-center my-5 font-weight-bold wow fadeIn" data-wow-delay="0.2s">
<strong>Where do you want to go?</strong>
</h4>
<!--Section description-->
<p class="text-center w-responsive mx-auto mb-5 wow fadeIn" data-wow-delay="0.2s">Let's visit somewhere & be <b>Network Er Bahire</b> for a while. Search for destination below.</p>
<!-- Grid row . Division Search -->
<div class="row flex-center">
<!-- Grid column-->
<div class="col-lg-6 col-md-6">
<div class="md-form form-lg">
<?php
$sqlquery = "SELECT * FROM divisions";
try {
$returnval = $dbcon->query($sqlquery); ///PDO Statement
$divisionstable = $returnval->fetchAll();
?>
<select name="division" id="DiviSrch" class="mdb-select mdb-autocomplete md-form colorful-select dropdown-primary custom-select-lg" title="Select Division" searchable="Search Division...">
<option value="" selected="" disabled="">Find Division</option>
<?php foreach ($divisionstable as $dvsdata) { ?>
<option value="<?php echo $dvsdata['name'] ?>"><?php echo $dvsdata['name'] ?></option>
<?php
}
?>
</select>
<?php
} catch (PDOException $ex) {
echo $ex;
}
?>
</div>
</div>
<!-- Grid column . Search btn -->
<div class="col-lg-6 col-md-6">
<a id="diviSrchBtn" class="btn btn-blue btn-rounded">Search Division</a>
</div>
<!-- /. Grid column . Search Btn -->
<script>
var srcbtn = document.getElementById('diviSrchBtn');
srcbtn.addEventListener('click', searchprocess);
function searchprocess() {
var searchvalue = document.getElementById('DiviSrch').value;
window.location.assign("search?t=d&v=" + searchvalue);
}
</script>
<!--Grid column-->
</div>
<!-- /. Grid row . Division Search -->
<!-- Grid row . Prominent Spots Search -->
<div class="row flex-center">
<!--Grid column-->
<div class="col-lg-6 col-md-6">
<div class="md-form">
<?php
$sqlquery = "SELECT * FROM spots";
try {
$returnval = $dbcon->query($sqlquery); ///PDO Statement
$spotstable = $returnval->fetchAll();
?>
<select name="division" id="promSpotSrch" class="mdb-select mdb-autocomplete md-form colorful-select custom-select-lg dropdown-default" title="Select Spot" searchable="Search Spot...">
<option value="" selected="" disabled="">Find Prominent Spot</option>
<?php foreach ($spotstable as $sptsdata) { ?>
<option value="<?php echo $sptsdata['name'] ?>"><?php echo $sptsdata['name'] ?></option>
<?php
}
?>
</select>
<?php
} catch (PDOException $ex) {
echo $ex;
}
?>
</div>
</div>
<!-- Grid column . Search btn -->
<div class="col-lg-6 col-md-6">
<a id="promSpotSrchBtn" class="btn btn-default btn-rounded">Search Spot</a>
</div>
<!-- /. Grid column . Search Btn -->
<script>
var srcbtn = document.getElementById('promSpotSrchBtn');
srcbtn.addEventListener('click', searchprocess);
function searchprocess() {
var searchvalue = document.getElementById('promSpotSrch').value;
window.location.assign("search?t=s&v=" + searchvalue);
}
</script>
<!-- Grid column -->
</div>
<!-- /. Grid row . Prominent Spots Search -->
<!-- Grid row . Hotels or Resorts Search -->
<div class="row flex-center">
<!--Grid column-->
<div class="col-lg-6 col-md-6">
<div class="md-form">
<?php
$sqlquery = "SELECT * FROM hotels";
try {
$returnval = $dbcon->query($sqlquery); ///PDO Statement
$htlrsttable = $returnval->fetchAll();
?>
<select name="division" id="htlrsrtSrch" class="mdb-select mdb-autocomplete md-form colorful-select custom-select-lg dropdown-secondary" title="Select Spot" searchable="Search Hotel or Resort...">
<option value="" selected="" disabled="">Find Hotels or Resorts</option>
<?php foreach ($htlrsttable as $hrsdata) { ?>
<option value="<?php echo $hrsdata['name'] ?>"><?php echo $hrsdata['name'] ?></option>
<?php
}
?>
</select>
<?php
} catch (PDOException $ex) {
echo $ex;
}
?>
</div>
</div>
<!-- Grid column . Search btn -->
<div class="col-lg-6 col-md-6">
<a id="htlrsrtSrchBtn" class="btn btn-secondary btn-rounded">Search Hotel or Resort</a>
</div>
<!-- /. Grid column . Search Btn -->
<script>
var srcbtn = document.getElementById('htlrsrtSrchBtn');
srcbtn.addEventListener('click', searchprocess);
function searchprocess() {
var searchvalue = document.getElementById('htlrsrtSrch').value;
window.location.assign("search?t=hr&v=" + searchvalue);
}
</script>
<!-- Grid column -->
</div>
<!-- /. Grid row . Hotels or Resorts Search -->
</section>
<!--/ Section: Features v.1-->
</div>
<!-- /. Search Section -->
<div class="container-fluid">
<!-- Section: photos -->
<section>
<!--Grid row-->
<div class="row my-5">
<!--Grid column-->
<div class="col-md-12">
<!--First row-->
<div class="row">
<!--First column-->
<div class="col-xl-3 col-md-6 no-margins px-0">
<!--Single blog post-->
<div class="waves-effect waves-light">
<!--Blog post link-->
<a href="#!">
<!--Image-->
<div class="view overlay">
<img src="https://mdbootstrap.com/img/Photos/Others/images/48.jpg" class="img-fluid" alt="">
<div class="mask flex-center rgba-blue-strong">
<h4 class="white-text font-weight-bold">Bandarban</h4>
</div>
</div>
<!--/Image-->
</a>
<!--Blog post link-->
</div>
<!--/Single blog post-->
</div>
<!--/First column-->
<!--Second column-->
<div class="col-xl-3 col-md-6 no-margins px-0">
<!--Single blog post-->
<div class="waves-effect waves-light">
<!--Blog post link-->
<a href="#!">
<!--Image-->
<div class="view overlay">
<img src="https://mdbootstrap.com/img/Photos/Others/images/29.jpg" class="img-fluid" alt="">
<div class="mask flex-center rgba-blue-strong">
<h4 class="white-text font-weight-bold">Saintmartin</h4>
</div>
</div>
<!--/Image-->
</a>
<!--Blog post link-->
</div>
<!--/Single blog post-->
</div>
<!--/Second column-->
<!--Third column-->
<div class="col-xl-3 col-md-6 no-margins px-0">
<!--Single blog post-->
<div class="waves-effect waves-light">
<!--Blog post link-->
<a href="#!">
<!--Image-->
<div class="view overlay">
<img src="https://mdbootstrap.com/img/Photos/Others/images/49.jpg" class="img-fluid" alt="">
<div class="mask flex-center rgba-blue-strong">
<h4 class="white-text font-weight-bold">Sajek valley</h4>
</div>
</div>
<!--/Image-->
</a>
<!--Blog post link-->
</div>
<!--/Single blog post-->
</div>
<!--/Third column-->
<!--Fourth column-->
<div class="col-xl-3 col-md-6 no-margins px-0">
<!--Single blog post-->
<div class="waves-effect waves-light">
<!--Blog post link-->
<a href="#!">
<!--Image-->
<div class="view overlay">
<img src="https://mdbootstrap.com/img/Photos/Others/images/23.jpg" class="img-fluid" alt="">
<div class="mask flex-center rgba-blue-strong">
<h4 class="white-text font-weight-bold">sylhet</h4>
</div>
</div>
<!--/Image-->
</a>
<!--Blog post link-->
</div>
<!--/Single blog post-->
</div>
<!--/Fourth column-->
</div>
<!--/First row-->
</div>
<!--/Grid column-->
</div>
<!--/Grid row-->
</section>
<!-- Section: Photos -->
</div>
<div class="container">
<!--Section: destination-->
<section id="destinations" class="mt-4 mb-2">
<!--Section heading-->
<h4 class="text-center mb-5 mt-5 pt-4 font-weight-bold wow fadeIn" data-wow-delay="0.2s">
<strong>Explore destination</strong>
</h4>
<!-- Grid row -->
<div class="row">
<!-- Grid column -->
<div class="col-md-6 col-lg-3">
<!--Card-->
<div class="card card-personal mb-4">
<!--Card image-->
<div class="view overlay">
<img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/images/10.jpg" alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card image-->
<!--Card content-->
<div class="card-body text-center">
<!--Title-->
<a>
<h5 class="font-weight-bold text-uppercase my-4">TATRA MOUNTAIN</h5>
</a>
<!--Text-->
<p class="grey-text mt-2 font-small">Hotel:
<!--Review-->
<i class="fas fa-star blue-text ml-2"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
</p>
<p class="grey-text mt-2 font-small">Price:
<strong class="blue-text">$350.00</strong>
</p>
<p class="grey-text mt-2 font-small">Duration:
<strong class="dark-grey-text">10 days</strong>
</p>
<p class="grey-text mt-2 font-small">Person:
<strong class="dark-grey-text">3</strong>
</p>
<hr>
<!--Grid column-->
<div class="col-12 text-center">
<button class="btn btn-blue btn-sm font-weight-bold btn-rounded">
<strong>Book a room</strong>
</button>
</div>
<!--Grid column-->
</div>
<!--Card content-->
</div>
<!--Card-->
</div>
<!-- Grid column -->
<!-- Grid column -->
<div class="col-md-6 col-lg-3">
<!--Card-->
<div class="card card-personal mb-4">
<!--Card image-->
<div class="view overlay">
<img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/images/29.jpg" alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card image-->
<!--Card content-->
<div class="card-body text-center">
<!--Title-->
<a>
<h5 class="font-weight-bold text-uppercase my-4">
<strong>GREECE</strong>
</h5>
</a>
<!--Text-->
<p class="grey-text mt-2 font-small">Hotel:
<!--Review-->
<i class="fas fa-star blue-text ml-2"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
</p>
<p class="grey-text mt-2 font-small">Price:
<strong class="blue-text">$350.00</strong>
</p>
<p class="grey-text mt-2 font-small">Duration:
<strong class="dark-grey-text">6 days</strong>
</p>
<p class="grey-text mt-2 font-small">Person:
<strong class="dark-grey-text">2</strong>
</p>
<hr>
<!--Grid column-->
<div class="col-12 text-center">
<button class="btn btn-blue btn-sm font-weight-bold btn-rounded">
<strong>Book a room</strong>
</button>
</div>
<!--Grid column-->
</div>
<!--Card content-->
</div>
<!--Card-->
</div>
<!-- Grid column -->
<!-- Grid column -->
<div class="col-md-6 col-lg-3">
<!--Card-->
<div class="card card-personal mb-4">
<!--Card image-->
<div class="view overlay">
<img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/images/49.jpg" alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card image-->
<!--Card content-->
<div class="card-body text-center">
<!--Title-->
<a>
<h5 class="font-weight-bold text-uppercase my-4">
<strong>ICELAND</strong>
</h5>
</a>
<!--Text-->
<p class="grey-text mt-2 font-small">Hotel:
<!--Review-->
<i class="fas fa-star blue-text ml-2"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
</p>
<p class="grey-text mt-2 font-small">Price:
<strong class="blue-text">$350.00</strong>
</p>
<p class="grey-text mt-2 font-small">Duration:
<strong class="dark-grey-text">8 days</strong>
</p>
<p class="grey-text mt-2 font-small">Person:
<strong class="dark-grey-text">2</strong>
</p>
<hr>
<!--Grid column-->
<div class="col-12 text-center">
<button class="btn btn-blue btn-sm font-weight-bold btn-rounded">
<strong>Book a room</strong>
</button>
</div>
<!--Grid column-->
</div>
<!--Card content-->
</div>
<!--Card-->
</div>
<!-- Grid column -->
<!-- Grid column -->
<div class="col-md-6 col-lg-3">
<!--Card-->
<div class="card card-personal mb-4">
<!--Card image-->
<div class="view overlay">
<img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/images/25.jpg" alt="Card image cap">
<a href="#!">
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card image-->
<!--Card content-->
<div class="card-body text-center">
<!--Title-->
<a>
<h5 class="font-weight-bold text-uppercase my-4">
<strong>ITALY</strong>
</h5>
</a>
<!--Text-->
<p class="grey-text mt-2 font-small">Hotel:
<!--Review-->
<i class="fas fa-star blue-text ml-2"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
<i class="fas fa-star blue-text"> </i>
</p>
<p class="grey-text mt-2 font-small">Price:
<strong class="blue-text">$350.00</strong>
</p>
<p class="grey-text mt-2 font-small">Duration:
<strong class="dark-grey-text">10 days</strong>
</p>
<p class="grey-text mt-2 font-small">Person:
<strong class="dark-grey-text">3</strong>
</p>
<hr>
<!--Grid column-->
<div class="col-12 text-center">
<button class="btn btn-blue btn-sm font-weight-bold btn-rounded">
<strong>Book a room</strong>
</button>
</div>
<!--Grid column-->
</div>
<!--Card content-->
</div>
<!--Card-->
</div>
<!-- Grid column -->
</div>
<!-- Grid row -->
</section>
<!--/Section: destination-->
</div>
<!--Streak-->
<div class="streak streak-photo streak-long-2 mt-5" style="background-image: url('img/SlideBackground.jpg');">
<div class="flex-center mask rgba-black-light">
<div class="container">
<!-- Section heading -->
<h3 class="text-center mb-5 pb-4 white-text font-weight-bold wow fadeIn" data-wow-delay="0.2s">
<strong>Some facts about us</strong>
</h3>
<!--First row-->
<div class="row text-center">
<!--First column-->
<div class="col-md-3 mb-2">
<h1 class="white-text mb-1 font-weight-bold">+950</h1>
<p class="white-text text-uppercase mt-3">Happy clients</p>
</div>
<!--/First column-->
<!--Second column-->
<div class="col-md-3 mb-2">
<h1 class="white-text mb-1 font-weight-bold">+150</h1>
<p class="white-text text-uppercase mt-3">Projects completed</p>
</div>
<!--/Second column-->
<!--Third column-->
<div class="col-md-3 mb-2">
<h1 class="white-text mb-1 font-weight-bold">+85</h1>
<p class="white-text text-uppercase mt-3">Destinations</p>
</div>
<!--/Third column-->
<!--Fourth column-->
<div class="col-md-3">
<h1 class="white-text mb-1 font-weight-bold">+246</h1>
<p class="white-text text-uppercase mt-3">Country visited</p>
</div>
<!--/Fourth column-->
</div>
<!--First row-->
</div>
</div>
</div>
<!--/Streak-->
<div class="container">
<!-- Section: About -->
<section>
<!--Section heading-->
<h4 class="text-center mb-5 my-5 py-4 font-weight-bold wow fadeIn" data-wow-delay="0.2s">
<strong>Choose your destination</strong>
</h4>
<!--Grid row-->
<div class="row mb-5">
<!--Grid column-->
<div class="col-md-3 mb-4">
<h6 class="font-weight-bold">Bandarban</h6>
<p class="font-small grey-text mb-0">A nearly 52 km2 hill-town accommodates about 32,000 people, of whom the majority are Marma.
There is a Tribal Cultural Institute here, which features a library and a museum.
</p>
<a href="" class="font-small font-weight-bold blue-text">read more
<i class="fas fa-long-arrow-alt-right ml-2" aria-hidden="true"></i>
</a>
</div>
<!--Grid column-->
<!--Grid column-->
<div class="col-md-3 mb-4">
<h6 class="font-weight-bold">Saintmartin</h6>
<p class="font-small grey-text mb-0">St. Martin's Island is a small island (area only 3 km2) in the northeastern part of the Bay of Bengal, about 9 km south of the tip of the Cox's Bazar-Teknaf peninsula, and forming the southernmost part of Bangladesh. There is a small adjoining island that is separated at high tide, called Chera Dwip. It is about 8 kilometres (5 miles)
west of the northwest coast of Myanmar, at the mouth of the Naf River.
</p>
<a href="" class="font-small font-weight-bold blue-text">read more
<i class="fas fa-long-arrow-alt-right ml-2" aria-hidden="true"></i>
</a>
</div>
<!--Grid column-->
<!--Grid column-->
<div class="col-md-3 mb-4">
<h6 class="font-weight-bold">Sajek Valley</h6>
<p class="font-small grey-text mb-0">Sajek Valley is one of the most popular tourist spots in Bangladesh situated among the hills of the Kasalong range of mountains in Sajek union, Baghaichhari Upazila in Rangamati District.[3] The valley is 2,000 feet (610 m)
above sea level.[4] Sajek valley is known as the Queen of Hills & Roof of Rangamati.
</p>
<a href="" class="font-small font-weight-bold blue-text">read more
<i class="fas fa-long-arrow-alt-right ml-2" aria-hidden="true"></i>
</a>
</div>
<!--Grid column-->
<!--Grid column-->
<div class="col-md-3 mb-4">
<h6 class="font-weight-bold">Sylhet</h6>
<p class="font-small grey-text mb-0">Sylhet is a metropolitan city in northeastern Bangladesh. It is the administrative seat of Sylhet Division. Located on the north bank of the Surma River at the eastern tip of Bengal, Sylhet has a subtropical climate and lush highland terrain. The city has a population of more than half a million, and is one of the largest cities in Bangladesh after Khulna, Chittagong and Dhaka. [1] Sylhet is one of the most important spiritual and cultural centres in Bangladesh. Furthermore, it is one of the most economically important cities in the country after Dhaka and Chittagong.
The city produces the highest amount of tea and natural gas in the country.
</p>
<a href="" class="font-small font-weight-bold blue-text">read more
<i class="fas fa-long-arrow-alt-right ml-2" aria-hidden="true"></i>
</a>
</div>
<!--Grid column-->
</div>
<!--Grid row-->
</section>
<!-- Section: About -->
</div>
<div class="container">
<!-- Section: Contact v.3 -->
<section id="contact" class="contact-section my-5">
<?php include 'contact.php'; ?>
</section>
<!-- Section: Contact v.3 -->
</div>
</main>
<!--/Main content-->
<?php include 'footer.php'; ?>