<?php
include_once("include/main.inc.php");
$faq = mysqli_query($dbcon, "select * from faq_tbl");
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- <title>FAQ's - Mangla Plastic Industries</title>
      <meta name=description content="FAQ's - Mangla Plastic Industries" />
      <meta name=keywords content="FAQ's - Mangla Plastic Industries" /> -->
       <?php include "top.php"; ?>
</head>
<body>
   <div class="webpulse-main-wrapper wrapper-wide" id="top">
     <?php include "header.php"; ?>
    <div class="clearfix"></div>
	<section class="heading_banner about_us_banner" style="background-image: url('<?=SITE_URL_PATH;?>/images/contact.jpg')">
  <div class="container">
    <div class="row">
      <div class="col-sm-12 col-lg-12 col-md-12 col-xl-12 col-xxl-12 text-center">
        <h1 class="cat_title">FAQ</h1>
        <div class="clearfix"></div>
      </div>
    </div>
  </div>
</section>
<div class="inner_breadcrumb hidden-xs">
  <div class="container">
    <div class="row">
      <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 col-12">
        <ul class="breadcrumb">
          <li><a href="<?=SITE_URL_PATH;?>" title="Home">Home</a></li>
          <li class="active">Faq</li>
        </ul>
      </div>
    </div>
  </div>
</div>
<section class="about_page">
  <div class="webpulse_tm_universal_title_holder">
    <div class="container">
      <div class="row">
        <div class="col-xxl-9 col-xl-9 col-lg-9 col-md-9 col-sm-9 col-lg-push-3 col-md-push-3 col-xs-12 col-12">
        <div class="right_side">
		<div class="title_holder_inner">
            <h2>Frequently Asked Questions</h2>
          </div>
		  <div class="wps_right">
         <div class="accordion-content">
             <?php 
              
                while ($faq_res = mysqli_fetch_array($faq)) { ?>
     <div class="accordion-item">
    <header class="item-header">
      <h4 class="item-question"><?php echo $faq_res['question'];?></h4>
      <div class="item-icon">
       <i class="fa-solid fa-angle-down"></i>
      </div>
    </header>
    <div class="item-content">
      <p class="item-answer"><?php echo html_entity_decode($faq_res['answer']); ?></p>
    </div>
  </div>
  <?php } ?>
</div>
 </div> </div>
      </div>
          <?php include 'about-left.php';?>
         </div>
    </div>
  </div>
</section>
<?php include 'testimonail.php';?>

         <?php include "footer.php"; ?>
</div>
      <?php include "bottom.php"; ?>
</body>
</html>