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

if ($moduleCheckData['status']==1){
?>
  <section class="tp-fact-area blue-dark-bg pt-75 pb-20">
            <div class="container">
                <div class="row">
                   <?php
            $counterAsk->execute(array(
              'status'          => 1,
              'language'        => $getLangCheck['language_id']
            ));
            while ($counterCheck=$counterAsk->fetch(PDO::FETCH_ASSOC)){
          ?>
                    <div class="col-lg-3 col-sm-6">
                        <div class="tp-fact mb-50 text-center  wow fadeInUp" data-wow-delay=".2s">
                            <div class="tp-fact-icon mb-60">
                                <i  style="color: white; margin-left: -30px;" class="fa <?php echo $counterCheck['icon']; ?> fa-3x "></i>
                            </div>
                            <div class="tp-fact-text">
                                <h2 class="tp-fact-text-title white-color mb-20"><?php echo $counterCheck['count']; ?></h2>
                                <h5 class="tp-fact-text-subtitle white-color"><?php echo $counterCheck['name']; ?></h5>
                            </div>
                        </div>
                    </div> <?php } ?>
                </div>
            </div>
        </section>

<?php } ?>
