-
Notifications
You must be signed in to change notification settings - Fork 1
/
about.php
207 lines (183 loc) · 7.82 KB
/
about.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
<?php
include 'config/functions.php';
$link = query("SELECT * FROM tbpengaturan");
$visimisi = query("SELECT * FROM tbvisimisi");
?>
<!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">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="assets/css/all.min.css">
<!-- Animate CSS -->
<link rel="stylesheet" href="assets/css/animate.min.css">
<!-- AOS CSS -->
<link rel="stylesheet" href="assets/css/aos.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/style3.css?version=<?= filemtime('assets/css/style3.css') ?>">
<!-- Favicon -->
<link rel="shortcut icon" href="<?= $link[0]['icon'] ?>" type="image/x-icon">
<title>Kelompok 1 | Beranda</title>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top header-nav">
<div class="container">
<a href="<?= dirname($_SERVER['PHP_SELF']) ?>" class="navbar-brand">Selamat Datang</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#menu" aria-controls="menu" aria-expanded="false" aria-label="Menu Navigation">
<span id="clpse-icon" class="fa fa-arrow-down fa-arrow-down-animated"></span>
</button>
<div id="menu" class="collapse navbar-collapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a href="about.php" role="button" class="nav-link">About</a>
</li>
<li class="nav-item dropdown">
<a href="#" role="button" class="nav-link dropdown-toggle" id="submenu" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Pendaftaran
</a>
<div class="dropdown-menu animate__animated" aria-labelledby="submenu">
<a class="dropdown-item" href="daftar.php">Daftar PPDB</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="alur.php">Alur Pendaftaran</a>
<a class="dropdown-item" href="syarat.php">Syarat Pendaftaran</a>
<a class="dropdown-item" href="panduan.php">Panduan Pendaftaran</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
<!-- Main Header -->
<div class="header">
<div class="jumbotron jumbotron-fluid">
<div class="container">
<div class="row text-center">
<div class="col-md-12 animate__animated animate__fadeInDown">
<div class="title">
<h3>About Us</h3>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="about text-white">
<div class="container">
<div class="row">
<div class="col-md-12 pt-3 pb-2">
<h5><?= $link[0]['about'] ?></h5>
</div>
<div class="col-md-12 pt-3">
<h4>
<i class="fas fa-home"></i>
Alamat
</h4>
<p><?= $link[0]['alamat'] ?></p>
</div>
<div class="col-md-12 pt-3">
<h4>
<i class="fas fa-envelope"></i>
Email
</h4>
<p><a href="mailto:<?= $link[0]['email'] ?>"><?= $link[0]['email'] ?></a></p>
</div>
<div class="col-md-12 pt-3">
<h4>
<i class="fas fa-phone"></i>
Nomo telp
</h4>
<p><?= $link[0]['whatsapp'] ?></p>
</div>
</div>
</div>
</div>
<div class="contact text-white pt-5">
<div class="container">
<div class="row">
<div class="col-md-12">
<h4 class="text-center">Visi dan Misi</h4>
<p>Sekolah ini memiliki visi dan misi sebagai berikut,</p>
<ul class="list-group list-group-flush">
<?php foreach ($visimisi as $row) { ?>
<li class="list-group-item bg-transparent border-white border-bottom">
<?= $row['visimisi'] ?>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
<div class="jumbotron jumbotron-fluid">
<div class="container">
<div class="row">
<div class="col-md-6 text-white">
<h5>© <?= date("Y") ?> | Built With <i class="fa fa-heart"></i>
By <a href="https://facebook.com/dmz.hari.9">DmzHari</a>
</h5>
</div>
<div class="col-md-6 text-white ico">
<h4>
<a href="<?= $link[0]['facebook'] ?>">
<i class="fab fa-facebook-square"></i>
</a>
<a href="<?= $link[0]['instagram'] ?>">
<i class="fab fa-instagram-square"></i>
</a>
<a href="<?= $link[0]['twitter'] ?>">
<i class="fab fa-twitter-square"></i>
</a>
<a href="https://wa.me<?= $link[0]['whatsapp'] ?>">
<i class="fab fa-whatsapp-square"></i>
</a>
<a href="<?= $link[0]['youtube'] ?>">
<i class="fab fa-youtube-square"></i>
</a>
</h4>
</div>
</div>
</div>
</div>
</div>
<!-- Jquery -->
<script src="assets/js/jquery-3.6.0.js"></script>
<!-- Bootstrap JS -->
<script src="assets/js/bootstrap.min.js"></script>
<!-- Sweet2alert JS -->
<script src="assets/js/sweetalert2.all.min.js"></script>
<!-- AOS JS -->
<script src="assets/js/aos.js"></script>
<script>
AOS.init();
$(document).ready(function() {
$('li.nav-item > a').hover(function() {
$(this).addClass('nav-ac');
}, function() {
$(this).removeClass('nav-ac');
});
$('li.nav-item > a').click(function() {
$(this).addClass('nav-ac');
});
$('.navbar-toggler').on('click', function() {
$('#clpse-icon').toggleClass("fa-arrow-up-animated");
});
$(window).scroll(function(e) {
if ($(window).scrollTop() <= 10) {
$('.navbar').addClass('scrolled-up')
$('.navbar').removeClass('scrolled-down');
} else {
$('.navbar').addClass('scrolled-down');
$('.navbar').removeClass('scrolled-up');
}
});
});
</script>
</body>
</html>