-
Notifications
You must be signed in to change notification settings - Fork 0
/
listing.php
165 lines (149 loc) · 6.96 KB
/
listing.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- Title -->
<title>Destinations</title>
<!-- Favicon -->
<link rel="icon" href="img/core-img/favicon.ico">
<!-- Core Stylesheet -->
<link href="style.css" rel="stylesheet">
<!-- Responsive CSS -->
<link href="css/responsive/responsive.css" rel="stylesheet">
</head>
<body>
<!-- Preloader -->
<div id="preloader">
<div class="dorne-load"></div>
</div>
<!-- ***** Search Form Area ***** -->
<div class="dorne-search-form d-flex align-items-center">
<div class="container">
<div class="row">
<div class="col-12">
<div class="search-close-btn" id="closeBtn">
<i class="pe-7s-close-circle" aria-hidden="true"></i>
</div>
<form action="#" method="get">
<input type="search" name="caviarSearch" id="search" placeholder="Rechercher votre destination">
<input type="submit" class="d-none" value="submit">
</form>
</div>
</div>
</div>
</div>
<!-- ***** Header Area Start ***** -->
<header class="header_area" id="header">
<div class="container-fluid h-100">
<div class="row h-100">
<div class="col-12 h-100">
<nav class="h-100 navbar navbar-expand-lg">
<a class="navbar-brand" href="home.php"><img src="img/core-img/logo.png" alt=""></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#dorneNav" aria-controls="dorneNav" aria-expanded="false" aria-label="Toggle navigation"><span class="fa fa-bars"></span></button>
<!-- Nav -->
<div class="collapse navbar-collapse" id="dorneNav">
<ul class="navbar-nav mr-auto" id="dorneMenu">
<li class="nav-item">
<a class="nav-link" href="home.php">Home <span class="sr-only"></span></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="listing.php">Destinations</a>
</li>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.php">Contact</a>
</li>
</ul>
<!-- Search btn -->
<div class="dorne-search-btn">
<a id="search-btn" href="#"><i class="fa fa-search" aria-hidden="true"></i>Rechercher</a>
</div>
</div>
</nav>
</div>
</div>
</div>
</header>
<!-- ***** Header Area End ***** -->
<!-- ***** Breadcumb Area Start ***** -->
<div class="breadcumb-area bg-img bg-overlay" style="background-image: url(img/bg-img/hero-1.jpg)"></div>
<!-- ***** Breadcumb Area End ***** -->
<!-- ***** Listing Destinations Area Start ***** -->
<section class="dorne-listing-destinations-area section-padding-100-50">
<?php
require_once 'condb.php';
$sql1 = "SELECT * from circuit;";
$result1 = mysqli_query($con,$sql1);
?>
<div class="container">
<div class="row">
<div class="col-12">
<div class="section-heading dark text-center">
<span></span>
<h4>Destinations</h4>
</div>
</div>
</div>
<div class="row">
<?php while($row1 = mysqli_fetch_array($result1)){ ?>
<!-- Single Features Area -->
<div class="col-12 col-sm-6 col-lg-4">
<div class="single-features-area mb-50">
<img src="img/bg-img/feature-1.jpg" alt="">
<!-- Price -->
<div class="price-start">
<p><?php echo $row1['Cprix']; ?>DT</p>
</div>
<div class="feature-content d-flex align-items-center justify-content-between">
<div class="feature-title">
<h5><?php echo $row1['Cname']; ?></h5>
<p><?php echo $row1['Theme']; ?></p>
</div>
<div class="feature-favourite">
<a href="reserv.php?Id=<?php echo $row1['Id']; ?>"><i class="btn" aria-hidden="true">Reserver</i></a>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<!-- ***** Listing Destinations Area End ***** -->
<!-- ****** Footer Area Start ****** -->
<footer class="dorne-footer-area">
<div class="container-fluid">
<div class="row">
<div class="col-12 d-md-flex align-items-center justify-content-between">
<div class="footer-text">
<p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | Made with <i class="fa fa-heart-o" ></i> by <a href="" target="_blank">Khalil Kraiem And Mustapha Limam</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
<div class="footer-social-btns">
<a href="#"><i class="fa fa-twitter" aria-haspopup="true"></i></a>
<a href="#"><i class="fa fa-facebook" aria-haspopup="true"></i></a>
</div>
</div>
</div>
</div>
</footer>
<!-- ****** Footer Area End ****** -->
<!-- jQuery-2.2.4 js -->
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<!-- Popper js -->
<script src="js/bootstrap/popper.min.js"></script>
<!-- Bootstrap-4 js -->
<script src="js/bootstrap/bootstrap.min.js"></script>
<!-- All Plugins js -->
<script src="js/others/plugins.js"></script>
<!-- Active JS -->
<script src="js/active.js"></script>
</body>
</html>