-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackages.php
More file actions
144 lines (140 loc) · 4.33 KB
/
packages.php
File metadata and controls
144 lines (140 loc) · 4.33 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
<!DOCTYPE html>
<html>
<head>
<title>ITS | PACKAGES</title>
<link rel="icon" href="Images/icon.jpg">
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style type="text/css">
.card img{
width: 350px;
height:170px;
}
hr{
width: 100px;
color:red;
background-color:skyblue;
}
.active{
border-bottom:3px solid skyblue;
}
.navbar a:hover{
border-bottom:3px solid skyblue;
}
.nav-item{
padding-right: 20px;
letter-spacing: 2px;
font-weight: bold;
}
.f1{
float: left;
margin-right: 100px;
}
.f3,.f3 a{
text-align: center;
font-size:28px;
color:red;
padding-right:29px;
background-color:white;
}
.j1{
background: url("Images/bg p.jpg") ;
background-attachment: fixed;
background-size:1350px 700px;
}
</style>
</head>
<body>
<!--Nav-->
<nav class="navbar navbar-expand-md bg-light navbar-light sticky-top">
<!--LOGO-->
<a href="index.php" class="navbar-brand">
<img src="Images/logo.png" alt="logo" height="70px" width="150px">
</a>
<!--collapsebutton-->
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#my">
<span class="navbar-toggler-icon"></span>
</button>
<!--Links-->
<div class="collapse navbar-collapse" id="my">
<ul class="navbar-nav">
<li class="nav-item"><a href="index.php" class="nav-link ">HOME</a></li>
<li class="nav-item"><a href="packages.php" class="nav-link active">PACKAGES</a></li>
<li class="nav-item"><a href="aboutus.php " class="nav-link">ABOUT US</a></li>
<li class="nav-item"><a href="contact us.php" class="nav-link">CONTACT ?</a></li>
</ul>
</div>
</nav>
<!--Packages.-->
<div class="jumbotron j1">
<h2 style="text-align: center; color:#fff;"> Packages</h2>
<hr>
<div class="row">
<?php
$mysql=mysqli_connect("localhost","root","","tourism");
$query="select * from regist ORDER BY ID DESC";
$result=mysqli_query($mysql,$query);
while($row=mysqli_fetch_assoc($result))
{
?>
<div class="col-md-4">
<div class="card border-dark" style="width:350px">
<img class="card-img-top" src="<?php echo $row['file']; ?>">
<div class="card-header">
<h4 class="card-title"><?php echo '<span>'.$row['pname'].'</span>';?></h4>
</div>
<div class="card-body">
<p class="card-text">
<?php
echo '<span>Duration: '.$row['duration'].'</span>';echo'<br>';
echo '<span>Price: '.$row['price'].'/Per Person</span>';echo '<br>';
echo '<span>Route: '.$row['route'].'</span>';
?>
</p>
<?php echo"<a class='btn btn-info btn-sm' href='booking.php?id=$row[id]'>Book Now</a>"; ?>
</div>
</div>
<br><br>
</div>
<?php
}
?>
</div>
</div>
<br><br><br>
<!--Footer-->
<div class="jumbotron j2">
<div class="f1">
<h5>LEGAL POLICY's</h5>
<ul>
<li><a href="#">Terms & Conditions</a></li>
<li><a href="#">Disclaimer</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Support</a></li>
</ul>
</div>
<div class="f2">
<h5>ABOUT US</h5>
<ul>
<li><a href="#">Investors</a></li>
<li><a href="#">Partners</a></li>
<li><a href="#">Visitors</a></li>
<li><a href="#">Support</a></li>
</ul>
</div>
</div>
<div class="f3">
<a href="" class="fa fa-facebook-official"></a>
<a href="" class="fa fa-instagram"></a>
<a href="" class="fa fa-twitter"></a>
<a href="" class="fa fa-youtube"></a>
<a href="" class="fa fa-linkedin"></a>
<a href="" class="fa fa-telegram"></a>
</div>
</body>
</html>