-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
122 lines (104 loc) · 3.65 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
<?php
session_status();
require 'includes/config.php';
?>
<?php include ('includes/top_section.php');?>
<style>
<?php include ('css/style.css');?>
</style>
<!-- rupes section begins here -->
<div class="container my-5">
<div class="row">
<div class="col-md-6 col-lg-4">
<div class="rup-left">
<a href="offers.html"><i class="fa-solid fa-dollar-sign"></i></a>
</div>
<div class="rup-right">
<h3>UP TO USD 5O OFF</h3>
<h4><a href="offers.html" class="link-remove">TRAVEL SMART</a></h4>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="rup-left">
<a href="offers.html"><i class="fa-solid fa-square-h"></i></a>
</div>
<div class="rup-right">
<h3>UP TO 70% OFF</h3>
<h4><a href="offers.html" class="link-remove">ON HOTELS ACROSS WORLD</a></h4>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="rup-left">
<a href="offers.html" ><i class="fa-regular fa-mobile"></i></a>
</div>
<div class="rup-right">
<h3>FLAT USD. 50 OFF</h3>
<h4><a href="offers.html" class="link-remove">US APP OFFER</a></h4>
</div>
</div>
</div>
</div>
<!-- rupes section ends here -->
<!-- packages section begins here -->
<div class="container">
<div class="row">
<h3 class="headings">Package List</h3>
<?php
$sql="SELECT * FROM tbltourpackages order by rand() limit 4";
$query=$dbh->prepare($sql);
$query->execute();
$query->setFetchMode(PDO::FETCH_ASSOC);
while ($r=$query->fetch()) {?>
<div class="col-md-3>
<img src="images\<?php echo sprintf($r['PackageImage']);?>" class='package-image' alt='no image' >
</div>
<div class="col-md-6">
<h4>Package Name: <?php echo sprintf($r['PackageName']);?> </h4>
<h6><h4>Package Type: <?php echo sprintf($r['PackageType']);?></h4></h6>
<p><b>Package Location: </b><?php echo sprintf($r['PackageLocation']);?></p>
<p><b>Features</b><?php echo sprintf($r['PackageFetures']);?></p>
</div>
<div class="col-md-3">
<h5>USD <?php echo sprintf($r['PackagePrice']);?></h5>
<a href="package-details.php?pkgid=<?php echo sprintf($r['PackageId']);?>" class="view">Details</a>
</div>
<?php } ?>
</div>
</div>
<!-- packages section ends here -->
<!-- routes section begins here -->
<div class="container my-5">
<div class="row">
<div class="col-md-4">
<div class="rou-left">
<a href="#"><i class="fa-regular fa-question"></i></a>
</div>
<div class="rou-right">
<h3>80000</h3>
<p>Enquiries</p>
</div>
<div class="clearfix"></div>
</div>
<div class="col-md-4">
<div class="rou-left">
<a href="#"><i class="fa-solid fa-user"></i></a>
</div>
<div class="rou-right">
<h3>1900</h3>
<p>Registered users</p>
</div>
<div class="clearfix"></div>
</div>
<div class="col-md-4">
<div class="rou-left">
<a href="#"><i class="fa-regular fa-ticket"></i></a>
</div>
<div class="rou-right">
<h3>7,00,00,000+</h3>
<p>Booking</p>
</div>
</div>
</div>
</div>
<!-- routes section ends here -->
<?php require ('includes/bottom_section.php'); ?>