-
Notifications
You must be signed in to change notification settings - Fork 1
/
penyaluran_zakat.php
77 lines (59 loc) · 2.11 KB
/
penyaluran_zakat.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
<?php
include 'head_user.php';
$result=tampilmustahiq();
?>
<link rel="stylesheet" type="text/css" href="admin/media/css/dataTables.bootstrap.css">
<div class="content-wrapper">
<section class="content">
<h3>Penyaluran Zakat</h3>
<div class="well">
<table id="muzakki" class="table table-bordered">
<thead>
<tr>
<th>Nomor</th>
<th>Nama penerima</th>
<th>Nama yayasan</th>
<th>Alamat</th>
<th>Jumlah Zakat</th>
<th>Tgl Penyaluran</th>
<th>Nama Amil</th>
</tr>
</thead>
<tbody>
<?php
$no = 1;
while ($a = mysqli_fetch_assoc($result)) {
?>
<tr>
<td><?php echo $no;?></td>
<td><?php echo $a['nama_penerima']; ?></td>
<td><?php echo $a['nama_yayasan']; ?></td>
<td><?php echo $a['alamat']; ?></td>
<td>Rp. <?php echo rupiah($a['jumlah_zakat']); ?></td>
<td><?php echo $a['tgl_penyaluran']; ?></td>
<td><?php echo $a['nama_admin']; ?></td>
</tr>
<?php
$no++;
}
?>
</tbody>
</table>
</div>
</section>
</div>
<?php
include 'sidebar.php'; ?>
</div>
</div>
<script src="admin/media/js/jquery.dataTables.min.js"></script>
<script src="admin/media/js/dataTables.bootstrap.js"></script>
<script>
$(document).ready( function () {
$('#muzakki').DataTable({
responsive:true
});
} );
</script>
<?php
include 'foot_user.php'; ?>