<!-- Left side column. contains the logo and sidebar -->
<aside class="left-side sidebar-offcanvas">
	<!-- sidebar: style can be found in sidebar.less -->
	<section class="sidebar">
		<!-- Sidebar user panel -->
		<div class="user-panel">
			<div class="pull-left image">
				<img src="img/avatar3.png" class="img-circle" alt="User Image" />
			</div>
			<div class="pull-left info">
				<p><?php echo $this->session->userdata('fullname');?></p>

				<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
			</div>
		</div>
		<!-- search form -->
		<form action="" method="get" class="sidebar-form">
			<div class="input-group">
				<input type="text" name="q" class="form-control" placeholder="Search..."/>
				<span class="input-group-btn">
					<button type='submit' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
				</span>
			</div>
		</form>
		<!-- /.search form -->
		<!-- sidebar menu: : style can be found in sidebar.less -->
		<ul class="sidebar-menu">
			<li<?php echo $this->misc->listCActive("teacher");?>>
				<?php echo anchor('teacher', '<i class="fa fa-dashboard"></i> <span>Dashboard</span>');?>
			</li>
			<li class="treeview <?php echo $this->misc->listCActive("report",false,"start");?>">
				<a href="#">
					<i class="fa fa-bar-chart-o"></i>
					<span>Report</span>
					<i class="fa fa-angle-left pull-right"></i>
				</a>
				<ul class="treeview-menu">
					<li<?php echo $this->misc->listCActive("reports");?>><?php echo anchor('teacher/reports', '<i class="fa fa-angle-double-right"></i> Score summary');?></li>
					<!-- <li<?php echo $this->misc->listCActive("reportenroll");?>><?php echo anchor('teacher/reportenroll', '<i class="fa fa-angle-double-right"></i> Exam candidates');?></li>
					<li<?php echo $this->misc->listCActive("logreport");?>><?php echo anchor('teacher/logreport', '<i class="fa fa-angle-double-right"></i> Job history');?></li> -->
				</ul>
			</li>
			<li class="treeview <?php echo $this->misc->listCActiveAry(array("mycourses","courses","reqcourse"),false);?>">
				<a href="#">
					<i class="fa fa-laptop"></i>
					<span>Exam management</span>
					<i class="fa fa-angle-left pull-right"></i>
				</a>
				<ul class="treeview-menu">
					<li<?php echo $this->misc->listCActive("mycourses");?>><?php echo anchor('teacher/mycourses', '<i class="fa fa-angle-double-right"></i> My subjects');?></li>
					<!-- <li<?php echo $this->misc->listCActive("courses");?>><?php echo anchor('teacher/courses', '<i class="fa fa-angle-double-right"></i> Open Examination');?></li> -->
					<!-- <li<?php echo $this->misc->listCActive("reqcourse");?>><?php echo anchor('teacher/reqcourse', '<i class="fa fa-angle-double-right"></i> Request a new course');?></li> -->
				</ul>
			</li>
			<li<?php echo $this->misc->listCActive("qwarehouse");?>>
				<?php echo anchor('teacher/qwarehouse', '<i class="fa fa-edit"></i> <span>Examination</span>');?>
			</li>
		</ul>
	</section>
	<!-- /.sidebar -->
</aside>
