<?php if ($pg == '') : ?>
    <?php include 'sandik_vote/home.php'; ?>
	
<?php elseif ($pg == 'settingvote') : ?>
    <?php include 'sandik_vote/settingvote.php'; ?>
<?php elseif ($pg == 'kandidat') : ?>
    <?php include 'sandik_vote/kandidat.php'; ?>
<?php elseif ($pg == 'hasil') : ?>
    <?php include 'sandik_vote/hasil.php'; ?>	
<?php elseif ($pg == 'inputtugas') : ?>
    <?php include 'sandik_vote/inputtugas.php'; ?>		
	
<?php elseif ($pg == 'quizbank') : ?>
    <?php include 'sandik_vote/quiz/quizbank.php'; ?>
<?php elseif ($pg == 'editquiz1') : ?>
    <?php include 'sandik_vote/quiz/editquiz1.php'; ?>	

<?php elseif ($pg == 'inputquiz1') : ?>
    <?php include 'sandik_vote/quiz/inputquiz1.php'; ?>	
<?php elseif ($pg == 'settingelearn') : ?>
    <?php include 'sandik_vote/settingelearn.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 ?>
