<?php 
    if(!isset($_SESSION['user']))
    {
        $_SESSION['xss']="<div class='error'>Please login to access control panel</div>";
        header('location:'.SITEURL.'admin/login.php');
    }
?>
<!--Navigation Starts Here-->
        <nav class="menu">
            <div class="wrapper">
                
                <ul>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=home"><li>Home</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=students"><li>Students</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=parent"><li>Parents</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=faculties"><li>Faculties</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=questions"><li>Questions</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=results"><li>Results</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=settings"><li>Settings</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=my_uploads"><li>upload</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=att"><li>Attendense</li></a>
                    <a href="<?php echo SITEURL; ?>admin/index.php?page=logout" onclick="return confirm('Are you sure?')"><li>Log Out</li></a>
                </ul>
            </div>
        </nav>
        <!--Navigation Ends Here-->