<?php session_start();
   require_once("./config/config.php");
   $sql_tag = "SELECT * FROM meta_tag_setting WHERE pages = 'login'";
   $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'];
      }
   }

         // 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="login.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" />
      <!-- Owl Stylesheets -->
      <!-- <link rel="stylesheet" href="css/owl.carousel.min.css">
      <link rel="stylesheet" href="css/owl.theme.default.min.css"> -->
       <!-- validation.css Begin-->
      <link href="css/validation.css" rel="stylesheet">
       <!-- validation.css End-->
       <!-- sweetalert.min.js Begin-->
      <script src="js/sweetalert.min.js"></script>
       <!-- sweetalert.min.js End-->
      <!-- 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-->
      <!--gap-top-subheader Section Begin-->
      <section class="gap-top-subheader">
         <div class="sub-header h-auto py-4">
            <div class="container">
               <div class="row">
                  <div class="col-lg-12 py-3">
                     <h1 class="h3 text-white text-center fw-bold">Sign in to our platform</h1>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!--gap-top-subheader Section End-->
      <!--Sign in to our platform Begin-->
      <?php include("./contentpages/signin.php");   ?>
      <!--Sign in to our platform 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-->
      <!--jquery.validationEngine-en.js js Begin--> 
      <script src="js/jquery.validationEngine-en.js" type="text/javascript"></script>
        <!--jquery.validationEngine-en.js End--> 
      <!--jquery.validationEngine.js Begin--> 
      <script src="js/jquery.validationEngine.js" type="text/javascript" > </script>
      <!--jquery.validationEngine.js End--> 
       <!--script for validationEngine Begin-->
      <script>
         jQuery(document).ready(function() {
           jQuery("form").validationEngine(); 
         });
      </script> 
        <!--script for validationEngine 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
?>