<?php
  $moduleAskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $moduleAskData->execute(array(
    'module_id' => 6
    ));
  $moduleCheckData=$moduleAskData->fetch(PDO::FETCH_ASSOC);

if ($moduleCheckData['status']==1){
?> <section class="tp-testimonial-area-three pt-115 pb-190 bg-gray-light">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="section-title-wrapper text-center mb-55">
                            <h2 class="tp-section-title-two color-theme-blue"><?php echo $langArray['TESTI_HEAD']; ?></h2>
                             <h5 class="tp-section-subtitle-three mb-20"><?php echo $langArray['TESTI_DESC']; ?>
                    </div>
                </div>
                <div class="tp-testimonial-three-shadow common-dots">
                    <div class="tp-testimonial-three-active swiper-container">
                        <div class="swiper-wrapper">
                                <?php
            $cusComAsk->execute(array(
              'status'          => 1,
              'language'        => $getLangCheck['language_id']
            ));
            while ($cusComCheck=$cusComAsk->fetch(PDO::FETCH_ASSOC)){
          ?>
                            <div class="tp-testimonial-two position-relative swiper-slide">
                                <div class="tp-testimonial-two-author mb-20">
                                   
                                    <div class="tp-testimonial-two-author-text">
                                        <span><?php echo $cusComCheck['mission']; ?></span>
                                        <h4 class="tp-testimonial-two-name"><?php echo $cusComCheck['name']; ?></h4>
                                    </div>
                                </div>
                                <p><?php echo $cusComCheck['comment']; ?> </p>
                                <div class="tp-testimonial-two-qoute">
                                    <i class="fal fa-quote-left"></i>
                                </div>
                            </div> <?php } ?>
                          
                        </div>
                    </div>
                    <!-- If we need pagination -->
                    <div class="swiper-pagination-testimonial slide-dots "></div>
                </div>
            </div>
        </section>
 
<?php } ?>
