HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/smarthr-co-in/demo/codeigniter/template/app/Views/partials/menu.php
<?php
$link = $_SERVER['PHP_SELF'];
$link_array = explode('/', $link);
$page = end($link_array);

// Include main menu components for pages that are not excluded
if ($page != 'under-maintenance' &&
    $page != 'under-construction' &&
    $page != 'coming-soon' &&
    $page != 'error-404' &&
    $page != 'error-500' &&
    $page != 'two-step-verification-3' &&
    $page != 'two-step-verification-2' &&
    $page != 'two-step-verification' &&
    $page != 'email-verification-3' &&
    $page != 'email-verification-2' &&
    $page != 'email-verification' &&
    $page != 'reset-password-3' &&
    $page != 'reset-password-2' &&
    $page != 'reset-password' &&
    $page != 'forgot-password-3' &&
    $page != 'forgot-password-2' &&
    $page != 'forgot-password' &&
    $page != 'register-3' &&
    $page != 'register-2' &&
    $page != 'register' &&
    $page != 'login-3' &&
    $page != 'login-2' &&
    $page != 'login' &&
    $page != 'success' &&
    $page != 'success-2' &&
    $page != 'success-3' &&
    $page != 'lock-screen' &&
    $page != 'job-grid-2' &&
    $page != 'job-list-2' &&
    $page != 'job-details') {
    
    include 'topbar.php';
    include 'sidebar.php';
    include 'horizontal-sidebar.php';
    include 'twocolumn-sidebar.php';
    include 'stacked-sidebar.php';
}

// Include job header for specific job-related pages
if ($page === 'job-grid-2' || $page === 'job-list-2' || $page === 'job-details') {
    include 'job-header.php';
}