echo $d['nama']; ?> </td> <td class="text-center"><?php echo $d['minimal']; ?> -<?php echo $d['maksimal']; ?> </td> <td class="text-center"><?php echo $d['aktif'] == 0 ? 'Non-Aktif' : 'Aktif'; ?> </td> <td class="text-center"><?php echo tbl_ubah('?hal=sanksi&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?hal=sanksi&act=hapus&a=' . $d['aktif'] . '&id=' . $d['id']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { switch ($_GET['act']) {
<td class="col-lg-7">Hemat</td><td>Rp.<?php echo number_format($d['total'] - $d['diskon'], '0', ',', '.'); ?> </td> </tr> <tr> <td class="col-lg-7">Jaminan</td><td>Rp.<?php echo number_format($d['jaminan'], '0', ',', '.'); ?> </td> </tr> </table> </td> <td class="text-center"> <p><?php echo tbl_ubah('?p=super&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?p=super&act=hapus&id=' . $d['id']); ?> </p> <p><a href="?p=biayas&program=<?php echo $d['id']; ?> &x=<?php echo base64_encode($d['tahap']); ?> " class="btn btn-xs btn-block btn-info">Biaya</a></p> </td> </tr> <?php
?> </td> <td><?php echo $d['nama']; ?> </td> <td class="text-center"><?php echo konvert('jurusan', $d['jurusan'], 'nama'); ?> </td> <td class="text-center"><?php echo konvert('kelas', $d['kelas'], 'nama'); ?> </td> <td class="text-center"><?php echo tbl_ubah('?hal=siswa&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?hal=siswa&act=hapus&id=' . $d['id']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { switch ($_GET['act']) {
?> </td> <td class="text-center"><?php echo $d['tapel']; ?> </td> <td class="text-center"><?php if ($d['status'] == 0) { echo "Non-Aktif"; } elseif ($d['status'] == 1) { echo "Aktif"; } ?> </td> <td class="text-center"><?php echo tbl_ubah('?p=kelas&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?p=kelas&act=hapus&id=' . $d['id']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { switch ($_GET['act']) {
?> </td> <td><?php echo $d['nama']; ?> </td> <td class="text-center"><?php echo $d['jenis']; ?> </td> <td class="text-center"><?php echo $d['aktif'] == 1 ? "Aktif" : "Non-Aktif"; ?> </td> <td class="text-center"><?php echo tbl_ubah('?hal=tatatertib&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?hal=tatatertib&act=hapus&a=' . $d['aktif'] . '&id=' . $d['id']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { switch ($_GET['act']) {
?> </td> <td><?php echo $d['nama']; ?> </td> <td class="text-center"><?php echo konvert('jurusan', $d['jurusan'], 'nama'); ?> </td> <td class="text-center"><?php echo $d['level']; ?> </td> <td class="text-center"><?php echo tbl_ubah('?hal=pengguna&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?hal=pengguna&act=hapus&id=' . $d['id']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { switch ($_GET['act']) {
?> </td> <td><?php echo $d['nama']; ?> </td> <td class="text-center"><?php echo jumsiswajurusan($d['id']); ?> Siswa</td> <td class="text-center"><?php echo $d['aktif'] == 1 ? "Aktif" : "Non-Aktif"; ?> </td> <td class="text-center"><?php echo tbl_ubah('?hal=jurusan&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?hal=jurusan&act=hapus&a=' . $d['aktif'] . '&id=' . $d['id']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { switch ($_GET['act']) {
echo $i++; ?> </td> <td><?php echo $d['tapel_awal']; ?> / <?php echo $d['tapel_akhir']; ?> </td> <td class="text-center"><?php echo $d['aktif'] == 1 ? "Aktif" : "Non-Aktif"; ?> </td> <td class="text-center"><?php echo tbl_ubah('?hal=tapel&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?hal=tapel&act=hapus&a=' . $d['aktif'] . '&id=' . $d['id']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { switch ($_GET['act']) {
<td class="col-lg-7">Hemat</td><td>Rp.<?php echo number_format($d['hemat'], '0', ',', '.'); ?> </td> </tr> <tr> <td class="col-lg-7">1 Semester</td><td>Rp.<?php echo number_format($d['pendek'], '0', ',', '.'); ?> </td> </tr> </table> </td> <td class="text-center"> <p><?php echo tbl_ubah('?p=program&act=ubah&id=' . $d['id']); ?> <?php echo tbl_hapus('?p=program&act=hapus&id=' . $d['id']); ?> </p> <p><a href="?p=biaya&program=<?php echo $d['id']; ?> &x=<?php echo base64_encode($d['tahap']); ?> " class="btn btn-xs btn-block btn-info">Biaya</a></p> </td> </tr> <?php