<div class="span3">
  <div class="well sidebar-nav">
    <ul class="nav nav-list">
      <li class="nav-header"> Student</li>
      <li <?php if($i == 1) echo 'class="active"'; ?> ><a href="index.php"><img src="images/16x16/home.png" /> Home</a></li>
      <li <?php if($i == 11) echo 'class="active"'; ?> ><a href="campus.php"><img src="images/16x16/enterprise.png" /> Campus</a></li>
      <li <?php if($i == 9) echo 'class="active"'; ?> ><a href="course.php"><img src="images/16x16/courses.png" /> Course</a></li>
      <li <?php if($i == 10) echo 'class="active"'; ?> ><a href="tuition.php"><img src="images/16x16/shopping_basket_add.png" /> Tuition</a></li>
      <li class="nav-header"> Others</li>
      <li <?php if($i == 8) echo 'class="active"'; ?> ><a href="use.php"><img src="images/16x16/reports.png" /> System Use</a></li>
      <li><a href="calendar/index.php" target="_blank"><img src="images/16x16/calendar_selection_all.png" /> Calendar</a></li>
      <li class="nav-header"> Marks</li>
      <li <?php if($i == 3) echo 'class="active"'; ?> ><a href="modules.php"><img src="images/16x16/lessons.png" /> Modules</a></li>
      <li <?php if($i == 4) echo 'class="active"'; ?> ><a href="marks.php"><img src="images/16x16/tests.png" /> Marks</a></li>
      <li <?php if($i == 7) echo 'class="active"'; ?> ><a href="results.php"><img src="images/16x16/unit.png" /> Results</a></li>
      <li class="nav-header"> Time Table</li>
      <li <?php if($i == 5) echo 'class="active"'; ?> ><a href="time_table.php"><img src="images/16x16/glossary.png" /> Class</a></li>
      <li <?php if($i == 6) echo 'class="active"'; ?> ><a href="exam.php"><img src="images/16x16/glossary.png" /> Exam</a></li>
      <li class="nav-header"> Profile</li>
      <li <?php if($i == 12) echo 'class="active"'; ?> ><a href="gurdian.php"><img src="images/16x16/users.png" /> My Gurdian</a></li>
	  <li <?php if($i == 2) echo 'class="active"'; ?> ><a href="my-profile.php"><img src="images/16x16/user.png" /> My profile</a></li>
       <li><a href="logout.php"><img src="images/16x16/lock.png" /> Logout</a></li> 
    </ul>
  </div>
</div>