<?php if ($pg == '') : ?>
    <?php include 'cbtserver_absen/home.php'; ?>
	
<!-- RFID -->
<?php elseif ($pg == 'rfid') : ?>
    <?php include 'cbtserver_absen/rfid/rfid.php'; ?>	
	
<!-- BARCODE -->
<?php elseif ($pg == 'barkode') : ?>
    <?php include 'cbtserver_absen/barkode/barkode.php'; ?>	
<!-- BARCODE -->
<?php elseif ($pg == 'finger') : ?>
    <?php include 'cbtserver_absen/finger/finger.php'; ?>	
<!-- DATA ABSEN -->
<?php elseif ($pg == 'abpeg') : ?>
    <?php include 'cbtserver_absen/abpeg.php'; ?>			
<?php elseif ($pg == 'absis') : ?>
    <?php include 'cbtserver_absen/absis.php'; ?>			

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

 
<?php elseif ($pg == 'wasis') : ?>
    <?php include 'cbtserver_absen/wasis.php'; ?>	
<?php elseif ($pg == 'wapeg') : ?>
    <?php include 'cbtserver_absen/wapeg.php'; ?>	
<?php elseif ($pg == 'setabsen') : ?>
    <?php include 'cbtserver_absen/setabsen.php'; ?>	
<?php elseif ($pg == 'pesansis') : ?>
    <?php include 'cbtserver_absen/pesansis.php'; ?>
<?php elseif ($pg == 'pesanpeg') : ?>
    <?php include 'cbtserver_absen/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 ?>
