<?php if ($pg == '') : ?>
    <?php include 'updatesiswa.php'; ?>
<?php elseif ($pg == 'setting'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'setting.php'; ?>
<?php elseif ($pg == 'pk'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'pk.php'; ?>	

<?php elseif ($pg == 'updatesiswa'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'updatesiswa.php'; ?>	
	
<?php elseif ($pg == 'normatif'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'normatif.php'; ?>	
<?php elseif ($pg == 'impornilai'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'impornilai.php'; ?>	

<?php elseif ($pg == 'u1'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'u1.php'; ?>	

	<?php elseif ($pg == 'impor1'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'impor1.php'; ?>	
	
<?php elseif ($pg == 'prod'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'prod.php'; ?>	

<?php elseif ($pg == 'viewsku'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'viewsku.php'; ?>	
	
<?php elseif ($pg == 'pkl'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'pkl.php'; ?>		
	
	<?php elseif ($pg == 'viewpkl'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'viewpkl.php'; ?>	
	
	<?php elseif ($pg == 'cetak1'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'cetak1.php'; ?>	
	
	<?php elseif ($pg == 'cetak2'): ?>
    <?php cek_session_admin(); ?>
    <?php include 'cetak2.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 ?>
