<!doctype html>
<html>
    <head>
        <?php require_once 'admin_element/meta_content.php'; ?>
        <?php require_once 'admin_element/head_content.php'; ?>
        <noscript>
        <meta http-equiv="refresh" content="0; url=<?php echo base_url() . 'super_admin/logout'; ?>" />
        </noscript>
    </head>

    <body>

        <section class="master" id="full_view" >
            <div class="container-full-view">
                <div class="col-sm-12 " style="background-color: #fff;padding-top: 40px">
                    <?php
                    $person_role = $this->session->userdata('person_role');
                    ?>
                    <!--start left menu-->
                    <div class="col-sm-2 gray_ttc">
                        <div class="row ">
                            <div class="panel-group text-center" id="accordion">


                                <!--start Backend-->

                                <!--Start Dashboard-->
                                <div class="panel panel-default" id="organization">

                                    <!--start top menu-->

                                    <div class="panel panel-default" id="organization">



                                        <!--Start menu (Only for Organization,Teacher,Student) -->
                                        <?php
                                        if (isset($top_menu)) {
                                            ?>
                                            <div>
                                                <div class="" style="text-align: justify;" >

                                                    <?php
                                                    if ($as_learner == 1) {
                                                        ?>
                                                        <a href="#" onclick="AsLearner()" class="list-group-item"><i class="fa fa-male">&nbsp;&nbsp;</i> As Learner</a>
                                                        <div class="text-left" style="display:none;" id="as_Learner">
                                                            <div style="margin-left: 20px">
                                                                <a href="#"  onclick="AsLearnerClassroom()" class="list-group-item "><i class="fa fa-desktop">&nbsp;&nbsp;</i>Classroom</a>
                                                                <div class="text-left" style="display: none" id="as_learner_Classroom">
                                                                    <div style="margin-left: 20px">
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_learner_upcoming_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Upcoming class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_learner_current_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Current class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_learner_previous_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Previous class</a>
                                                                    </div>
                                                                </div>  
                                                                <a href="<?php echo base_url() ?>index.php/welcome/as_learner_course" class="list-group-item"><i class="fa  fa-book">&nbsp;&nbsp;</i>Course</a>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/as_learner_video_course" class="list-group-item"><i class="fa  fa-film">&nbsp;&nbsp;</i> Video Course</a>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/as_learner_group" class="list-group-item"><i class="fa  fa-users">&nbsp;&nbsp;</i> Group</a>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/as_learner_quiz" class="list-group-item"><i class="fa  fa-lightbulb-o">&nbsp;&nbsp;</i> Quiz</a>
                                                            </div>
                                                        </div>
                                                        <?php
                                                    }
                                                    if ($as_teacher == 1) {
                                                        ?>
                                                        <a href="#" onclick="AsTeacher()"  class="list-group-item"><i class="fa  fa-user">&nbsp;&nbsp;</i> As Teacher</a>
                                                        <div class="text-left" style="display:none;" id="as_Teacher">
                                                            <div style="margin-left: 20px">
                                                                <a href="#"  onclick="AsTeacherClassroom()" class="list-group-item "><i class="fa fa-desktop">&nbsp;&nbsp;</i>Classroom</a>
                                                                <div class="text-left" style="display:none;" id="as_teacher_Classroom">
                                                                    <div style="margin-left: 20px">
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_schedule_class" class="list-group-item"><i class="fa fa-clock-o">&nbsp;&nbsp;</i>Schedule class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_upcoming_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Upcoming class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_current_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Current class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_previous_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Previous class</a>
                                                                    </div>
                                                                </div>  
                                                                <a href="<?php echo base_url() ?>index.php/welcome/teacher_course" class="list-group-item"><i class="fa  fa-book">&nbsp;&nbsp;</i> Course</a>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/teacher_video_course" class="list-group-item"><i class="fa  fa-film">&nbsp;&nbsp;</i> Video Course</a>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/teacher_group" class="list-group-item"><i class="fa  fa-users">&nbsp;&nbsp;</i> Group</a>
                                                                <div class="text-left" style="display:none;" id="as_organization_group">
                                                                    <div style="margin-left: 20px">
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_create_group" class="list-group-item "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Create Group</a>
                                                                        <a href="#" class="list-group-item" data-toggle="modal" data-target="#join_group"><i class="fa  fa-link">&nbsp;&nbsp;</i>Join Group</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_details_group_list" class="list-group-item"><i class="fa  fa-th">&nbsp;&nbsp;</i> Details Group List</a>
                                                                    </div>
                                                                </div>

                                                                <a href="<?php echo base_url() ?>index.php/welcome/teacher_quiz" class="list-group-item"><i class="fa  fa-question-circle">&nbsp;&nbsp;</i> Quiz</a>

                                                                <div class="text-left" style="display: none;" id="as_organization_quiz">
                                                                    <div style="margin-left: 20px">
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_create_quiz" class="list-group-item"><i class="fa fa-plus-circle">&nbsp;&nbsp;</i> Create Quiz</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_add_question" class="list-group-item"><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i> Add Question</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_quiz" class="list-group-item"><i class="fa  fa-lightbulb-o">&nbsp;&nbsp;</i>View Quiz</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_view_grade" class="list-group-item "><i class="fa  fa-sun-o">&nbsp;&nbsp;</i>View Grade</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_create_certificate" class="list-group-item "><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i>Create Certificate</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/teacher_view_certificate" class="list-group-item "><i class="fa  fa-certificate">&nbsp;&nbsp;</i>View Certificate</a>
                                                                    </div>
                                                                </div> 
                                                            </div>
                                                        </div>
                                                        <?php
                                                    }
                                                    if ($as_organization == 1) {
                                                        ?>
                                                        <a href="#" onclick="AsOrganization()" class="list-group-item"><i class="fa fa-users"></i>&nbsp;&nbsp;As Organization</a>
                                                        <div class="text-left" style="display:none;" id="as_organization">
                                                            <div style="margin-left: 20px">
                                                                <a href="#" onclick="AsOrganizationClassroom()"  class="list-group-item"><i class="fa fa-desktop">&nbsp;&nbsp;</i>Classroom</a>
                                                                <div class="text-left" style="display: none;" id="as_organization_Classroom">
                                                                    <div style="margin-left: 20px">
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_organization_schedule_class" class="list-group-item"><i class="fa fa-clock-o">&nbsp;&nbsp;</i>Schedule class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_organization_upcoming_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Upcoming class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_organization_current_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Current class</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/as_organization_previous_class" class="list-group-item "><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Previous class</a>
                                                                    </div>
                                                                </div>  

                                                                <a href="<?php echo base_url() ?>index.php/welcome/course" class="list-group-item"><i class="fa  fa-book">&nbsp;&nbsp;</i> Course</a>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/video_course" class="list-group-item"><i class="fa  fa-film">&nbsp;&nbsp;</i> Video Course</a>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/group" class="list-group-item "><i class="fa  fa-users">&nbsp;&nbsp;</i> Group</a>
                                                                <div class="text-left" style="display:none;" id="as_organization_group">
                                                                    <div style="margin-left: 20px">
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/create_group" class="list-group-item "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Create Group</a>
                                                                        <a href="#" class="list-group-item" data-toggle="modal" data-target="#join_group"><i class="fa  fa-link">&nbsp;&nbsp;</i>Join Group</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/details_group_list" class="list-group-item"><i class="fa  fa-th">&nbsp;&nbsp;</i> Details Group List</a>
                                                                    </div>
                                                                </div>
                                                                <a href="<?php echo base_url() ?>index.php/welcome/organization_quiz" class="list-group-item"><i class="fa  fa-question-circle">&nbsp;&nbsp;</i> Quiz</a>
                                                                <div class="text-left" style="display:none;" id="as_organization_quiz">
                                                                    <div style="margin-left: 20px">
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/organization_create_quiz" class="list-group-item"><i class="fa fa-plus-circle">&nbsp;&nbsp;</i> Create Quiz</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/add_question" class="list-group-item"><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i> Add Question</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/quiz" class="list-group-item"><i class="fa  fa-lightbulb-o">&nbsp;&nbsp;</i>View Quiz</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/view_grade" class="list-group-item "><i class="fa  fa-sun-o">&nbsp;&nbsp;</i>View Grade</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/create_certificate" class="list-group-item "><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i>Create Certificate</a>
                                                                        <a href="<?php echo base_url() ?>index.php/welcome/view_certificate" class="list-group-item "><i class="fa  fa-certificate">&nbsp;&nbsp;</i>View Certificate</a>
                                                                    </div>
                                                                </div> 
                                                                <a href="<?php echo base_url() ?>index.php/welcome/teacher" class="list-group-item "><i class="fa  fa-user">&nbsp;&nbsp;</i> Teacher</a>
                                                            </div>
                                                        </div> 
                                                        <?php
                                                    }
                                                    ?>
                                                </div>


                                                <script>
                                                    function AsOrganization() {
                                                        var as_organization = document.getElementById('as_organization');
                                                        as_organization.setAttribute('style', 'display:block');

                                                        var as_Learner = document.getElementById('as_Learner');
                                                        as_Learner.setAttribute('style', 'display:none');

                                                        var as_Teacher = document.getElementById('as_Teacher');
                                                        as_Teacher.setAttribute('style', 'display:none');
                                                    }


                                                    function AsOrganizationClassroom() {
                                                        var as_organization_Classroom = document.getElementById('as_organization_Classroom');
                                                        as_organization_Classroom.setAttribute('style', 'display:block')
                                                    }


                                                    function AsLearner() {
                                                        var as_Learner = document.getElementById('as_Learner');
                                                        as_Learner.setAttribute('style', 'display:block');

                                                        var as_organization = document.getElementById('as_organization');
                                                        as_organization.setAttribute('style', 'display:none');

                                                        var as_Teacher = document.getElementById('as_Teacher');
                                                        as_Teacher.setAttribute('style', 'display:none');
                                                    }



                                                    function AsLearnerClassroom() {
                                                        var as_learner_Classroom = document.getElementById('as_learner_Classroom');
                                                        as_learner_Classroom.setAttribute('style', 'display:block')
                                                    }


                                                    function AsTeacher() {
                                                        var as_Teacher = document.getElementById('as_Teacher');
                                                        as_Teacher.setAttribute('style', 'display:block')

                                                        var as_Learner = document.getElementById('as_Learner');
                                                        as_Learner.setAttribute('style', 'display:none')

                                                        var as_organization = document.getElementById('as_organization');
                                                        as_organization.setAttribute('style', 'display:none')
                                                    }

                                                    function AsTeacherClassroom() {
                                                        var as_teacher_Classroom = document.getElementById('as_teacher_Classroom');
                                                        as_teacher_Classroom.setAttribute('style', 'display:block')
                                                    }
                                                </script>
                                            </div>
                                            <?php
                                        }
                                        ?>
                                        <!--end menu (Only for Organization,Teacher,Student) -->



                                    </div>

                                    <!--top menu end-->



                                    <div class="panel panel-default">
                                        <div class="panel-heading" style="background-color: #8CC73F">
                                            <h4 class="panel-title">
                                                <a href="<?php echo base_url(); ?>super-admin"><i class="fa fa-home">&nbsp;</i>Dashboard</a>
                                            </h4>
                                        </div>
                                        <div id="collapse00" class="panel-collapse collapse ">
                                        </div>
                                    </div>
                                    <!--End Dashboard-->

                                    <div class="panel panel-default" id="all_selected_div_1">
                                        <!-- Start Forbidden information Add in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default forbidden_id" id="forbidden_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#TTforbidden" >Forbidden</a>
                                                    </h4>
                                                </div>
                                                <div id="TTforbidden" class="panel-collapse collapse <?php
                                                if ($active_menu == 'forbidden') {
                                                    echo 'in';
                                                }
                                                ?>"> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url(); ?>forbidden" id="forbidden_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 'view_forbidden') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-key">&nbsp;&nbsp;</i>Forbidden</a> 
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Forbidden information Add in Site--> 

                                        <!-- Start User Management in Site--> <!-- Need to use collapse and icon when again start user work -->                                                                
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="user_management_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a href="<?php echo base_url(); ?>super-admin/all-user" id="all_user_id" class="all_user_id" onclick="user_management()">User Management</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse0" class="panel-collapse collapse <?php
                                                if ($active_menu === 'user_management') {
                                                    echo 'in';
                                                }
                                                ?>">

                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url(); ?>super-admin-user" id="user_management_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 6) {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-user">&nbsp;&nbsp;</i>Super Admin </a>
                                                        <a href="<?php echo base_url(); ?>admin-user" id="user_management_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 1) {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-user">&nbsp;&nbsp;</i> Admin </a>
                                                        <a href="<?php echo base_url(); ?>account-officer" id="user_management_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 2) {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa  fa-user">&nbsp;&nbsp;</i> Account Officer</a>

                                                        <a href="<?php echo base_url(); ?>organization" id="user_management_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 4) {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-user">&nbsp;&nbsp;</i>Organization </a>

                                                        <a href="<?php echo base_url(); ?>individual-teacher" id="user_management_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 3) {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa  fa-user ">&nbsp;&nbsp;</i>Individual Teacher</a>

                                                        <a href="<?php echo base_url(); ?>learner" id="user_management_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 5) {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-user">&nbsp;&nbsp;</i>Learner</a>
                                                    </div>
                                                </div>
                                            </div>
                                            <?php
                                        }
                                        ?>                                
                                        <!-- End User Management in Site--> 

                                        <!-- Start Education Institute Management in Site--> 
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="education_institute_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#eduIns" >Education Institute</a>
                                                    </h4>
                                                </div>
                                                <div id="eduIns" class="panel-collapse collapse<?php
                                                if ($active_menu == 'eduIns') {
                                                    echo 'in';
                                                }
                                                ?>"> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url(); ?>admin/education-institute" id="education_institute_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 'view_eduIns') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-lightbulb-o">&nbsp;&nbsp;</i>Education Institute</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>  
                                        <!-- End Education Institute Management in Site--> 

                                        <!-- Start Menu Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="menu_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse2">Menu</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse2" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'view_menu') {
                                                    echo 'in';
                                                }
                                                ?> ">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>super-admin/add-menu" id="menu_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_menu') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add Menu</a>
                                                        <a href="<?php echo base_url() ?>super-admin/manage-menu" id="menu_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_menu') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Menu</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>  

                                        <!-- End Menu Management in Site-->

                                        <!-- Start Topic Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="video_topic_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseTopic">Topic</a>
                                                    </h4>
                                                </div>
                                                <div id="collapseTopic" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'topic') {
                                                    echo 'in';
                                                }
                                                ?> ">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>admin/add-topic" id="video_topic_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_topic') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add Topic</a>
                                                        <a href="<?php echo base_url() ?>admin/manage-topic" id="video_topic_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_topic') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Manage Topic</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Topic Management in Site--> 
                                        <!-- Start Language Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default common_class" id="language_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseLanguage">Language</a>
                                                    </h4>
                                                </div>
                                                <div id="collapseLanguage" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'language') {
                                                    echo 'in';
                                                }
                                                ?> ">
                                                    <div class="" style="text-align: justify">

                                                        <a href="<?php echo base_url() ?>language" onclick="show_language()" id="language_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_language') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-language">&nbsp;&nbsp;</i>Manage Language</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Language Management in Site-->
                                        <!-- Start Meta Information in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default common_class" id="meta_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse20">Meta Information</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse20" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'meta_information') {
                                                    echo 'in';
                                                }
                                                ?> ">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>super-admin/add-meta-information" onclick="show_add_meta()" id="meta_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_meta_information') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add Meta Information</a>
                                                        <a href="<?php echo base_url() ?>super-admin/manage-meta-information" onclick="show_manage_meta()" id="meta_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_meta_information') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Meta Information</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>  

                                        <!-- End Meta Information in Site-->
                                        <!-- Start Course Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6, 9))) {
                                            ?>
                                            <div class="panel panel-default" id="course_old_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse3">Course</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse3" class="panel-collapse collapse <?php
                                                if ($active_menu === 'course') {
                                                    echo ' in';
                                                }
                                                ?>

                                                     ">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>admin/add-course"  class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_course') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>
                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add Course</a>
                                                        <a href="<?php echo base_url() ?>admin/course/add-work-file"  class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_work_file') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-file">&nbsp;&nbsp;</i>Add Work File</a>
                                                        <a href="<?php echo base_url() ?>admin/manage-course"  class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_course') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Course</a>
                                                        <a href="<?php echo base_url() ?>admin/course/manage-work-file"  class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_work_file') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Work File</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Course Management in Site-->

                                        <!-- Start Batch in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="batch_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#Ncollapse2" >Batch</a>
                                                    </h4>
                                                </div>
                                                <div id="Ncollapse2" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'batch') {
                                                    echo 'in';
                                                }
                                                ?>">
                                                    <div class="" style="text-align: justify">

                                                        <a href="<?php echo base_url() ?>super-admin/create-batch" id="batch_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'create_batch') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-plus-circle">&nbsp;&nbsp;</i>
                                                            Add Batch
                                                        </a>
                                                        <a href="<?php echo base_url() ?>super-admin/manage-batch" id="batch_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'manage_batch') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-cogs">&nbsp;&nbsp;</i>
                                                            Manage Batch
                                                        </a>
                                                        <a href="<?php echo base_url() ?>admin/manage-certificate" id="batch_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'manage-certificate') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-certificate">&nbsp;&nbsp;</i>
                                                            Manage Certificate
                                                        </a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Batch in Site-->

                                        <!-- Start Video Course Category Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="video_course_category_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse2Topic">Video Course Category</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse2Topic" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'video_course_category') {
                                                    echo 'in';
                                                }
                                                ?> ">
                                                    <div class="" style="text-align: justify">
        <!--                                                    <a href="<?php //echo base_url();   ?>super-admin/add-course-topic" class="list-group-item
                                                        <?php
                                                        //if ($active_sub_menu == 'add_course_topic') {
                                                        //echo 'gray_ttc';
                                                        //}
                                                        ?>"><i class="fa fa-plus-circle">&nbsp;&nbsp;</i> Add Course Topic</a>
                                                        <a href="<?php //echo base_url()   ?>super-admin/manage-course-topic" class="list-group-item

                                                        <?php
                                                        //if ($active_sub_menu == 'manage_course_topic') {
                                                        //echo 'gray_ttc';
                                                        //}
                                                        ?>

                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i> Manage Course Topic</a>-->
                                                        <a href="<?php echo base_url() ?>super-admin/add-course-category" id="video_course_category_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_course_category') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add Category</a>
                                                        <a href="<?php echo base_url() ?>super-admin/manage-course-category" id="video_course_category_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_course_category') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Category</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Video Course Category Management in Site-->

                                        <!-- Start Video Course Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="video_course_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse4" >Video Course</a>
                                                    </h4>


                                                </div>
                                                <div id="collapse4" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'video_course') {
                                                    echo 'in';
                                                }
                                                ?>">

                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>add-video-course" id="video_course_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'add_video_course') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>

                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add Video Course</a>
                                                        <a href="<?php echo base_url() ?>manage-video-course" id="video_course_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_video_course') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Video Course</a>

                                                        <a href="<?php echo base_url() ?>add-video-work-file" id="video_course_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_video_work_file') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-file">&nbsp;&nbsp;</i>Add Video</a>
                                                        <a href="<?php echo base_url() ?>manage-video-work-file" id="video_course_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_video_work_file') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>
                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Video</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Video Course Management in Site--> 
                                        <!-- Start New Video Course Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default common_class" id="new_video_course_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse_v_course" >New Video Course</a>
                                                    </h4>


                                                </div>
                                                <div id="collapse_v_course" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'video_course_back_end') {
                                                    echo 'in';
                                                }
                                                ?>">

                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>add-admin-video-course" id="new_video_course_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'add_video_course_back_end') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>

                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add New Video Course</a>

                                                        <a href="<?php echo base_url() ?>manage-admin-video-course" id="new_video_course_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_video_course_back_end') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage New Video Course</a>

                                                        <a href="<?php echo base_url() ?>add-admin-video" id="new_video_course_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'add_video_back_end') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-file-video-o">&nbsp;&nbsp;</i>Add Video</a>
                                                        <a href="<?php echo base_url() ?>manage-admin-video" id="new_video_course_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_video_back_end') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>
                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Video</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>

                                        <!-- End New Video Course Management in Site-->
                                        <!-- Start Video Course invitation in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default common_class" id="view_invitation">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseview_invitation" >View Invitation</a>
                                                    </h4>
                                                </div>
                                                <div id="collapseview_invitation" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'view_invitation') {
                                                    echo 'in';
                                                }
                                                ?>">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url().'manage-send-video-course-invitation' ?>"  id="view_invitation_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'manage_invitation') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                        "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Manage Invitation</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>

                                        <!-- End Video Course invitation in Site-->
                                        
                                        
                                        <!-- Start Quiz Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6, 8))) {
                                            ?>
                                            <div class="panel panel-default" id="quiz_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse10" >Quiz</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse10" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'quiz') {
                                                    echo 'in';
                                                }
                                                ?>
                                                     "> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>super-admin/create-quiz" id="quiz_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'add_quiz') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-plus-square">&nbsp;&nbsp;</i>Create Quiz
                                                        </a>

                                                        <a href="<?php echo base_url() ?>super-admin/manage-quiz" id="quiz_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'manage_quiz') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-lightbulb-o">&nbsp;&nbsp;</i>Manage Quiz
                                                        </a>

                                                        <a href="<?php echo base_url() ?>super-admin/quiz/view-grade" id="quiz_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'manage_grade') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-sun-o">&nbsp;&nbsp;</i>Manage Grade
                                                        </a>

                                                        <a href="<?php echo base_url() . 'super-admin/add-question'; ?>" id="quiz_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'add_question') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-plus-square">&nbsp;&nbsp;</i>Add Question
                                                        </a>

                                                        <a href="<?php echo base_url() ?>admin/create-certificate" id="quiz_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'create_certificate') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Create Certificate
                                                        </a>

                                                        <a href="<?php echo base_url() ?>admin/view-certificate" id="quiz_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'view_certificate') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>">
                                                            <i class="fa fa-certificate">&nbsp;&nbsp;</i>View Certificate
                                                        </a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Quiz Management in Site--> 
                                        <!-- Start Rating Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default common_class" id="rating_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseRating">Rating</a>
                                                    </h4>
                                                </div>
                                                <div id="collapseRating" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'rating') {
                                                    echo 'in';
                                                }
                                                ?> ">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>super-admin/manage-rating" onclick="show_manage_rating()" id="rating_id" class="list-group-item

                                                           <?php
                                                           if ($active_sub_menu == 'manage_rating') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>

                                                           "><i class="fa fa-star-o">&nbsp;&nbsp;</i>Manage Rating</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- End Rating Management in Site-->
                                        <!-- Start Bank Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="bank_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#TTbank" >Bank</a>
                                                    </h4>
                                                </div>
                                                <div id="TTbank" class="panel-collapse collapse<?php
                                                if ($active_menu == 'bank') {
                                                    echo 'in';
                                                }
                                                ?>"> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url(); ?>admin/bank" id="bank_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 'view_bank') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-lightbulb-o">&nbsp;&nbsp;</i>Bank</a>
                                                        <a href="<?php echo base_url(); ?>admin/bank-branch" id="bank_id" class="list-group-item <?php
                                                        if ($active_sub_menu == 'view_bank_branch') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>"><i class="fa fa-lightbulb-o">&nbsp;&nbsp;</i>Bank Branch</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>
                                        <!-- Start Bank Management in Site-->                                    

                                        <!-- Start Account Management in Site-->
                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="account_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse11" >Accounts</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse11" class="panel-collapse collapse <?php
                                                if ($active_menu == 'accounts') {
                                                    echo 'in';
                                                }
                                                ?>"> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>admin/course-register-students" id="account_id"
                                                           class="list-group-item <?php
                                                           if ($active_sub_menu == 'course_register_student') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-book">&nbsp;&nbsp;</i>Course Learner</a>

                                                        <a href="<?php echo base_url('admin/organization-earning'); ?>" id="account_id"
                                                           class="list-group-item <?php
                                                           if ($active_sub_menu == 'organization_earning') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-users">&nbsp;&nbsp;</i>Earn By Organization</a>

                                                        <a href="<?php echo base_url('admin/teacher-earning'); ?>" id="account_id"
                                                           class="list-group-item <?php
                                                           if ($active_sub_menu == 'teacher_earning') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-users">&nbsp;&nbsp;</i>Earn By Individual Teacher</a>  

                                                        <a href="<?php echo base_url() ?>video-learners" id="account_id"
                                                           class="list-group-item <?php
                                                           if ($active_sub_menu == 'video_learners') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-film">&nbsp;&nbsp;</i>Video Learner</a>

                                                        <a href="<?php echo base_url() ?>super-admin-earn-by-course" id="account_id" class="list-group-item "><i class="fa fa-laptop">&nbsp;&nbsp;</i>Earn By Course</a>
                                                        <a href="<?php echo base_url() ?>super-admin-total-earn-by-course" id="account_id" class="list-group-item "><i class="fa fa-laptop">&nbsp;&nbsp;</i>Total Earn By Course</a>
                                                        <a href="<?php echo base_url() ?>super-admin-earn-by-video-course" id="account_id" class="list-group-item "><i class="fa fa-laptop">&nbsp;&nbsp;</i>Earn By Video Course</a>
                                                        <a href="<?php echo base_url() ?>super-admin-total-earn-by-video-course" id="account_id" class="list-group-item "><i class="fa fa-laptop">&nbsp;&nbsp;</i>Total Earn By Video Course</a>
                                                        <a href="<?php echo base_url() ?>super-admin-total-earn-by-feature" id="account_id" class="list-group-item "><i class="fa fa-laptop">&nbsp;&nbsp;</i>Total Earn By Feature</a>
        <!--                                                    <a href="<?php echo base_url() ?>admin/organization-earning" class="list-group-item"><i class="fa fa-users">&nbsp;&nbsp;</i>Earn By Organization</a>-->
                                                        <a href="<?php echo base_url() ?>super-admin-earn-individual-teacher-account" id="account_id" class="list-group-item"><i class="fa fa-user">&nbsp;&nbsp;</i>Earn By Individual Teacher</a>
                                                        <a href="<?php echo base_url() ?>super_admin-expense-account-management" id="account_id" class="list-group-item"><i class="fa fa-user">&nbsp;&nbsp;</i>Expense</a>
                                                        <a href="<?php echo base_url() ?>super_admin-earning-account-management" id="account_id" class="list-group-item"><i class="fa fa-money">&nbsp;&nbsp;</i>Revenue</a>

                                                    </div>
                                                </div>
                                            </div>                                    
                                            <!-- Start Account Management in Site-->

                                            <!-- Start Group Management in Site-->
                                            <?php
                                            if (in_array($person_role, Array(1, 6))) {
                                                ?>
                                                <div class="panel panel-default" id="group_id">
                                                    <div class="panel-heading" style="background-color: #8CC73F">
                                                        <h4 class="panel-title">
                                                            <a data-toggle="collapse" data-parent="#accordion" href="#collapse6" >Group</a>
                                                        </h4>


                                                    </div>
                                                    <div id="collapse6" class="panel-collapse collapse
                                                    <?php
                                                    if ($active_menu == 'group') {
                                                        echo 'in';
                                                    }
                                                    ?>
                                                         "> 
                                                        <div class="" style="text-align: justify">
                                                            <a href="<?php echo base_url() ?>super-admin-create-group-type" id="group_id" class="list-group-item
                                                            <?php
                                                            if ($active_sub_menu == 'create_group_type') {
                                                                echo 'gray_ttc';
                                                            }
                                                            ?> "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Create Group Type</a>

                                                            <a href="<?php echo base_url() ?>super-admin-manage-group-type" id="group_id" class="list-group-item
                                                            <?php
                                                            if ($active_sub_menu == 'manage_group_type') {
                                                                echo 'gray_ttc';
                                                            }
                                                            ?> "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Manage Group Type</a>

                                                            <a href="<?php echo base_url() ?>super_admin_group/create_group" id="group_id" class="list-group-item
                                                            <?php
                                                            if ($active_sub_menu == 'create_group') {
                                                                echo 'gray_ttc';
                                                            }
                                                            ?> "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Create Group</a>
                                                            <a href="<?php echo base_url() ?>super-admin-manage-group" id="group_id" class="list-group-item

                                                               <?php
                                                               if ($active_sub_menu == 'manage_group') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?> "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Group</a>

                                                            <a href="<?php echo base_url() ?>super-admin-detail-group-list" id="group_id" class="list-group-item
                                                            <?php
                                                            if ($active_sub_menu == 'detail_group_list') {
                                                                echo 'gray_ttc';
                                                            }
                                                            ?> "><i class="fa fa-group">&nbsp;&nbsp;</i>Detail Group List</a>
                                                        </div>
                                                    </div>
                                                </div>
                                            <?php } ?>
                                            <!-- End Group Management in Site-->


                                            <!-- Start Support Management in Site-->
                                            <?php
                                            if (in_array($person_role, Array(1, 6))) {
                                                ?>
                                                <div class="panel panel-default" id="support_id">
                                                    <div class="panel-heading" style="background-color: #8CC73F">
                                                        <h4 class="panel-title">
                                                            <a data-toggle="collapse" data-parent="#accordion" href="#TTsupport" >Support</a>
                                                        </h4>
                                                    </div>
                                                    <div id="TTsupport" class="panel-collapse collapse <?php
                                                    if ($active_menu == 'support') {
                                                        echo 'in';
                                                    }
                                                    ?> "> 
                                                        <div class="" style="text-align: justify">
                                                            <a href="<?php echo base_url(); ?>knowledgebase" id="support_id"
                                                               class="list-group-item <?php
                                                               if ($active_sub_menu == 'knowledgebase') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?>"><i class="fa fa-lightbulb-o">&nbsp;&nbsp;</i>Add knowledgebase</a>
                                                            <a href="<?php echo base_url(); ?>manage-knowledgebase" id="support_id"
                                                               class="list-group-item <?php
                                                               if ($active_sub_menu == 'manage_knowledgebase') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?>"><i class="fa fa-lightbulb-o">&nbsp;&nbsp;</i>Manage knowledgebase</a>
                                                            <a href="<?php echo base_url(); ?>manage-idea" id="support_id"
                                                               class="list-group-item <?php
                                                               if ($active_sub_menu == 'manage_idea') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?>"><i class="fa fa-lightbulb-o">&nbsp;&nbsp;</i>Ideas</a>
                                                            <a href="<?php echo base_url(); ?>manage-bug-report" id="support_id"
                                                               class="list-group-item <?php
                                                               if ($active_sub_menu == 'manage_bug_report') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?>"><i class="fa fa-bug">&nbsp;&nbsp;</i>Bug Report</a>
                                                        </div>
                                                    </div>
                                                </div>
                                            <?php } ?>
                                            <!-- End Support Management in Site--> 

                                            <!-- Start Setting Management in Site-->
                                            <div class="panel panel-default" id="setting_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse12" >Setting</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse12" class="panel-collapse collapse"> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="#" id="setting_id" class="list-group-item"><i class="fa fa-th">&nbsp;&nbsp;</i>Dark Theme</a>
                                                        <a href="#" id="setting_id" class="list-group-item"><i class="fa fa-th">&nbsp;&nbsp;</i>Light Theme</a>
                                                        <a href="<?php echo base_url(); ?>super-admin/logout/" class="list-group-item"><i class="fa fa-cogs">&nbsp;&nbsp;</i>Log Out</a>
                                                    </div>
                                                </div>
                                            </div>
                                            <!-- End Setting Management in Site-->

                                            <!-- Start Student Management Management in Site-->
                                            <?php
                                            if (in_array($person_role, Array(1, 6))) {
                                                ?>
                                                <div class="panel panel-default" id="student_management_id">
                                                    <div class="panel-heading" style="background-color: #8CC73F">
                                                        <h4 class="panel-title">
                                                            <a data-toggle="collapse" data-parent="#accordion" href="#collapse1">Student Management</a>
                                                        </h4>
                                                    </div>
                                                    <div id="collapse1" class="panel-collapse collapse
                                                    <?php
                                                    if ($active_menu == 'student_management') {
                                                        echo 'in';
                                                    }
                                                    ?> ">
                                                        <div class="" style="text-align: justify">
                                                            <a href="<?php echo base_url() ?>super-admin-current-student" id="student_management_id" class="list-group-item 

                                                               <?php
                                                               if ($active_sub_menu == 'current-student') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?>

                                                               "><i class="fa fa-desktop">&nbsp;&nbsp;</i> Current Student</a>
                                                            <a href="<?php echo base_url() ?>super-admin-classroom-student" id="student_management_id" class="list-group-item 

                                                               <?php
                                                               if ($active_sub_menu == 'classroom_student') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?>

                                                               "><i class="fa fa-desktop">&nbsp;&nbsp;</i> Class Room Student</a>
                                                            <a href="<?php echo base_url() ?>super-admin-video-training-student" id="student_management_id" class="list-group-item 

                                                               <?php
                                                               if ($active_sub_menu == 'video_training_student') {
                                                                   echo 'gray_ttc';
                                                               }
                                                               ?>

                                                               "><i class="fa fa-desktop">&nbsp;&nbsp;</i> Video Training Student</a>
                                                        </div>
                                                    </div>
                                                </div>
                                            <?php } ?>
                                            <!-- End Student Management Management in Site-->

                                            <!-- Start Course Management in Site-->
                                            <!-- End Course Management in Site-->                                    

                                            <!-- Start Course Management in Site-->
                                            <!-- End Course Management in Site-->

                                            <!-- Start Course Management in Site-->
                                            <!-- End Course Management in Site-->


                                            <!--Start menu (Only for Organization,Teacher,Student) -->
                                            <?php
                                            if (isset($top_menu)) {
                                                ?>
                                                <div>
                                                    <div class="" style="text-align: justify;" >

                                                        <?php
                                                        if ($as_learner == 1) {
                                                            ?>
                                                            <a href="#" onclick="AsLearner()" class="list-group-item"><i class="fa fa-male">&nbsp;&nbsp;</i> As Learner</a>
                                                            <div class="text-left" style="display:none;" id="as_Learner">
                                                                <div style="margin-left: 20px">
                                                                    <a href="#"  onclick="AsLearnerClassroom()" class="list-group-item "><i class="fa fa-desktop">&nbsp;&nbsp;</i>Classroom</a>
                                                                    <div class="text-left" style="display: none" id="as_learner_Classroom">
                                                                        <div style="margin-left: 20px">
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_learner_upcoming_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Upcoming class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_learner_current_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Current class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_learner_previous_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Previous class</a>
                                                                        </div>
                                                                    </div>  
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/as_learner_course" class="list-group-item"><i class="fa  fa-book">&nbsp;&nbsp;</i>Course</a>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/as_learner_video_course" class="list-group-item"><i class="fa  fa-film">&nbsp;&nbsp;</i> Video Course</a>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/as_learner_group" class="list-group-item"><i class="fa  fa-users">&nbsp;&nbsp;</i> Group</a>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/as_learner_quiz" class="list-group-item"><i class="fa  fa-lightbulb-o">&nbsp;&nbsp;</i> Quiz</a>
                                                                </div>
                                                            </div>
                                                            <?php
                                                        }
                                                        if ($as_teacher == 1) {
                                                            ?>
                                                            <a href="#" onclick="AsTeacher()"  class="list-group-item"><i class="fa  fa-user">&nbsp;&nbsp;</i> As Teacher</a>
                                                            <div class="text-left" style="display:none;" id="as_Teacher">
                                                                <div style="margin-left: 20px">
                                                                    <a href="#"  onclick="AsTeacherClassroom()" class="list-group-item "><i class="fa fa-desktop">&nbsp;&nbsp;</i>Classroom</a>
                                                                    <div class="text-left" style="display:none;" id="as_teacher_Classroom">
                                                                        <div style="margin-left: 20px">
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_schedule_class" class="list-group-item"><i class="fa fa-clock-o">&nbsp;&nbsp;</i>Schedule class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_upcoming_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Upcoming class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_current_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Current class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_teacher_previous_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Previous class</a>
                                                                        </div>
                                                                    </div>  
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/teacher_course" class="list-group-item"><i class="fa  fa-book">&nbsp;&nbsp;</i> Course</a>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/teacher_video_course" class="list-group-item"><i class="fa  fa-film">&nbsp;&nbsp;</i> Video Course</a>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/teacher_group" class="list-group-item"><i class="fa  fa-users">&nbsp;&nbsp;</i> Group</a>
                                                                    <div class="text-left" style="display:none;" id="as_organization_group">
                                                                        <div style="margin-left: 20px">
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_create_group" class="list-group-item "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Create Group</a>
                                                                            <a href="#" class="list-group-item" data-toggle="modal" data-target="#join_group"><i class="fa  fa-link">&nbsp;&nbsp;</i>Join Group</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_details_group_list" class="list-group-item"><i class="fa  fa-th">&nbsp;&nbsp;</i> Details Group List</a>
                                                                        </div>
                                                                    </div>

                                                                    <a href="<?php echo base_url() ?>index.php/welcome/teacher_quiz" class="list-group-item"><i class="fa  fa-question-circle">&nbsp;&nbsp;</i> Quiz</a>

                                                                    <div class="text-left" style="display: none;" id="as_organization_quiz">
                                                                        <div style="margin-left: 20px">
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_create_quiz" class="list-group-item"><i class="fa fa-plus-circle">&nbsp;&nbsp;</i> Create Quiz</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_add_question" class="list-group-item"><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i> Add Question</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_quiz" class="list-group-item"><i class="fa  fa-lightbulb-o">&nbsp;&nbsp;</i>View Quiz</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_view_grade" class="list-group-item "><i class="fa  fa-sun-o">&nbsp;&nbsp;</i>View Grade</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_create_certificate" class="list-group-item "><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i>Create Certificate</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/teacher_view_certificate" class="list-group-item "><i class="fa  fa-certificate">&nbsp;&nbsp;</i>View Certificate</a>
                                                                        </div>
                                                                    </div> 
                                                                </div>
                                                            </div>
                                                            <?php
                                                        }
                                                        if ($as_organization == 1) {
                                                            ?>
                                                            <a href="#" onclick="AsOrganization()" class="list-group-item"><i class="fa fa-users"></i>&nbsp;&nbsp;As Organization</a>
                                                            <div class="text-left" style="display:none;" id="as_organization">
                                                                <div style="margin-left: 20px">
                                                                    <a href="#" onclick="AsOrganizationClassroom()"  class="list-group-item"><i class="fa fa-desktop">&nbsp;&nbsp;</i>Classroom</a>
                                                                    <div class="text-left" style="display: none;" id="as_organization_Classroom">
                                                                        <div style="margin-left: 20px">
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_organization_schedule_class" class="list-group-item"><i class="fa fa-clock-o">&nbsp;&nbsp;</i>Schedule class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_organization_upcoming_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Upcoming class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_organization_current_class" class="list-group-item"><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Current class</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/as_organization_previous_class" class="list-group-item "><i class="fa  fa-desktop">&nbsp;&nbsp;</i> Previous class</a>
                                                                        </div>
                                                                    </div>  

                                                                    <a href="<?php echo base_url() ?>index.php/welcome/course" class="list-group-item"><i class="fa  fa-book">&nbsp;&nbsp;</i> Course</a>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/video_course" class="list-group-item"><i class="fa  fa-film">&nbsp;&nbsp;</i> Video Course</a>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/group" class="list-group-item "><i class="fa  fa-users">&nbsp;&nbsp;</i> Group</a>
                                                                    <div class="text-left" style="display:none;" id="as_organization_group">
                                                                        <div style="margin-left: 20px">
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/create_group" class="list-group-item "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Create Group</a>
                                                                            <a href="#" class="list-group-item" data-toggle="modal" data-target="#join_group"><i class="fa  fa-link">&nbsp;&nbsp;</i>Join Group</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/details_group_list" class="list-group-item"><i class="fa  fa-th">&nbsp;&nbsp;</i> Details Group List</a>
                                                                        </div>
                                                                    </div>
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/organization_quiz" class="list-group-item"><i class="fa  fa-question-circle">&nbsp;&nbsp;</i> Quiz</a>
                                                                    <div class="text-left" style="display:none;" id="as_organization_quiz">
                                                                        <div style="margin-left: 20px">
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/organization_create_quiz" class="list-group-item"><i class="fa fa-plus-circle">&nbsp;&nbsp;</i> Create Quiz</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/add_question" class="list-group-item"><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i> Add Question</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/quiz" class="list-group-item"><i class="fa  fa-lightbulb-o">&nbsp;&nbsp;</i>View Quiz</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/view_grade" class="list-group-item "><i class="fa  fa-sun-o">&nbsp;&nbsp;</i>View Grade</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/create_certificate" class="list-group-item "><i class="fa  fa-plus-circle">&nbsp;&nbsp;</i>Create Certificate</a>
                                                                            <a href="<?php echo base_url() ?>index.php/welcome/view_certificate" class="list-group-item "><i class="fa  fa-certificate">&nbsp;&nbsp;</i>View Certificate</a>
                                                                        </div>
                                                                    </div> 
                                                                    <a href="<?php echo base_url() ?>index.php/welcome/teacher" class="list-group-item "><i class="fa  fa-user">&nbsp;&nbsp;</i> Teacher</a>
                                                                </div>
                                                            </div> 
                                                            <?php
                                                        }
                                                        ?>
                                                    </div>


                                                    <script>
                                                        function AsOrganization() {
                                                            var as_organization = document.getElementById('as_organization');
                                                            as_organization.setAttribute('style', 'display:block');

                                                            var as_Learner = document.getElementById('as_Learner');
                                                            as_Learner.setAttribute('style', 'display:none');

                                                            var as_Teacher = document.getElementById('as_Teacher');
                                                            as_Teacher.setAttribute('style', 'display:none');
                                                        }


                                                        function AsOrganizationClassroom() {
                                                            var as_organization_Classroom = document.getElementById('as_organization_Classroom');
                                                            as_organization_Classroom.setAttribute('style', 'display:block')
                                                        }


                                                        function AsLearner() {
                                                            var as_Learner = document.getElementById('as_Learner');
                                                            as_Learner.setAttribute('style', 'display:block');

                                                            var as_organization = document.getElementById('as_organization');
                                                            as_organization.setAttribute('style', 'display:none');

                                                            var as_Teacher = document.getElementById('as_Teacher');
                                                            as_Teacher.setAttribute('style', 'display:none');
                                                        }



                                                        function AsLearnerClassroom() {
                                                            var as_learner_Classroom = document.getElementById('as_learner_Classroom');
                                                            as_learner_Classroom.setAttribute('style', 'display:block')
                                                        }


                                                        function AsTeacher() {
                                                            var as_Teacher = document.getElementById('as_Teacher');
                                                            as_Teacher.setAttribute('style', 'display:block')

                                                            var as_Learner = document.getElementById('as_Learner');
                                                            as_Learner.setAttribute('style', 'display:none')

                                                            var as_organization = document.getElementById('as_organization');
                                                            as_organization.setAttribute('style', 'display:none')
                                                        }

                                                        function AsTeacherClassroom() {
                                                            var as_teacher_Classroom = document.getElementById('as_teacher_Classroom');
                                                            as_teacher_Classroom.setAttribute('style', 'display:block')
                                                        }
                                                    </script>
                                                </div>
                                                <?php
                                            }
                                            ?>
                                            <!--end menu (Only for Organization,Teacher,Student) -->

                                        </div>

                                    </div>

                                    <!--top menu end-->




                                    <div class="panel panel-default" id="all_selected_div_2">


                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="classroom_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#Ncollapse1" >Classroom</a>
                                                    </h4>
                                                </div>
                                                <div id="Ncollapse1" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu === 'classroom') {
                                                    echo 'in';
                                                }
                                                ?> ">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>schedule-classroom" id="classroom_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'schedule_class') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-clock-o">&nbsp;&nbsp;</i>Schedule Class</a>

                                                        <a href="<?php echo base_url() ?>super-admin/upcoming-class" id="classroom_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'upcoming') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-calendar">&nbsp;&nbsp;</i>Upcoming Class</a>

                                                        <a href="<?php echo base_url() ?>super-admin/current-class" id="classroom_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'current') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa-calendar-o">&nbsp;&nbsp;</i>Current Class</a>

                                                        <a href="<?php echo base_url() ?>super-admin/previous-class" id="classroom_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'previous') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-laptop">&nbsp;&nbsp;</i>Previous Class</a>

                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>










                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="coupon_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse7" >Coupon</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse7" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'coupon') {
                                                    echo 'in';
                                                }
                                                ?>
                                                     "> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>add-coupon" id="coupon_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'add_coupon') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-plus-circle">&nbsp;&nbsp;</i>Add Coupon</a>
                                                        <a href="<?php echo base_url() ?>manage-coupon" id="coupon_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'manage_coupon') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Coupon</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>




                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="wish_list_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse8" >Wish List</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse8" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'wish_list') {
                                                    echo 'in';
                                                }
                                                ?>
                                                     "> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>super_admin/manage_video_wish_list" id="wish_list_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'video_wish_list') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-smile-o">&nbsp;&nbsp;</i>Manage Video wish List</a>
                                                        <a href="<?php echo base_url() ?>super_admin/manage_course_wish_list" id="wish_list_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'course_wish_list') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-smile-o">&nbsp;&nbsp;</i>Manage course wish List</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>



                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="tutorial_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapse9" >Tutorial</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse9" class="panel-collapse collapse
                                                <?php
                                                if ($active_menu == 'tutorial') {
                                                    echo 'in';
                                                }
                                                ?>
                                                     "> 
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>add-tutorial" id="tutorial_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'add_tutorial') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?>
                                                           "><i class="fa fa-plus-square">&nbsp;&nbsp;</i>Add Tutorial</a>
                                                        <a href="<?php echo base_url() ?>tutorial-management" id="tutorial_id" class="list-group-item
                                                        <?php
                                                        if ($active_sub_menu == 'manage_tutorial') {
                                                            echo 'gray_ttc';
                                                        }
                                                        ?> "><i class="fa fa-cogs">&nbsp;&nbsp;</i>Manage Tutorial</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>








                                        <?php
                                        if (in_array($person_role, Array(1, 6))) {
                                            ?>
                                            <div class="panel panel-default" id="feature_price_management_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a href="<?php //echo base_url('feature_price_management')   ?>" id="feature_price_management_id">Feature Price Management</a>
                                                    </h4>
                                                </div>
                                                <div id="collapse13" class="panel-collapse collapse"> 
                                                </div>
                                            </div>



                                            <div class="panel panel-default" id="email_id">
                                                <div class="panel-heading" style="background-color: #8CC73F">
                                                    <h4 class="panel-title">
                                                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseEmail" >Email</a>
                                                    </h4>
                                                </div>
                                                <div id="collapseEmail" class="panel-collapse collapse <?php
                                                if ($active_menu == 'email') {
                                                    echo 'in';
                                                }
                                                ?>">
                                                    <div class="" style="text-align: justify">
                                                        <a href="<?php echo base_url() ?>super-admin-special-send-email" id="email_id"
                                                           class="list-group-item <?php
                                                           if ($active_sub_menu == 'send_email') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-send-o">&nbsp;&nbsp;</i>Send Email</a>
                                                        <a href="<?php echo base_url() ?>super-admin-view-email" id="email_id"
                                                           class="list-group-item <?php
                                                           if ($active_sub_menu == 'view_email') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-th">&nbsp;&nbsp;</i>View Email</a>
                                                        <a href="<?php echo base_url() ?>super-admin-view-user-email" id="email_id"
                                                           class="list-group-item <?php
                                                           if ($active_sub_menu == 'view_user_email') {
                                                               echo 'gray_ttc';
                                                           }
                                                           ?>"><i class="fa fa-th">&nbsp;&nbsp;</i>View User Email</a>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php } ?>







                                        <div class="panel panel-default" id="scholarship_id">
                                            <div class="panel-heading" style="background-color: #8CC73F">
                                                <h4 class="panel-title">
                                                    <a data-toggle="collapse" data-parent="#accordion" href="#collapse14" >Scholarship</a>
                                                </h4>
                                            </div>
                                            <div id="collapse14" class="panel-collapse collapse <?php
                                            if ($active_menu == 'scholarship') {
                                                echo 'in';
                                            }
                                            ?> "> 
                                                <div class="" style="text-align: justify">
                                                    <a href="<?php echo base_url() ?>super_admin/add_scholarship" id="scholarship_id" class="list-group-item"><i class="fa fa-graduation-cap ">&nbsp;&nbsp;</i>Add Scholarship</a>
                                                    <a href="<?php echo base_url() ?>super_admin/manage_scholarship" id="scholarship_id" class="list-group-item"><i class="fa fa-sun-o">&nbsp;&nbsp;</i>Manage Scholarship</a>
                                                </div>
                                            </div>
                                        </div>
                                    <?php } ?>

                                </div>
                            </div>


                        </div>


                    </div>
                    <!--end left menu-->

                    <!--start main content-->
                    <div id="search_result">
                        <?php echo $main_content; ?>
                    </div>

                    <!--end main content-->
                </div>

            </div> 

        </section>
        <!--        alert modal by suddam hossain-->
        <div class="modal" style="" id="AlertModel" tabindex="-1" role="dialog" aria-labelledby="changeRole" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content" style="top: 180px;border: 5px solid #80c12c;border-top: 20px solid #80c12c !important;margin: 0 auto;width: 450px">

                    <form name="" method="" action="">
                        <div class="modal-body">

                            <h4 class="text-center">Are you sure you want to Delete this Person?</h4>
                        </div>
                        <div class="modal-footer">
                            <div  class="col-sm-12">
                                <button type="button" class="btn btn-danger col-sm-2 col-sm-offset-4" data-dismiss="modal">No</button>
                                <button style="margin-left: 20px" type="button" class="btn btn-success  col-sm-2" data-dismiss="modal">Yes</button>

                            </div>

                        </div>
                    </form>
                </div>
            </div>
        </div>

        <div style="height: 200px;"></div>
    </body>
    <script>
        var all = '<?php echo $active_menu; ?>';
    </script>
</html>
<script src="<?php echo base_url(); ?>back_end_resource/admin/left_menu.js" type="text/javascript"></script>