File manager - Edit - /home/asiatechinc/public_html/asiatechinc-websites/hotelvatika.in/header.php
Back
<style> .active{ color:#ffffff !important; background-color: #e8aa22 !important ; font-weight: 600px; } </style> <?php $url = "$_SERVER[REQUEST_URI]"; $active = ''; if(strpos($url,'index') !== false){ $active = 1; } if(strpos($url,'accomodation.php') !== false){ $active = 2; } if(strpos($url,'gallery') !== false){ $active = 3; } if(strpos($url,'about') !== false){ $active = 4; } if(strpos($url,'attraction') !== false){ $active = 5; } if(strpos($url,'visit') !== false){ $active = 6; } if(strpos($url,'contact') !== false){ $active = 7; } ?> <style> .discount { position: fixed; right: 20px; bottom: 200px; z-index: 9999; width: 9%; } .discount img { max-width: 100%; width: 200px; } .book-now { position: fixed; right: 20px; bottom: 40px; z-index: 9999; width: 8%; } .book-now img { max-width: 100%; width: 200px; } @media only screen and (max-width: 767px) { .book-now { position: fixed; right: 20px; bottom: 40px; z-index: 9999; width: 21%; } .discount { position: fixed; right: 20px; bottom: 200px; z-index: 9999; width: 24% !important; } } </style> <style> .insta { position: fixed; right: 2px; bottom: 201px; z-index: 9999; width: 7%; } .insta img { max-width: 100%; width: 200px; } .call { position: fixed; right: 2px; bottom: 300px; z-index: 9999; width: 7%; } .call img { max-width: 100%; width: 200px; } </style> <!--div class="insta"> <a href="https://www.instagram.com/p/CDjFKmIDuAv/?igshid=1x6wt821a6olg" target="_blank"><img src="assets/img/insta.png" alt="Hotel Vatika"></a> </div> <div class="call"> <a href="tel:8728010808"><img src="assets/img/call.png" alt="Hotel Vatika"></a> </div>--> <!--<div class="book-now"> <a href="https://www.asiatech.in/booking_engine/index3.php?token=MzM4OA==" target="_blank"><img src="assets/img/booknow.png" alt="Hotel Vatika"></a> </div> --> <!--<div class="discount"> <a href="https://www.asiatech.in/booking_engine/index3.php?token=MzM4OA==" target="_blank"><img src="assets/img/discount.png" alt="Hotel Vatika"></a> </div>---> <!-- Top Header --> <div id="top-header"> <div class="inner-container container"> <!-- Contact Info --> <ul class="contact-info list-inline"> <li><i class="fa fa-phone"></i><a href="tel:8728010808">8728010808</a></li> <li><i class="fa fa-envelope-o"></i><a href="mailto:vatikaresorts@hotmail.com">vatikaresorts@hotmail.com</a></li> </ul> </div> </div> <!-- End of Top Header --> <!-- Main Header --> <header id="main-header"> <div class="inner-container container"> <div class="left-sec col-sm-4 col-md-2 clearfix"> <!-- Top Logo --> <div id="top-logo"> <img src="assets/img/newlogo.png" style="width:199px;" alt="Hotel Vatika"/> </div> </div> <div class="right-sec col-sm-8 col-md-10 clearfix"> <!-- Book Now --> <!--<a href="http://www.asiatech.in/booking_engine/index3?token=Mzc=" class="book-now-btn btn btn-default btn-sm">Book Now</a> --> <!-- Main Menu --> <nav id="main-menu"> <ul class="list-inline"> <li><a href="index.php" <?php if($active == 1){ echo 'class="active"'; } ?>>Home</a></li> <li><a href="accomodation.php" <?php if($active == 2){ echo 'class="active"'; } ?>>Rooms</a> <ul> <li><a href="deluxe.php">Deluxe Room</a></li> <li><a href="super.php">Super Deluxe Room</a></li> <!-- <li><a href="luxury.php">Luxury Room</a></li>--> </ul> </li> <li><a href="gallery.php" <?php if($active == 3){ echo 'class="active"'; } ?>>Gallery</a></li> <li><a href="about.php" <?php if($active == 4){ echo 'class="active"'; } ?>>About Us</a></li> <li><a href="attraction.php" <?php if($active == 5){ echo 'class="active"'; } ?>>Attractions</a></li> <li><a href="visit.php" <?php if($active == 6){ echo 'class="active"'; } ?>>Visit Us</a></li> <li><a href="contact.php" <?php if($active == 7){ echo 'class="active"'; } ?>>Contact</a></li> <li><a href="https://www.asiatech.in/booking_engine/index3.php?token=MzM4OA==" target="_blank" style="background:#e8aa22; line-height:40px;">Book Now</a></li> </ul> </nav> ` <!-- Menu Handel --> <div id="main-menu-handle" class="hidden-md hidden-lg"><i class="fa fa-bars"></i></div> </div> </div> <div id="mobile-menu-container" class="hidden-md hidden-lg"></div> </header> <!-- End of Main Header -->
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings