<?php session_start();
   require_once("./config/config.php");
   $sql_tag = "SELECT * FROM meta_tag_setting WHERE pages = 'product'";
   $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="product.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"> -->
      <!-- 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-->
      <!--carousel Section Begin-->
      <!-- <section class="gap-top">
         <div class="container">
            <div class="row">
               <div class="col-md-12">
                  <img src="images/product/banner-large.jpg" alt="banner" class="img-fluid w-100 rounded-3 mt-4">
               </div>
               
            </div>
         </div>
         </section> -->
      <!--carousel Section End-->
      <!--"gap-top-subheader Section Begin-->
      <section class="gap-top-subheader">
         <div class="sub-header h-auto py-3">
            <div class="container">
               <div class="row justify-content-center align-items-center">
                  <div class="col-lg-3">
                     <nav aria-label="breadcrumb">
                        <ol class="breadcrumb">
                           <li class="breadcrumb-item"><a href="index">Home</a></li>
                           <li class="breadcrumb-item active" aria-current="page">Product</li>
                        </ol>
                     </nav>
                     <div class="green-box">
                        <h4 class="text-white text-uppercase">all <br> Product</h4>
                     </div>
                  </div>
                  <div class="col-lg-9">
                     <div class="box-right">
                        <h1 class="h4 text-white pb-2">Find the best Product</h1>
                        <p class="fs-12 text-white">A Icouponworld product is a type of product that consumers usually buy after comparing different alternatives based on criteria such as price, quality, and features. Icouponworld products are typically more expensive than convenience products and are often purchased less frequently.Examples of shopping products may include electronics such as laptops, smartphones, or televisions, appliances such as refrigerators or washing machines, and clothing items such as suits, dresses, or shoes. Consumers may spend a significant amount of time researching and evaluating different options before making a purchase decision for these types of products. <span class="dots">.... </span>
                           <span class="hiding">Marketing strategies for Icouponworld products often include providing detailed product information, showcasing product features and benefits, and highlighting competitive pricing. Retailers may also use tactics such as offering promotions, discounts, and financing options to entice consumers to make a purchase..</span>  
                           <span class="read-more text-white cursor-pointer">Show More</span>
                           <span class="show-less hiding text-white cursor-pointer">Show Less</span>
                        </p>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!--"gap-top-subheader Section End--> 
      <!--Best Selling Electronics Brands Section Begin-->
      <section class="bg-primary-gradient py-4">
         <div class="container">
            <div class="row">
               <div class="col-md-6">
                  <div class="bottom-line">
                     <h6 class="h5 mb-4">Best Selling Brands</h6>
                  </div>
               </div>
               <div class="col-md-6">
                  <div class="view-all-details">
                     <a href="view-all-product" class="btn btn-outline-dark">
                        <span>
                           View All 
                           <i>
                              <svg style="transform:rotate(90deg)" width="8px" height="13px" viewBox="0 0 8 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                                 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                    <g transform="translate(-1228.000000, -4044.000000)" fill="#fff" fill-rule="nonzero">
                                       <path d="M1235.71217,4051.14357 L1229.6777,4056.73319 C1229.29383,4057.08894 1228.67146,4057.08894 1228.28778,4056.73319 C1227.90407,4056.37775 1227.90407,4055.80127 1228.28778,4055.44587 L1233.62736,4050.49991 L1228.28794,4045.55412 C1227.90423,4045.19854 1227.90423,4044.62212 1228.28794,4044.26668 C1228.67165,4043.91111 1229.29399,4043.91111 1229.67785,4044.26668 L1235.71233,4049.85639 C1235.90418,4050.03419 1236,4050.26698 1236,4050.49988 C1236,4050.73289 1235.90399,4050.96585 1235.71217,4051.14357 Z" ></path>
                                    </g>
                                 </g>
                              </svg>
                           </i>
                        </span>
                     </a>
                  </div>
               </div>
            </div>
            <div class="row">
               <!--Electronics product-->
               <?php    $sqlcou="SELECT * FROM  product_master ORDER BY RAND() LIMIT 4";
                  $myquerycou=$conn->query($sqlcou);
                  $mydaracou= $myquerycou->fetchAll()  ;
                  
                  $rows_foundcou = $myquerycou->rowCount();
                  foreach( $mydaracou as $rowcou ){
                  $rowId    = $rowcou["rowId"];
                  $short_title   = $rowcou["title"];
                  $discription   = $rowcou["discription"];
                  $link = $rowcou["product_url"];
                  $product_image   = $rowcou["product_image"];
                  $type = $rowcou["exp_date"];
                  $coupon_code   = $rowcou["country_name"];
                  $company_name   = $rowcou["company_name"];
                  $amount   = $rowcou["amount"];  
                  $total_likes   = $rowcou["total_likes"]; 
                  $currency    = $rowcou["currency"];
                  if($_SESSION[ADD_TAG.'_UserId_vendor']!=''){
                    
                                  $user_id=$_SESSION[ADD_TAG.'_UserId_vendor'];
                                  /*for like master vendor*/
                                  $sqlli = "SELECT * FROM like_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='vendor' ";
                                  $myqueryli=$conn->query($sqlli); 
                                  $mydarali= $myqueryli->fetchAll()  ;
                                  
                                  $rows_foundli = $myqueryli->rowCount();
                                  
                                  if($rows_foundli=='0'){
                                  $like='<li class="like'.$rowId .'" ><a onclick="return cwRating_product('.$rowId .', 1,'.$rowId .');" title="I Like This"><i title="I Like This" class="fas fa-thumbs-up"></i>&nbsp;'.$total_likes.'</a></li>';
                                  
                                  }else{
                                  $like=' <li  class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 0,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-up" title="I Like This"></i>
                                  &nbsp;'.$total_likes.'</a></li>';
                                  }
                                  /*for like master vendor */
                                  /*for fav master vendor*/
                                  $sqlfav = "SELECT * FROM fav_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='vendor' ";
                                  $myqueryfav=$conn->query($sqlfav); 
                                  $mydarafav= $myqueryfav->fetchAll()  ;
                                  
                                  $rows_foundfav = $myqueryfav->rowCount();
                                  
                                  if($rows_foundfav=='0'){
                                  $fav='<li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',1);" title="My Favourite"><i class="fas fa-heart"  ></i></a></li>';
                                  }else{
                                  $fav='  <li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',0);" title="My Favourite"><i class="fas fa-heart" ></i></a></li>';
                                  }
                                  /*for fav master vendor */
                                  
                                  }
                                  elseif($_SESSION[ADD_TAG.'_UserId_user']!=''){
                                  $user_id=$_SESSION[ADD_TAG.'_UserId_user'];
                                  /*for like master user*/
                                  $sqlli = "SELECT * FROM like_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='user'  ";
                                  $myqueryli=$conn->query($sqlli); 
                                  $mydarali= $myqueryli->fetchAll()  ;
                                  
                                  $rows_foundli = $myqueryli->rowCount();
                                  
                                  if($rows_foundli=='0'){
                                  $like='<li class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 1,'.$rowId .');" title="I Like This"><i title="I Like This" class="fas fa-thumbs-up"></i>&nbsp;'.$total_likes.'</a></li>';
                                  // $like=' <li class="mr-0"  id="asd'.$rowId .'"><a onclick="return cwRating('.$rowId .', 1,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-o-up fa-1x text-success" aria-hidden="true" ></i>&nbsp;'.$total_likes.'</a></li>';
                                  }else{
                                  
                                  $like=' <li  class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 0,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-up text-success" aria-hidden="true"></i>
                                  &nbsp;'.$total_likes.'</a></li>';
                                  }
                                  /*for like master user*/  
                                  /*for fav master user*/
                                  $sqlfav = "SELECT * FROM fav_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='user' ";
                                  $myqueryfav=$conn->query($sqlfav); 
                                  $mydarafav= $myqueryfav->fetchAll()  ;
                                  
                                  $rows_foundfav = $myqueryfav->rowCount();
                                  
                                  if($rows_foundfav=='0'){
                                  $fav='<li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',1);" title="My Favourite"><i class="fas fa-heart" ></i></a></li>';
                                  }else{
                                  $fav='  <li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',0);" title="My Favourite"><i class="fa fa-heart fa-1x text-danger"></i></a></li>';
                                  }
                                  /*for fav master user */
                                  
                                  }else{
                                  
                                  $like='  <li data-bs-toggle="modal" data-bs-target="#like-product"><i title="I Like This" class="fas fa-thumbs-up"></i>'.$total_likes.'</li>';
                                  $fav=' <li data-bs-toggle="modal" data-bs-target="#favorite-product"><i title="My Favourite" class="fas fa-heart"></i></li>';
                                  }
                                  
                                  
                                  
                                  
                                  ?>
               <!--Electronics product-->
               <div class="col-lg-3 col-6">
                  <div class="deals">
                     <div class="card border-0">
                        <div class="card-body">
                           <img alt="<?=$short_title?>" title=" <?=$short_title?>" src="<?=$product_image?>" class="img-fluid mx-auto d-block">
                           <div class="d-grid">
                              <small title="<?=$short_title?>" class="context-menu text-muted text-truncate"><?=$short_title?></small>
                              <p class="d-para">
                                 <a class="context-menu" title="<?=$discription?>"><?=$discription?></a> 
                              </p>
                           </div>
                           <div class="row align-items-center">
                              <div class="col-md-7">
                              <?php
                              $currency_query = "SELECT * FROM country_currency_master WHERE code='$currency' limit 1";
                     $myquerycurr=$conn->query($currency_query); 
                     $mydaracurr= $myquerycurr->fetchAll()  ;
                     
                     $rows_foundcurr = $myquerycurr->rowCount();
                   
                     if( $rows_foundcurr !='0'){
                       // var_dump(  $mydaracurr);
                        foreach( $mydaracurr as $rowcous ){
                          $currency_symbol = $rowcous['symbol'];
                          
                        ?>
                                 <h3 class="mb-2 fw-bold text-truncate">
                                 <?=$currency_symbol?>   <?=$amount?>
                                 </h3>
                                 <?php }}?>
                              </div>
                              <div class="col-md-5 text-end">
                                 <h6 class="shop-now"><a target="_blank" href="<?=$link?>">Shop now</a></h6>
                              </div>
                           </div>
                        </div>
                        <div class="card-footer social-icons bg-white">
                           <ul class="list-unstyled mb-0">
                              <?=$fav?>
                              <?=$like?>
                              <li  data-bs-toggle="modal" data-bs-target="#share-product<?=$rowId?>"><i title="Share" class="fas fa-share pe-1"></i>Share</li>
                           </ul>
                        </div>
                     </div>
                  </div>
               </div>
               <!--Electronics product-->
               <div class="modal fade" id="share-product<?=$rowId?>" tabindex="-1"  aria-hidden="true">
                  <div class="modal-dialog modal-dialog-centered modal-lg">
                     <div class="modal-content">
                        <div class="modal-header border-0">
                           <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                        </div>
                        <div class="modal-body p-5">
                           <div id="removemodalproductdealoftheday">
                              <div class="row justify-content-center align-items-center">
                                 <div class="col-md-5">
                                    <div class="d-modal-left">
                                       <img alt="<?=$short_title?>" title=" <?=$short_title?>" src="<?=$product_image?>" class="img-fluid mx-auto d-block">
                                    </div>
                                 </div>
                                 <div class="col-md-7">
                                    <div class="dm-price">
                                       <h3 title="<?=$short_title?>" class="fw-bold text-truncate"><?=$short_title?></h3>
                                       <a href="product-details/<?=($rowId)?>" class="btn btn-view-deal w-100 d-block mt-2 mb-4">View Product Deal</a>
                                       <!--Copy URL Begin-->
                                       <div class="mb-3 row">
                                          <label class="col-sm-4 col-form-label">Copy URL</label>
                                          <div class="col-sm-8">
                                             <!--copy to clipboarddealoftheday Begin-->
                                             <div class="input-group clipboarddealoftheday">
                                             <input  class="form-control form-control-sm" value="<?php echo $link; ?>" id="<?=$rowId?>">
                                          <span class="input-group-text bg-secondary text-white" onclick="eproduct(<?=$rowId?>)"><i class="far fa-copy"></i></span>
                                             </div>
                                             <div id="copiedtextproductdealsday" class="copieddealoftheday">
                                                <span>Copied!</span>
                                             </div>
                                             <!--copy to clipboarddealoftheday End-->
                                          </div>
                                       </div>
                                       <!--Share Via Begin-->
                                       <div class="mb-3 row">
                                          <label class="col-sm-4 col-form-label">Share via</label>
                                          <div class="col-sm-8">
                                             <!--share Via Begin-->
                                             <div class="d-flex justify-content-start align-items-center">
                                                <a title="share via linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=<?=$link?>" class="share-linkedin ms-2"><i class="fab fa-linkedin-in"></i></a>
                                                <a title="share via facebook" href="https://www.facebook.com/sharer.php?u=<?=$link?>" class="share-facebook ms-2"><i class="fab fa-facebook-f"></i></a>
                                                <a title="share via twitter" href="https://twitter.com/intent/tweet?url=<?=$link?>" class="share-twitter ms-2"><i class="fab fa-twitter"></i></a>
                                                <a title="share via pinterest" href="https://www.pinterest.com/pin/create/button/?url=<?=$link?>" class="share-pinterest ms-2"><i class="fab fa-pinterest-p"></i></a>
                                                <a title="share via whatsapp" href="https://web.whatsapp.com/send?text=<?=$link?>" class="share-whatsapp ms-2"><i class="fab fa-whatsapp"></i></a>
                                                <a title="share via telegram" href="https://t.me/share/url?url=<?=$link?>&text=telegram" class="share-telegram ms-2"><i class="fab fa-telegram"></i></a>
                                                <a title="share via reddit" href="http://www.reddit.com/submit?url=<?=$link?>" class="share-reddit ms-2"><i class="fab fa-reddit"></i></a>
                                                <a title="share via tumblr" href="http://www.tumblr.com/share?v=3&u=<?=$link?>&t=tumblr" class="share-tumblr ms-2"><i class="fab fa-tumblr"></i></a>
                                             </div>
                                             <!--share Via End-->
                                          </div>
                                       </div>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
               <?php } ?>
            </div>
         </div>
         </div>
      </section>
      <!--Best Selling Electronics Brands Section End-->
      <!--Best Value Fashion Brands Section Begin-->
      <section class="bg-white py-4">
         <div class="container">
            <div class="row">
               <div class="col-md-6">
                  <div class="bottom-line">
                     <h6 class="h5 mb-4">Best Value  Brands</h6>
                  </div>
               </div>
               <div class="col-md-6">
                  <div class="view-all-details">
                     <a href="view-all-product" class="btn btn-outline-dark">
                        <span>
                           View All 
                           <i>
                              <svg style="transform:rotate(90deg)" width="8px" height="13px" viewBox="0 0 8 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                                 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                    <g transform="translate(-1228.000000, -4044.000000)" fill="#fff" fill-rule="nonzero">
                                       <path d="M1235.71217,4051.14357 L1229.6777,4056.73319 C1229.29383,4057.08894 1228.67146,4057.08894 1228.28778,4056.73319 C1227.90407,4056.37775 1227.90407,4055.80127 1228.28778,4055.44587 L1233.62736,4050.49991 L1228.28794,4045.55412 C1227.90423,4045.19854 1227.90423,4044.62212 1228.28794,4044.26668 C1228.67165,4043.91111 1229.29399,4043.91111 1229.67785,4044.26668 L1235.71233,4049.85639 C1235.90418,4050.03419 1236,4050.26698 1236,4050.49988 C1236,4050.73289 1235.90399,4050.96585 1235.71217,4051.14357 Z" ></path>
                                    </g>
                                 </g>
                              </svg>
                           </i>
                        </span>
                     </a>
                  </div>
               </div>
            </div>
            <div class="row">
               <!--Fashion product-->
               <?php    $sqlcou="SELECT * FROM  product_master ORDER BY RAND() LIMIT 4";
                  $myquerycou=$conn->query($sqlcou);
                  $mydaracou= $myquerycou->fetchAll()  ;
                  
                  $rows_foundcou = $myquerycou->rowCount();
                  
                  
                  foreach( $mydaracou as $rowcou ){
                  $rowId    = $rowcou["rowId"];
                  $short_title   = $rowcou["title"];
                  $discription   = $rowcou["discription"];
                  $link = $rowcou["product_url"];
                  $product_image   = $rowcou["product_image"];
                  $type = $rowcou["exp_date"];
                  $coupon_code   = $rowcou["country_name"];
                  $company_name   = $rowcou["company_name"];
                  $amount   = $rowcou["amount"];  
                  $total_likes   = $rowcou["total_likes"]; 
                  $currency    = $rowcou["currency"];
                  if($_SESSION[ADD_TAG.'_UserId_vendor']!=''){
                                  
                                  $user_id=$_SESSION[ADD_TAG.'_UserId_vendor'];
                                  /*for like master vendor*/
                                  $sqlli = "SELECT * FROM like_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='vendor' ";
                                  $myqueryli=$conn->query($sqlli); 
                                  $mydarali= $myqueryli->fetchAll()  ;
                                  
                                  $rows_foundli = $myqueryli->rowCount();
                                  
                                  if($rows_foundli=='0'){
                                  $like='<li class="like'.$rowId .'" ><a onclick="return cwRating_product('.$rowId .', 1,'.$rowId .');" title="I Like This"><i title="I Like This" class="fas fa-thumbs-up"></i>&nbsp;'.$total_likes.'</a></li>';
                                  
                                  }else{
                                  $like=' <li  class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 0,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-up" title="I Like This"></i>
                                  &nbsp;'.$total_likes.'</a></li>';
                                  }
                                  /*for like master vendor */
                                  /*for fav master vendor*/
                                  $sqlfav = "SELECT * FROM fav_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='vendor' ";
                                  $myqueryfav=$conn->query($sqlfav); 
                                  $mydarafav= $myqueryfav->fetchAll()  ;
                                  
                                  $rows_foundfav = $myqueryfav->rowCount();
                                  
                                  if($rows_foundfav=='0'){
                                  $fav='<li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',1);" title="My Favourite"><i class="fas fa-heart"  ></i></a></li>';
                                  }else{
                                  $fav='  <li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',0);" title="My Favourite"><i class="fas fa-heart" ></i></a></li>';
                                  }
                                  /*for fav master vendor */
                                  
                                  }
                                  elseif($_SESSION[ADD_TAG.'_UserId_user']!=''){
                                  $user_id=$_SESSION[ADD_TAG.'_UserId_user'];
                                  /*for like master user*/
                                  $sqlli = "SELECT * FROM like_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='user'  ";
                                  $myqueryli=$conn->query($sqlli); 
                                  $mydarali= $myqueryli->fetchAll()  ;
                                  
                                  $rows_foundli = $myqueryli->rowCount();
                                  
                                  if($rows_foundli=='0'){
                                  $like='<li class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 1,'.$rowId .');" title="I Like This"><i title="I Like This" class="fas fa-thumbs-up"></i>&nbsp;'.$total_likes.'</a></li>';
                                  // $like=' <li class="mr-0"  id="asd'.$rowId .'"><a onclick="return cwRating('.$rowId .', 1,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-o-up fa-1x text-success" aria-hidden="true" ></i>&nbsp;'.$total_likes.'</a></li>';
                                  }else{
                                  
                                  $like=' <li  class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 0,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-up text-success" aria-hidden="true"></i>
                                  &nbsp;'.$total_likes.'</a></li>';
                                  }
                                  /*for like master user*/  
                                  /*for fav master user*/
                                  $sqlfav = "SELECT * FROM fav_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='user' ";
                                  $myqueryfav=$conn->query($sqlfav); 
                                  $mydarafav= $myqueryfav->fetchAll()  ;
                                  
                                  $rows_foundfav = $myqueryfav->rowCount();
                                  
                                  if($rows_foundfav=='0'){
                                  $fav='<li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',1);" title="My Favourite"><i class="fas fa-heart" ></i></a></li>';
                                  }else{
                                  $fav='  <li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',0);" title="My Favourite"><i class="fa fa-heart fa-1x text-danger"></i></a></li>';
                                  }
                                  /*for fav master user */
                                  
                                  }else{
                                  
                                  $like='  <li data-bs-toggle="modal" data-bs-target="#like-product"><i title="I Like This" class="fas fa-thumbs-up"></i>'.$total_likes.'</li>';
                                  $fav=' <li data-bs-toggle="modal" data-bs-target="#favorite-product"><i title="My Favourite" class="fas fa-heart"></i></li>';
                                  }
                                  
                                  
                                  
                                  
                                  ?>
               <!--Electronics product-->
               <div class="col-lg-3 col-6">
                  <div class="deals">
                     <div class="card border-0">
                        <div class="card-body">
                           <img alt="<?=$short_title?>" title=" <?=$short_title?>" src="<?=$product_image?>" class="img-fluid mx-auto d-block">
                           <div class="d-grid">
                              <small title="<?=$short_title?>" class="context-menu text-muted text-truncate"><?=$short_title?></small>
                              <p class="d-para">
                                 <a class="context-menu" title="<?=$discription?>"><?=$discription?></a> 
                              </p>
                           </div>
                           <div class="row align-items-center">
                              <div class="col-md-7">
                                 <?php
                              $currency_query = "SELECT * FROM country_currency_master WHERE code='$currency' limit 1";
                     $myquerycurr=$conn->query($currency_query); 
                     $mydaracurr= $myquerycurr->fetchAll()  ;
                     
                     $rows_foundcurr = $myquerycurr->rowCount();
                   
                     if( $rows_foundcurr !='0'){
                       // var_dump(  $mydaracurr);
                        foreach( $mydaracurr as $rowcous ){
                          $currency_symbol = $rowcous['symbol'];
                          
                        ?>
                                 <h3 class="mb-2 fw-bold text-truncate">
                                 <?=$currency_symbol?>   <?=$amount?>
                                 </h3>
                                 <?php }}?>
                              </div>
                              <div class="col-md-5 text-end">
                                 <h6 class="shop-now"><a target="_blank" href="<?=$link?>">Shop now</a></h6>
                              </div>
                           </div>
                        </div>
                        <div class="card-footer social-icons bg-white">
                           <ul class="list-unstyled mb-0">
                              <?=$fav?>
                              <?=$like?>
                              <li  data-bs-toggle="modal" data-bs-target="#share-product<?=$rowId?>"><i title="Share" class="fas fa-share pe-1"></i>Share</li>
                           </ul>
                        </div>
                     </div>
                  </div>
               </div>
               <!--Fashion Brand-->
               <div class="modal fade" id="share-product<?=$rowId?>" tabindex="-1"  aria-hidden="true">
                  <div class="modal-dialog modal-dialog-centered modal-lg">
                     <div class="modal-content">
                        <div class="modal-header border-0">
                           <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                        </div>
                        <div class="modal-body p-5">
                           <div id="removemodalproductdealoftheday">
                              <div class="row justify-content-center align-items-center">
                                 <div class="col-md-5">
                                    <div class="d-modal-left">
                                       <img src="<?=$product_image?>" alt="<?=$company_name?>" title="<?=$company_name?>" class="img-fluid mx-auto d-block">
                                    </div>
                                 </div>
                                 <div class="col-md-7">
                                    <div class="dm-price">
                                       <h3 title="<?=$short_title?>" class="fw-bold text-truncate"><?=$short_title?></h3>
                                       <a href="product-details/<?=($rowId)?>" class="btn btn-view-deal w-100 d-block mt-2 mb-4">View Product Deal</a>
                                       <!--Copy URL Begin-->
                                       <div class="mb-3 row">
                                          <label class="col-sm-4 col-form-label">Copy URL</label>
                                          <div class="col-sm-8">
                                             <!--copy to clipboarddealoftheday Begin-->
                                             <div class="input-group clipboarddealoftheday">
                                             <input  class="form-control form-control-sm" value="<?php echo $link; ?>" id="<?=$rowId?>">
                                          <span class="input-group-text bg-secondary text-white" onclick="fbrand(<?=$rowId?>)"><i class="far fa-copy"></i></span>
                                             </div>
                                             <div id="copiedtextproductdealsday" class="copieddealoftheday">
                                                <span>Copied!</span>
                                             </div>
                                             <!--copy to clipboarddealoftheday End-->
                                          </div>
                                       </div>
                                       <!--Share Via Begin-->
                                       <div class="mb-3 row">
                                          <label class="col-sm-4 col-form-label">Share via</label>
                                          <div class="col-sm-8">
                                             <!--share Via Begin-->
                                             <div class="d-flex justify-content-start align-items-center">
                                                <a title="share via linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=<?=$link?>" class="share-linkedin ms-2"><i class="fab fa-linkedin-in"></i></a>
                                                <a title="share via facebook" href="https://www.facebook.com/sharer.php?u=<?=$link?>" class="share-facebook ms-2"><i class="fab fa-facebook-f"></i></a>
                                                <a title="share via twitter" href="https://twitter.com/intent/tweet?url=<?=$link?>" class="share-twitter ms-2"><i class="fab fa-twitter"></i></a>
                                                <a title="share via pinterest" href="https://www.pinterest.com/pin/create/button/?url=<?=$link?>" class="share-pinterest ms-2"><i class="fab fa-pinterest-p"></i></a>
                                                <a title="share via whatsapp" href="https://web.whatsapp.com/send?text=<?=$link?>" class="share-whatsapp ms-2"><i class="fab fa-whatsapp"></i></a>
                                                <a title="share via telegram" href="https://t.me/share/url?url=<?=$link?>&text=telegram" class="share-telegram ms-2"><i class="fab fa-telegram"></i></a>
                                                <a title="share via reddit" href="http://www.reddit.com/submit?url=<?=$link?>" class="share-reddit ms-2"><i class="fab fa-reddit"></i></a>
                                                <a title="share via tumblr" href="http://www.tumblr.com/share?v=3&u=<?=$link?>&t=tumblr" class="share-tumblr ms-2"><i class="fab fa-tumblr"></i></a>
                                             </div>
                                             <!--share Via End-->
                                          </div>
                                       </div>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
               <?php } ?>
            </div>
         </div>
         </div>
      </section>
      <!--Best Value Fashion Brands Section End-->
      <!--Get the best top deals eveyday Section Begin-->
      <section class="bg-primary-gradient  py-4">
         <div class="container">
            <div class="row">
               <div class="col-md-6">
                  <div class="bottom-line">
                     <h6 class="h5 mb-4">Get the best top deals eveyday</h6>
                  </div>
               </div>
               <div class="col-md-6">
                  <div class="view-all-details">
                     <a href="view-all-product" class="btn btn-outline-dark">
                        <span>
                           View All 
                           <i>
                              <svg style="transform:rotate(90deg)" width="8px" height="13px" viewBox="0 0 8 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                                 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                    <g transform="translate(-1228.000000, -4044.000000)" fill="#fff" fill-rule="nonzero">
                                       <path d="M1235.71217,4051.14357 L1229.6777,4056.73319 C1229.29383,4057.08894 1228.67146,4057.08894 1228.28778,4056.73319 C1227.90407,4056.37775 1227.90407,4055.80127 1228.28778,4055.44587 L1233.62736,4050.49991 L1228.28794,4045.55412 C1227.90423,4045.19854 1227.90423,4044.62212 1228.28794,4044.26668 C1228.67165,4043.91111 1229.29399,4043.91111 1229.67785,4044.26668 L1235.71233,4049.85639 C1235.90418,4050.03419 1236,4050.26698 1236,4050.49988 C1236,4050.73289 1235.90399,4050.96585 1235.71217,4051.14357 Z" ></path>
                                    </g>
                                 </g>
                              </svg>
                           </i>
                        </span>
                     </a>
                  </div>
               </div>
            </div>
            <div class="div">
               <div class="row">
                  <!--Top Deals-->
                  <?php    $sqlcou="SELECT * FROM  product_master   ORDER BY rand() LIMIT 4";
                     $myquerycou=$conn->query($sqlcou);
                     $mydaracou= $myquerycou->fetchAll()  ;
                     
                     $rows_foundcou = $myquerycou->rowCount();
                     
                     
                     
                     
                     foreach( $mydaracou as $rowcou ){
                     $rowId    = $rowcou["rowId"];
                     $short_title   = $rowcou["title"];
                     $discription   = $rowcou["discription"];
                     $link = $rowcou["product_url"];
                     $product_image   = $rowcou["product_image"];
                     $type = $rowcou["exp_date"];
                     $coupon_code   = $rowcou["country_name"];
                     $company_name   = $rowcou["company_name"];
                     $amount   = $rowcou["amount"];  
                     $total_likes   = $rowcou["total_likes"]; 
                     $currency    = $rowcou["currency"];
                     if($_SESSION[ADD_TAG.'_UserId_vendor']!=''){
                                     
                                     $user_id=$_SESSION[ADD_TAG.'_UserId_vendor'];
                                     /*for like master vendor*/
                                     $sqlli = "SELECT * FROM like_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='vendor' ";
                                     $myqueryli=$conn->query($sqlli); 
                                     $mydarali= $myqueryli->fetchAll()  ;
                                     
                                     $rows_foundli = $myqueryli->rowCount();
                                     
                                     if($rows_foundli=='0'){
                                     $like='<li class="like'.$rowId .'" ><a onclick="return cwRating_product('.$rowId .', 1,'.$rowId .');" title="I Like This"><i title="I Like This" class="fas fa-thumbs-up"></i>&nbsp;'.$total_likes.'</a></li>';
                                     
                                     }else{
                                     $like=' <li  class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 0,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-up" title="I Like This"></i>
                                     &nbsp;'.$total_likes.'</a></li>';
                                     }
                                     /*for like master vendor */
                                     /*for fav master vendor*/
                                     $sqlfav = "SELECT * FROM fav_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='vendor' ";
                                     $myqueryfav=$conn->query($sqlfav); 
                                     $mydarafav= $myqueryfav->fetchAll()  ;
                                     
                                     $rows_foundfav = $myqueryfav->rowCount();
                                     
                                     if($rows_foundfav=='0'){
                                     $fav='<li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',1);" title="My Favourite"><i class="fas fa-heart"  ></i></a></li>';
                                     }else{
                                     $fav='  <li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',0);" title="My Favourite"><i class="fas fa-heart" ></i></a></li>';
                                     }
                                     /*for fav master vendor */
                                     
                                     }
                                     elseif($_SESSION[ADD_TAG.'_UserId_user']!=''){
                                     $user_id=$_SESSION[ADD_TAG.'_UserId_user'];
                                     /*for like master user*/
                                     $sqlli = "SELECT * FROM like_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='user'  ";
                                     $myqueryli=$conn->query($sqlli); 
                                     $mydarali= $myqueryli->fetchAll()  ;
                                     
                                     $rows_foundli = $myqueryli->rowCount();
                                     
                                     if($rows_foundli=='0'){
                                     $like='<li class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 1,'.$rowId .');" title="I Like This"><i title="I Like This" class="fas fa-thumbs-up"></i>&nbsp;'.$total_likes.'</a></li>';
                                     // $like=' <li class="mr-0"  id="asd'.$rowId .'"><a onclick="return cwRating('.$rowId .', 1,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-o-up fa-1x text-success" aria-hidden="true" ></i>&nbsp;'.$total_likes.'</a></li>';
                                     }else{
                                     
                                     $like=' <li  class="like'.$rowId .'"><a onclick="return cwRating_product('.$rowId .', 0,'.$rowId .');" title="I Like This"><i class="fa fa-thumbs-up text-success" aria-hidden="true"></i>
                                     &nbsp;'.$total_likes.'</a></li>';
                                     }
                                     /*for like master user*/  
                                     /*for fav master user*/
                                     $sqlfav = "SELECT * FROM fav_master_product WHERE coupan_id='$rowId ' AND user_id='$user_id' AND user_type='user' ";
                                     $myqueryfav=$conn->query($sqlfav); 
                                     $mydarafav= $myqueryfav->fetchAll()  ;
                                     
                                     $rows_foundfav = $myqueryfav->rowCount();
                                     
                                     if($rows_foundfav=='0'){
                                     $fav='<li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',1);" title="My Favourite"><i class="fas fa-heart" ></i></a></li>';
                                     }else{
                                     $fav='  <li class="fav'.$rowId .'"><a onclick="return fav_product('.$rowId .',0);" title="My Favourite"><i class="fa fa-heart fa-1x text-danger"></i></a></li>';
                                     }
                                     /*for fav master user */
                                     
                                     }else{
                                     
                                     $like='  <li data-bs-toggle="modal" data-bs-target="#like-product"><i title="I Like This" class="fas fa-thumbs-up"></i>'.$total_likes.'</li>';
                                     $fav=' <li data-bs-toggle="modal" data-bs-target="#favorite-product"><i title="My Favourite" class="fas fa-heart"></i></li>';
                                     }
                                     
                                     
                                     
                                     
                                     ?>
                  <!--Electronics product-->
                  <div class="col-lg-3 col-6">
                     <div class="deals">
                        <div class="card border-0">
                           <div class="card-body">
                              <img alt="<?=$short_title?>" title=" <?=$short_title?>" src="<?=$product_image?>" class="img-fluid mx-auto d-block">
                              <div class="d-grid">
                                 <small title="<?=$short_title?>" class="context-menu text-muted text-truncate"><?=$short_title?></small>
                                 <p class="d-para">
                                    <a class="context-menu" title="<?=$discription?>"><?=$discription?></a> 
                                 </p>
                              </div>
                              <div class="row align-items-center">
                                 <div class="col-md-7">
                                 <?php
                              $currency_query = "SELECT * FROM country_currency_master WHERE code='$currency' limit 1";
                     $myquerycurr=$conn->query($currency_query); 
                     $mydaracurr= $myquerycurr->fetchAll()  ;
                     
                     $rows_foundcurr = $myquerycurr->rowCount();
                   
                     if( $rows_foundcurr !='0'){
                       // var_dump(  $mydaracurr);
                        foreach( $mydaracurr as $rowcous ){
                          $currency_symbol = $rowcous['symbol'];
                          
                        ?>
                                 <h3 class="mb-2 fw-bold text-truncate">
                                 <?=$currency_symbol?>   <?=$amount?>
                                 </h3>
                                 <?php }}?>
                                 </div>
                                 <div class="col-md-5 text-end">
                                    <h6 class="shop-now"><a target="_blank" href="<?=$link?>">Shop now</a></h6>
                                 </div>
                              </div>
                           </div>
                           <div class="card-footer social-icons bg-white">
                              <ul class="list-unstyled mb-0">
                                 <?=$fav?>
                                 <?=$like?>
                                 <li  data-bs-toggle="modal" data-bs-target="#share-product<?=$rowId?>"><i title="Share" class="fas fa-share pe-1"></i>Share</li>
                              </ul>
                           </div>
                        </div>
                     </div>
                  </div>
                  <!--Top Deal Everyday-->
                  <div class="modal fade" id="share-product<?=$rowId?>" tabindex="-1"  aria-hidden="true">
                     <div class="modal-dialog modal-dialog-centered modal-lg">
                        <div class="modal-content">
                           <div class="modal-header border-0">
                              <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                           </div>
                           <div class="modal-body p-5">
                              <div id="removemodalproductdealoftheday">
                                 <div class="row justify-content-center align-items-center">
                                    <div class="col-md-5">
                                       <div class="d-modal-left">
                                          <img alt="<?=$short_title?>" title=" <?=$short_title?>" src="<?=$product_image?>" class="img-fluid mx-auto d-block">
                                       </div>
                                    </div>
                                    <div class="col-md-7">
                                       <div class="dm-price">
                                          <h3 title="<?=$short_title?>" class="fw-bold text-truncate"><?=$short_title?></h3>
                                          <a href="product-details/<?=($rowId)?>" class="btn btn-view-deal w-100 d-block mt-2 mb-4">View Product Deal</a>
                                          <!--Copy URL Begin-->
                                          <div class="mb-3 row">
                                             <label class="col-sm-4 col-form-label">Copy URL</label>
                                             <div class="col-sm-8">
                                                <!--copy to clipboarddealoftheday Begin-->
                                                <div class="input-group clipboarddealoftheday">
                                                <input  class="form-control form-control-sm" value="<?php echo $link; ?>" id="<?=$rowId?>">
                                          <span class="input-group-text bg-secondary text-white" onclick="topdealeveryday(<?=$rowId?>)"><i class="far fa-copy"></i></span>
                                                </div>
                                                <div id="copiedtextproductdealsday" class="copieddealoftheday">
                                                   <span>Copied!</span>
                                                </div>
                                                <!--copy to clipboarddealoftheday End-->
                                             </div>
                                          </div>
                                          <!--Share Via Begin-->
                                          <div class="mb-3 row">
                                             <label class="col-sm-4 col-form-label">Share via</label>
                                             <div class="col-sm-8">
                                                <!--share Via Begin-->
                                                <div class="d-flex justify-content-start align-items-center">
                                                   <a title="share via linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url=<?=$link?>" class="share-linkedin ms-2"><i class="fab fa-linkedin-in"></i></a>
                                                   <a title="share via facebook" href="https://www.facebook.com/sharer.php?u=<?=$link?>" class="share-facebook ms-2"><i class="fab fa-facebook-f"></i></a>
                                                   <a title="share via twitter" href="https://twitter.com/intent/tweet?url=<?=$link?>" class="share-twitter ms-2"><i class="fab fa-twitter"></i></a>
                                                   <a title="share via pinterest" href="https://www.pinterest.com/pin/create/button/?url=<?=$link?>" class="share-pinterest ms-2"><i class="fab fa-pinterest-p"></i></a>
                                                   <a title="share via whatsapp" href="https://web.whatsapp.com/send?text=<?=$link?>" class="share-whatsapp ms-2"><i class="fab fa-whatsapp"></i></a>
                                                   <a title="share via telegram" href="https://t.me/share/url?url=<?=$link?>&text=telegram" class="share-telegram ms-2"><i class="fab fa-telegram"></i></a>
                                                   <a title="share via reddit" href="http://www.reddit.com/submit?url=<?=$link?>" class="share-reddit ms-2"><i class="fab fa-reddit"></i></a>
                                                   <a title="share via tumblr" href="http://www.tumblr.com/share?v=3&u=<?=$link?>&t=tumblr" class="share-tumblr ms-2"><i class="fab fa-tumblr"></i></a>
                                                </div>
                                                <!--share Via End-->
                                             </div>
                                          </div>
                                       </div>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
                  <?php } ?>
               </div>
            </div>
         </div>
      </section>
      <!--Get the best top deals eveyday Section End-->
      <!--like Product Modal -->
      <div class="modal fade" id="like-product" tabindex="-1" aria-labelledby="likeproductLabel" aria-hidden="true">
         <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
               <div class="modal-header border-0">
                  <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
               </div>
               <div class="modal-body">
                  <div class="mx-auto d-block text-center">
                     <h6 class="likethead">Please <a href="#">Sign in </a><strong> for like</strong></h6>
                     <img src="images/web-images/home/like.png" alt="like" title="like" width="50" class="img-fluid">
                  </div>
               </div>
               <div class="modal-footer bg-transparent">
                  <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
               </div>
            </div>
         </div>
      </div>
      <!--favourate  Product Modal -->
      <div class="modal fade" id="favorite-product" tabindex="-1" aria-labelledby="favoriteproductLabel" aria-hidden="true">
         <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
               <div class="modal-header border-0">
                  <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
               </div>
               <div class="modal-body">
                  <div class="mx-auto d-block text-center">
                     <h6 class="likethead">Please <a href="#">Sign in </a><strong> for favorite</strong></h6>
                     <img src="images/web-images/home/favorite.png" alt="favorite" title="favorite" width="50" class="img-fluid">
                  </div>
               </div>
               <div class="modal-footer bg-transparent">
                  <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
               </div>
            </div>
         </div>
      </div>
      <!--Text Section Begin-->
      <section class="py-5">
         <div class="container">
            <div class="row">
               <div class="col-md-12 mt-4 mb-5">
                  <!--banner Footer-->
                  <?php    if(!empty($google_adar )){
                     echo $google_adar ;
                     }else{
                     echo ' <img src="admin/forms/'.$adimg3.'" alt="Horizontal Banner" title="Horizontal Banner" class="img-fluid rounded-3 py-5">';
                     }
                     
                     ?>
               </div>
               <div class="mb-4">
                  <h6 class="mb-3 fw-bold">What is shopping product?</h6>
                  <p>A shopping product is a type of consumer product that is purchased by customers after comparing and evaluating different options based on various factors such as quality, price, features, and brand reputation. Shopping products are usually more expensive than convenience products, and they require more research and consideration before making a purchase decision.</p>
                  <p>Examples of shopping products include furniture, electronics, appliances, clothing, and cars. Shopping products are often bought infrequently and typically have a longer lifespan than convenience products. Additionally, shopping products are often associated with a higher level of customer involvement and investment, as consumers invest more time and effort into researching and evaluating these products before making a purchase.</p>
               </div>
               <div class="mb-4">
                  <h6 class="mb-3 fw-bold">What is the difference between a product and item?</h6>
                  <p>A product is a good or service that is offered for sale to consumers in the market. It can be tangible, such as a physical item like a car or a book, or intangible, such as a service like consulting or legal advice. A product can consist of multiple items that are sold together as a package, such as a computer that includes a monitor, keyboard, and mouse. </p>
                  <p>An item, on the other hand, is a single unit of a product. It refers to a specific object or thing that is included in the product. For example, if a product is a set of cooking utensils, then each spoon, spatula, and whisk in the set would be considered an item.</p>
                  <p>In summary, a product is a broader term that encompasses everything that is offered for sale to consumers, while an item is a smaller component of a product. An item is a specific unit that can be individually identified and priced, while a product can be made up of multiple items.</p>
               </div>
               <div class="mb-4">
                  <h6 class="mb-3 fw-bold">How to find and buy online shopping product?</h6>
                  <p>Here are the steps to find and buy a product online: </p>
                  <ul class="bottom-list">
                     <li><strong>Identify what you need:</strong> First, identify the product you want to buy. You can search for the product using a search engine or go directly to an online marketplace like Amazon or eBay.</li>
                     <li><strong>Compare prices:</strong> Once you find the product you want, compare prices on different websites to get the best deal. You can use price comparison websites to make this task easier.</li>
                     <li><strong>Check reviews:</strong> Before you make a purchase, check customer reviews and ratings of the product to ensure its quality and suitability for your needs.</li>
                     <li><strong>Check the seller's reputation:</strong> Make sure the seller is reputable and has a good track record of delivering products on time and with good customer service.</li>
                     <li><strong>Read the product details:</strong> Read the product details carefully, including specifications, dimensions, and any relevant information to make sure it meets your requirements.</li>
                     <li><strong>Add to cart:</strong> Once you are satisfied with the product, add it to your shopping cart.</li>
                     <li><strong>Checkout:</strong> Proceed to checkout, where you will enter your shipping and payment details. Make sure you review your order carefully before completing the purchase.</li>
                     <li><strong>Track your shipment:</strong> After the purchase, you will receive a confirmation email and tracking information to track your shipment.</li>
                  </ul>
                  <p>By following these steps, you can safely and efficiently find and buy products online.</p>
               </div>
            </div>
         </div>
      </section>
      <!--Text Section End-->
      <!--Popular Category Begin-->
      <?php include("./contentpages/home/popular_cateogories.php"); ?>
      <!--Popular Category 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-->
      <script src="js/icouponworld.js"></script>
      <!--owl.carousel js Begin--> 
      <!-- <script src="js/owl.carousel.js"></script> -->
      <!--owl.carousel 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-->
      <!--owl.carousel Script Begin--> 
      <!-- <script>
         $('#product.owl-carousel, #fashion.owl-carousel, #top-deals.owl-carousel').owlCarousel({
         loop:true,
         responsiveClass:true,
         responsive:{
         0:{
          items:1,
          nav:true
         },
         600:{
          items:3,
          margin:7,
          nav:true,
          loop:false
         },
         1000:{
          items:4,
          margin:7,
          nav:true,
          loop:false
         },
         1500:{
          items:4,
          margin:17,
          nav:true,
          loop:false
         }
         }
         })
         $( ".owl-prev").html('<i class="fa fa-chevron-left"></i>');
         $( ".owl-next").html('<i class="fa fa-chevron-right"></i>');
      </script> -->
      <!--owl.carousel Script End--> 
      <!--sweetalert Script Begin--> 
      <script src="js/sweetalert.min.js"></script>
      <!--sweetalert Script End--> 
      <!--like_dislike_product Script Begin--> 
      <script type="text/javascript">  
         function cwRating_product(id,type,target){
         $.ajax({
           type:'POST',
           url:'forms/like_dislike_product.php',
           data:'id='+id+'&type='+type,
           success:function(msg){
               if(msg == 'err'){
                   alert('Some problem occured, please try again.');
               }else{
                   $('.like'+target).html(msg);
                   swal({
         title: "Hurray!",
         text: "Your liking was just saved.",
         imageUrl: 'thumbs-up.jpg'
         });
               }
           }
         });
         }
      </script>
      <!--like_dislike_product Script End-->
      <!--fav_master_product Script Begin-->  
      <script type="text/javascript">  
         function fav_product(id,type){
         $.ajax({
           type:'POST',
           url:'forms/fav_master_product.php',
           data:'id='+id+'&type='+type,
           success:function(msg){
               if(msg == 'err'){
                   alert('Some problem occured, please try again.');
               }else{
                   $('.fav'+id).html(msg);
                   swal({
         title: "Yay!",
         text: "We just saved your favourite.",
         imageUrl: 'thumbs-up.jpg'
         });
               }
           }
         });
         }
      </script> 
      <!--fav_master_product Script End--> 
        <!--eproduct script for copytoclipboard Begin-->  
      <script>
    function eproduct(inputId) {
        /* Get the text field */

        // Changed to get the Element by the parameter containing the ElementID
        var eproductText = document.getElementById(inputId);

        /* Select the text field */
        eproductText.select();
        eproductText.setSelectionRange(0, 99999); /* For mobile devices */

        /* product the text inside the text field */
        navigator.clipboard.writeText(eproductText.value);

        /* Alert the copied text */
        alert("Copied the text: " + eproductText.value);
    }
</script>
 <!--eproduct script for copytoclipboard End-->  
  <!--topdealeveryday script for copytoclipboard Begin-->  
<script>
    function topdealeveryday(inputId) {
        /* Get the text field */

        // Changed to get the Element by the parameter containing the ElementID
        var topdealeveryday = document.getElementById(inputId);

        /* Select the text field */
        topdealeveryday.select();
        topdealeveryday.setSelectionRange(0, 99999); /* For mobile devices */

        /* product the text inside the text field */
        navigator.clipboard.writeText(topdealeveryday.value);

        /* Alert the copied text */
        alert("Copied the text: " + topdealeveryday.value);
    }
</script>
 <!--topdealeveryday script for copytoclipboard End-->  
  <!--fbrand script for copytoclipboard Begin--> 
<script>
    function fbrand(inputId) {
        /* Get the text field */

        // Changed to get the Element by the parameter containing the ElementID
        var fbrand = document.getElementById(inputId);

        /* Select the text field */
        fbrand.select();
        fbrand.setSelectionRange(0, 99999); /* For mobile devices */

        /* product the text inside the text field */
        navigator.clipboard.writeText(fbrand.value);

        /* Alert the copied text */
        alert("Copied the text: " + fbrand.value);
    }
</script>
 <!--fbrand script for copytoclipboard End-->
   </body>
</html>
<?php
ob_end_flush();  // This is a code for php minifiers
?>