<?php if ($pg == '') : ?>
    <?php include 'cbtserver_learn/home.php'; ?>
	

<?php elseif ($pg == 'materi') : ?>
    <?php include 'cbtserver_learn/materi.php'; ?>	
	

<?php elseif ($pg == 'inputmateri') : ?>
    <?php include 'cbtserver_learn/inputmateri.php'; ?>	

<?php elseif ($pg == 'inputtugas') : ?>
    <?php include 'cbtserver_learn/inputtugas.php'; ?>	

<?php elseif ($pg == 'tugas') : ?>
    <?php include 'cbtserver_learn/tugas.php'; ?>	
	
<?php elseif ($pg == 'absis') : ?>
    <?php include 'cbtserver_learn/absis.php'; ?>			

<!-- DATA CETAK -->
<?php elseif ($pg == 'cetakpeg') : ?>
    <?php include 'cbtserver_learn/cetak/abpeg.php'; ?>			
<?php elseif ($pg == 'cetaksis') : ?>
    <?php include 'cbtserver_learn/cetak/absis.php'; ?>	
	
<!-- TIDAK HADIR -->
<?php elseif ($pg == 'insis') : ?>
    <?php include 'cbtserver_learn/absen/absiswa.php'; ?>			

 
<?php elseif ($pg == 'wasis') : ?>
    <?php include 'cbtserver_learn/wasis.php'; ?>	
<?php elseif ($pg == 'wapeg') : ?>
    <?php include 'cbtserver_learn/wapeg.php'; ?>	
<?php elseif ($pg == 'setabsen') : ?>
    <?php include 'cbtserver_learn/setabsen.php'; ?>	
<?php elseif ($pg == 'pesansis') : ?>
    <?php include 'cbtserver_learn/pesansis.php'; ?>
<?php elseif ($pg == 'pesanpeg') : ?>
    <?php include 'cbtserver_learn/pesanpeg.php'; ?>		
<?php else : ?>
 <div class="app app-error align-content-stretch d-flex flex-wrap">
        <div class="app-error-info">
            <h5>Oops!</h5>
            <span>It seems that the page you are looking for no longer exists.<br>
                We will try our best to fix this soon.</span>
            <a href="." class="btn btn-dark">Go to dashboard</a>
        </div>
        <div class="app-error-background"></div>
    </div>
<?php endif ?>
