-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
63 lines (57 loc) · 1.7 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
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<title>Pendaftaran Siswa Baru | SMK Coding</title>
<style>
body {
background-image: url(img/abtrak.jpg);
background-size: cover;
background-repeat: repeat;
}
body button {
margin-bottom: 5px;
}
body a:hover {
text-decoration: none !important;
color: white;
}
body a {
text-decoration: none !important;
color: white;
}
body form{
text-align: center;
left: 37%;
top: 40%;
padding: 20px;
position: absolute;
background-color: #e3e5e6;
}
body form{
background-color: transparent;
}
</style>
</head>
<body>
<form class="shadow p-3 mb-5 ">
<h3>Pendaftaran Siswa Baru</h3>
<h1>SMK Negeri 1 Padaherang</h1>
<nav>
<button class="btn btn-success"><a href="form_daftar.php">Daftar Baru</a></button>
<button class="btn btn-info"><a href="list_siswa.php">Pendaftar</a></button>
</nav>
<?php if(isset($_GET['status'])): ?>
<p>
<?php
if($_GET['status'] == 'sukses'){
echo 'Pendaftaran Sukses';
}else{
echo 'Pendaftaran Gagal';
}
?>
<?php endif; ?>
</p>
</form>
</body>
</html>