<?php $this->load->view('admin/common/header'); ?>


<div class="dashborder-content">

<div class="container-fluid">
<div class="row">

<?php $this->load->view('admin/common/sidebar'); ?>


<div class="col-md-10">




<div class="row">

<div class="col-md-12 ">
<div class="panel panel-bd lobidrag lobipanel lobipanel-sortable " data-inner-id="6lbDiPQUBj" data-index="0">
<div class="panel-heading ui-sortable-handle">
<div class="panel-title" style="max-width: calc(100% - 180px);">

<div class="row">

<div class="col-md-6" style="padding-top: 4px;"><h4> Employeer</h4></div>
<div class="col-md-6" style="text-align:right;">
<form class="form-inline">


<div class="input-group" style="width:100% !important;">

<input type="text" class="form-control" name="search" placeholder="Search Here" style="font-size:12px;">
<div class="input-group-addon btn"><i class="fa fa-search"></i>
</div>
</div>


</form>

</div>

</div>
</div>
</div>
<div class="panel-body">

<div class="table-responsive">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>S.no.</th>
<th>User Id</th>
<th>Name</th>
<th>Email</th>
<th>Password</th>
<th>phone</th>
<th>Company Name</th>
<th>Employee Range</th>
<th>Employee Location</th>
<th>About Company</th>
<th>Address</th>
<th>Status</th>
</tr>
</thead>
<tbody>
 <?php $i=1; foreach($employer as $c){?>
<tr>
<td><?= $i; ?></td>
<td><?= $c['user_id']?></td>
<td><?= $c['name']?></td>
<td><?= $c['email']?></td>
<td><?= $c['confirm_password']?></td>
<td><?= $c['phone']?></td>
<td><?= $c['company_name']?></td>
<td><?= $c['employee_range']?></td>
<td><?= $c['company_location']?></td>
<td><?= $c['about_company']?></td>
<td><?= $c['company_address']?></td>

<td> 
<form  action="<?=base_url('admin/estatus_update')?>" method="post" >
<input type="hidden" value="<?= $c['id']?>"  name="id">
<select  class="form-control" name="status" onchange="this.form.submit()">
<option <?php if($c['status']==1){ echo 'selected'; } ?> value="1">Active</option>
<option <?php if($c['status']==0){ echo 'selected'; } ?> value="0" >Inactive</option>
</select>
</form>
 </td>
</tr>
<?php $i++; }?>

</tbody>
</table>
<?= $links; ?>
</div>
</div>
</div>
</div>



</div>


</div>



</div>
</div>

</div>


<?php $this->load->view('admin/common/footer'); ?>
