-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
199 lines (157 loc) · 7.06 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
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
<!DOCTYPE html>
<html lang="en"></html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Index Kepuasan Masyarakat - BNNP DKI Jakarta</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- icons -->
<link href="../img/bnn.png" rel="icon">
<link href="../img/bnn_dki.png" rel="apple-touch-icon">
<!-- GFonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<?php
//panggil koneksi database
include "koneksi.php";
//tampilkan data dari tabel tikm
$tampil = mysqli_query($koneksi, "SELECT * from ikm");
$data = mysqli_fetch_array($tampil);
?>
<!-- ======= Header ======= -->
<header id="header" class="fixed-top d-flex align-items-center">
<div class="container d-flex align-items-center">
<h1 class="logo me-auto"><a href="index.php"><img src="assets/img/bnn_dki.png" alt=""><span>.</span></a></h1>
<nav id="navbar" class="navbar order-last order-lg-0">
<ul>
<li><a class="nav-link scrollto active" href="#hero">Home</a></li>
<li><a class="nav-link scrollto" href="#about">About</a></li>
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav><!-- .navbar -->
<a href="loginadmin/index.php" class="get-started-btn scrollto" >Admin</a>
</div>
</header><!-- End Header -->
<!-- ======= Hero Section ======= -->
<section id="hero" class="d-flex align-items-center">
<div class="container" data-aos="zoom-out" data-aos-delay="100">
<div class="alert alert-dark" role="alert">
<h4 class="alert-heading" style="text-align:center">Aplikasi Indeks Kepuasan Masyarakat<Img:srcset></Img:srcset></h4>
<p> </p>
<hr>
<p class="mb-0" style="text-align:center">Digunakan untuk mengetahui Tingkat Kepuasan masyarakat terhadap BNNP DKI Jakarta. Klik Emotikon Dibawah Ini Sesuai Penilaian Anda</p>
</div>
<div class="row text-center">
<div class="col-md-4">
<div class="bg-primary box text-white">
<div class="row">
<div class="col-md-6">
<h2 style="text-align:center">MEMUASKAN</h2>
<h1 id="data-mati"> [ <?=$data['puas']?> ] </h1>
<h2>SUARA </h2>
</div>
<div class="col-md-4">
<a href="simpan.php?ket=puas" title="Jika Anda Merasa Puas dengan Pelayanan kami, Klik Icon ini!">
<img src="assets/img/Sangat puas.png" style="width: 110px;">
</a>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="bg-success box text-white">
<div class="row">
<div class="col-md-6">
<h2>CUKUP</h2>
<h1 id="data-mati"> [ <?=$data['cukup']?> ] </h1>
<h2>SUARA </h2>
</div>
<div class="col-md-4">
<a href="simpan.php?ket=cukup" title="Jika Anda Merasa Cukup dengan Pelayanan kami, Klik Icon ini!">
<img src="assets/img/Puas.png" style="width: 120px;">
</a>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="bg-danger box text-white">
<div class="row">
<div class="col-md-6">
<h2>KURANG</h2>
<h1 id="data-sembuh"> [ <?=$data['kurang']?> ] </h1>
<h2>SUARA </h2>
</div>
<div class="col-md-4">
<a href="simpan.php?ket=kurang" title="Jika Anda Merasa Kurang dengan Pelayanan kami, Klik Icon ini!">
<img src="assets/img/Tidak puas.png" style="width: 110px;">
</a>
</div>
</div>
</div>
</div>
</div>
</section><!-- End Hero -->
<main id="main">
<!-- ======= About Section ======= -->
<section id="about" class="about section-bg">
<div class="container" data-aos="fade-up">
<div class="row no-gutters">
<div class="content col-xl-7 d-flex align-items-stretch">
<div class="content">
<h3>Aplikasi Indeks Kepuasan Masyarakat</h3>
<p>
Digunakan untuk mengetahui Tingkat Kepuasan masyarakat terhadap BNNP DKI Jakarta, tunjukkan kepuasan anda terhadap pelayanan BNNP DKI Jakarta dengan Klik ikon diatas
</p>
<a href="#" class="about-btn"><span>Isi Survey</span> <i class="bx bx-chevron-right"></i></a>
</div>
</div>
</div>
</div>
</section><!-- End About Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="container d-md-flex py-4">
<div class="me-md-auto text-center text-md-start">
<div class="copyright">
© Copyright <strong><span>IKM</span></strong>. All Rights Reserved
</div>
<div class="credits">
Designed by <a>IKM</a>
</div>
</div>
<div class="social-links text-center text-md-end pt-3 pt-md-0">
<a href="#" class="twitter"><i class="bx bxl-twitter"></i></a>
<a href="#" class="facebook"><i class="bx bxl-facebook"></i></a>
<a href="#" class="instagram"><i class="bx bxl-instagram"></i></a>
<a href="#" class="google-plus"><i class="bx bxl-skype"></i></a>
<a href="#" class="linkedin"><i class="bx bxl-linkedin"></i></a>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<!-- Vendor JS Files -->
<script src="assets/vendor/purecounter/purecounter.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
</body>
</html>