Example #1
0
			<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']) {
        case 'ubah':
            ?>
			<?php 
Example #2
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 
    }
    ?>
	</tbody>
Example #3
0
        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']) {
        case 'ubah':
            ?>
			<?php 
Example #4
0
        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']) {
        case 'ubah':
            ?>
			<?php 
Example #5
0
        echo $d['nama'];
        ?>
</td>
			<td><?php 
        echo $d['wali_kelas'];
        ?>
</td>
			<td class="text-center"><?php 
        echo $d['aktif'] == 0 ? 'Non-Aktif' : 'Aktif';
        ?>
</td>
			<td class="text-center"><?php 
        echo tbl_ubah('?hal=kelas&act=ubah&id=' . $d['id']);
        ?>
 <?php 
        echo tbl_hapus('?hal=kelas&act=hapus&a=' . $d['aktif'] . '&id=' . $d['id']);
        ?>
</td>
		</tr>
		<?php 
    }
    ?>
	</tbody>
</table>

<?php 
} else {
    switch ($_GET['act']) {
        case 'ubah':
            ?>
			<?php 
Example #6
0
        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']) {
        case 'ubah':
            ?>
			<?php 
Example #7
0
        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']) {
        case 'ubah':
            ?>
			<?php 
Example #8
0
        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']) {
        case 'ubah':
            ?>
			<?php 
Example #9
0
        echo cekpelanggaran($d['idsiswa']);
        ?>
</td>
			<td class="text-center"><?php 
        echo cekpoin($d['idsiswa']);
        ?>
</td>
			<td class="text-center" title="<?php 
        echo time_ago($d['tanggal']);
        ?>
"><?php 
        echo TanggalIndo($d['tanggal']);
        ?>
</td>
			<!--<td class="text-center"><?php 
        echo tbl_hapus('?hal=pelanggaran&act=hapus&n=' . $d['idsiswa'] . '&id=' . $d['id']);
        ?>
</td>-->
		</tr>
		<?php 
    }
    ?>
	</tbody>
</table>

<div class="alert alert-info" role="alert">Klik pada nama siswa untuk melihat detail pelanggaran.</div>

<?php 
} else {
    switch ($_GET['act']) {
        case 'ubah':
Example #10
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 
    }
    ?>
	</tbody>
Example #11
0
        echo $i++;
        ?>
</td>
			<td class="text-center"><?php 
        echo $d['kode'];
        ?>
</td>
			<td><?php 
        echo $d['nama'];
        ?>
</td>
			<td class="text-center"><?php 
        echo tbl_ubah('?hal=jurusan&act=ubah&id=' . $d['id']);
        ?>
 <?php 
        echo tbl_hapus('?hal=jurusan&act=hapus&id=' . $d['id']);
        ?>
</td>
		</tr>
		<?php 
    }
    ?>
	</tbody>
</table>

<?php 
} else {
    switch ($_GET['act']) {
        case 'ubah':
            ?>
			<?php