-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdaftar_syarat.php
More file actions
191 lines (166 loc) · 10.1 KB
/
daftar_syarat.php
File metadata and controls
191 lines (166 loc) · 10.1 KB
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
<?php
//start the session
session_start();
if (!isset($_SESSION)) {
echo 'ada';
exit();
//echo'<script> window.location="index.php"; </script> ';
}
$_SESSION['is_data_parent_exist'] = "";
$_SESSION['is_data_student_exist'] = "";
$_SESSION['is_data_account_exist'] = "";
if(isset($_POST['submit'])){
foreach ($_POST as $key => $val) {
${$key} = $val;
$_SESSION[''.$key.''] = $val;
}
if (!empty($_SESSION)) {
echo'<script> window.location="daftar_data_orangtua.php"; </script> ';
print_r($_SESSION);
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png" />
<link rel="icon" type="image/png" href="../assets/img/favicon.png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Penerimaan Siswa Baru</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<meta name="viewport" content="width=device-width" />
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<!-- Material Dashboard CSS -->
<link href="assets/css/material-dashboard.css?v=1.2.0" rel="stylesheet" />
<!-- CSS for Demo Purpose, don't include it in your project -->
<link href="assets/css/demo.css" rel="stylesheet" />
<!-- Fonts and icons -->
<link href="assets/css/font-awesome.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300|Material+Icons' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-8 col-lg-10 col-lg-offset-1">
<div class="card" style="margin-top: 50px">
<div class="card-header" data-background-color="blue">
<h4 class="title">Syarat Pendaftaran</h4>
<p class="category">Isi Form pendaftaran dengan benar</p>
</div>
<div class="card-content">
<h3>Berikut adalah syarat pendaftaran siswa baru yang harus dipenuhi :</h3>
<ol>
<li><font color="#2ecc71">Mengisi Formulir Pendaftaran <i class="fa fa-check"></font></i></li>
<li>Fotocopy Akte kelahiran dan kartu keluarga 2 lembar</li>
<li>Foto anak dan foto keluarga ukuran 2R</li>
</ol>
<h6><i><b>*Catatan : Pengembalian Formulir berikut persyaratannya paling lambar 2 minggu setelah pengisian formulir secara online</b></i></h6>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-8 col-lg-10 col-lg-offset-1">
<div class="card" style="margin-top: 50px">
<div class="card-header" data-background-color="blue">
<h4 class="title">Data Pendaftar</h4>
<p class="category">Periksan data anda dibawah, pastikan sudah benar</p>
</div>
<div class="card-content table-responsive">
<a href="daftar_siswa_baru.php" class="btn btn-primary pull-right" ><i class="fa fa-pencil"></i> Edit Data</a>
<h3 style="overflow: hidden;"><b>Data Calon Siswa</b></h3>
<table class="table table-hover">
<tbody>
<tr>
<td><b>Email</b></td>
<td>:<?php isset($_SESSION['email']) ? print($_SESSION['email']) : ""; ?> <a href="daftar_akun.php" class="btn btn-sm btn-primary"><i class="fa fa-pencil"></i></a></td>
</tr>
<tr>
<td><b>Nama</b></td>
<td>: <?php isset($_SESSION['full_name']) ? print($_SESSION['full_name']) : ""; ?></td>
</tr>
<tr>
<td><b>Nama Panggilan</b></td>
<td>: <?php isset($_SESSION['nick_name']) ? print($_SESSION['nick_name']) : ""; ?></td>
</tr>
<tr>
<td><b>TTL</b></td>
<td>: <?php isset($_SESSION['birth_place']) ? print($_SESSION['birth_place']) : ""; ?>, <?php isset($_SESSION['birth_date']) ? print($_SESSION['birth_date']) : "2009-01-01"; ?></td>
</tr>
<tr>
<td><b>Jenis Kelamin</b></td>
<td>: <?php isset($_SESSION['gender']) && $_SESSION['gender'] == "L" ? print("Laki-laki") : print("Perempuan") ?></td>
</tr>
<tr>
<td><b>Anak Ke -</b></td>
<td>: <?php isset($_SESSION['child_number']) ? print($_SESSION['child_number']) : ""; ?> dari <?php isset($_SESSION['child_total']) ? print($_SESSION['child_total']) : ""; ?> bersaudara</td>
</tr>
<tr>
<td><b>Di Jakarta ikut</b></td>
<td>: <?php isset($_SESSION['in_jakarta_follow']) ? print($_SESSION['in_jakarta_follow']) : ""; ?></td>
</tr>
</tbody>
</table>
<a href="daftar_data_orangtua.php" class="btn btn-primary pull-right" style="margin-top: 30px;"><i class="fa fa-pencil"></i> Edit Data</a>
<h3><b>Data Orangtua</b></h3>
<table class="table table-hover">
<tbody>
<tr>
<td><b>Nama Ayah</b></td>
<td>: <?php isset($_SESSION['father_name']) ? print($_SESSION['father_name']) : ""; ?></td>
</tr>
<tr>
<td><b>TTL</b></td>
<td>: <?php isset($_SESSION['birth_place_father']) ? print($_SESSION['birth_place_father']) : ""; ?>, <?php isset($_SESSION['birth_date_father']) ? print($_SESSION['birth_date_father']) : "1980-01-01"; ?></td>
</tr>
<tr>
<td><b>Pendidikan Terakhir</b></td>
<td>: <?php isset($_SESSION['father_last_education']) ? print($_SESSION['father_last_education']) : ""; ?></td>
</tr>
<tr>
<td><b>Pekerjaan</b></td>
<td>: <?php isset($_SESSION['father_job']) ? print($_SESSION['father_job']) : ""; ?></td>
</tr>
<tr>
<td><b>Agama</b></td>
<td>: <?php isset($_SESSION['father_religion']) ? print($_SESSION['father_religion']) : ""; ?></td>
</tr>
<tr>
<td><b>Nama Ibu</b></td>
<td>: <?php isset($_SESSION['mother_name']) ? print($_SESSION['mother_name']) : ""; ?></td>
</tr>
<tr>
<td><b>TTL</b></td>
<td>: <?php isset($_SESSION['birth_place_mother']) ? print($_SESSION['birth_place_mother']) : ""; ?>, <?php isset($_SESSION['birth_date_mother']) ? print($_SESSION['birth_date_mother']) : "1980-01-01"; ?></td>
</tr>
<tr>
<td><b>Pendidikan Terakhir</b></td>
<td>: <?php isset($_SESSION['mother_last_education']) ? print($_SESSION['mother_last_education']) : ""; ?></td>
</tr>
<tr>
<td><b>Pekerjaan</b></td>
<td>: <?php isset($_SESSION['mother_job']) ? print($_SESSION['mother_job']) : ""; ?></td>
</tr>
<tr>
<td><b>Agama</b></td>
<td>: <?php isset($_SESSION['mother_religion']) ? print($_SESSION['mother_religion']) : ""; ?></td>
</tr>
<tr>
<td><b>Telp/HP</b></td>
<td>: <?php isset($_SESSION['telp']) ? print($_SESSION['telp']) : ""; ?></td>
</tr>
</tbody>
</table>
<hr>
<h3>Anda yakin data diatas benar?</h3>
<a href="proses_simpan_pendaftaran.php" class="btn btn-primary pull-right">Yakin, kirim data pendaftaran</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>