<div class="col-md-2 dashborder-left">
<ul>
<?php  $uri2=$this->uri->segment(2);?>
<a href="<?= base_url('admin')?>"><li class="<?php if($uri2==''){ echo 'active'; }?>"><i class="fa fa-tachometer"></i> Dashboard </li></a>
<a href="<?= base_url('admin/subadmin')?>"><li class="<?php if($uri2=='subadmin'){ echo 'active'; }?>"><i class="fa fa-suitcase"></i>Sub Admin</li></a>
<a href="<?= base_url('admin/position')?>"><li class="<?php if($uri2=='position'){ echo 'active'; }?>"><i class="fa fa-suitcase"></i>Positions</li></a>

<a href="<?= base_url('admin/add_position')?>"><li class="<?php if($uri2=='add_position'){ echo 'active'; }?>"><i class="fa fa-users"></i> Add Position</li></a>

<a href="<?= base_url('admin/candidate')?>"><li class="<?php if($uri2=='candidate'){ echo 'active'; }?>"><i class="fa fa-user-circle-o"></i> Candidates</li></a>
<a href="<?= base_url('admin/add_candidate')?>"><li class="<?php if($uri2=='add_candidate'){ echo 'active'; }?>"><i class="fa fa-user-circle-o"></i> Add Candidates</li></a>

<a href="<?= base_url('Admin/view_employer')?>"><li class="<?php if($uri2=='view_employer'){ echo 'active'; }?>"><i class="fa fa-user-circle-o"></i> View Employer</li></a>

<a href="<?= base_url('Admin/add_employer')?>"><li class="<?php if($uri2=='add_employer'){ echo 'active'; }?>"><i class="fa fa-user-circle-o"></i> Add Employer</li></a>

<a href="<?= base_url('Admin/view_cosultant')?>"><li class="<?php if($uri2=='view_cosultant'){ echo 'active'; }?>"><i class="fa fa-user-circle-o"></i> View Consultant</li></a>

<a href="<?= base_url('Admin/add_consultant')?>"><li class="<?php if($uri2=='add_consultant'){ echo 'active'; }?>"><i class="fa fa-user-circle-o"></i> Add Consultant</li></a>

</ul>
</div>