 <?php include("include/header.php"); ?>
  
  <!-- Start main-content -->
  <div class="main-content bg-lighter">
    <!-- Section: inner-header -->
   <section class="inner-header divider  " data-bg-img="images/6.jpg">
      <div class="container pt-30 pb-30">
        <!-- Section Content -->
        <div class="section-content">
          <div class="row"> 
            <div class="col-sm-12 text-center flip xs-text-center">
              <h2 class="title text-white">Jobs </h2>
            
            </div>
            
          </div>
        </div>
      </div>
    </section>

    <!-- Section: About -->
    <section id="about">
      <div class="container mt-50 pb-70 pt-0">
        <div class="section-content">
          <div class="row mt-10">
            <div class="col-sm-12 col-md-12 mb-sm-20 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.5s">
             <div data-example-id="simple-responsive-table" class="bs-example"> 
             <div class="table-responsive">
              <table class="table">
               <thead> 
               <tr> 
               <th>No</th>
                <th>Job Title</th>
                 <th>Open Date</th> 
                 <th>Close Date</th>
                  <th>Job Details</th>
                  <th>Status</th>
                  
                     </tr> 
                     </thead>
                      <tbody>
                      
                       <?php $sq5 = "SELECT * FROM `product`";

$lanews = $db->select($sq5,$limit,$page);



 ?>
             <?php
			 $slno=0;
  foreach($lanews as $list){ 
  $slno++;
?>
                       <tr> 
                       
    
                       <th scope="row"><?php echo $slno;?></th>
                        <td><?php echo $list['p_title']; ?></td>
                         <td><?php echo $list['Gold_Weight']; ?></td>
                          <td><font color="#FF0000"><?php echo $list['gross_Weight_stone']; ?></font></td>
                    
                            <td> <a class="popup-with-move-anim" href="#<?php echo $slno;?>" ><font color="#000000">View Details</font></a></td>

                           
            

<div id="<?php echo $slno;?>" class="modal-promo-box mfp-hide bg-lightest">  
<h1 style="font-size:24px; text-transform:uppercase;"><?php echo $list['p_title']; ?></h1>
  <p><?php echo $list['content']; ?></p>
  </div>

                           
                           
                           
                            <td> <a href="inquiry.php?imageid=<?php echo $list['id']; ?>"><button type="button" class="btn btn-success" style="padding:6px;">Apply Now</button></a></td> 
                           </tr>
                           
                           <?php }?>
                            
                            
                       </table> </div> 
                            
                            <script type="text/javascript">
                            
                            
                            
                            $(document).ready(function() {
  $('.popup-with-zoom-anim').magnificPopup({
    type: 'inline',

    fixedContentPos: false,
    fixedBgPos: true,

    overflowY: 'auto',

    closeBtnInside: true,
    preloader: false,
    
    midClick: true,
    removalDelay: 300,
    mainClass: 'my-mfp-zoom-in'
  });

  $('.popup-with-move-anim').magnificPopup({
    type: 'inline',

    fixedContentPos: false,
    fixedBgPos: true,

    overflowY: 'auto',

    closeBtnInside: true,
    preloader: false,
    
    midClick: true,
    removalDelay: 300,
    mainClass: 'my-mfp-slide-bottom'
  });
});

                            
                            </script>
                            
                            
                            
                             </table> </div> 
                            
                            
              </div>
              
            </div>
            
          </div>
        </div>
      </div>
    </section>

    <!-- Section: teachers -->
    

    <!-- Divider: Reservation Form -->
    

    <!-- Divider: Clients -->
     

  </div>
  <!-- end main-content -->
  
  <!-- Footer -->
 <?php include("include/footer.php"); ?>