<!-- start sidebar menu -->
 			<div class="sidebar-container">
 				<div class="sidemenu-container navbar-collapse collapse fixed-menu">
	                <div id="remove-scroll">
	                    <ul class="sidemenu  page-header-fixed" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200" style="padding-top: 20px">
	                        <li class="sidebar-toggler-wrapper hide">
	                            <div class="sidebar-toggler">
	                                <span></span>
	                            </div>
	                        </li>
	                        <li class="sidebar-user-panel">
	                            <div class="user-panel">
	                                <div class="pull-left image">
	                                    <img src="<?=base_url();?>/assets/img/profile.png" class="img-circle user-img-circle" alt="User Image" />
	                                </div>
	                                <div class="pull-left info">
	                                    <p> <?=ucfirst($this->session->userdata('name'));?></p>
	                                    <a href="#"><i class="fa fa-circle user-online"></i><span class="txtOnline"> Online</span></a>
	                                </div>
	                            </div>
	                        </li>
	                        <li class="nav-item start <?=($active=='dashboard' ?'active open':'');?>">
	                            <a href="<?=base_url();?>admin/dashboard" class="nav-link nav-toggle">
	                                <i class="material-icons">dashboard</i>
	                                <span class="title">Dashboard</span>
                                	<span class="selected"></span>
                                	<span class="arrow"></span>
	                            </a>	                            
	                        </li>
                            <?php $user_type = $this->session->userdata('user_type'); 
							if($user_type==1 || $user_type=='2'){
							?>                            
                            <li class="nav-item <?=($active=='reports' ?'active open':'');?>">
	                            <a href="#" class="nav-link nav-toggle"> <i class="material-icons f-left">report</i>
	                                <span class="title">Reports</span> <span class="arrow"></span>
	                            </a>
	                            <ul class="sub-menu" <?=($active=='reports'?'style="display:block;"':'');?>>	                                
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>reports/centers_report" class="nav-link "> <span class="title">Center Report</span>
	                                    </a>
	                                </li>
	                                <?php if($user_type==1){ ?>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/upload_received_fees" class="nav-link "> <span class="title">Upload Received Fees</span>
	                                    </a>
	                                </li>
									<?php } ?>
									<li class="nav-item">
	                                    <a href="<?=base_url();?>reports/course_report" class="nav-link "> <span class="title">Course Report</span>
	                                    </a>
	                                </li>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>reports/last_login" class="nav-link "> <span class="title">Center Last Login</span>
	                                    </a>
	                                </li>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>reports/target_report" class="nav-link "> <span class="title">Target Report</span>
	                                    </a>
	                                </li>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>reports/admission_history_report" class="nav-link "> <span class="title">Admission History Report</span>
	                                    </a>
	                                </li>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>reports/fee_report" class="nav-link "> <span class="title">Fee Report</span>
	                                    </a>
	                                </li>
									<?php /*<li class="nav-item">
	                                    <a href="<?=base_url();?>reports/enrollment_report" class="nav-link "> <span class="title">Enrollment Report</span>
	                                    </a>
	                                </li>
									<li class="nav-item">
	                                    <a href="<?=base_url();?>reports/center_activity_report" class="nav-link "> <span class="title">Center Activity Report</span>
	                                    </a>
	                                </li>
									<li class="nav-item">
	                                    <a href="<?=base_url();?>reports/form_received_report" class="nav-link "> <span class="title">Form Received Report</span>
	                                    </a>
	                                </li>
									*/?>
	                            </ul>
	                        </li>
                             <li class="nav-item start <?=($active=='center_wise' ?'active open':'');?>">
	                            <a href="<?=base_url();?>admin/center_wise_students" class="nav-link nav-toggle">
	                                <i class="material-icons">person</i>
	                                <span class="title">Center Wise Students</span>
                                	<span class="selected"></span>
                                	<span class="arrow"></span>
	                            </a>	                            
	                        </li>							
	                        <li class="nav-item <?=($active=='users' ?'active open':'');?>">
	                            <a href="#" class="nav-link nav-toggle"> <i class="material-icons">person</i>
	                                <span class="title">Users</span> <span class="arrow"></span>
	                            </a>
	                            <ul class="sub-menu" <?=($active=='users'?'style="display:block;"':'');?>>	                                
	                                <?php if($user_type==1) { ?>
									<li class="nav-item">
	                                    <a href="<?=base_url();?>admin/add_center" class="nav-link "> <span class="title">Add Center</span>
	                                    </a>
	                                </li>
									<li class="nav-item">
	                                    <a href="<?=base_url();?>admin/add_sub_center" class="nav-link "> <span class="title">Add Sub Center</span>
	                                    </a>
	                                </li>
									<?php } ?>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/view_centers" class="nav-link "> <span class="title">View Centers</span>
	                                    </a>
	                                </li>	                                                                
	                            </ul>
	                        </li>
							<?php } ?>
	                        <li class="nav-item <?=($active=='student' ?'start active open':'');?>"">
	                            <a href="#" class="nav-link nav-toggle"><i class="material-icons">group</i>
	                            <span class="title">Apply Online</span><span class="arrow"></span></a>
	                            <ul class="sub-menu" <?=($active=='student'?'style="display:block;"':'');?>>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/apply_fresh" class="nav-link "> <span class="title">Apply For fresh</span>
	                                    </a>
	                                </li>
	                               
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/apply_re_reg_student" class="nav-link "> <span class="title">Apply For Re-Reg</span>
	                                    </a>
	                                </li>	                                
	                               <!-- <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/add_back_paper" class="nav-link "> <span class="title">For Back Paper</span>
	                                    </a>
	                                </li>-->
	                            </ul>
	                        </li>
							<li class="nav-item <?=($active=='show_student' ?'active open':'');?>">
	                            <a href="#" class="nav-link nav-toggle"><i class="material-icons">group</i>
	                            <span class="title">Show Students</span><span class="arrow"></span></a>
	                            <ul class="sub-menu" <?=($active=='show_student'?'style="display:block;"':'');?>>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/view_student_list" class="nav-link "> <span class="title">Show fresh</span>
	                                    </a>
	                                </li>
									<li class="nav-item">
	                                    <a href="<?=base_url();?>admin/re_reg_student" class="nav-link "> <span class="title">Show Re-Reg</span>
	                                    </a> 
	                                </li>									
								<!--	<li class="nav-item">
	                                    <a href="<?=base_url();?>admin/back_paper_students" class="nav-link "> <span class="title">Show Back Paper</span>
	                                    </a>
	                                </li>-->
	                            </ul>
	                        </li>
							<?php if($user_type==1){ ?>
	                        <li class="nav-item <?=($active=='courses' ?'active open':'');?>">
	                            <a href="#" class="nav-link nav-toggle"> <i class="material-icons">school</i>
	                                <span class="title">Courses</span> <span class="arrow"></span>
	                                <span class="label label-rouded label-menu label-success">new</span>
	                            </a>
	                            <ul class="sub-menu" <?=($active=='courses'?'style="display:block;"':'');?>>
	                                
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/add_course" class="nav-link "> <span class="title">Add Course</span>
	                                    </a>
	                                </li>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/view_courses" class="nav-link "> <span class="title">View Course</span>
	                                    </a>
	                                </li>	                                
	                            </ul>
	                        </li>
							<li class="nav-item <?=($active=='sub_course' ?'active open':'');?>">
	                            <a href="#" class="nav-link nav-toggle"> <i class="material-icons">school</i>
	                                <span class="title">Sub Course</span> <span class="arrow"></span>	                                
	                            </a>
	                            <ul class="sub-menu" <?=($active=='sub_course'?'style="display:block;"':'');?>>
	                                
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/add_sub_course" class="nav-link "> <span class="title">Add SubCourse</span>
	                                    </a>
	                                </li>
	                                <li class="nav-item">
	                                    <a href="<?=base_url();?>admin/view_sub_courses" class="nav-link "> <span class="title">View SubCourse</span>
	                                    </a>
	                                </li>	                                
	                            </ul>
	                        </li>													
							<?php } ?>
                            <li class="nav-item <?=($active=='news' ?'active open':'');?>">
	                            <a href="<?=base_url();?>admin/news" class="nav-link nav-toggle"> <i class="material-icons">event</i>
	                                <span class="title">News</span> <span class="btn_Req"><img src="http://blackboardindia.com/images/new.gif"></span> 
	                            </a>
	                        </li>						
	                    </ul>
	                </div>
                </div>
            </div>
            <!-- end sidebar menu --> 
			