BLACKSITE
:
216.73.216.62
:
147.93.18.13 / vinyasaweddings.com
:
Linux srv667811 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
:
/
var
/
www
/
mochiwale
/
views
/
layout
/
Upload File:
files >> /var/www/mochiwale/views/layout/header.php
<?php require_once __DIR__ . '/../../db.php'; // your PDO connection try { $serviceStmt = $db->query("SELECT title, slug FROM service_page WHERE status = 'active' ORDER BY id DESC"); $servicePages = $serviceStmt->fetchAll(PDO::FETCH_ASSOC); } catch (PDOException $e) { $servicePages = []; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?= isset($pageTitle) ? $pageTitle : 'Mochi Wale - Premium Shoe & Leather Care' ?></title> <meta name="description" content="<?= isset($pageDescription) ? $pageDescription : 'Get the best shoe and leather care services including cleaning, protection, and restoration.' ?>"> <meta name="keywords" content="<?= isset($pageKeywords) ? $pageKeywords : 'shoe cleaning, leather care, protection, recoloring, Mochi Wale, Delhi' ?>"> <!-- Open Graph Tags --> <meta property="og:title" content="<?= isset($pageTitle) ? $pageTitle : 'Mochi Wale' ?>"> <meta property="og:description" content="<?= isset($pageDescription) ? $pageDescription : 'Premium shoe & leather care in your city.' ?>"> <meta property="og:image" content="<?= isset($ogImage) ? $ogImage : BASE_URL . '/public/Images/logo.jpeg' ?>"> <meta property="og:url" content="<?= BASE_URL . $_SERVER['REQUEST_URI'] ?>"> <meta property="og:type" content="website"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet"> <!-- Custom CSS --> <link rel="stylesheet" href="<?= BASE_URL ?>/public/style.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css"> </head> <body> <!-- Top Banner --> <div class="top-banner bg-black text-white py-2"> <div class="container"> <div class="row align-items-center"> <div class="col-md-6"> <div class="offer-text text-center text-md-start"> <span class="badge bg-danger me-2">Limited Time</span> <span>20% Off on First Service - Use Code: MOCHI20</span> </div> </div> <div class="col-md-6"> <div class="d-flex justify-content-center justify-content-md-end gap-2"> <a href="#" class="btn btn-primary btn-sm text-white"> <i class="fab fa-google-play me-1 text-white"></i> Download </a> <a href="#" class="btn btn-primary btn-sm text-white"> <i class="fab fa-apple me-1 text-white"></i> Download </a> </div> </div> </div> </div> </div> <!-- Main Header --> <header class="sticky-top"> <nav class="navbar navbar-expand-lg navbar-light bg-white"> <div class="container"> <!-- Logo --> <a class="navbar-brand" href="<?= BASE_URL ?>/"> <img src="<?= BASE_URL ?>/public/Images/logo.jpeg" alt="Mochi Wale" height="80"> </a> <!-- Mobile Toggle --> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent"> <span class="navbar-toggler-icon"></span> </button> <!-- Navigation Content --> <div class="collapse navbar-collapse" id="navbarContent"> <ul class="navbar-nav mx-auto mb-2 mb-lg-0"> <li class="nav-item"> <a class="nav-link <?php echo ($activePage === 'home') ? 'link-active' : ''; ?>" href="<?= BASE_URL ?>/">Home</a> </li> <li class="nav-item"> <a class="nav-link <?php echo ($activePage === 'about-us') ? 'link-active' : ''; ?>" href="<?= BASE_URL ?>/about">About Us</a> </li> <!-- Services Dropdown - Custom Styled --> <li class="nav-item dropdown custom-dropdown"> <a class="nav-link dropdown-toggle <?php echo ($activePage === 'service') ? 'link-active' : ''; ?>" href="#" id="servicesDropdown" role="button" data-bs-toggle="dropdown"> Services <i class="fas fa-chevron-down ms-1"></i> </a> <ul class="dropdown-menu custom-dropdown-menu" aria-labelledby="servicesDropdown"> <?php if (!empty($servicePages)): ?> <?php foreach ($servicePages as $service): ?> <li> <a class="dropdown-item" href="<?= BASE_URL ?>/service/<?= htmlspecialchars($service['slug']) ?>"> <?= htmlspecialchars($service['title']) ?> </a> </li> <?php endforeach; ?> <?php else: ?> <li><span class="dropdown-item text-muted">No Services Found</span></li> <?php endif; ?> </ul> </li> <li class="nav-item"> <a class="nav-link <?php echo ($activePage === 'prices') ? 'link-active' : ''; ?>" href="<?= BASE_URL ?>/prices">Prices</a> </li> <li class="nav-item "> <a class="nav-link <?php echo ($activePage === 'faq') ? 'link-active' : ''; ?>" href="<?= BASE_URL ?>/faq">FAQ</a> </li> <li class="nav-item "> <a class="nav-link <?php echo ($activePage === 'contact') ? 'link-active' : ''; ?>" href="<?= BASE_URL ?>/contact">Contact</a> </li> </ul> <!-- CTA Button - Updated --> <div class="d-flex align-items-center ms-lg-3"> <button class="btn btn-custom-primary rounded-pill px-3 py-2" data-bs-toggle="modal" data-bs-target="#enquiryModal"> <i class="fas fa-calendar-alt me-2"></i>Schedule Pickup </button> </div> </div> </div> </nav> </header>