-
Notifications
You must be signed in to change notification settings - Fork 0
/
l_siswa.php
58 lines (51 loc) · 2.03 KB
/
l_siswa.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
<?php include 'header.php'; ?>
<div id="page-wrapper">
<div class="main-page">
<h3 class="title1"> <span class="fa fa-print"></span> Laporan <small>/ Laporan Siswa</small> </h3>
<hr style="border: 1px solid #f50057;"> <div class="blank-page widget-shadow scroll" id="style-2 div1">
<table class="table table-striped table-condensed table-bordered table-responsive data">
<caption style="font-size: 19px; color: black;"><span class="fa fa-file"></span> LAPORAN DATA SISWA</caption>
<thead>
<tr>
<th>No.</th>
<th>NIS</th>
<th>Nama Siswa</th>
<th>Kelas</th>
<th>Tahun Ajaran</th>
<th>Biaya SPP</th>
<th>Foto</th>
<!-- <th>Opsi</th> -->
</tr>
</thead>
<tbody>
<?php
$no=1;
$sql_User = mysqli_query($konek, "SELECT * FROM siswa ORDER BY idsiswa ASC") or die(mysqli_error($konek)) ;
while ($d = mysqli_fetch_array($sql_User)) {
?>
<tr>
<td><?php echo $no++; ?> </td>
<td><?php echo $d['nis']; ?> </td>
<td><?php echo $d['namasiswa']; ?> </td>
<td><?php echo $d['kelas']; ?> </td>
<td><?php echo $d['tahunajaran']; ?> </td>
<td><?php echo $d['biaya']; ?> </td>
<td>
<img src="images/<?php echo $d['foto']; ?>" width="50" height="50" style="border: 1px solid; border-radius: 100%; ">
</td>
<!-- <td>
<a href="" class="btn btn-warning"> <span class="fa fa-print"></span> </a>
</td> -->
</tr>
<?php
}
?>
</tbody>
</table>
<a target="_blank" href="LAPORAN/l_siswaprint.php" class="btn btn-success"> <span class="fa fa-print"></span> Cetak </a>
<a target="_blank" href="LAPORAN/l_siswaexell.php" class="btn btn-success"> <span class="fa fa-print"></span> Export Ke Excell </a>
<a target="_blank" href="LAPORAN/l_gurupdf.php" class="btn btn-success"> <span class="fa fa-print"></span> Cetak PDF </a>
</div>
</div>
</div>
<?php include 'footer.php'; ?>