-
Notifications
You must be signed in to change notification settings - Fork 0
/
wisata_budaya.php
153 lines (132 loc) · 8.42 KB
/
wisata_budaya.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
<?php
include 'koneksi.php';
$data = mysqli_query($koneksi, "select * from pengaturan WHERE id='1' ");
while ($d = mysqli_fetch_array($data)) {
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<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.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.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">
<!-- my css -->
<link rel="stylesheet" href="css/style.css">
<!-- font -->
<link href="https://fonts.googleapis.com/css2?family=Viga&display=swap" rel="stylesheet">
<title><?php echo $d['nama_desa']; ?></title>
</head>
<body>
<!-- navbar -->
<section class="navbar navbar-expand-lg " style="background-color:<?php echo $d['bg_warna']; ?>">
<div class="container">
<a class="navbar-brand" style="color:<?php echo $d['text_warna']; ?>"><?php echo $d['nama_desa']; ?></a>
<button class=" navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon">
<i class="fa fa-navicon" style="color:<?php echo $d['text_warna']; ?>; font-size:20px;"></i>
</span>
</button>
<div class=" collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-link" href="index.php" style="color:<?php echo $d['text_warna']; ?>">Home</a>
<li class="nav-item dropdown">
<a class=" nav-link dropdown-toggle" style="color:<?php echo $d['text_warna']; ?>" href="#" id="navbarDarkDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Wisata
</a>
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuLink">
<li><a class="dropdown-item" href="wisata_alam.php">Alam</a></li>
<li><a class="dropdown-item" href="wisata_religi.php">Religi</a></li>
<li><a class="dropdown-item" href="wisata_budaya.php">Budaya</a></li>
</ul>
</li>
<a class="nav-link" href="galeri.php" style="color:<?php echo $d['text_warna']; ?>">Galeri</a>
<a class="nav-link" href="kegiatan.php" style="color:<?php echo $d['text_warna']; ?>">Kegiatan</a>
<a class=" nav-link" href="Paket_wisata.php" style="color:<?php echo $d['text_warna']; ?>">Paket Wisata</a>
<a class=" nav-link" href="umkm.php" style="color:<?php echo $d['text_warna']; ?>">UMKM Desa</a>
</div>
</div>
</div>
</section>
<!-- navbar end -->
<!-- card wisata -->
<div class="container">
<div class="text-center mt-5">
<h2>Wisata Budaya</h2>
</div>
<div class="row mb-5 mt-5">
<?php
$data = mysqli_query($koneksi, "select * from wisata WHERE jenis_wisata='wisata budaya' ");
while ($data1 = mysqli_fetch_array($data)) {
?>
<div class="col-md-4 col-sm-12 mb-3">
<div class="card">
<img class="card-img-top" src="images/curug-pinang.jpg" height="200px" alt="Card image cap">
<div class="card-body">
<h5 class="card-title"><?php echo $data1['nama'] ?></h5>
<p class="card-text"><?php echo $data1['deskripsi'] ?></p>
<h6>Harga Tiket</h6>
<p class="card-text"><?php echo nl2br($data1['harga']); ?></p>
<button type="button" class="btn" value="<?php echo $data1['map'] ?>">Map</button>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
<!-- card wisata end -->
<!-- FOOTER -->
<div class="container-fluid " style="background-color:<?php echo $d['bg_warna']; ?>">
<footer class="row row-cols-5 py-5 border-top">
<div class=" col ">
<a class=" navbar-brand" style="color:<?php echo $d['text_warna']; ?>"><?php echo $d['nama_desa']; ?></a>
<p style="color:<?php echo $d['text_warna']; ?>">© 2021 VIII DEV</p>
<a href=" <?php echo $d['facebook']; ?>" class="fa fa-facebook"></a>
<a href="<?php echo $d['instagram']; ?>" class="fa fa-instagram"></a>
</div>
<div class="col">
</div>
<div class="col">
<h5 style="color:<?php echo $d['text_warna']; ?>;font-weight:bold;font-style:italic;">Tentang Kami</h5>
<ul class="nav flex-column ">
<li class="nav-item mb-2 "><a href="index.php" class="nav-link p-0" style="color:<?php echo $d['text_warna']; ?>">Profil desa</a>
</li>
<li class=" nav-item mb-2"><a href="galeri.php" class="nav-link p-0" style="color:<?php echo $d['text_warna']; ?>">galeri</a></li>
<li class=" nav-item mb-2"><a href="kegiatan.php" class="nav-link p-0" style="color:<?php echo $d['text_warna']; ?>">Kegiatan</a></li>
</ul>
</div>
<div class="col">
<h5 style="color:<?php echo $d['text_warna']; ?>;font-weight:bold;font-style:italic;">Potensi Desa</h5>
<ul class="nav flex-column ">
<li class="nav-item mb-2"><a href="wisata_alam.php" class="nav-link p-0" style="color:<?php echo $d['text_warna']; ?>">wisata
alam</a></li>
<li class="nav-item mb-2"><a href="wisata_religi.php" class="nav-link p-0" style="color:<?php echo $d['text_warna']; ?>">wisata
religi</a></li>
<li class="nav-item mb-2"><a href="wisata_budaya.php" class="nav-link p-0 " style="color:<?php echo $d['text_warna']; ?>">wisata
Budaya</a></li>
<li class="nav-item mb-2"><a href="umkm.php" class="nav-link p-0" style="color:<?php echo $d['text_warna']; ?>">UMKM</a></li>
<li class="nav-item mb-2"><a href="Paket_wisata.php" class="nav-link p-0" style="color:<?php echo $d['text_warna']; ?>">paket
wisata</a></li>
</ul>
</div>
</footer>
</div>
<!-- footer end -->
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous">
</script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-eMNCOe7tC1doHpGoWe/6oMVemdAVTMs2xqW4mwXrXsW0L84Iytr2wi5v2QjrP/xp" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cn7l7gDp0eyniUwwAZgrzD06kc/tftFf19TOAs2zVinnD/C7E91j9yyk5//jjpt/" crossorigin="anonymous"></script>
-->
</body>
<?php
}
?>
</html>