hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
wjcvelqp
/
www
/
includes
/
Upload FileeE
HOME
<?php require_once 'functions.php'; // Get current page name $current_page = basename($_SERVER['PHP_SELF']); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Bassa Infotainment</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"> </head> <body class="bg-gray-50 font-sans"> <!-- Top Bar - Social Icons (Hidden on Mobile) --> <nav class="bg-white border-b hidden md:block"> <div class="max-w-7xl mx-auto px-4"> <div class="flex justify-end items-center py-2 gap-5 text-xl"> <a href="https://www.facebook.com/share/1844TmWB4s/?mibextid=wwXIfr" class="hover:text-blue-600"><i class="fab fa-facebook-f"></i></a> <a href="https://x.com/tukura_mp?s=11" class="hover:text-blue-400"><i class="fab fa-twitter"></i></a> <a href="#" class="hover:text-pink-600"><i class="fab fa-instagram"></i></a> <a href="https://chat.whatsapp.com/L8n7qfHHKehGh6m9oK3Lp2?mode=gi_t" class="hover:text-green-600"><i class="fab fa-whatsapp"></i></a> <a href="https://t.me/Tukura_MP" class="hover:text-blue-500"><i class="fab fa-telegram-plane"></i></a> </div> </div> </nav> <!-- Main Navigation --> <nav class="bg-gray-100 border-b"> <div class="max-w-7xl mx-auto px-4"> <div class="flex items-center justify-between py-4"> <!-- Logo + Brand --> <a href="index.php" class="flex items-center gap-3"> <img src="assets/images/logo.png" alt="Bassa Infotainment" class="h-12 md:h-16"> <div> <span class="text-3xl md:text-4xl font-bold text-green-700 tracking-tighter">BASSA</span> <span class="text-3xl md:text-4xl font-bold text-green-600 tracking-tighter">INFOTAINMENT</span> </div> </a> <!-- Desktop Menu --> <div class="hidden md:flex items-center gap-8 text-sm font-medium"> <a href="index.php" class="<?= $current_page == 'index.php' ? 'bg-green-700 text-white px-6 py-3 rounded' : 'hover:text-green-700 transition' ?>">HOME</a> <a href="about.php" class="<?= $current_page == 'about.php' ? 'bg-green-700 text-white px-6 py-3 rounded' : 'hover:text-green-700 transition' ?>">ABOUT</a> <a href="music.php" class="<?= $current_page == 'music.php' ? 'bg-green-700 text-white px-6 py-3 rounded' : 'hover:text-green-700 transition' ?>">MUSIC</a> <a href="contact.php" class="<?= $current_page == 'contact.php' ? 'bg-green-700 text-white px-6 py-3 rounded' : 'hover:text-green-700 transition' ?>">CONTACT</a> <!-- Categories Dropdown --> <div class="relative group"> <button class="hover:text-green-700 transition flex items-center gap-1"> CATEGORIES <i class="fas fa-chevron-down text-xs"></i> </button> <div class="absolute hidden group-hover:block bg-white shadow-xl rounded-xl py-4 w-64 z-50 mt-2 border"> <?php foreach(getCategories($pdo) as $cat): ?> <a href="category.php?slug=<?= $cat['slug'] ?>" class="block px-6 py-3 hover:bg-green-50 hover:text-green-700"> <?= htmlspecialchars($cat['name']) ?> </a> <?php endforeach; ?> </div> </div> </div> <!-- Search --> <form action="search.php" method="GET" class="relative w-72 hidden md:block"> <input type="text" name="q" placeholder="Search here..." class="w-full px-5 py-3 border border-gray-300 rounded-lg focus:outline-none focus:border-green-600"> <button type="submit" class="absolute right-2 top-1/2 -translate-y-1/2 bg-green-700 text-white px-5 py-2 rounded-lg"> <i class="fas fa-search"></i> </button> </form> <!-- Mobile Hamburger --> <button onclick="toggleMenu()" class="md:hidden text-3xl text-gray-700"> <i class="fas fa-bars"></i> </button> </div> </div> </nav> <!-- Mobile Menu --> <div id="mobile-menu" class="hidden md:hidden bg-white border-t py-4"> <div class="px-6 flex flex-col gap-4 text-base"> <a href="index.php" class="py-2">HOME</a> <a href="about.php" class="py-2">ABOUT</a> <a href="music.php" class="py-2">MUSIC</a> <a href="contact.php" class="py-2">CONTACT</a> <div class="pt-4 border-t"> <p class="font-semibold mb-3">CATEGORIES</p> <?php foreach(getCategories($pdo) as $cat): ?> <a href="category.php?slug=<?= $cat['slug'] ?>" class="block py-2"><?= htmlspecialchars($cat['name']) ?></a> <?php endforeach; ?> </div> </div> </div> <script> function toggleMenu() { document.getElementById('mobile-menu').classList.toggle('hidden'); } </script>