-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu_wisata.php
282 lines (256 loc) · 11.7 KB
/
menu_wisata.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
<?php
include "koneksi.php";
session_start();
$qreview = "select * from review_wisata";
$data_review = $conn->query($qreview);
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<!-- Font Awesome JS -->
<script src="https://kit.fontawesome.com/8fe9d239e9.js" crossorigin="anonymous"></script>
<!-- Icon Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
<style>
/* Make the image fully responsive */
.carousel-item,
.carousel-inner,
.carousel-inner img {
height: 100%;
width: 100%;
object-fit: cover;
}
.carousel-item {
text-align: center;
}
.carousel {
height: 300px;
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
background-color: #1A1A1C;
border-radius: 50%;
}
</style>
<title>AUTOIN</title>
<link rel="shortcut icon" href="assets/img/favicon.ico">
</head>
<body>
<!-- Navbar -->
<nav class="navbar sticky-top navbar-expand-lg navbar-dark box-shadow shadow" style="background-color: #1A1A1C;">
<!-- Navbar Title -->
<a class="navbar-brand" href="index.php" style="font-family: 'Franklin Gothic Medium';">
<img src="assets/img/logo.png" style="width: 136px; height: 27px" alt="logo">
</a>
<!-- Navbar Title END -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Navbar Menu -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mx-auto" style="font-family: 'Franklin Gothic Medium';">
<!-- Menu 1 -->
<li class="nav-item">
<a class="nav-link" href="index.php">Home </a>
</li>
<!-- Menu 1 END -->
<!-- Menu 3 -->
<li class="nav-item">
<a class="nav-link" href="menu_review.php">Jenis Mobil</a>
</li>
<!-- Menu 3 END -->
<!-- Menu 4 -->
<li class="nav-item">
<a class="nav-link" href="menu_dealer.php">Dealer AUTOIN</a>
</li>
<!-- Menu 4 END -->
<!-- Menu 5 -->
<li class="nav-item active">
<a class="nav-link" href="menu_wisata.php">Wisata di Purbalingga<span class="sr-only">(current)</span></a>
</li>
<!-- Menu 5 END -->
<!-- Menu 6 -->
<li class="nav-item">
<a class="nav-link" href="menu_ulasan.php">Ulasan</a>
</li>
<!-- Menu 6 END -->
<!-- Menu 8 -->
<li class="nav-item">
<a class="nav-link" href="menu_about_us.php">About Us</a>
</li>
<!-- Menu 8 END -->
<!-- Menu 2 -->
<li class="nav-item">
<a class="nav-link" href="menu_booking.php">Login</a>
</li>
<!-- Menu 2 END -->
<!-- Menu 7 -->
<li class="nav-item">
<a class="nav-link" href="menu_grafik_penjualan.php">Register</a>
</li>
<!-- Menu 7 END -->
</ul>
</div>
<!-- Navbar Menu END -->
</nav>
<!-- Navbar END -->
<!-- Breadcrumbs Nav -->
<nav aria-label="breadcrumb" >
<ol class="breadcrumb" style="background-color: #2B2B2B; font-family: 'Franklin Gothic Medium';">
<li><a href="index.php"><i class="fas fa-home mr-3" style="color: white;"></i></a><i class="fas fa-angle-right mr-3" style="color: white;"></i></li>
<li class="breadcrumb-item active" aria-current="page">Wisata di Purbalingga</li>
</ol>
</nav>
<!-- Breadcrumbs Nav END -->
<main role="main" class="container my-3">
<div class="artikel-terbaru mt-5">
<h2 class="mb-3">Review Terbaru</h2>
<div class="row">
<?php
$queri = "select * from review_wisata";
$hasil= mysqli_query ($conn, $queri);
$id = 0;
while($data = mysqli_fetch_array($hasil)){
$id++;
?>
<div class="col-md-4 quote-item" id="quote-item">
<div class="card mb-4 box-shadow text-dark text-justify " style="text-decoration: none;">
<img class="card-img-top" src="assets/uploads/review/<?php echo $data['foto']; ?>" style=" width: 100%; height: 15vw; object-fit: cover;">
<div class="card-body">
<small class="text-muted d-flex justify-content-end mb-2"><?php echo $data['tanggal_upload'] ?></small>
<h5 class="card-title"><?php echo $data['nama_wisata'] ?></h5>
<p class="card-text"><?php echo $data['ringkasan_wisata'] ?></p>
<a href=<?php echo "\"detail_wisata.php?id=".$data[0]."\"" ?> class="stretched-link">Read more <i class="fa fa-arrow-right"></i></a>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
</main>
<!-- Footer -->
<footer class="page-footer font-small mdb-color pt-4" style="background-color: #0B0D17;">
<!-- Footer Links -->
<div class="container text-center text-md-left">
<!-- Footer links -->
<div class="row text-center text-md-left mt-3 pb-3">
<!-- Grid column -->
<div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3">
<p class="navbar-brand" style="color: white; font-family: 'Franklin Gothic Medium';">
<img src="assets/img/favicon.ico" width="25" height="25" alt="logo">
<b>
AUTOIN
</b>
</p>
<p style="color: white;">
Website seputar Informasi Otomotif Terkini
</p>
</div>
<!-- Grid column -->
<hr class="w-100 clearfix d-md-none">
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mt-3" style="color: white;">
<h6 class="text-uppercase mb-4 font-weight-bold" style="color: #D6B1FF;">Company</h6>
<p>
<a href="#!">About</a>
</p>
<p>
<a href="#!">Dealer</a>
</p>
<p>
<a href="#!">Carrers</a>
</p>
<p>
<a href="#!">Contacts</a>
</p>
</div>
<!-- Grid column -->
<hr class="w-100 clearfix d-md-none">
<!-- Grid column -->
<div class="col-md-3 col-lg-2 col-xl-2 mx-auto mt-3" style="color: white;">
<h6 class="text-uppercase mb-4 font-weight-bold" style="color: #D6B1FF;">Support</h6>
<p>
<a href="#!">Help Center</a>
</p>
<p>
<a href="#!">Terms of Service</a>
</p>
<p>
<a href="#!">Legal</a>
</p>
<p>
<a href="#!">Privacy Policy</a>
</p>
</div>
<!-- Grid column -->
<hr class="w-100 clearfix d-md-none">
<!-- Grid column -->
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mt-3" style="color: white;">
<h6 class="text-uppercase mb-4 font-weight-bold">Contact</h6>
<p>
<i class="fas fa-home mr-3"></i> Purwokerto, Jawa Tengah
</p>
<p>
<i class="fas fa-envelope mr-3"></i> ittelkom-pwt.ac.id
</p>
<p>
<i class="fas fa-phone mr-3"></i> +62-838-6384-4428
</p>
</div>
<!-- Grid column -->
</div>
<!-- Footer links -->
<hr style="background-color: white;">
<!-- Grid row -->
<div class="row d-flex align-items-center">
<!-- Grid column -->
<div class="col-md-7 col-lg-8">
<!--Copyright-->
<p class="text-center text-md-left" style="color: white;">© AUTOIN-TI1-PW2021
</p>
</div>
<!-- Grid column -->
<!-- Grid column -->
<div class="col-md-5 col-lg-4 ml-lg-0">
<!-- Social buttons -->
<div class="text-center text-md-right">
<ul class="list-unstyled list-inline">
<li class="list-inline-item">
<a class="btn-floating btn-xl rgba-white-slight mx-1 fa-2x" href="https://gitlab.com/FarrelHussain/weister-ti1-pw2021" target="_blank" style="color: tomato;">
<i class="fab fa-gitlab"></i>
</a>
</li>
<li class="list-inline-item">
<a class="btn-floating btn-xl rgba-white-slight mx-1 fa-2x" href="https://www.linkedin.com" target="_blank" style="color: #0e76a8;">
<i class="fab fa-linkedin"></i>
</a>
</li>
<li class="list-inline-item">
<a class="btn-floating btn-xl rgba-white-slight mx-1 fa-2x" href="https://telegram.org/" target="_blank" style="color: #0088cc;">
<i class="fab fa-telegram"></i>
</a>
</li>
</ul>
</div>
</div>
<!-- Grid column -->
</div>
<!-- Grid row -->
</div>
<!-- Footer Links -->
</footer>
<!-- Footer -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script>
</body>