<?php if ($pg == '') : ?>
    <?php include 'sandik_skl/home.php'; ?>
<?php elseif ($pg == 'profilku'): ?>
    <?php include 'profilku.php'; ?>
<?php elseif ($pg == 'settingskl') : ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_skl/settingskl.php'; ?>
<?php elseif ($pg == 'siswa') : ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_skl/siswa.php'; ?>
<?php elseif ($pg == 'updatesiswa') : ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_skl/updatesiswa.php'; ?>
<?php elseif ($pg == 'mapel') : ?>
    <?php cek_session_admin(); ?>
    <?php include 'sandik_skl/mapel.php'; ?>	
	<?php elseif ($pg == 'nilai') : ?>
    <?php include 'sandik_skl/nilai.php'; ?>	
<?php elseif ($pg == 'nilaiujian') : ?>
    <?php include 'sandik_skl/nilaiujian.php'; ?>
	<?php elseif ($pg == 'skkb') : ?>
    <?php include 'sandik_skl/skkb.php'; ?>
	<?php elseif ($pg == 'cetak') : ?>
    <?php include 'sandik_skl/cetak.php'; ?>
	<?php elseif ($pg == 'viewsemester') : ?>
    <?php include 'sandik_skl/viewsemester.php'; ?>
	<?php elseif ($pg == 'nijazah') : ?>
    <?php include 'sandik_skl/nijazah.php'; ?>
	<?php elseif ($pg == 'transkip') : ?>
    <?php include 'sandik_skl/transkip.php'; ?>
	<?php elseif ($pg == 'viewujian') : ?>
    <?php include 'sandik_skl/viewujian.php'; ?>
	<?php elseif ($pg == 'pk'): ?>
    <?php include 'sandik_skl/pk.php'; ?>	
	<?php elseif ($pg == 'prod'): ?>
    <?php include 'sandik_skl/prod.php'; ?>
	<?php elseif ($pg == 'viewsku'): ?>
    <?php include 'sandik_skl/viewsku.php'; ?>
	<?php elseif ($pg == 'pkl'): ?>
    <?php include 'sandik_skl/pkl.php'; ?>
	<?php elseif ($pg == 'viewpkl'): ?>
    <?php include 'sandik_skl/viewpkl.php'; ?>
	<?php elseif ($pg == 'reset'): ?>
    <?php include 'sandik_skl/reset.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 ?>
