<?php session_start();
   require_once("./config/config.php");
   $sql_tag = "SELECT * FROM meta_tag_setting WHERE pages = 'contact'";
   $mydara_sql = $conn->query($sql_tag);
   $fetch_tag = $mydara_sql->fetchAll();
   $rows_tag =$mydara_sql->rowCount();
   
   if($rows_tag !=0 ){
      foreach( $fetch_tag  as $rowcon ) {
         $title = $rowcon['title'];
         $description  = $rowcon['description'];
         $keyword = $rowcon['keyword'];
      }
   }
   
   $sql = "SELECT * FROM contact_master ";
      
       $myquery=$conn->query($sql);
     $mydara= $myquery->fetchAll()  ;
     
     $rows_found = $myquery->rowCount();
     foreach ($mydara as $key ) {
        $banner_img = $key['banner_image'];
        $hubspot = $key['hubspot'];
        
     }

         // This is a code for php minifiers Begin
         ob_start("minifier");
         function minifier($code) {
             $search = array(
                  
                 // Remove whitespaces after tags
                 '/\>[^\S ]+/s',
                  
                 // Remove whitespaces before tags
                 '/[^\S ]+\</s',
                  
                 // Remove multiple whitespace sequences
                 '/(\s)+/s',
                  
                 // Removes comments
                 '/<!--(.|\s)*?-->/'
             );
             $replace = array('>', '<', '\\1');
             $code = preg_replace($search, $replace, $code);
             return $code;
         }
         // This is a code for php minifiers End
   
   ?>
<!DOCTYPE html>
<html lang="en">
   <head>
      <!-- Character set configuration -->
      <base href="<?=$base_link?>" target="_self">
      <meta charset="UTF-8" />
      <title><?=$title?></title>
      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
      <link id="favicon" rel="icon" type="image/x-icon" href="images/web-images/home/favicon.png"/>
      <meta name="robots" content="index, follow" />
      <link rel="canonical" href="contact.php"/>
      <meta name="description" content="<?=$description?>">
      <meta name="keywords" content="<?=$keyword?>">
      <!-- Viewport configuration, scaling options -->
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>

      <!-- CSS Stylesheet -->
      <link href="css/icouponworld.css" rel="stylesheet" />
      <!-- Font Awesome icon -->
      <link href="fontawesome/css/fontawesome.css" rel="stylesheet" />
      <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
      <!-- Google Analytics Code Begin-->
      <?=$google_ana ?>
      <!-- Google Analytics Code End-->
      <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
      <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
      <![endif]-->
   </head>
   <body>
         <!-- Preloader Begin-->
         <div class="preloader">
         <div class="loading">
           <img src="images/web-images/home/loader.gif" alt="loader" title="loader" class="mx-auto d-flex"> 
            <h2 class="text-center fw-light">loading...</h2>
         </div>
      </div>
      <!-- Preloader End-->
      <!--Header Begin-->
      <?php  
         include("./includefiles/header.php"); ?>
      <!--Header End-->
      <!--Overlay Begin-->
      <div id="overlay"></div>
      <!--Overlay End-->
      <!--Subheader Section Begin-->
      <?php include("./contentpages/contact/contact_header.php"); ?>
      <!--Subheader Section End--> 
      <!--Get in touch Begin-->
      <?php include("./contentpages/contact/contact.php"); ?>
      <!--Get in touch End-->
      <!--footer Section Begin-->
      <?php include("./includefiles/footer.php"); ?>
      <!--footer Section End-->
      <!--scroll to top Begin-->
      <button onclick="topFunction()" id="gobackToTop" title="Go To Top" alt="Go To Top"><i class="fas fa-angle-up"></i></button>
      <!--scroll to top end-->
      <!-- jquery-3.4.1.min js Begin-->
      <script src="js/jquery-3.4.1.min.js"></script>
      <!-- jquery-3.4.1.min js End-->
      <!-- bootstrap.bundle.min js Begin-->
      <script src="js/bootstrap.bundle.min.js"></script>
      <!-- bootstrap.bundle.min js End-->
      <!-- icouponworld js Begin-->
      <script src="js/icouponworld.js"></script>
      <!-- icouponworld js End-->
      <!--script for googleTranslateElementInit Begin-->
      <!-- <script>
         function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
      </script> -->
      <!--script for googleTranslateElementInit End-->
      <!--script for googleTranslate Begin-->
      <!-- <script src="js/googletranslate.js"></script> -->
      <!--script for googleTranslate End-->
   </body>
</html>
<?php
ob_end_flush();  // This is a code for php minifiers
?>