<?php session_start();
   require_once("./config/config.php");
   $sql_tag = "SELECT * FROM meta_tag_setting WHERE pages = 'terms-condition'";
   $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_data = "SELECT * FROM page_master WHERE page_name = 'terms-condition'";
   $mydara_data = $conn->query($sql_data);
   $fetch_data = $mydara_data->fetchAll();
   $rows_data =$mydara_data->rowCount();
  
   if($rows_data !=0 ){
      foreach( $fetch_data  as $rowcon ) {
       
         $data = $rowcon['data'];
         
      }
   }

   
                // 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="terms-condition.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" />
      <!-- 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-->
      <section class="gap-top-subheader">
         <div class="sub-header h-auto py-4">
            <div class="container">
               <div class="row justify-content-center align-items-center">
                  <div class="col-lg-12 py-3">
                     <h1 class="h3 text-white fw-bold text-center">Terms Condition</h1>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!--Subheader Section End-->
      <!--bg-primary-gradient Section Begin-->
      <section class="bg-primary-gradient">
         <div class="container">
            <div class="row">
               <div class="col-md-12 ptb-50">
                  <nav aria-label="breadcrumb">
                     <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="index">Home</a></li>
                        <li class="breadcrumb-item active pt-1" aria-current="page">Terms Condition</li>
                     </ol>
                  </nav>
                  <h5 class="mb-3"><?=$short_title?></h5>
                  <div class="bg-white p-5 rounded-3">
                     <?=$data?>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!--bg-primary-gradient Section End-->
      <!--Hubspot subscribe form Begin-->
      <section class="bg-white py-5">
         <div class="container">
            <div class="row justify-content-center align-items-center g-5">
               <div class="col-md-6">
                  <div class="row">
                     <div class="col-lg-8">
                        <script charset="utf-8" type="text/javascript" src="https://js.hsforms.net/forms/embed/v2.js"></script>
                        <script>
                           hbspt.forms.create({
                              region: "na1",
                              portalId: "22164858",
                              formId: "37091fc7-7595-4ab4-99c2-33d1791e3ba9"
                           });
                        </script>
                     </div>
                     <div class="col-lg-4">
                        <img src="images/web-images/home/subscribe-img.png" title="subscribe" alt="subscribe" class="img-fluid">
                     </div>
                  </div>
               </div>
               <div class="col-md-5 ms-auto">
                  <div class="subscriber-now">
                     <div class="d-flex align-items-center mb-4">
                        <div class="flex-shrink-0">
                           <div class="imgwrap">
                              <svg width="30px" height="30px" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                                 <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                    <g id="Gift-Card-Home-Page-Copy" transform="translate(-216.000000, -4906.000000)" fill="#FFFFFF" fill-rule="nonzero">
                                       <g id="Group-7" transform="translate(196.000000, 4887.000000)">
                                          <path d="M37.4012,21.0050571 L32.5991,21.0050571 L35,19 L37.4012,21.0050571 Z M32.1182,40.9952463 L24.8543,35.1202589 L24.8543,22.0145646 L45.1454,22.0145646 L45.1454,35.1202589 L37.8815,40.9952463 L35,39.1467584 L32.1182,40.9952463 Z M28.2554,27.1855972 L42.1982,27.1855972 L42.1982,26.1248104 L28.2554,26.1248104 L28.2554,27.1855972 Z M28.2554,30.3081825 L42.1982,30.3081825 L42.1982,29.2473956 L28.2554,29.2473956 L28.2554,30.3081825 Z M28.2554,33.4310711 L42.1982,33.4310711 L42.1982,32.3702842 L28.2554,32.3702842 L28.2554,33.4310711 Z M23.8562,28.0758572 L20,31.1944978 L23.8562,34.3131385 L23.8562,28.0758572 Z M20.0273,32.5092546 L20.0273,48.7499747 L31.2269,41.566906 L20.0273,32.5092546 Z M21.5018,49 L48.4982,49 L35,40.3422676 L21.5018,49 Z M49.9727,48.7499747 L49.9727,32.5092546 L38.7731,41.566906 L49.9727,48.7499747 Z M46.1438,28.0758572 L46.1438,34.3131385 L50,31.1944978 L46.1438,28.0758572 Z" id="Shape"></path>
                                       </g>
                                    </g>
                                 </g>
                              </svg>
                           </div>
                        </div>
                        <div class="flex-grow-1 ms-3">
                           <p class="fst-italic">For More Savings </p>
                           <h5 class="fw-bold fst-italic pb-2">Subscribe Now</h5>
                           <p class="fs-12 ">We Take Care of Your Savings Subscribe now and save on everything with the latest Coupons & Discount offers. </p>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!--Hubspot subscribe form 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"><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
?>