File manager - Edit - /home/asiatechinc/public_html/asiatech-websites/hoteltheroyalkrishna.com/include/header.php
Back
<style> .active{ color: #bca42a !important; } </style> <?php $url = "$_SERVER[REQUEST_URI]"; $active = ''; if(strpos($url,'index') !== false){ $active = 1; } if(strpos($url,'about') !== false){ $active = 2; } if(strpos($url,'contact') !== false){ $active = 8; } if(strpos($url,'gallery') !== false){ $active = 5; } if(strpos($url,'room') !== false){ $active = 3; } if(strpos($url,'tariff') !== false){ $active = 7; } if(strpos($url,'attraction') !== false){ $active = 4; } if(strpos($url,'tour') !== false){ $active = 6; } ?> <style> .sticky-container{ padding:0px; margin:0px; position:fixed; right:-130px; top:130px; width:200px; z-index: 1100; } .sticky li{ list-style-type:none; color:#efefef; height:100px; padding:0px; margin:0px 0px 1px 0px; -webkit-transition:all 0.25s ease-in-out; -moz-transition:all 0.25s ease-in-out; -o-transition:all 0.25s ease-in-out; transition:all 0.25s ease-in-out; cursor:pointer; } .sticky li img{ float:left; margin:5px 4px; margin-right:5px; } .sticky li p{ padding-top:5px; margin:0px; line-height:16px; font-size:11px; } .sticky li p a{ text-decoration:none; color:#2C3539; } .sticky li p a:hover{ text-decoration:underline; } .sticky-container1{ padding:0px; margin:0px; position:fixed; right:-130px; top:530px; width:200px; z-index: 1100; } .sticky1 li{ list-style-type:none; color:#efefef; height:100px; padding:0px; margin:0px 0px 1px 0px; -webkit-transition:all 0.25s ease-in-out; -moz-transition:all 0.25s ease-in-out; -o-transition:all 0.25s ease-in-out; transition:all 0.25s ease-in-out; cursor:pointer; } .sticky1 li img{ float:left; margin:5px 4px; margin-right:5px; } .sticky1 li p{ padding-top:5px; margin:0px; line-height:16px; font-size:11px; } .sticky1 li p a{ text-decoration:none; color:#2C3539; } .sticky1 li p a:hover{ text-decoration:underline; } .quick{ position: fixed; right: -20px; z-index: 9999; top: 410px; } .book{ position: fixed; right: -20px; z-index: 9999; top: 155px; } @media only screen and (max-width: 1366px) { .bg2{ top: 31px; } } @media only screen and (max-width: 1366px) { .bg3{ top:282px; } } .chat_to_hb { position: fixed; left: 2px; bottom: 60%; z-index: 99999999999; background: #020202; color: white; padding: 4px 12px; border-radius: 4px 0px 0px 4px; } </style> <style> .mar1{ width: 100%; direction: left; direction: ltr; background: #000000; padding:10px; } .mar{color:#ffffff;} </style> <header id="main-header"> <marquee class="mar1"> <!--<span class="mar">COVID-19 negative report not older than 48 hours mandatory for devotees at Mata Vaishno Devi Shrine/ Entry to katra town</span>--> <span class="mar"><b>For Room Reservation Call: </b>+91 8082076366 <!--| <b>For Booking :</b>--> <!--+91 9596967277--><!--+91 8899744288--> | <!--sales@hoteltheroyalkrishna.com |--> theroyalkrishnahotel@gmail.com<!--, theroyalkrishnahotel@gmail.com--></span> </marquee> <div class="chat_to_hb"><a href="https://api.whatsapp.com/send?phone=918082076366&text=May I know more info about your hotel." target="_blank" style="color:white;"><i class="img-responsive" aria-hidden="true"></i><img src="assets/img/WhatsApp_Icon.png" alt="Hotel The Royal Krishna Katra" title="Hotel The Royal Krishna Katra" style="width:35px"> Chat</a></div> <div class="inner-container container"> <div class="l-sec col-xs-8 col-sm-3 col-md-3"> <a href="index.php" id="t-logo"> <img src="assets/img/logo1.png"> </a> </div> <!--div class="book bg2"><a href="http://www.asiatech.in/booking_engine/index3?token=MTA3Ng==" target="_blank"><img src="assets/img/agent.png"></a></div--> <div class="r-sec col-xs-4 col-sm-9 col-md-9"> <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="about.php" <?php if($active == 2){ echo 'class="active"'; } ?>>About</a></li> <li><a href="rooms.php" <?php if($active == 3){ echo 'class="active"'; } ?>>Rooms</a></li> <li><a href="attraction.php" <?php if($active == 4){ echo 'class="active"'; } ?>>Attraction</a></li> <li><a href="gallery.php" <?php if($active == 5){ echo 'class="active"'; } ?>>Gallery</a></li> <li><a href="tour.php" <?php if($active == 6){ echo 'class="active"'; } ?>>Virtual Tour</a> <li><a href="tariff.php" <?php if($active == 7){ echo 'class="active"'; } ?>>Tariff</a></li> <li><a href="contact.php" <?php if($active == 8){ echo 'class="active"'; } ?>>Contact</a></li> </ul> </nav> <div id="main-menu-handle" class="ravis-btn btn-type-2"><i class="fa fa-bars"></i><i class="fa fa-close"></i></div> <a href="http://www.asiatech.in/booking_engine/index3?token=MTA3Ng==" target="_blank" id="header-book-bow" class="ravis-btn btn-type-2"><span style="color:#fff;">Book Now</span> <i class="fa fa-calendar"></i></a> </div> </div> <div id="mobile-menu-container"></div> </header>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings