hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
wjcvelqp
/
www
/
includes
/
Upload FileeE
HOME
<?php // Get Top 4 Popular Posts $stmt = $pdo->query("SELECT id, title FROM posts ORDER BY views DESC LIMIT 4"); $popular_posts = $stmt->fetchAll(PDO::FETCH_ASSOC); ?> <footer class="bg-gray-900 text-gray-300 mt-16"> <div class="max-w-7xl mx-auto px-4 py-16"> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10"> <!-- About Us --> <div> <h3 class="text-white text-xl font-bold mb-4">About Us</h3> <p class="text-gray-400 leading-relaxed"> Bassa Infotainment is your trusted source for latest news, entertainment, and insightful stories from Bassa and beyond. </p> <a href="about.php" class="inline-block mt-4 text-green-400 hover:text-green-300 font-medium"> Read More → </a> </div> <!-- Popular Posts --> <div> <h3 class="text-white text-xl font-bold mb-4">Popular Posts</h3> <div class="space-y-4"> <?php foreach($popular_posts as $post): ?> <a href="single.php?id=<?= $post['id'] ?>" class="block hover:text-white transition line-clamp-2"> <?= htmlspecialchars($post['title']) ?> </a> <?php endforeach; ?> </div> </div> <!-- Newsletter --> <div> <h3 class="text-white text-xl font-bold mb-4">Newsletter</h3> <p class="text-gray-400 mb-4">Stay updated with the latest news and stories.</p> <form class="space-y-3"> <input type="email" placeholder="Enter your email address" class="w-full px-5 py-4 bg-gray-800 border border-gray-700 rounded-xl focus:outline-none focus:border-green-500"> <button type="submit" class="w-full bg-green-700 hover:bg-green-600 text-white py-4 rounded-xl font-medium"> Subscribe </button> </form> </div> <!-- Social Media --> <div> <h3 class="text-white text-xl font-bold mb-4">Follow Us</h3> <div class="flex gap-5 text-3xl"> <a href="https://www.facebook.com/share/1844TmWB4s/?mibextid=wwXIfr" class="hover:text-blue-500"><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-500"><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> <p class="text-gray-500 mt-6 text-sm"> © <?= date("Y") ?> Bassa Infotainment.<br> All Rights Reserved. </p> </div> </div> </div> </footer>