<?php if ($pg == '') : ?>
    <?php include 'cbtserver_rapor/home.php'; ?>
<?php elseif ($pg == 'siswa') : ?>
    <?php include 'cbtserver_rapor/siswa/siswa.php'; ?>
	
<!-- JADWAL -->
<?php elseif ($pg == 'kuri') : ?>
    <?php include 'cbtserver_rapor/kuri.php'; ?>
<?php elseif ($pg == 'jadwalrapor') : ?>
    <?php include 'cbtserver_rapor/jadwal.php'; ?>	
<?php elseif ($pg == 'kkm') : ?>
    <?php include 'cbtserver_rapor/kkm.php'; ?>
<?php elseif ($pg == 'mapelrapor') : ?>
    <?php include 'cbtserver_rapor/mapel.php'; ?>	

<?php elseif ($pg == 'jumkd') : ?>
    <?php include 'cbtserver_rapor/jumkd.php'; ?>
	
<!-- DESKRIP KI3 -->
<?php elseif ($pg == 'deskrip3') : ?>
    <?php include 'cbtserver_rapor/deskrip3.php'; ?>
<!-- DESKRIP KI4 -->
<?php elseif ($pg == 'deskrip4') : ?>
    <?php include 'cbtserver_rapor/deskrip4.php'; ?>
	
<!-- NILAI -->
<?php elseif ($pg == 'nilairapor') : ?>
    <?php include 'cbtserver_rapor/nilai.php'; ?>	
<?php elseif ($pg == 'deskriprapor') : ?>
    <?php include 'cbtserver_rapor/deskriprapor.php'; ?>
<!-- SIKAP -->
<?php elseif ($pg == 'spiritual') : ?>
    <?php include 'cbtserver_rapor/sikap/spiritual.php'; ?>	
<?php elseif ($pg == 'sosial') : ?>
   <?php include 'cbtserver_rapor/sikap/sosial.php'; ?>	

<?php elseif ($pg == 'rapor') : ?>
    <?php include 'cbtserver_rapor/rapor.php'; ?>
<?php elseif ($pg == 'merdeka') : ?>
    <?php include 'cbtserver_rapor/merdeka.php'; ?>

<!-- KURMER -->
<?php elseif ($pg == 'tujuan') : ?>
    <?php include 'cbtserver_rapor/kurmer/tujuan.php'; ?>	
<?php elseif ($pg == 'lingkup') : ?>
    <?php include 'cbtserver_rapor/kurmer/lingkup.php'; ?>		


<!-- NILAI KURMER -->
<?php elseif ($pg == 'formatif') : ?>
    <?php include 'cbtserver_rapor/kurmer/formatif.php'; ?>	
<?php elseif ($pg == 'sumatif') : ?>
    <?php include 'cbtserver_rapor/kurmer/sumatif.php'; ?>		
<?php elseif ($pg == 'sas') : ?>
    <?php include 'cbtserver_rapor/kurmer/sas.php'; ?>		

<!-- CATATAN & ABSENSI -->
<?php elseif ($pg == 'absensi') : ?>
    <?php include 'cbtserver_rapor/catatan/absen.php'; ?>	
<?php elseif ($pg == 'catat') : ?>
    <?php include 'cbtserver_rapor/catatan/catatan.php'; ?>	
<?php elseif ($pg == 'prestasi') : ?>
    <?php include 'cbtserver_rapor/catatan/prestasi.php'; ?>		
	
	
<?php elseif ($pg == 'mapeskul') : ?>
    <?php include 'cbtserver_rapor/catatan/mapeskul.php'; ?>	
<?php elseif ($pg == 'peskul') : ?>
    <?php include 'cbtserver_rapor/catatan/peskul.php'; ?>	
<?php elseif ($pg == 'nilskul') : ?>
    <?php include 'cbtserver_rapor/catatan/nilskul.php'; ?>		
	
	
	<?php elseif ($pg == 'mutasi') : ?>
    <?php include 'cbtserver_rapor/mutasi/mutasi.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 ?>
