File manager - Edit - /home/asiatechinc/public_html/asiatech-websites/themountainbreeze.in/include/header.php
Back
<?php $current_page = basename($_SERVER['PHP_SELF']); // Get the current page file name ?> <div class="preloader-bg"></div> <div id="preloader"> <div id="preloader-status"> <div class="preloader-position loader"> <span></span> </div> </div> </div> <!-- Progress scroll totop --> <div class="progress-wrap cursor-pointer"> <svg class="progress-circle svg-content" width="100%" height="100%" viewBox="-1 -1 102 102"> <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" /> </svg> </div> <!-- Navbar --> <nav class="navbar navbar-expand-lg"> <div class="container"> <!-- Logo --> <div class="logo-wrapper navbar-brand valign"> <a href="index.php"> <div class="logo"> <img src="img/logo.png" class="logo-img" alt=""> </div> </a> </div> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="icon-bar"><i class="ti-line-double"></i></span> </button> <!-- Navbar links --> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav ml-auto"> <li class="nav-item"> <a class="nav-link <?= ($current_page == 'index.php') ? 'active' : ''; ?>" href="index.php"> Home </a> </li> <li class="nav-item"> <a class="nav-link <?= ($current_page == 'about.php') ? 'active' : ''; ?>" href="about.php"> About Us </a> </li> <li class="nav-item dropdown"> <span class="nav-link <?= (in_array($current_page, ['deluxe-suite.php', 'family-suite.php', 'super-deluxe-suite.php', 'royal-suite', 'executive-suite.php'])) ? 'active' : ''; ?>">Accommodation <i class="ti-angle-down"></i></span> <ul class="dropdown-menu last"> <li class="dropdown-item"><a class="<?= ($current_page == 'deluxe-suite.php') ? 'active' : ''; ?>" href="deluxe-suite.php">Deluxe Suite </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'family-suite.php') ? 'active' : ''; ?>" href="family-suite.php">Family Suite </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'super-deluxe-suite.php') ? 'active' : ''; ?>" href="super-deluxe-suite.php">Super Deluxe Suite </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'royal-suite.php') ? 'active' : ''; ?>" href="royal-suite.php">Royal Suite </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'executive-suite.php') ? 'active' : ''; ?>" href="executive-suite.php">Executive suite </a> </li> </ul> </li> <li class="nav-item"><a class="nav-link <?= ($current_page == 'attractions.php') ? 'active' : ''; ?>" href="attractions.php">Attractions</a></li> <li class="nav-item"><a class="nav-link <?= ($current_page == 'gallery.php') ? 'active' : ''; ?>" href="gallery.php">Gallery</a></li> <li class="nav-item dropdown"> <span class="nav-link <?= (in_array($current_page, ['services.php', 'wellness-center.php', 'the-breeze-club.php', 'rates-and-amenities.php', 'the-breeze-club-enrollment-form.php','news-blog.php','our-team.php'])) ? 'active' : ''; ?>">Explore <i class="ti-angle-down"></i></span> <ul class="dropdown-menu last"> <li class="dropdown-item"><a class="<?= ($current_page == 'services.php') ? 'active' : ''; ?>" href="services.php">Services </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'wellness-center.php') ? 'active' : ''; ?>" href="wellness-center.php">Wellness Center </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'the-breeze-club.php') ? 'active' : ''; ?>" href="the-breeze-club.php">The Breeze Club </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'rates-and-amenities.php') ? 'active' : ''; ?>" href="rates-and-amenities.php">Room Rates </a> </li> <!--<li class="dropdown-item"><a class="<?= ($current_page == 'the-breeze-club-enrollment-form.php') ? 'active' : ''; ?>" href="the-breeze-club-enrollment-form.php">Membership Enrollment Form--> <!-- </a>--> <!-- </li>--> <li class="dropdown-item"><a class="<?= ($current_page == 'news-blog.php') ? 'active' : ''; ?>" href="news-blog.php">Blog / News </a> </li> <li class="dropdown-item"><a class="<?= ($current_page == 'our-team.php') ? 'active' : ''; ?>" href="our-team.php">Our Team </a> </li> </ul> </li> <li class="nav-item"><a class="nav-link <?= ($current_page == 'contact.php') ? 'active' : ''; ?>" href="contact.php">Contact Us</a></li> <li class="nav-item"> <a class="nav-link book-btn" href="https://bookings.asiatech.in/?page=8493&type=website" target="_blank" style="background: #588351; color: #fff; padding: 9px 35px; border-radius: 5px; display:inline-block;">Book Now</a> </li> </ul> </div> </div> </nav> <script> document.addEventListener('DOMContentLoaded', function () { const currentPath = window.location.pathname.split('/').pop(); // Get the current page file name const navLinks = document.querySelectorAll('.navbar-nav .nav-link'); navLinks.forEach(link => { if (link.getAttribute('href') === currentPath) { link.classList.add('active'); } }); }); </script>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings