MMCT TEAM
Server IP : 217.21.91.233  /  Your IP : 216.73.216.58
Web Server : LiteSpeed
System : Linux in-mum-web832.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
User : u952924200 ( 952924200)
PHP Version : 8.2.27
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /home/u952924200/domains/nadeemtravels.in/public_html/images/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u952924200/domains/nadeemtravels.in/public_html/images/../blog-details.php
<head>

   <?php
   require_once __DIR__ . "/include/config.php";
   ?>

   <title>Contact Us | Nadeem Travels</title>

   <meta name="viewport" content="width=device-width, initial-scale=1">

   <meta charset="UTF-8" />

   <meta name="keywords"
      content="taxi service in raipur, cab booking service in raipur, travel agency in raipur, car rental service in raipur" />

   <link rel="icon" type="image/png" href="<?= $favicon ?>">
   <link rel="canonical" href="https://nadeemtravels.in/blog.php" />


   <link rel="stylesheet" href="<?= ROOT ?>css/bootstrap.css">

   <link rel="stylesheet" href="<?= ROOT ?>css/style.css" type="text/css" media="all" />

   <link rel="stylesheet" href="<?= ROOT ?>css/fontawesome-all.css">
   <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
      integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">


   <style>
      .btn-default {

         color: #fff;

         background-color: #ee4f4f;

         border-color: #ee4f4f;

      }

      .basic-padding {

         padding-top: 15px;

         padding-bottom: 15px;

      }

      .image-hover {

         background: -webkit-linear-gradient(45deg, #ff89e9 0, #05abe0 100%);

         background: linear-gradient(45deg, #ff89e9 0, #05abe0 100%);

         position: relative;

         width: 100%;

         height: 100%;

         overflow: hidden;

      }

      .image-hover .overlay {

         width: 100%;

         height: 100%;

         overflow: hidden;

         position: absolute;

         top: 0; 

         left: 0;

         padding: 40px;

         text-align: left;

      }

      .image-hover .overlay::before {

         content: '';

         -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;

         position: absolute;

         top: 20px;

         right: 20px;

         bottom: 20px;

         left: 20px;

         border: 1px solid #fff;

         opacity: 0;

         transition: opacity .35s, transform .45s;

         -webkit-transform: translate3d(-20px, 0, 0);

         transform: translate3d(-20px, 0, 0);

      }

      .image-hover img {

         -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;

         max-width: none;

         transition: opacity .35s, transform .45s;

         -webkit-transform: translate3d(-40px, 0, 0);

         transform: translate3d(-40px, 0, 0);

      }

      .image-hover h2 {

         padding: 130px 0px 0px 0px;

         color: #fff;

         position: relative;

         font-size: 17px;

         text-transform: uppercase;

      }

      .image-hover .btn-hover {

         display: inline-block;
         color: #fff;

         opacity: 0;

         margin: 0;

         padding: 0;

         border: none;

         -webkit-transition: opacity 0.35s, -webkit-transform 0.45s;

         transition: opacity .35s, transform .45s;

         -webkit-transform: translate3d(-10px, 0, 0);

         transform: translate3d(-10px, 0, 0);

      }

      .image-hover:hover img {

         opacity: .6;

         -webkit-transform: translate3d(0px, 0, 0);

         transform: translate3d(0px, 0, 0);

      }

      .image-hover:hover .overlay::before {

         opacity: 1;

         -webkit-transform: translate3d(0, 0, 0);

         transform: translate3d(0, 0, 0);

      }

      .image-hover:hover .btn-hover {

         opacity: 1;

         -webkit-transform: translate3d(0, 0, 0);

         transform: translate3d(0, 0, 0);

      }

      .navbar-light .navbar-nav .nav-link {

         font-size: 14px;

      }

      a.login-button {

         font-size: 14px;

      }
   </style>

</head>

<body>


   <?php
   include 'menu.php';
   ?>

   <div class="clearfix"></div>

   <!-- banner 2 -->
   <div class="inner-banner-w3ls">
      <div class="container">
      </div>
      <!-- //banner 2 -->
   </div>
   <!-- page details -->
   <div class="breadcrumb-agile">
      <div aria-label="breadcrumb">
         <ol class="breadcrumb">
            <li class="breadcrumb-item">
               <a href="index.php">Home</a>
            </li>
            <li class="breadcrumb-item active" aria-current="page">Blogs</li>
         </ol>
      </div>
   </div>
   <!-- //page details -->



   <?php


   include 'include/connection.php';

   $slug = $_GET['q'] ?? '';

   // Fetch Blog
   $stmt = $conn->prepare("SELECT * FROM blog WHERE slug = :slug LIMIT 1");
   $stmt->execute([':slug' => $slug]);
   $value = $stmt->fetch(PDO::FETCH_ASSOC);

   // If No Blog Found
   if (!$value) {
      die("<h2 style='text-align:center; padding:50px;'>Blog Not Found</h2>");
   }

   // Fetch Recent 5 Blogs
   $stmt1 = $conn->prepare("SELECT * FROM blog ORDER BY id ASC LIMIT 5");
   $stmt1->execute();
   $recentBlogs = $stmt1->fetchAll(PDO::FETCH_ASSOC);

   // SEO Values
   $bid = $value['id'];
   $blog_title = $value['blog_title'];
   $slug1 = $value['slug'];
   $img = $value['image'];
   $blog_content = $value['blog_content'];
   $faq = $value['faq'];
   $seo_title = $value['seo_title'];
   $seo_descriptions = $value['seo_descriptions'];
   $canonical = $value['canonical'];
   $head_schema = $value['head_schema'];
   $body_schema = $value['body_schema'];
   $created_at = $value['created_at'];

   include 'header.php';
   ?>

   <style>
      body {
         color: black;
      }

      .images img {
         width: 100%;
         border-radius: 10px;
         box-shadow: 0 0 15px -5px black;
      }

      .main-content {
         font-size: 32px;
         font-weight: bold;
         margin-top: 30px;
      }

      .pera-style {
         text-align: justify;
         line-height: 22px;
      }

      .container {
         display: flex;
         gap: 20px;
         align-items: flex-start;
      }

      .right-box {
         position: sticky;
         top: 100px;
         width: 100%;
      }

      .right-recent {
         background: #950505;
         padding: 10px 15px;
         color: white;
         border-radius: 8px;
         box-shadow: 0 0 15px -5px black;
      }

      .accordion-button:not(.collapsed) {
         background: #950505 !important;
         color: #fff !important;
      }

      .right-side-form {
         margin-top: 30px;
         border-radius: 10px;
         box-shadow: 0 0 15px -5px black;
         padding: 15px;
      }

      .accordion-button:not(.collapsed)::after {
         filter: brightness(0) invert(1) !important;
      }
   </style>

   <div class="container my-5 p-0">

      <!-- LEFT CONTENT -->
      <div class="col-8 px-0">

         <div class="images">
            <img src="<?= ROOT ?>images/blog/<?php echo $img ?>" alt="">
         </div>

         <h1 class="main-content"><?= $blog_title ?></h1>

         <div class="pera-style"><?= $blog_content ?></div>

         <h4 class="fw-bold my-3 mt-5">Frequently Asked Questions</h4>

         <div class="accordion" id="accordionExample">
            <?php
            $faqs = json_decode($faq, true);
            $i = 0;
            if (!empty($faqs)):
               foreach ($faqs as $q => $a):
                  $i++;
            ?>
                  <div class="accordion-item">
                     <h2 class="accordion-header">
                        <button class="accordion-button <?= $i == 1 ? '' : 'collapsed' ?>" data-bs-toggle="collapse"
                           data-bs-target="#faq<?= $i ?>">
                           <?= $i . ". " . htmlspecialchars($q) ?>
                        </button>
                     </h2>
                     <div id="faq<?= $i ?>" class="accordion-collapse collapse <?= $i == 1 ? 'show' : '' ?>">
                        <div class="accordion-body"><?= $a ?></div>
                     </div>
                  </div>
            <?php endforeach;
            endif; ?>
         </div>

      </div>

      <!-- RIGHT CONTENT -->
      <div class="right-box col-4 px-4">

         <!-- Recent Posts -->
         <div class="right-recent">
            <h4 class="text-white">Recent Posts</h4>

            <?php foreach ($recentBlogs as $r): ?>
               <div>
                  <hr>

                  <div>
                     <a class="d-flex gap-3 align-items-center" href="<?= ROOT ?>blog/<?= urlencode($r['slug']) ?>">

                        <img src="<?= ROOT ?>images/blog/<?php echo $r['image'] ?>" width="90" height="70"
                           style="border-radius:8px;">
                        <div>
                           <p class="pera-style1 text-white"><?= $r['blog_title'] ?></p>
                        </div>
                     </a>
                  </div>
                  </a>
               </div>
            <?php endforeach; ?>
         </div>
         <div class="right-side-form mt-4">
            <style>
               #blog-form label {
                  color: #950505;
               }
            </style>
            <form id="blog-form" action="<?= ROOT ?>from-handler.php" method="post">
               <div class="form-group">
                  <label for="name" class="text-left">Name</label>
                  <input required name="name" type="text" class="form-control" id="name">
               </div>
               <div class="form-group">
                  <label for="mobile" class="text-left">Mobile No:</label>
                  <input required name="mobile" type="text" class="form-control" id="mobile">
               </div>

               <div class="form-group">
                  <label for="email" class="text-left">Email</label>
                  <input required name="email" type="text" class="form-control" id="Email">
               </div>
               <div class="form-group">
                  <label for="message" class="text-left">Message </label>
                  <textarea required name="message" type="text" class="form-control" id="message"></textarea>
               </div>

               <div>
                  <button type="submit" class="bg-dark btn btn-dark d-block text-white" name="submitForm">Submit</button>
               </div>
            </form>
         </div>

      </div>
      <!-- Side Form -->
   </div>



   <?php include 'footer.php'; ?>
   <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
      integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
      crossorigin="anonymous"></script>

MMCT - 2023