Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /home/dnlcambodia/public_html/Khmer/ |
<style> /* Style for dropdown toggle */ .dropdown-active { cursor: pointer; padding: 0.5rem; border-radius: 0.375rem; transition: background-color 0.3s ease; } .dropdown-active:hover { background-color: #f8f9fa; /* Change to desired hover background color */ } /* Style for dropdown menu */ .dropdown-menu { min-width: 7rem; padding: 0; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.375rem; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); } /* Style for dropdown items */ .dropdown-item { padding: 0.5rem 1rem; font-size: 0.875rem; color: #212529; /* Default text color */ transition: background-color 0.3s ease; } .dropdown-item:hover { background-color: #f8f9fa; /* Change to desired hover background color */ } </style> <header id="ft-header" class="ft-header-section header-style-two"> <div class="ft-header-top"> <div class="container"> <div class="ft-header-top-content d-flex align-items-center"> <div class="ft-header-top-cta ul-li"> <ul class="d-flex"> <li><i class="fal fa-map-marker-alt"></i>អគារលេខ 809 (ជាន់ទី 8), C7 Fortune Tower, Olympia City, ផ្លូវ 182 កែង 161, សង្កាត់ វាលវង់, ខណ្ឌ ៧មករា, រាជធានីភ្នំពេញ, កម្ពុជា</li> <!-- <li><i class="fal fa-envelope"></i>Email: dnl@gmail.com</li> --> </ul> </div> <div class="ft-header-cta-info d-flex" style="margin-left: 20px;"> <div class="ft-header-cta-icon d-flex justify-content-center align-items-center"> <i class="flaticon-call"></i> </div> <div class="ft-header-cta-text headline pera-content"> <p>ទំនាក់ទំនង</p> <h3>+855 23 885 335 </h3> </div> </div> </div> </div> </div> <div class="ft-header-main-menu-wrapper" style="background:#fff;"> <div class="container"> <div class="ft-header-main-menu-area position-relative"> <div class="ft-header-main-menu d-flex align-items-center justify-content-between position-relative"> <div class="ft-site-logo-area"> <div class="ft-site-logo position-relative"> <a href="./"><img src="assets/img/logo/dnl01-1@2x.png" alt=""></a> </div> </div> <div class="ft-main-navigation-area"> <nav class="ft-main-navigation clearfix ul-li"> <ul id="ft-main-nav" class="nav navbar-nav clearfix"> <li <?php if (basename($_SERVER['PHP_SELF']) == 'index.php') echo 'class="active"'; ?>><a href="./" style="color:<?php echo (basename($_SERVER['PHP_SELF']) == 'index.php') ? '#ea1e00' : '#00570E'; ?>">ទំព័រដើម</a></li> <li <?php if (basename($_SERVER['PHP_SELF']) == 'about.php') echo 'class="active"'; ?>><a href="about" style="color:<?php echo (basename($_SERVER['PHP_SELF']) == 'about.php') ? '#ea1e00' : '#00570E'; ?>">អំពីក្រុមហ៊ុន</a></li> <li <?php if (basename($_SERVER['PHP_SELF']) == 'service.php' || basename($_SERVER['PHP_SELF']) == 'service-single.php') echo 'class="active"'; ?>><a href="service" style="color:<?php echo (basename($_SERVER['PHP_SELF']) == 'service.php' || basename($_SERVER['PHP_SELF']) == 'service-single.php') ? '#ea1e00' : '#00570E'; ?>">សេវាកម្ម</a></li> <li <?php if (basename($_SERVER['PHP_SELF']) == 'activities.php') echo 'class="active"'; ?>><a href="activities" style="color:<?php echo (basename($_SERVER['PHP_SELF']) == 'activities.php') ? '#ea1e00' : '#00570E'; ?>">គម្រោង</a></li> <li <?php if (basename($_SERVER['PHP_SELF']) == 'news.php' || basename($_SERVER['PHP_SELF']) == 'preview.php' || basename($_SERVER['PHP_SELF']) == 'tag.php') echo 'class="active"'; ?>><a href="news" style="color:<?php echo (basename($_SERVER['PHP_SELF']) == 'news.php' || basename($_SERVER['PHP_SELF']) == 'preview.php' || basename($_SERVER['PHP_SELF']) == 'tag.php') ? '#ea1e00' : '#00570E'; ?>">ព័ត៌មាន</a></li> <li <?php if (basename($_SERVER['PHP_SELF']) == 'faq.php') echo 'class="active"'; ?>><a href="faq.php" style="color:<?php echo (basename($_SERVER['PHP_SELF']) == 'faq.php') ? '#ea1e00' : '#00570E'; ?>">ផ្សេងៗ</a></li> </ul> </nav> </div> <div class="ft-header-cta-btn"> <a class="d-flex justify-content-center align-items-center" href="contact" style="background:#00570E; ">Get Quote</a> </div> <div class="dropdown" style="margin-right:70px;"> <button class="btn dropdown-toggle" type="button" id="dropdownLanguage" data-bs-toggle="dropdown" aria-expanded="false"> <img src="./assets/flag/Khmer-Flag.png" alt="ខ្មែរ" style="width:45px;"> ខ្មែរ </button> <ul class="dropdown-menu" aria-labelledby="dropdownLanguage"> <li><a class="dropdown-item" href="#" id="english-link"> <img src="./assets/flag/English-Flag.png" alt="Eng" style="width:45px;"> Eng </a></li> </ul> </div> <script> document.addEventListener('DOMContentLoaded', function() { const currentPage = '<?php echo basename($_SERVER['PHP_SELF']); ?>'; const englishLink = document.getElementById('english-link'); englishLink.href = '../' + currentPage; }); </script> <div class="mobile_menu position-relative"> <div class="mobile_menu_button open_mobile_menu" style="color:#00570E; margin-top:35px;"> <i class="fal fa-bars"></i> </div> <div class="mobile_menu_wrap"> <div class="mobile_menu_overlay open_mobile_menu"></div> <div class="mobile_menu_content"> <div class="mobile_menu_close open_mobile_menu"> <i class="fal fa-times"></i> </div> <div class="m-brand-logo"> <a href="!#"><img src="assets/img/logo/logo3.png" alt=""></a> </div> <nav class="mobile-main-navigation clearfix ul-li"> <ul id="m-main-nav" class="navbar-nav text-capitalize clearfix"> <li><a href="index">ទំព័រដើម</a></li> <li><a href="about">អំពីក្រុមហ៊ុន</a></li> <li><a href="service">សេវាកម្ម</a></li> <li><a href="activities">គម្រោង</a></li> <li><a href="news">ព័ត៌មាន</a></li> <li><a href="faq.php">ផ្សេងៗ</a></li> </ul> </nav> </div> </div> </div> </div> </div> </header>