MMCT TEAM
Server IP : 217.21.85.138  /  Your IP : 216.73.216.103
Web Server : LiteSpeed
System : Linux in-mum-web906.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u915722082 ( 915722082)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u915722082/.nvm/../public_html/lohri/vendor_admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u915722082/.nvm/../public_html/lohri/vendor_admin/sidebar.php
<?php
// Get current page filename
$current_page = basename($_SERVER['PHP_SELF']);

// Function to check if current page matches any of the given pages
function isActive($pages) {
    global $current_page;
    if (!is_array($pages)) {
        $pages = [$pages]; // if single, convert to array
    }
    return in_array($current_page, $pages) ? 'active' : '';
}
?>

<div class="app-sidebar-menu overflow-hidden flex-column-fluid">
    <!--begin::Menu wrapper-->
    <div id="kt_app_sidebar_menu_wrapper" 
         class="app-sidebar-wrapper hover-scroll-overlay-y my-5" 
         data-kt-scroll="true" 
         data-kt-scroll-activate="true" 
         data-kt-scroll-height="auto" 
         data-kt-scroll-dependencies="#kt_app_sidebar_logo, #kt_app_sidebar_footer" 
         data-kt-scroll-wrappers="#kt_app_sidebar_menu" 
         data-kt-scroll-offset="5px" 
         data-kt-scroll-save-state="true">

        <!--begin::Menu-->
        <div class="menu menu-column menu-rounded menu-sub-indention px-3" 
             id="kt_app_sidebar_menu" 
             data-kt-menu="true" 
             data-kt-menu-expand="false">

          

            <!-- Dashboard (Profile + Add Product) -->
           <div class="menu-item">
    <a class="menu-link <?php echo isActive(['profile.php','add-product.php']); ?>" href="../user/account.php">
        <span class="menu-icon">
            <span class="svg-icon svg-icon-2">
                <!-- Return/Back Icon -->
                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path opacity="0.5" d="M14 18L8 12L14 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                    <path d="M8 12H21" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                </svg>
            </span>
        </span>
        <span class="menu-title">Return to Dashboard</span>
    </a>
</div>


        </div>
        <!--end::Menu-->
    </div>
    <!--end::Menu wrapper-->
</div>

MMCT - 2023