<div id="mySidenav" class="sidenav">
<a href="#" class="nh">
<!--<img src="<?php echo base_url();?>assets/img/mtmhss-logo.jpg" class="gems-logo">-->
<span class="gems-logo"><?php echo $this->session->userdata('teacher_name'); ?></span>
<a href="javascript:void(0)" class="closebtn clss" onclick="closeNav()">&times;</a></a>
  
<a href="<?php echo base_url();?>Welcome" class="item1"><i class="fa fa-fw fa-home"></i>  <span>Home</span></a>
<a href="<?php echo base_url();?>school/profile" class="item1"><i class="fa fa-fw fa-user"></i>  <span>Profile </span> <i class="fas fa-caret-left"></i></a>

<!--<a href="#" class="item1"><i class="fas fa-calendar-alt"></i>  <span>Time Table</span> <i class="fas fa-caret-left"></i></a>-->


<button class="dropdown-btn"><i class='fas fa-calendar-alt'></i> <span>Attendance</span><i class="fa fa-caret-down"></i></button>
<div class="dropdown-container">
<a href="#">Staff Attendance</a>
<a href="#">Staff Attendance Report</a>
<a href="#">Student Attendance</a>
<a href="#">Student Attendance Report</a></div>



<button class="dropdown-btn"><i class="fas fa-file-alt"></i><span>All Students</span><i class="fa fa-caret-down"></i></button>
<div class="dropdown-container">
<a href="#"><i class="fas fa-plus-circle"></i> Add New Student</a>
<a href="#">All Students</a>
</div>



<?php if($this->session->userdata('fee_permission')==1){
?>
<button class="dropdown-btn"><i class="fab fa-cc-mastercard"></i> <span>Fee</span><i class="fa fa-caret-down"></i></button>
<div class="dropdown-container">
<a href="<?php echo base_url();?>StudentFee/dashboard"><i class="fas fa-plus-circle"></i> Pay Fee</a>
<a href="#">Defaulter</a>
<a href="#">Fee Invoices</a>
<a href="#">Fee Card</a>
<a href="#"><i class="fas fa-plus-circle"></i> Add Student</a>
</div>
<?php 
}
?>


<button class="dropdown-btn"><i class="fas fa-file-alt"></i> <span>Documentation</span>
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-container">
<a href="#">All Students</a>
<a href="#"><i class="fas fa-plus-circle"></i> TC</a>
<a href="#"><i class="fas fa-plus-circle"></i> Student Certificate</a>
<a href="#">Reports</a> 
</div>


<button class="dropdown-btn"><i class="fas fa-laptop"></i>  <span>Online Education</span>
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-container">
<a href="#"><i class="fas fa-plus-circle"></i> Add New Content</a>
<a href="#">My Classes & Subjects</a>
<a href="#"><i class="fas fa-plus-circle"></i> Add New Chapter</a>
<a href="#">All Chapters</a>
<a href="#">All Content</a>
</div>


<button class="dropdown-btn"><i class="fas fa-laptop"></i>  <span>Education Management</span>
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-container">
<a href="#"><i class="fas fa-plus-circle"></i> Add New Class</a>
<a href="#">All Classes</a>
<a href="#"><i class="fas fa-plus-circle"></i> Add New Subject</a>
<a href="#">All Subjects</a>
<a href="#">Allot Subjects</a>
</div>

<a href="<?php echo base_url();?>logout" class="item1"><span> Logout </span>  <i style="margin-left: 15px;" class="fas fa-sign-out-alt"></i>  </a>

<!-- <div class="item1">  -->

<!-- </div> -->



</div>
<div class="navbar">

<!-- <i class="fa fa-fw fa-home"></i> -->

<a class="active" href="#"><span style="font-size:20px;cursor:pointer;margin-right:10px;box-shadow: 0 0 1px #fff;text-align:center;font-weight: 700;background-color:#263571;border-radius:5px;padding:10px;" onclick="openNav()">&#9776; </span><span style="font-weight:700; text-align:center;color:#263571;">MTMHSS UNIT-2</span> </a> 
<!--   <a href="#"><i class="fa fa-fw fa-search"></i> Search</a> 
<a href="#"><i class="fa fa-fw fa-envelope"></i> Contact</a> 
<a href="#"><i class="fa fa-fw fa-user"></i> Name</a> -->
</div>