<?php if ($pg == '') : ?>
    <?php include 'sandik_ujian/home.php'; ?>
<?php elseif ($pg == 'profilku'): ?>
    <?php include 'profilku.php'; ?>
<?php elseif ($pg == 'setting_ujian'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_ujian/setting_ujian.php'; ?>
<?php elseif ($pg == 'teknis'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'pengaturan/teknis.php'; ?>	
<?php elseif ($pg == 'banksoal'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_bank/banksoal.php'; ?>	
<?php elseif ($pg == 'buatbank'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_bank/buatbank.php'; ?>	
<?php elseif ($pg == 'editbank'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_bank/editbank.php'; ?>
    <?php elseif ($pg == 'editsoal3') : ?>
    <?php include "sandik_bank/editsoal3.php"; ?>	
	<?php elseif ($pg == 'editsoal1') : ?>
    <?php include "sandik_bank/editsoal1.php"; ?>	
	<?php elseif ($pg == 'editsoal2') : ?>
    <?php include "sandik_bank/editsoal2.php"; ?>	
	<?php elseif ($pg == 'editsoal4') : ?>
    <?php include "sandik_bank/editsoal4.php"; ?>	
	<?php elseif ($pg == 'editsoal5') : ?>
    <?php include "sandik_bank/editsoal5.php"; ?>	
	<?php elseif ($pg == 'editsoal6') : ?>
    <?php include "sandik_bank/editsoal6.php"; ?>	
	<?php elseif ($pg == 'editsoal7') : ?>
    <?php include "sandik_bank/editsoal7.php"; ?>
    <?php elseif ($pg == 'jadwal') : ?>
    <?php include "sandik_ujian/jadwal.php"; ?>	
	<?php elseif ($pg == 'filependukung') : ?>
    <?php include 'sandik_file/filependukung.php'; ?>
		<!-- /siswa -->
<?php elseif ($pg == 'siswa'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_ujian/siswa.php'; ?>
	
	<?php elseif ($pg == 'uplfotosiswa'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_ujian/uploadfoto.php'; ?>
	<?php elseif ($pg == 'reset') : ?>
    <?php include 'status/reset.php'; ?>
	<!-- /mapel -->
<?php elseif ($pg == 'mapel'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_master/mapel.php'; ?>
	
<?php elseif ($pg == 'jenis') : ?>
    <?php include "sandik_ujian/jenis.php"; ?>	
<?php elseif ($pg == 'nilaiakm') : ?>
    <?php include "sandik_ujian/nilai_akm.php"; ?>	
<?php elseif ($pg == 'nilaicbt') : ?>
    <?php include "sandik_ujian/nilai_cbt.php"; ?>	
	<!-- /status -->
<?php elseif ($pg == 'status') : ?>
     <?php include "status/status_peserta.php"; ?>	
	 
<!-- /cetak -->
	<?php elseif ($pg == 'berita') : ?>
    <?php include 'sandik_ujian/berita.php'; ?>	
	<?php elseif ($pg == 'buatberita') : ?>
    <?php include 'sandik_ujian/buatberita.php'; ?>	
<?php elseif ($pg == 'absen') : ?>
    <?php include 'sandik_ujian/absen.php'; ?>	
<?php elseif ($pg == 'beritaacara') : ?>
    <?php include 'sandik_ujian/prev_berita.php'; ?>
<?php elseif ($pg == 'beritaujian') : ?>
    <?php include 'sandik_ujian/prev_berita_ujian.php'; ?>
	
	<!-- /kartuujian -->
	<?php elseif ($pg == 'kartu') : ?>
    <?php include 'sandik_ujian/kartu.php'; ?>	
<?php elseif ($pg == 'nopes') : ?>
    <?php include 'sandik_ujian/nopes.php'; ?>		
<!-- /server -->
	<?php elseif ($pg == 'settsinkron') : ?>
    <?php cek_session_admin(); ?>
    <?php include 'server/settsinkron.php'; ?>		
<?php elseif ($pg == 'kirimdata') : ?>
    <?php include "server/kirimdata.php"; ?>	
<?php elseif ($pg == 'sinkron') : ?>
    <?php include "server/sinkronisasi.php"; ?>	
<?php elseif ($pg == 'sinkronfile') : ?>
    <?php include 'server/sinkronfile.php'; ?>		
<?php elseif ($pg == 'kirimbanksoal') : ?>
    <?php include 'server/kirimbanksoal.php'; ?>	
<?php elseif ($pg == 'kirimsoal') : ?>
    <?php include 'server/kirimdatasoal.php'; ?>		
	
<?php elseif ($pg == 'rekap'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_ujian/rekap.php'; ?>	
<?php elseif ($pg == 'analisis'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_analisis/analisis.php'; ?>
<?php elseif ($pg == 'analisis2'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_analisis/analisis2.php'; ?>	
<?php else : ?>
    <div class='error-page'>
        <h2 class='headline text-yellow'> 404</h2>
        <div class='error-content'>
            <br />
            <h3><i class='fa fa-warning text-yellow'></i> Upss! Halaman tidak ditemukan.</h3>
            <p>
                Halaman yang anda inginkan saat ini tidak tersedia.<br />
                Silahkan kembali ke <a href='?'><strong>dashboard</strong></a> dan coba lagi.<br />
                Hubungi petugas <strong><i>Developer</i></strong> jika ini adalah sebuah masalah.
            </p>
        </div>
    </div>
<?php endif ?>
