<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->

<html lang="en">
    <head>

        <?php require_once 'meta_content.php'; ?>
        <?php require_once 'head_content.php'; ?>

    </head>

    <body>

        <nav class="navbar navbar-inverse navbar-fixed-top nav_color">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <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="#"><span class="nav_title">Talha Training </span></a>
                </div>
                <?php
                $user_name = $this->session->userdata('user_name');
                $user_id = $this->session->userdata('user_id');
                ?>

                <div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="<?php echo base_url(); ?>super_admin/">Dashboard</a></li>
                        <li>
                            <a href="<?php echo base_url(); ?>super_admin/user_profile/<?php echo $user_id; ?>">
                                <?php
                                if ($user_name) {
                                    echo $user_name;
                                }
                                ?>
                            </a>
                        </li>
                        <li><a href="#">Settings</a></li>
                        <li><a href="<?php echo base_url(); ?>super_admin/logout/">Logout</a></li>
                        <li><a href="#">Help</a></li>
                    </ul>
                    <form class="navbar-form navbar-right">
                        <input type="text" class="form-control" placeholder="Search..." name="" onkeyup="searchUser(this.value, 'res');">
                    </form>
                </div>
            </div>
        </nav>

        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-3 col-md-2 sidebar">
                    <ul class="nav nav-sidebar">

                        <?php $user_role = $this->session->userdata('role_name'); ?>
                        <li <?php
                        if ($active == 'All_User') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin/user_list/All/0/"><b>User Management</b> <span class="sr-only">(current)</span></a>
                        </li>

                        <li <?php
                        if ($active == 'Admin_User') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin/user_list/Admin/1/">Admin</a>
                        </li>
                        <li <?php
                        if ($active == 'Account_User') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin/user_list/Account/2/">Account Officer</a>
                        </li>
                        <li <?php
                        if ($active == 'Resource_User') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin/user_list/Resource/3/">Resource Person</a>
                        </li>
                        <li <?php
                        if ($active == 'Student_User') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin/user_list/Student/5/">Student</a>
                        </li>
                    </ul>

                    <ul class="nav nav-sidebar">

                        <?php $s_type = $this->session->userdata('student_type'); ?>

                        <li <?php
                        if ($active == 'All_Student') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url(); ?>super_admin_student/student_list/All/0/"><b>Student Management </b><span class="sr-only">(current)</span></a>
                        </li>

                        <li <?php
                        if ($active == 'current_Student') {
                            echo 'class="active"';
                        }
                        ?>> 
                            <a href="<?php echo base_url(); ?>super_admin_student/student_list/current/0">Current Student</a>
                        </li>

                        <li <?php
                        if ($active == 'classroom_Student') {
                            echo 'class="active"';
                        }
                        ?>> 
                            <a href="<?php echo base_url(); ?>super_admin_student/student_list/classroom/1">ClassRoom Student</a>
                        </li>

                        <li <?php
                        if ($active == 'online_Student') {
                            echo 'class="active"';
                        }
                        ?>> 
                            <a href="<?php echo base_url(); ?>super_admin_student/student_list/online/2">Online Student</a>
                        </li>

                        <li <?php
                        if ($active == 'video_training_Student') {
                            echo 'class="active"';
                        }
                        ?>> 
                            <a href="<?php echo base_url(); ?>super_admin_student/student_list/video_training/3">Video Training Student</a>
                        </li>

                    </ul>

                    <ul class="nav nav-sidebar">

                        <li <?php
                        if ($active == 'manage_technology_keyword') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin/add_technology_keyword">Manage  Technology Keyword</a>
                        </li>

                    </ul>

                    <ul class="nav nav-sidebar">

                        <li><a href="#"><b>Course Manager</b></a></li>

                        <li <?php
                        if ($active == 'add_course_category') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url(); ?>super_admin_course/add_course_category"> Add Course Category</a>
                        </li>

                        <li <?php
                        if ($active == 'add_video_course_category') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_course/add_video_course_category"> Add Video Course Category</a>
                        </li>

                        <li <?php
                        if ($active == 'manage_course_category') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_course/manage_course_category">Manage Category</a>
                        </li>

                        <li <?php
                        if ($active == 'add_course') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_course/add_course">Add course</a>
                        </li>

                        <li <?php
                        if ($active == 'manage_course') {
                            echo 'class="active"';
                        }
                        ?>><a href="<?php echo base_url() ?>super_admin_course/manage_course">Manage Course</a>
                        </li>

                    </ul>

                    <ul class="nav nav-sidebar">

                        <li><a href="#"><b>Course Quiz</b></a></li>

                        <li <?php
                        if ($active == 'add_quiz') {
                            echo 'class="active"';
                        }
                        ?> >
                            <a href="<?php echo base_url() ?>super_admin_quiz/add_quiz">Add Quiz</a>
                        </li>

                        <li <?php
                        if ($active == 'manage_quiz') {
                            echo 'class="active"';
                        }
                        ?> >
                            <a href="<?php echo base_url() ?>super_admin_quiz/manage_quiz">Manage Quiz</a>
                        </li>

                        <li <?php
                        if ($active == 'add_question') {
                            echo 'class="active"';
                        }
                        ?> >
                            <a href="<?php echo base_url() ?>super_admin_quiz/add_question">Add Question</a>
                        </li>
                        <li <?php
                        if ($active == 'manage_question') {
                            echo 'class="active"';
                        }
                        ?> >
                            <a href="<?php echo base_url() ?>super_admin_quiz/manage_question">Manage Question</a>
                        </li>

                    </ul>

                    <ul class="nav nav-sidebar">
                        <li><a href="#"><b>Group Management</b></a></li>

                        <li <?php
                        if ($active == 'create') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_group/create">Create Group</a>
                        </li>

                        <li <?php
                        if ($active == 'manage_group') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_group/manage_group"> Manage Groups</a>
                        </li>

                    </ul>
                    <ul class="nav nav-sidebar">
                        <li <?php
                        if ($active == 'video_management') {
                            echo 'class="active"';
                        }
                        ?>><a href="<?php echo base_url() ?>super_admin_video"><b>Video Management</b></a></li>


                        <li <?php
                        if ($active == 'video_management_list') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_video/video_management_List/all/0">All Video Management</a>
                        </li>

                        <li <?php
                        if ($active == 'all_video_list') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_video/video_list/all/0">All Video</a>
                        </li>

                    </ul>

                    <ul class="nav nav-sidebar">

                        <li <?php
                        if ($active == 'wish_list') {
                            echo 'class="active"';
                        }
                        ?>><a href="<?php echo base_url() ?>super_admin_course/wish_list"><b>Wish List Management</b></a>
                        </li>

                        <li <?php
                        if ($active == 'video_wish_list') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_course/video_wish_list/all/0">All Video Wishlist</a>
                        </li>

                        <li <?php
                        if ($active == 'video_wish_list') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin_course/course_wish_list/all/0">All Course Wishlist</a>
                        </li>

                    </ul>
                    <ul class="nav nav-sidebar">
                        <li <?php
                        if ($active == 'manage_menu') {
                            echo 'class="active"';
                        }
                        ?>>
                            <a href="<?php echo base_url() ?>super_admin/manage_menu"><b>Manage Menu</b></a>
                        </li>
                    </ul>
                </div>

                <div id="search_result">
                    <?php echo $main_content; ?>
                </div>
            </div>
        </div>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        
        <?php require_once 'footer_content.php'; ?>

    </body>
</html>