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

   
 <h3><?php echo $title;?></h3>
    <div class="row">
 
  <div class="col-lg-6">
    <form method="post" action="<?php echo site_url('user/admin_list');?>">
	<div class="input-group">
    <input type="text" class="form-control" name="search" placeholder="<?php echo $this->lang->line('search');?>...">
      <span class="input-group-btn">
        <button class="btn btn-default" type="submit"><?php echo $this->lang->line('search');?></button>
      </span>
	 
	  
    </div><!-- /input-group -->
	 </form>
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->


  <div class="row">
 
<div class="col-md-12">
<br> 
			<?php 
		if($this->session->flashdata('message')){
			echo $this->session->flashdata('message');	
		}
		?>	
		
<table class="table table-bordered">
<tr>
<th><?php echo $this->lang->line('uid');?> </th>
 <!--<th>Registration No.</th>-->
 <th><?php echo $this->lang->line('email');?></th>
<th><?php echo $this->lang->line('name');?></th>
<th><?php echo $this->lang->line('account_status');?> </th>
<th><?php echo $this->lang->line('contact_no');?> </th>
<!--<th><?php echo $this->lang->line('branch');?></th>
<th><?php echo $this->lang->line('pct_10');?></th>
<th><?php echo $this->lang->line('pct_12');?> </th>
<th><?php echo $this->lang->line('cgpa');?> </th>
<th><?php echo $this->lang->line('dob');?> </th>-->
<th><?php echo $this->lang->line('action');?> </th>
</tr>
<?php 
if(count($result)==0){
	?>
<tr>
 <td colspan="3"><?php echo $this->lang->line('no_record_found');?></td>
</tr>	
	
	
	<?php
}
foreach($result as $key => $val){
?>
<tr>
<td><?php echo $val['uid'];?></td>
<!--<td><?php echo $val['reg_no'];?></td>-->
<td><?php echo $val['email'].' '.$val['wp_user'];?></td>
<td><?php echo $val['name'];?> </td>
 <td><?php echo $val['user_status'];?></td>
 <td><?php echo $val['contact_no'];?></td>
 <!--<td><?php echo $val['branch'];?></td>
 <td><?php echo $val['pct_10'];?></td>
 <td><?php echo $val['pct_12'];?></td>
 <td><?php echo $val['cgpa'];?></td>
 <td><?php echo $val['dob'];?></td>-->
<td>
 
<a href="<?php echo site_url('user2/view_user/'.$val['uid']);?>"><i class="fa fa-eye" title="View Profile"></i></a>
 
<a href="<?php echo site_url('user/edit_admin/'.$val['uid']);?>"><img src="<?php echo base_url('images/edit.png');?>"></a>
<?php
if($val['uid']!=1){
?>
<a href="javascript:remove_entry('user/remove_admin/<?php echo $val['uid'];?>');"><img src="<?php echo base_url('images/cross.png');?>"></a>
<?php
}
?>

</td>
</tr>

<?php 
}
?>
</table>
</div>

</div>


<?php
if(($limit-($this->config->item('number_of_rows')))>=0){ $back=$limit-($this->config->item('number_of_rows')); }else{ $back='0'; } ?>

<a href="<?php echo site_url('user/index/'.$back);?>"  class="btn btn-primary"><?php echo $this->lang->line('back');?></a>
&nbsp;&nbsp;
<?php
 $next=$limit+($this->config->item('number_of_rows'));  ?>

<a href="<?php echo site_url('user/index/'.$next);?>"  class="btn btn-primary"><?php echo $this->lang->line('next');?></a>





</div>
