-
Notifications
You must be signed in to change notification settings - Fork 0
/
lprnskck.php
84 lines (76 loc) · 2.64 KB
/
lprnskck.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
<div id="page-wrapper">
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<!-- /.panel-heading -->
<div class="panel-body">
<style>
@media print{
.kebangsaan, .ktp, .riwayat_sekolah, .masa {
display: none;
}
}
</style>
<!-- <body onload="window.print ()">
-->
<tr><td colspan=8 color="#FFF000"><center>Polsekta Samarinda Utara</center></td></tr>
<tr><td colspan=8 ><center>LAPORAN DATA SKCK POLSEKTA SAMARINDA UTARA</center></td></tr>
<tr><td colspan=8 ><center>Jl. D.I Panjaitan No. 46 Samarinda Utara</center></td></tr>
<tr><td colspan=8 ><center>=======================================================</center></td></tr>
<table id="myTable" width="100%" border="1" cellpadding="8" cellspacing="0">
<thead style="background-color: salmon;">
<th>No</th>
<th>Nama</th>
<th>Jenis Kelamin</th>
<th class="kebangsaan">Kebangsaan </th>
<th>Agama</th>
<th>Tempat/ Tanggal Lahir</th>
<th>Alamat</th>
<th>Pekerjaan</th>
<th class="ktp">No KTP</th>
<th>Keperluan</th>
<th class="riwayat_sekolah">Riwayat Sekolah</th>
<th>Keterangan</th>
<th class="masa">Masa Berlaku</th>
</thead>
<tbody>
<?php
include"koneksi.php";
$sql = mysql_query("SELECT * FROM tbl_skck ORDER BY id_skck");
$no=1;
?>
<tr bgcolor='#FFF'>
<td align='center'> <?php echo $no; ?> </td>
<td align='left'> <?php echo $row['nama']; ?></td>
<td align='left'> <?php echo $row['jenis_kelamin']; ?> </td>
<td class="kebangsaan" align='left'> <?php echo $row['kebangsaan']; ?> </td>
<td align='left'> <?php echo $row['agama']; ?> </td>
<td align='left'><?php echo $row['tmp_lahir']; ?>/ <?php echo TanggalIndo($row['tgl_lahir']);?> </td>
<td align='left'> <?php echo $row['alamat']; ?> </td>
<td align='left'> <?php echo $row['pekerjaan']; ?> </td>
<td class="ktp" align='center'> <?php echo $row['no_ktp']; ?> </td>
<td align='center'> <?php echo $row['keperluan']; ?> </td>
<td class="riwayat_sekolah" align='center'> <?php echo $row['riwayat_sekolah']; ?> </td>
<td class="masa" align='left'> <?php echo TanggalIndo($row['masa']);?> </td>
</tr>
<?php
$no++;
?>
</tbody>
</table>
<br>
<br>
<table>
<td>
<tr>Samarinda Utara,<?php echo date('d - M - Y'); ?></tr><br>
<tr> Ttd </tr><br>
<tr> </tr><br>
<tr> </tr><br>
<tr> </tr><br>
<tr> Ervin Suryatna, M.Si </tr>
</td>
</table>
</div>
</div>
</div>
</div>