-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
410 lines (369 loc) · 14.6 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
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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
<?php
require_once 'koneksi.php';
$query = mysqli_query($koneksi, "SELECT * FROM tbl_sambutan");
$aktif = 'visi_misi';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SMA Negeri 9 Kupang</title>
<!-- Link Owl Caroseul -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js">
<!-- Link Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.2.1/css/all.css" />
<!-- Link Box Icon -->
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet" />
<!-- Link CSS -->
<link rel="stylesheet" href="style.css" />
<!-- Link JS -->
<script src="https://code.jquery.com/jquery-3.6.3.min.js"></script>
<!-- Link JS -->
<script src="main.js"></script>
<!-- BS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" />
<!-- Link JQuery -->
<script src="https://code.jquery.com/jquery-3.6.3.js" integrity="sha256-nQLuAZGRRcILA+6dMBOvcRh5Pe310sBpanc6+QBmyVM=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js"></script>
</head>
<body>
<!-- NAVIGATION -->
<?php include 'header.php'; ?>
<!-- HOME -->
<section id="home">
<h2>Bersama SMAN 9 Kupang, Kita Berprestasi</h2>
<p>Sekolah yang sudah terbukti menghasilkan karakter-karakter Emas. Pengetahuan, Keterampilan, Perbedaan semua menjadi Kesatuan. Siap menjadi bagian selanjutnya?</p>
<div class="btn">
<a class="blue" href="#">Learn More</a>
<a class="yellow" href="#">Visit Course</a>
</div>
</section>
<div class="container-runtext">
<div class="ticker">
<div class="title"><h5>Informasi</h5></div>
<div class="info">
<marquee behavior="" direction="">
<p>Selamat datang di Halaman utama website! Jadilah sang Mentari yang memberikan sinarnya, kita smansem kita berprestasi</p>
</marquee>
</div>
</div>
</div>
<!-- New Sambutan -->
<section id="sambutan" class="sambutan-container">
<?php while($artikel = mysqli_fetch_assoc($query)) : ?>
<div class="row align-item-center">
<div class="col-md-6 image">
<img src="images/sambutan/<?= $artikel['foto'] ?>" width="70%" class="post-img" />
</div>
<div class="col-md-5 info">
<h2>Sambutan Kepala Sekolah</h2>
<p>
<?= $artikel['isi'] ?>
</p>
</div>
</div>
<?php endwhile; ?>
</section>
<!-- New Kalkulasi Data -->
<section class="counting">
<!-- <h1>Kalkulasi</h1> -->
<div class="box">
<i class="fa-solid fa-user-graduate"></i>
<h1 class="count" data-count="1200">1200+</h1>
<h3>Guru & Pegawai</h3>
</div>
<div class="box">
<i class="fa-solid fa-user-tie"></i>
<h1 class="count" data-count="800">800+</h1>
<h3>Siswa</h3>
</div>
<div class="box">
<i class="fas fa-list"></i>
<h1 class="count" data-count="45">45+</h1>
<h3>Fasilitas</h3>
</div>
<div class="box">
<i class="fa-solid fa-user-check"></i>
<h1 class="count" data-count="5900">5900+</h1>
<h3>Alumni</h3>
</div>
</section>
<!-- FITUR -->
<section id="features">
<h1>Fasilitas Sekolah</h1>
<p>Menghasilkan generasi emas untuk nusantara</p>
<div class="fea-base">
<div class="fea-box">
<i class="fa-solid fa-school"></i>
<h3>Ruang Kelas</h3>
<p>Ruang kelas yang nyaman dan bersih, sehingga cocok untuk proses belajar mengajar</p>
</div>
<div class="fea-box">
<i class="fa-solid fa-book"></i>
<h3>Perpustakaan</h3>
<p>Memiliki koleksi buku yang beragam untuk mendukung proses belajar siswa</p>
</div>
<div class="fea-box">
<i class="fa-solid fa-flask"></i>
<h3>Laboratorium</h3>
<p>Laboratorium yang aman dengan berbagai alat dan bahan praktek di bidang Ilmu Pengetahuan</p>
</div>
<div class="fea-box">
<i class="fa-solid fa-volleyball"></i>
<h3>Lapangan Olahraga</h3>
<p>Lapangan Olahraga yang luas, cocok untuk melakukan aktivitas fisik dan permainan</p>
</div>
<div class="fea-box">
<i class="fa-solid fa-stethoscope"></i>
<h3>Ruang UKS</h3>
<p>Ruang Kesehatan yang dilengkapi perlengkapan dan fasilitas yang diperlukan untuk menjaga kesehatan siswa</p>
</div>
<div class="fea-box">
<i class="fa-solid fa-burger"></i>
<h3>Kantin</h3>
<p>Kantin yang bersih dan higenis sebagai tempat menemani aktivitas belajar siswa</p>
</div>
</div>
</section>
<!-- JURUSAN -->
<section id="course">
<h1>Jurusan Ilmu</h1>
<p>Bidang Ilmu sesuai minat bakatmu</p>
<div class="course-box">
<div class="courses">
<img src="images/ipa.jpeg" alt="Gambar 1" />
<div class="detail">
<span>updated 01/06/2023</span>
<h6>Ilmu Pengetahuan Alam</h6>
<div class="bintang">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<span>(259 peminat)</span>
</div>
</div>
<div class="harga">info</div>
</div>
<div class="courses">
<img src="images/c2.jpg" alt="Gambar 2" />
<div class="detail">
<span>updated 01/06/2023</span>
<h6>Pemrograman</h6>
<div class="bintang">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<span>(259 peminat)</span>
</div>
</div>
<div class="harga">Info</div>
</div>
<div class="courses">
<img src="images/c3.jpg" alt="Gambar 2" />
<div class="detail">
<span>updated 01/06/2023</span>
<h6>Bahasa</h6>
<div class="bintang">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<span>(259 peminat)</span>
</div>
</div>
<div class="harga">info</div>
</div>
<div class="courses">
<img src="images/c4.jpg" alt="Gambar 2" />
<div class="detail">
<span>updated 01/06/2023</span>
<h6>Bahasa Inggris</h6>
<div class="bintang">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<span>(120 peminat)</span>
</div>
</div>
<div class="harga">Info</div>
</div>
<div class="courses">
<img src="images/c5.jpg" alt="Gambar 2" />
<div class="detail">
<span>updated 01/06/2023</span>
<h6>TIK</h6>
<div class="bintang">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<span>(320 peminat)</span>
</div>
</div>
<div class="harga">info</div>
</div>
<div class="courses">
<img src="images/c6.jpg" alt="Gambar 2" />
<div class="detail">
<span>updated 01/06/2023</span>
<h6>Aksara</h6>
<div class="bintang">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<span>(29 peminat)</span>
</div>
</div>
<div class="harga">info</div>
</div>
</div>
</section>
<!-- PRESTASI -->
<section id="prestasi">
<div class="container-prestasi">
<div class="section-title">
<h2>Prestasi Sekolah</h2>
</div>
<div class="section-item">
<div class="row">
<div class="col-md-6">
<img class="section-item-thumbnail" src="images/foto3.jpg" alt="" />
</div>
<div class="col-md-6 col-item-kanan" >
<div class="section-item-title">
<h3>SMAN 9 Kupang Juara Lomba Volly dalam Perayaan HUT SMAN 5 Kupang</h3>
<div class="section-item-meta">
<span><i class="far fa-calendar-alt"></i>24 Januari 2017</span>
<span><i class="fas fa-map-marked-alt"></i>Kupang</span>
</div>
</div>
<div class="section-item-body">
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Minus laboriosam voluptatibus maxime beatae voluptatum quaerat doloribus totam cumque repellendus dolor, inventore debitis earum deserunt harum! Voluptas dicta
consectetur sequi fugiat, placeat fugit quis, illum voluptatum dolores, laudantium distinctio. Minus, reprehenderit. Distinctio obcaecati dolorum sit necessitatibus sunt. Consectetur cum reiciendis autem.
</p>
</div>
</div>
</div>
</div>
<div class="section-item">
<div class="row">
<div class="col-md-6">
<img class="section-item-thumbnail" src="images/foto4.jpg" alt="" />
</div>
<div class="col-md-6 col-item-kanan">
<div class="section-item-title">
<h3>SMAN 9 Kupang Berhasil Meraih Juara 2 Lomba Cerdas Cermat Ekonomi se-Kota Kupang</h3>
<div class="section-item-meta">
<span><i class="far fa-calendar-alt"></i>24 Januari 2017</span>
<span><i class="fas fa-map-marked-alt"></i>Kupang</span>
</div>
</div>
<div class="section-item-body">
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Minus laboriosam voluptatibus maxime beatae voluptatum quaerat doloribus totam cumque repellendus dolor, inventore debitis earum deserunt harum! Voluptas dicta
consectetur sequi fugiat, placeat fugit quis, illum voluptatum dolores, laudantium distinctio. Minus, reprehenderit. Distinctio obcaecati dolorum sit necessitatibus sunt. Consectetur cum reiciendis autem.
</p>
</div>
</div>
</div>
</div>
<div class="section-item">
<div class="row">
<div class="col-md-6">
<img class="section-item-thumbnail" src="images/foto5.jpg" alt="" />
</div>
<div class="col-md-6 col-item-kanan">
<div class="section-item-title">
<h3>SMAN 9 Kupang Berhasil Menjuarai Lomba Pidato se-Kota Kupang</h3>
<div class="section-item-meta">
<span><i class="far fa-calendar-alt"></i>24 Januari 2017</span>
<span><i class="fas fa-map-marked-alt"></i>Kupang</span>
</div>
</div>
<div class="section-item-body">
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Minus laboriosam voluptatibus maxime beatae voluptatum quaerat doloribus totam cumque repellendus dolor, inventore debitis earum deserunt harum! Voluptas dicta
consectetur sequi fugiat, placeat fugit quis, illum voluptatum dolores, laudantium distinctio. Minus, reprehenderit. Distinctio obcaecati dolorum sit necessitatibus sunt. Consectetur cum reiciendis autem.
</p>
</div>
</div>
</div>
</div>
<div class="tombol-selengkapnya">
<a href="prestasi.php" class="btn btn-more">Lihat Prestasi Lainnya</a>
</div>
</div>
</section>
<!-- TENAGA PENDIDIK -->
<section class="tenaga-pendidik">
<div class="container-tp">
<div class="section-title">
<h2>Tenaga Pendidik</h2>
</div>
<div class="owl-carousel" id="tenaga-pendidik-slider">
<div class="section-item">
</div>
</div>
</div>
</section>
<!-- PROFIL -->
<section id="ahli">
<h1>Profil Komunitas</h1>
<p>Menghasilkan generasi emas untuk nusantara</p>
<div class="ahli-box">
<div class="profil">
<img src="images/pro1.webp" alt="profil1" />
<h6>Maya Polly</h6>
<p>Tim Multimedia</p>
<div class="pro-links">
<i class="fab fa-facebook-f"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-linkedin-in"></i>
</div>
</div>
<div class="profil">
<img src="images/ibusman92.jpg" alt="profil3" />
<h6>Irene Thoi</h6>
<p>Tim MUltimedia</p>
<div class="pro-links">
<i class="fab fa-facebook-f"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-linkedin-in"></i>
</div>
</div>
<div class="profil">
<img src="images/download kepsek.jpeg" alt="profil4" />
<h6>Siti Hartati</h6>
<p>Agama Islam</p>
<div class="pro-links">
<i class="fab fa-facebook-f"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-linkedin-in"></i>
</div>
</div>
</div>
</section>
<?php include 'footer.php' ?>
<script src="main.js"></script>
<script>
$(document).ready(function () {
$('.num').counterup({
Delay: 10,
time: 1200,
});
});
</script>
</body>
</html>