-
Notifications
You must be signed in to change notification settings - Fork 0
/
laporanstnk.php
71 lines (64 loc) · 2.25 KB
/
laporanstnk.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
<?php
include 'koneksi.php';
if (isset($_GET['hapus'])) {
hapus($con, 'tbl_stnk', 'id_stnk', $_GET['hapus']);
}
?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1 align="center">
DATA STNK
<small></small>
</h1>
</section>
<!-- Main content -->
<section style="background-color: white;"class="content">
<div class="row">
<div class="col-xs-12">
<div class="box box-primary">
<div style="background-color: lightblue;" class="box-header with-border">
<!-- <a href='?page=tambahsiswa'><button class="breadcrumb btn btn-flat btn-success btn-xs">Tambah</button></a> -->
</div>
<style>
@media print{
.
}
</style>
<body onload="window.print ()">
<tr><td colspan=8 color="#FFF000"><center> <strong>POLSEK</strong></center></td></tr>
<tr><td colspan=8 ><center><strong>LAPORAN DATA SKCK POLSEK</strong></center></td></tr>
<tr><td colspan=8 ><center><strong>Jl. D.I Panjaitan No. 46 Sabak Auh</strong></center></td></tr>
<tr><td colspan=8 ><center><strong>=========================================================================</strong></center></td></tr>
<table id="terdaftar" class="table table-bordered table-striped">
<thead style="background-color: #4c8ffc;"">
<th>No</th>
<th>No Regis</th>
<th>Nama</th>
<th>Alamat</th>
<th>Merk</th>
<th>Type</th>
<th>Jenis</th>
<th>Model</th>
<th>Tahun</th>
<th>Isi Silinder</th>
<th>Warna</th>
<th>Keterangan</th>
<th>Masa</th>
</thead>
<?php
$adit = showdata($con, "SELECT * FROM tbl_stnk");
foreach ($adit as $row) :
?>
<tr>
<?php foreach ($row as $value) : ?>
<td><?= $value; ?></td>
<?php endforeach;?>
<?php endforeach ?>
</table>
</div>
</div>
</div>
</section>
<!-- /.content -->
</div>