GIF89a php
Current File : /home/viralhoga/public_html/thumbnail-view.php
<!DOCTYPE html>
<html lang="en">
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
    <meta charset="utf-8">
    <meta name="description"
    content="" />
    <meta name="keywords"
    content="" />
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- title -->
    <title>Viralhoga.com | Download Thumbnail</title>
    <!-- favicon -->
    <link rel="icon" type="image/x-icon" href="img/logo/favicon.png">
    <!-- bootstrap css -->
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <!-- magnific-popup css -->
    <link rel="stylesheet" type="text/css" href="css/magnific-popup.css">
    <!-- animate css -->
    <link rel="stylesheet" type="text/css" href="css/animate.min.css">
    <!-- bootstrap icon -->
    <link rel="stylesheet" type="text/css" href="css/bootstrap-icons.css">
    <!-- font-awesome css -->
    <link rel="stylesheet" type="text/css" href="css/all.min.css">
    <!--fether css -->
    <link rel="stylesheet" type="text/css" href="css/feather.css">
    <!-- owl css -->
    <link rel="stylesheet" type="text/css" href="css/owl.carousel.min.css">
    <link rel="stylesheet" type="text/css" href="css/owl.theme.default.min.css">
    <!-- swiper-bundle css -->
    <link rel="stylesheet" type="text/css" href="css/swiper-bundle.min.css">
    <!-- slick slider css -->
    <link rel="stylesheet" type="text/css" href="css/slick.css">
    <!-- style css -->
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <link rel="stylesheet" href="css/ourstyle.css">
  </head>
  <body>
    <!-- header start -->
    <?php include('includes/navbar.php');
    //get exclusive data
    $sel_thumbnail = $obj->select_all('adv_tbl0',"where menu_id='$_REQUEST[catid]' order by adv_id desc");
    ?>
    <!-- header end -->
    <main>
      <!-- breadcrumb start -->
      <section class="breadcrumb-area">
        <div class="container">
          <div class="col">
            <div class="row">
              <div class="breadcrumb-index">
                <!-- breadcrumb main-title start-->
                <div class="breadcrumb-title">
                  <h2>Download Thumbnail</h2>
                </div>
                <!-- breadcrumb main-title end-->
                <!-- breadcrumb-list start -->
                <ul class="breadcrumb-list">
                  <li class="breadcrumb-item-link">
                    <a href="index.php">Home</a>
                  </li>
                  <li class="breadcrumb-item-link">
                    <span>Download Thumbnail</span>
                  </li>
                </ul>
                <!-- breadcrumb-list end -->
              </div>
            </div>
          </div>
        </div>
      </section>
      <!-- breadcrumb end -->
      <section class="Exclusive-product bt">
        <div class="container">
        <div class="row">
        <?php while($data=mysqli_fetch_array($sel_thumbnail)){?>
        <div class="col-lg-4 mt-4">
          <div class="exclusive-product-wrap shadow p-4">
            <div class="row">
              <div class="col-lg-12 col-12 text-center align-content-center">
                <div class="exclusive-item position-relative">
                  <div class="exclusive_img position-relative"> 
				   <img src="image/banner_top/<?php echo $data['img'] ?>" style="height:300px" alt="" class="img-fluid"> 
                  </div>
                  <?php if(isset($_SESSION['reg_id']) && !empty($_SESSION['reg_id'])){?>
                   <a style="margin-top:15px" href="image/banner_top/<?php echo $data['img'] ?>" onClick="getDetails<?php echo $data['adv_id']?>('<?php echo $data['adv_id']?>')" download><i class="fa fa-download"></i> Download</a>
                   <script>
                       function getDetails<?php echo $data['adv_id']?>(getId){
                         window.location='thank-you.php?id='+getId;  
                       }
                   </script>
                  <?php }else{?>
                  <a style="margin-top:15px" href="https://viralhoga.com/login.php?id=<?php echo $data['menu_id']?>&t=0"><i class="fa fa-download"></i> Download</a>
                  <?php }?>
                </div>
              </div>
            </div>
            <div class="exclusive-content"> </div>
          </div>
        </div>
        <?php }?>
          </div>
      </div>
    </section>
    </main>
    <!-- main section end-->
    <!-- footer start -->
    <?php include('includes/footer.php')?>
    <!-- screen-bg start -->
    <div class="screen-bg"></div>
    <!-- screen-bg end -->
    <!-- back-to-top start -->
    <a href="javascript:void(0)" id="top" class="scroll">
      <span><i class="feather-arrow-up"></i></span>
    </a>
    <!-- back-to-top end -->
    <!-- jquery -->
    <script src="js/jquery-3.6.3.min.js"></script>
    <!-- bootstrap js -->
    <script src="js/bootstrap.min.js"></script>
    <script src="js/popper.min.js"></script>
    <!-- magnific-popup js -->
    <script src="js/jquery.magnific-popup.min.js"></script>
    <!-- owl js -->
    <script src="js/owl.carousel.min.js"></script>
    <!-- swiper-bundle js -->
    <script src="js/swiper-bundle.min.js"></script>
    <!-- slick js -->
    <script src="js/slick.min.js"></script>
    <!-- waypoints js -->
    <script src="js/waypoints.min.js"></script>
    <!-- counter js -->
    <script src="js/counter.js"></script>
    <!-- main js -->
    <script src="js/main.js"></script>
  </body>

</html>