<?php
error_reporting(0);
define('INCLUDE_CHECK',true);
session_start();
require ('classes/config2.php');
//require_once('classes/session.php');
			 		   
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="images/favicon.ico">
    <!-- Bootstrap Core CSS -->
    <link href="layout/css/style.css" rel="stylesheet">
    <!-- Custom Fonts -->
    <link href="layout/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="dashboard.php?action=home"><img src="images/logon.png"> </a>
            </div>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">
               
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="dashboard.php?action=administrator_setup"><i class="fa fa-user fa-fw"></i> User Profile</a>
                        </li>
                        <li><a href="dashboard.php?action=change_password"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="logout.php"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                    	<?php if ($_SESSION['accessed_level']== "super_admin" || $_SESSION['accessed_level']== "admin" ){?>
                        <li>
                            <a href="dashboard.php?action=home"><i class="fa fa-dashboard fa-fw"></i> Home</a>
                        </li>
                      <!--  <li>
                            <a href="#"><i class="fa fa-edit fa-fw"></i> Form Processing<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="dashboard.php?action=forrm_editing">Form Editing</a>
                                </li>
                                <?php if ($_SESSION['accessed_level']== "super_admin" || $_SESSION['accessed_level']== "admin"){?>
                                <li>
                                    <a href="dashboard.php?action=2016_form_editing">2016/2017 Form Editing</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=2017_form_editing">2017/2018 Form Editing</a>
                                </li>
                                 <li>
                                    <a href="dashboard.php?action=2018_form_editing">2018/2019 Form Editing</a>
                                </li>
                                 <li>
                                    <a href="dashboard.php?action=2019_form_editing">2019/2020 Form Editing</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=vsec_editing"> VSEC Form Editing</a>
                                </li>
                                <?php } ?>
                                <li>
                                    <a href="#">Image upload</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level 
                        </li>-->
                      <!--  <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i>Management<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="dashboard.php?action=previous_registered_student">Previous Registered Students</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=#">Present Registered Student</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level 
                        </li>--><?php }?> 
                        <?php if ($_SESSION['accessed_level']== "vocational" || $_SESSION['accessed_level']== "admin" || $_SESSION['accessed_level']== "super_admin"){?>
                       <!-- <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i>Entrepreneurship<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="dashboard.php?action=vsec_registered_student">Regular Student List</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=#">External Applicant List</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=#">Present Registered Student</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level 
                        </li> --><?php }?>
                        
                        
                        
                        
                        <?php if ($_SESSION['accessed_level']== "MANAGEMENT SCIENCE" || $_SESSION['accessed_level']== "SCIENCE" || $_SESSION['accessed_level']== "ENGINEERING" || $_SESSION['accessed_level']== "ENVIRONMENTAL STUDIES" || $_SESSION['accessed_level']== "admin" || $_SESSION['accessed_level']== "super_admin"){?>
                    <!--   <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i>Faculty Officer<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="#">Operation<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=cbt_result">Upload Screening Result</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=fo_clearance">Admission Clearance</a>
                                        </li>
                                    </ul>
                                </li>
                                <li>
                                    <a href="#">Report<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=fo_applicant">Applicant List</a>
                                        </li>
                                        <li>
                                            <a href="#">CBT Spreadsheet List</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=fo_admitted">2017/2018 Admitted List</a>
                                        </li>
                                        <li>
                                            <a href="#">2018/2019 Admitted List</a>
                                        </li>
                                        <li>
                                            <a href="#">Matriculated List</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=online_payment_list">Online Payment List</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=fo_state_report">State Report</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                            <!-- /.nav-second-level 
                        </li> --><?php }?>
                        
                        <?php if ($_SESSION['accessed_level']== "dpt_FO" || $_SESSION['accessed_level']== "admin" || $_SESSION['accessed_level']== "super_admin"){?>
                       <!-- <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i>DPT Faculty Officer<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="#">Operation<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=cbt_result">Upload Screening Result</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=dpt_clearance">Admission Clearance</a>
                                        </li>
                                    </ul>
                                </li>
                                <li>
                                    <a href="#">Report<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=dpt_applicant">Applicant List</a>
                                        </li>
                                         <li>
                                            <a href="dashboard.php?action=daily_part_time_cbt_list">ND CBT Spreadsheet Result</a>
                                        </li>
                                        <li>
                                           <a href="dashboard.php?action=dpt_admitted>2017/2018 Admitted List</a>
                                        </li>
                                        <li>
                                            <a href="#">2018/2019 Admitted List</a>
                                        </li>
                                        <li>
                                            <a href="#">Matriculated List</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=online_payment_list">Online Payment List</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=dpt_state_report">State Report</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                            <!-- /.nav-second-level 
                        </li>--><?php }?>
                        
                        
                        
                        <?php if ($_SESSION['accessed_level']== "bursar" || $_SESSION['accessed_level']== "super_admin"){?>
                     <!--   <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i>Bursary<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                            <li>
                                    <a href="dashboard.php?action=payment_verify">Payment Verification</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=online_payment_list">Online Payment List</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=online_payment_list_date">Payment with Date</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=busary_settings">Payment Settings</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=web_payment_list">Web Payment Log</a>
                                </li>
                            </ul>
                            <!-- /.nav-second-level
                        </li> --><?php }?>                        
                        <?php if ($_SESSION['accessed_level']== "super_admin" || $_SESSION['accessed_level']== "admin" || $_SESSION['accessed_level']== "admission"){?>
                        <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Report</a>
                            <ul class="nav nav-second-level">
                             <!--  <li>
                                    <a href="dashboard.php?action=student_list">Student List</a>
                                </li> -->
                                <li>
                                    <a href="#">Admission SpreadSheet<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=post_utme_list">Post UTME SpreadSheet</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=post_utme_departmental_list">Part Time SpreadSheet</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=hnd_departmental_list">HND SpreadSheet</a>
                                        </li>
                                      <!--  <li>
                                            <a href="dashboard.php?action=putme_cbt_list">CBT Result</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=2016_2017_putme_cbt_list">2016/2017 Jambite List</a>
                                        </li> -->
                                    </ul>
                                </li>
                              <!-- <li>
                                    <a href="#">Daily Part-Time List<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=daily_part_time_cbt_list">ND CBT Spreadsheet Result</a>
                                        </li>
                                    </ul>
                                </li>
                                <li>
                                    <a href="#">Full-Time HND List<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=hnd_cbt_list">HND CBT Spreadsheet Result</a>
                                        </li>
                                    </ul>
                                </li> -->
                               <!-- <li>
                                    <a href="#">PGD List<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=pgd_list">PGD Spreadsheet</a>
                                        </li>
                                    </ul>
                                </li> -->
                            <!--     <li>
                                    <a href="#">Advance  Certificate List<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=adv_list">Advance Cert Spreadsheet</a>
                                        </li>
                                    </ul>
                                </li>
                                <li>
                                    <a href="#">DPT HND List<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=dpt_hnd_list">DPT HND Spreadsheet</a>
                                        </li>
                                    </ul>
                                </li> -->
                              <!--  <li>
                                    <a href="#">Weekend Part-Time List<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=weekend_part_time_list">Weekend PT ND Spreadsheet</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=weekend_part_time_hnd_list">Weekend PT HND Spreadsheet</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=weekend_part_time_adv_list">Weekend PT Advance Spreadsheet</a>
                                        </li>
                                    </ul>
                                </li>  -->
                                <li>
                                    <a href="#">Admitted List<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=dpt_admitted">Student Admitted List</a>
                                        </li>
                                      <!--   <li>
                                            <a href="dashboard.php?action=?">DPT Acceptance List</a>
                                        </li> 
                                        <li>
                                            <a href="dashboard.php?action=hnd_admitted">HND Admitted List</a>
                                        </li>-->
                                       <!-- <li>
                                            <a href="dashboard.php?action=?">HND Acceptance List</a>
                                        </li>
                                        <li>
                                            <a href="dashboard.php?action=pt_admitted">PT AD Admitted List</a>
                                        </li>
                                         <li>
                                            <a href="dashboard.php?action=pt_admitted">PT ND Admitted List</a>
                                        </li>-->
                                    </ul>
                                </li>
                              <!--  <li>
                                    <a href="#">Faculty Report<span class="fa arrow"></span></a>
                                    <ul class="nav nav-third-level">
                                        <li>
                                            <a href="dashboard.php?action=dpt_state_report">Dpt Abere Report</a>
                                        </li>
                                    </ul>
                                </li> -->
                            </ul>
                        </li>
                        
                      <!--  <li>
                            <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Download/Upload</a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="dashboard.php?action=admission_cards">Upload All Admission Cards</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=checker_cards">Upload Checking Cards</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=ereg_cards">Upload ereg Cards</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=acceptance_card">Upload Acceptance Card</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=vocational_card">Upload Vocational Card</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=cbt_result">Upload CBT Result</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=cbt_slip">Upload Examination Slip</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=staff_info">Upload Staff Information</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=registered_student">Upload Previous Registered Student</a>
                                </li>
                                
                          	</ul>
                        </li> -->
                        
                        <li>
                            <a href="#"><i class="fa fa-list-alt fa-fw"></i> Admission Operation</a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="dashboard.php?action=courses_admitted">Admission by Courses and Programme</a>
                                </li>
                              <!--  <li>
                                    <a href="dashboard.php?action=hnd_dpt_courses_admitted">DPT HND Admission Module</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=2017_admitted_control">2016/2017 HND Admission Module</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=pt_courses_admitted">CAP Admission by Courses and Programme</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=ft_hnd_dpt_courses_admitted">FT2DPT HND Admission Module</a>
                                </li> -->
                            </ul>
                        </li> 
                        <?php if ($_SESSION['accessed_level']== "super_admin"){?>
                        <li>
                            <a href="#"><i class="fa fa-gears fa-fw"></i> Admin Settings<span class="fa arrow"></span></a>
                            <ul class="nav nav-second-level">
                                <li>
                                    <a href="dashboard.php?action=users_setup">Admin Users</a>
                                </li>
                                <li>
                                    <a href="dashboard.php?action=del_admitted_std">Remove Admitted Student</a>
                                </li>
                                 
                            </ul>
                            <!-- /.nav-second-level -->
                        </li><?php }?>
                    </ul><?php }?>
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>