<div class="container">
    <div class="row">
        <div class="col-md-2">
            <div class="panel panel-default">
                
                <!--Left panel heading-->
                <div class="panel-heading">
                    <h3 class="panel-title">Career Listings</h3>
                </div>

                 <!--Left panel body-->
                <div class="panel-body">
                    <ul class="nav nav-pills nav-stacked">
                        <li class="active"><a href="<?php echo base_url(); ?>careers_market_listings/job_listings">
                                <span class="badge pull-right"><?php echo $total; ?></span>
                                Jobs</a></li>
                        <li><a href="<?php echo base_url(); ?>careers_market_listings/resume_listings">
                                <span class="badge pull-right"><?php echo $ptotal; ?></span>
                                Resumes</a></li>
                    </ul>
                    

<div class="panel-group" id="accordion">
  <div class="panel panel-default">
    <div class="panel-heading">
      <h4 class="panel-title">
        <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
          Search
        </a>
      </h4>
    </div>
    <div id="collapseOne" class="panel-collapse collapse">
      <div class="panel-body">
          
          <?php echo form_open('careers_market_listings/search_job_listings'); ?>
          
<!--          <div class="form-group">
              <label class="radio-inline">
                  <input id="inlineradio1" name="sampleinlineradio" type="radio" value="Monthly" <?php // echo set_radio('sampleinlineradio', 'Monthly', TRUE); ?>>
                  Monthly</label>
          </div>
          <div class="form-group">
              <label class="radio-inline">
                  <input id="inlineradio2" name="sampleinlineradio" type="radio" value="Weekly" <?php // echo set_radio('sampleinlineradio', 'Weekly'); ?>>
                  Weekly</label>
          </div>-->
                   
          <div class="form-group">
              <div  id="btnMrgn" class="col-sm-8">
                  <button type="submit" class="btn btn-primary btn-xs">Search 
                      <i class="glyphicon glyphicon-search"></i></button>
              </div>
          </div>
          
          <?php echo form_close(); ?>
      
      </div>
    </div>
  </div>
</div>
                    
                    
                    
                </div>
            </div>
        </div>

        
        

<!--Mid panel heading-->
<div class="col-md-10">
            <div class="well panel panel-default">
                <div class="panel-heading">

        <p>Exclusive Global Manpower Solution Provider in Aero Engine Industry</p>
	<p><li>C-Level, Executive, Managers, Engineers, Financiers, Mechanics</li></p>
	<p><li>Airlines, OEMs, MRO, Lessors, Academia, Supply Chain</li></p>
        <p><li>Confidential, Retained Search, Public Job Postings, Cloud Based</li></p>
        <p>Welcome to the only and exclusive aircraft engine career site in the world available to all OEMs, Service providers, suppliers and recruiting firms who are seeking high achiever talents. The hiring companies can post their full time, part time and intern position. Job seekers can actively maintain a resume online for hiring companies. IAEA is planning to add online chat option between hiring companies and potential member candidates to expedite the screening process and complete all applications online. The career listing will be shared through a regular newsletter to the member companies and individuals.</p>


                </div>
            </div>
        </div>
<div class="col-md-2">
        </div>
        
<div class="col-md-10">
    <div class="panel panel-default">
        <div class="panel-heading">Jobs
            
            
        </div>
        
        <!--Mid panel body-->        
        <div class="panel-body">
            
        <?php echo validation_errors('<p class="alert alert-dismissable alert-danger">'); ?>

        <?php if ($this->session->flashdata('msg_sent')) : ?>
        <p class="alert alert-dismissable alert-success"><?php echo $this->session->flashdata('msg_sent'); ?></p>
        <?php endif; ?>
        
        
           
        
        <table style="font-size: 13px;" class="table table-bordered table-hover table-condensed">
    <thead>
        <tr>
           <th class="col-md-2" <?php if($sort_by == 'company_name') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/company_name/" .
                      (($sort_order == 'asc' && $sort_by == 'company_name') ? 'desc' : 'asc') ,
                      'Company Name: '); ?></th>
		  <th class="col-md-2" <?php if($sort_by == 'position_name') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/position_name/" .
                      (($sort_order == 'asc' && $sort_by == 'position_name') ? 'desc' : 'asc') ,
                      'Position: '); ?></th>
          <th class="col-md-1" <?php if($sort_by == 'job_type') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/job_type/" .
                      (($sort_order == 'asc' && $sort_by == 'job_type') ? 'desc' : 'asc') ,
                      'Job Type: '); ?></th>
          <th class="col-md-2" <?php if($sort_by == 'city') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/city/" .
                      (($sort_order == 'asc' && $sort_by == 'city') ? 'desc' : 'asc') ,
                      'City: '); ?></th>
		  <th class="col-md-1" <?php if($sort_by == 'state') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/state/" .
                      (($sort_order == 'asc' && $sort_by == 'state') ? 'desc' : 'asc') ,
                      'State: '); ?></th>
          <th class="col-md-2" <?php if($sort_by == 'country') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/country/" .
                      (($sort_order == 'asc' && $sort_by == 'country') ? 'desc' : 'asc') ,
                      'Country: '); ?></th>
          <th class="col-md-2" <?php if($sort_by == 'closing_date') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/closing_date/" .
                      (($sort_order == 'asc' && $sort_by == 'closing_date') ? 'desc' : 'asc') ,
                      'Closing Date: '); ?></th>
          <th class="col-md-2" <?php if($sort_by == 'job_phone') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/job_phone/" .
                      (($sort_order == 'asc' && $sort_by == 'job_phone') ? 'desc' : 'asc') ,
                      'Phone: '); ?></th>
		  <th class="col-md-2" <?php if($sort_by == 'job_email') echo "id=\"sort_$sort_order\"" ?>><?php echo anchor("careers_market_listings/job_listings/job_email/" .
                      (($sort_order == 'asc' && $sort_by == 'job_email') ? 'desc' : 'asc') ,
                      'E-Mail: '); ?></th>
          <th></th>
        </tr>
    </thead>
    <tbody>
        <?php if(!empty($jlistings) ) { ?> 
          <?php foreach($jlistings as $list) : ?>
        <tr>
        <!--<tr data-toggle="collapse" data-target="#<?php // echo $list->id; ?>" class="accordion-toggle">-->
          <td><?php echo $list->company_name; ?></td>	
          <td><a href="<?php echo base_url(); ?>careers_market_listings/display_joblisting/<?php echo $list->listing_id; ?>"><?php echo $list->position_name; ?></a></td>
          <td><?php echo $list->job_type; ?></td>
          <td><?php echo $list->city; ?></td>
		      <td><?php echo $list->state; ?></td>
		      <td><?php echo $list->country; ?></td>
          <td><?php echo $list->closing_date; ?></td>
          <td><?php echo $list->job_phone; ?></td>
		      <td><?php echo $list->job_email; ?></td>
            
            <td>
              
              <a href="<?php echo $list->listing_id; ?>" data-va="<?php echo $list->job_email; ?>" data-id="<?php echo $list->listing_id; ?>"><i class="glyphicon glyphicon-envelope"></i></a>
        </a>
           
              
              
          </td>
            
        </tr>
       
         <?php endforeach; ?>
         <?php } ?>
    </tbody>
</table>
        
        
        </div>
        
        <!--Mid panel footer-->
        <div class="panel-footer">
            <div class="row">
                <div class="col-md-4">
                    
                     <?php if(!empty($start) && !empty($end)) { ?>
                    
                    Showing: <span id="label" class="label"><?php echo $start; ?> to <?php echo $end; ?> of <?php echo $total; ?> entries</span>
                
                    <?php } ?>
                </div> 
                <div class="col-md-7 pull-right">
                    <div id ="pgcol" class="pgPaginate" id="paginateInfo"> 
                        <?php echo $jlinks; ?>
                    </div>
                </div>
            </div>  
        </div>
        
        
    </div>
</div>
    </div>
</div>


   

