<?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>  No. of Openings
</h4></div>
<div class="col-md-6" style="text-align:right;">
<form class="form-inline" action="<?= base_url('admin/opening')?>">


<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="">
      <div class="row ">
          <div class="col-md-12 tiles" style="text-align:center;">
                <span><a href="">Infomation Technology</a></span>    
                <span><a href="">Sales and marketing</a></span>
                <span><a href="">&nbsp;&nbsp;&nbsp;Operation &nbsp; &nbsp;&nbsp;</a></span>
                <span><a href="">&nbsp;&nbsp;Engineering&nbsp;&nbsp;</a></span>    
          </div>
      </div>
      <div class="row">
        <div class="col-md-12 tiles" style="text-align:center;">
            <span><a href="">Architect/Interior designer</a></span> 
           <span> <a href="">&nbsp; &nbsp; Export/Import &nbsp; &nbsp;</a></span>  
           <span><a href="">Anchoring/TV/Films/Production</a></span>   
            <span><a href="">Legal/law</a></span>  
        </div>
    </div>
</div><br> -->
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
        <thead>
        <tr>
        <th>S.no.</th>
        <th>Job. Id</th>
        <th>Position</th>
        <th>No. of Openings</th>
        <th>Location</th>
        <th>Exp. Range</th>
        <th>CTC</th>
        <th>TAT</th>
        <th>JD</th>
        
        </tr>
        </thead>
        <tbody>
        	<?php $i=1; foreach($position as $p){?>
        <tr>
        <td><?= $i; ?></td>
        <td><?= $p['job_id']?></td>
        <td><?= $p['position']?> 
        </td>
        <td><?= $p['position_no']?></td>
        <td><?= $p['location']?></td>
        <td><?= $p['exp']?></td>
        <td><?= $p['ctc']?></td>
        <td><?= $p['tat']?></td>
        <td><a target="_blank" href="<?= base_url('uploads/position/'.$p['jd'])?>">View JD</a></td>
        
        </tr>
    <?php $i++; }?>
        
        </tbody>
        </table>
        </div>
</div>
</div>
</div>



</div>


</div>





</div>


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