<?php include "include/header.php"; ?>
<?php foreach($product as $row); ?>
<section class="sec-title text-white">
  <div class="container">

              <div class="row">
    <h2><?php echo $row->p_name; ?></h2> 
    </div>
    </div> 

    </section>

 <section class="sec-products padding-70">
        
          <dir class="container">

              <div class="row">
                  
                  <div class="col-12 col-md-6 col-lg-6">
                        <img src="<?php echo base_url();?>assets/uploads/news/product_<?php echo $row->p_id.'.jpg';?>" style="width: 100%; height: auto;border:none; margin-bottom: 50px;">
                    
                  </div>
                  <div class="col-12 col-md-6 col-lg-6">
                    <?php if($row->p_description =='')
                    {
                      echo 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries.';


                    }else{
                      echo $row->p_description;
                    }
                    ?>
                      
                     <div class="enquiry">
                      <div class="contact-btn">

                        <a href="<?php echo base_url();?>enquiry-now/<?php echo rm_blank($row->p_name);?>/<?php echo base64_encode($row->p_id);?>" class="btn btn-primary">Enquiry Now</a>&nbsp;&nbsp;   </div>

                     </div>
                  </div>

                 

                  
                
              </div>
            
          </dir>
      </section>

      <div class="modal" tabindex="-1"  id="exampleModal" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Enquiry Now</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <p>Modal body text goes here.</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary">Save changes</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>

        <!---section end--->


<?php include "include/footer.php"; ?>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<script type="text/javascript">
  
  $(".sec-products table").addClass("table");
  

</script>















