GIF89a php
Current File : /home/viralhoga/public_html/thank.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</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 onload="window.print()">
    <!-- header start -->
    <?php 
    include('adminpanel/config.php');
    //check login or not
    if(!isset($_SESSION['reg_id']) || empty($_SESSION['reg_id']))echo "<script>window.location='login.php'</script>";    
    //get exclusive data
    $sel_thumbnail = mysqli_query($con,"select * from `adv_tbl3` where adv_id='$_SESSION[proid]'");
    $wishData = mysqli_fetch_array($sel_thumbnail);
    //insert wishes
    $sel_Q = mysqli_query($con,"select * from `adv_tbl2` where pos_ad='$_SESSION[proid]' and img='$_SESSION[reg_id]' and Adv='$_SESSION[wishDesignation]'");
    if(mysqli_num_rows($sel_Q)==0)mysqli_query($con,"insert into `adv_tbl2` set menu_id='0',cat_id='0',subcat_id='0',pos_ad='$_SESSION[proid]',img='$_SESSION[reg_id]',Adv='$_SESSION[wishDesignation]'");
    ?>
    <!-- header end -->
    <main>
      <section class="Exclusive-product bt">
        <div class="container">
        <div class="row">
        <div class="col-lg-12 mt-12">
            <center>
            <div class="exclusive_img position-relative"> 
				   <img src="image/banner_top/<?php echo $wishData['img'] ?>" alt="" class="img-fluid"> 
				   <div style="margin-top: -60px;padding: 15px;color: #fff;">
				       <?php echo $_SESSION['wishDesignation']?>
				   </div>
            </div>
            </center>
        </div>
        </div>
      </div>
    </section>
    </main>
  </body>

</html>