403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2b.hellogtx.com/application/layouts/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2b.hellogtx.com/application/layouts/scripts/new_nav.phtml
<?php
$baseUrl = $this->baseUrl;
$User = new Zend_Session_Namespace('User');
$sessionUser = new Zend_Session_Namespace('User');
$sessionWallaetBalance = new Zend_Session_Namespace('sessionWallaetBalance');
$WallaetBalance = $sessionWallaetBalance->params;
$OutStandingAmount = (isset($WallaetBalance['ortherData'][0]['OutStandingAmount']) && $WallaetBalance['ortherData'][0]['OutStandingAmount'] > 0) ? $WallaetBalance['ortherData'][0]['OutStandingAmount'] : 0;
$object = Zend_Controller_Front::getInstance();
$options = $object->getParam('bootstrap')->getOption('bootstrap');
$stylecss = $options['stylecss'];
$MenuOption = isset($options['MenuOption']) ? $options['MenuOption'] : 0;
$gtxagencysysid = $options['gtxagencysysid'];
//if ($stylecss == 'connectindia') {
//$getRewardPoint = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->getRewardPoint();
//}
$getRewardPoint = (isset($sessionUser->RewardPoints['IsRPActivated']) && $sessionUser->RewardPoints['IsRPActivated'] > 0 && $sessionUser->RewardPoints['BalancePoints'] > 0) ? $sessionUser->RewardPoints['BalancePoints'] : 0;;
$baseUrl = $options['siteUrl'];
$IsAllowFlight = isset($options['IsAllowFlight']) ? $options['IsAllowFlight'] : 0;
$IsAllowHotel = isset($options['IsAllowHotel']) ? $options['IsAllowHotel'] : 0;
$IsAllowHotelINV = isset($options['IsAllowHotelINV']) ? $options['IsAllowHotelINV'] : 0;
$IsAllowPackage = isset($options['IsAllowPackage']) ? $options['IsAllowPackage'] : 0;
$IsAllowActivity = isset($options['IsAllowActivity']) ? $options['IsAllowActivity'] : 0;
$IsAllowVisa = isset($options['IsAllowVisa']) ? $options['IsAllowVisa'] : 0;
$IsAllowBuildPackage = isset($options['IsAllowBuildPackage']) ? $options['IsAllowBuildPackage'] : 0;
$IsAllowLandOnlyPackage = isset($options['IsAllowLandOnlyPackage']) ? $options['IsAllowLandOnlyPackage'] : 0;
$IsAllowVisaEnquiry = isset($options['IsAllowVisaEnquiry']) ? $options['IsAllowVisaEnquiry'] : 0;
$IsAllowStaff = isset($options['IsAllowStaff']) ? $options['IsAllowStaff'] : 1;

$redirectToDashPackage = isset($options['redirectToDashPackage']) ? $options['redirectToDashPackage'] : 0;
$redirectToDashVisa = isset($options['redirectToDashVisa']) ? $options['redirectToDashVisa'] : 0;
$IsAllowSupplier = isset($options['IsAllowSupplier']) ? $options['IsAllowSupplier'] : 0;
$redirectToDash = isset($options['redirectToDash']) ? $options['redirectToDash'] : 0;
$DynamicCurrency = isset($options['DynamicCurrency']) ? $options['DynamicCurrency'] : 0;

$tollfreenumber = $this->tollfreenumber;
$moduleName = $object->getRequest()->getModuleName();
$controllerName = $object->getRequest()->getControllerName();
$action = $object->getRequest()->getActionName();

$active = "class='active'";
if (isset($sessionUser->getAgencyRolePermission) && !empty($sessionUser->getAgencyRolePermission)) {
    $checkData = $sessionUser->getAgencyRolePermission;
} else {
    $checkData = array();
}
//echo "<pre>";print_r($checkData);die;
$iconArray = array(
    'MOD01' => '<i class="fa fa-dashboard"></i>',
    'MOD02' => '<i class="fa fa-users"></i>',
    'MOD03' => '<i class="fa fa-search"></i>',
    'MOD04' => '<i class="fa fa-check-square-o"></i>',
    'MOD05' => '<i class="fa fa-money"></i>',
    'MOD06' => '<i class="fa fa-cogs"></i>',
    'MOD07' => '<i class="fa fa-bar-chart"></i>',
);
$validateArray = array();
if ($IsAllowPackage == 0) {
    array_push($validateArray, 'holidays');
}
if ($IsAllowFlight == 0) {
    array_push($validateArray, 'flight');
}
if ($IsAllowHotel == 0 && $IsAllowHotelINV == 0) {
    array_push($validateArray, 'hotel');
}
if ($IsAllowHotelINV == 0) {
    array_push($validateArray, 'hotelsinv');
}
if ($IsAllowHotel == 0) {
    array_push($validateArray, 'hotels');
}
if ($IsAllowPackage == 0) {
    array_push($validateArray, 'package');
}
if ($IsAllowFlight == 0 && $IsAllowHotel == 0 && $IsAllowHotelINV == 0) {
    array_push($validateArray, 'bookings');
}
if ($IsAllowFlight == 0 && $IsAllowHotel == 0 && $IsAllowHotelINV == 0 && $stylecss != 'dudigitalglobal' && $_SESSION['User']['AgencyType'] != 3) {
    array_push($validateArray, 'finance');
}
if ($IsAllowFlight == 0 && $IsAllowHotel == 0 && $IsAllowHotelINV == 0 && $_SESSION['User']['AgencyType'] != 3) {
    array_push($validateArray, 'settings');
}
if ($IsAllowActivity == 0) {
    array_push($validateArray, 'activities');
}
if ($IsAllowStaff == 0) {
    array_push($validateArray, 'staff-management');
}
if ($IsAllowHotel == 0 && $IsAllowFlight == 0) {
    array_push($validateArray, 'bookings');
}
if ($redirectToDash == 1 || $redirectToDashPackage == 1 || $redirectToDashVisa == 1) {
    array_push($validateArray, 'dashboard');
}
if ($IsAllowSupplier == 1) {
    array_push($validateArray, 'dashboard');
}
if ($IsAllowVisa == 0) {
    array_push($validateArray, 'visa');
}
if ($IsAllowBuildPackage == 0) {
    array_push($validateArray, 'byo');
}
if ($IsAllowLandOnlyPackage == 0) {
    array_push($validateArray, 'byonew');
}
$commonBoxVal_ = Zend_Controller_Action_HelperBroker::getStaticHelper('custom')->getCommonBoxVal();
//echo "<pre>"; print_r($sessionUser->RewardPoints);die('fgd');
$common_content_header_1 = (isset($commonBoxVal_['common_content_header_1']) && !empty($commonBoxVal_['common_content_header_1'])) ? json_decode($commonBoxVal_['common_content_header_1'], 1) : '';

$CurrencySymbol = (isset($sessionUser->data['CurrencySymbol']) && !empty($sessionUser->data['CurrencySymbol'])) ? $sessionUser->data['CurrencySymbol'] : 'INR';
$AgentCurrency = (isset($sessionUser->AgentCurrency) && !empty($sessionUser->AgentCurrency)) ? $sessionUser->AgentCurrency : 0;
//echo '<pre>';print_r($_SESSION['User']);echo '</pre>';
$socialLinksForFooterLink = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->selectSocialLinksForFooterLink();
$cmsAllCurrencyType = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->getCmsCurrencyType();
//$cmsAgencyCurrency = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->getCmsCurrencyTypeByAgency();

$BNPLDueSession = new Zend_Session_Namespace('BNPLDueSession');
?>

<style>
    .toggle-bar2 {
        display: flex;
        justify-content: end;
        display: none;
    }

    .toggle-bar2 i {
        font-size: 30px;
        color: #ff4907;
    }

    .header-nav {
        margin-top: -8px;
    }

    .header-nav .categories {
        padding: 0;
        margin-bottom: 0;
    }

    .header-nav .categories .item {
        display: inline-block;
        margin-left: 5px;
        text-transform: uppercase;
        position: relative;
        padding-top: 0;
    }

    .header-nav .categories .item::before {
        content: '';
        height: 2px;
        width: 0;
        background: var(--highlight-color);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        transition: all 0.5s;
    }

    .header-nav .categories .item:hover::before {
        width: 100%;
    }

    .header-nav .categories .item:first-child {
        margin-left: 0;
    }

    .header-nav .categories .item a {
        color: #333;
        position: relative;
        padding: 10px 5px;
        display: block;
        font-size: 12px;
        font-weight: bold;
    }

    .header-nav .categories .item a:hover {
        color: var(--highlight-color);
    }

    .header-nav .categories .item a.active {
        color: var(--highlight-color);
    }

    .header-nav .categories .item a .new {
        background-color: var(--highlight-color);
        color: var(--balloon-text-color);
        font-size: 8px;
        padding: 1px 4px;
        border-radius: 4px;
        position: absolute;
        top: -2px;
        right: 0;
    }

    .header-nav .categories .item.dropdown {
        position: relative;
        margin-right: 15px;
    }

    .header-nav .categories .item.dropdown:hover::before {
        width: calc(100% + 9px);
    }

    .header-nav .categories .item.dropdown::after {
        content: '\f107';
        font-family: FontAwesome;
        color: #333;
        position: absolute;
        right: -10px;
        top: 6px;
        font-size: 18px;
        transition: .3s all ease-out;
    }

    .header-nav .categories .item.dropdown:hover::after {
        color: var(--highlight-color);
    }

    .header-nav .categories .item.dropdown .sub-categories {
        position: absolute;
        padding: 0;
        z-index: 99;
        background: #fff;
        width: 200px;
        border-top: 1px solid #e2e2e2;
        border-bottom: 2px solid var(--highlight-color);
        opacity: 0;
        visibility: hidden;
        transition: .3s all ease-out;
    }

    .header-nav .categories .item.dropdown .sub-categories {
        right: -9px;
    }

    .header-nav .categories .item.dropdown:hover .sub-categories {
        opacity: 1;
        visibility: visible;
        z-index: 99999;
    }

    .header-nav .categories .item.dropdown .sub-categories .sub-item {
        text-align: left;
        display: block;
        padding-top: 0;
    }

    .header-nav .categories .item.dropdown .sub-categories .sub-item a {
        display: block;
        padding: 10px;
    }

    .header-logo .brand-logo {
        max-height: 48px;
        width: auto;
    }

    @media (max-width:767px) {
        .toggle-bar2 {
            display: flex;
            position: absolute;
            top: 13px;
            right: 13px;
            z-index: 9999;
        }

        .header-nav {
            margin-bottom: 20px;
            display: none;
        }

        .header-nav .categories {
            float: initial;
        }

        .header-nav .categories .item {
            display: block;
            margin-left: 0;
            margin-bottom: 1px;
            text-align: left;
        }

        .header-nav .categories .item.dropdown {
            margin-right: 0;
        }

        .header-nav .categories .item a {
            background: #f9f9f9;
            padding: 10px 35px 10px 10px
        }

        .header-nav .categories .item.dropdown:hover::before {
            width: 100%;
        }

        .header-nav .categories .item.dropdown::after {
            top: 5px;
            right: 5px;
            width: 30px;
            height: 30px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            /* background: #ff4907;
            color: #fff !important; */
            border-radius: 4px;
            cursor: pointer;
        }

        .header-nav .categories .item.dropdown .sub-categories {
            position: relative;
            width: 100%;
            right: 0;
            height: 0;
            overflow: hidden;
            border-bottom: 1px solid #fff;
            padding-left: 10px;
            display: none;
        }

        .header-nav .categories .item.dropdown.show .sub-categories {
            height: 100%;
            display: block;
            opacity: 1;
            visibility: visible;
        }
    }

    #myModa1Enquiry {
        z-index: 999999;
    }

    .cms-currency-change {
        margin: 10px 12px 0 481px;
        text-align: right;
        line-height: 29px;
        font-size: 14px;
        float: left;
        color: #0B1D45;
        width: 150px;
        position: relative;
        font-weight: 500;
        padding-top: 0;
        border-right: 1px solid #e6e6e6;
        padding-right: 15px;
        padding-bottom: 12px;
    }

    @media (min-width: 0px) and (max-width: 480px) {
        .wallet-balance {
            width: auto !important;
        }

        .gtxadd-funds {
            font-size: 10px !important;
        }

        .wallet-dues {
            width: auto !important;
            margin: 0 8px 8px 0;
        }

        .float-left-on-mobile {
            float: left !important;
        }

        .fnone {
            float: none !important;
            display: block;
        }
    }
</style>

<nav class="navigation">
    <div class="container-fluid">
        <!--Logo text start-->
        <div class="header-logo" style="width: inherit;">
            <a href="<?= $baseUrl ?>" title="">
                <?php if (!empty($_SESSION['User']['UserPicPath'])) { ?>
                    <h1><img class="brand-logo" src="<?php echo $_SESSION['User']['UserPicPath']; ?>" alt="Super"></h1>
                <?php } else { ?>
                    <h1><img class="brand-logo" src="<?php echo $baseUrl; ?>public/upload/<?php echo $gtxagencysysid; ?>/images/logo.png" alt="Super"></h1>
                <?php } ?>
            </a>
        </div>
        <!--Logo text End-->
        <div class="top-navigation">
            <!--Top Navigation Start-->
            <?php if (isset($_SESSION['User']['data'])) { ?>
                <ul>
                    <?php if ($User->data && !empty($User->data)) { ?>
                        <li class="dropdown mobile-profile">
                            <!--Notification drop down start-->
                            <a class="dropdown-toggle profilehandle" data-toggle="dropdown" href="javascript:void(0)">
                                <span class="gtxwallet_mobilehide"> <?php
                                                                    if (!empty(trim($_SESSION['User']['data']['FirstName'])) && !empty(trim($_SESSION['User']['data']['LastName']))) {
                                                                        echo ($_SESSION['User']['data']['FirstName']) . ' ' . ($_SESSION['User']['data']['LastName']) . ' (' . $_SESSION['User']['data']['AgencyName'] . ')';
                                                                    } else {
                                                                        echo ($_SESSION['User']['data']['EmailId']);
                                                                    }
                                                                    ?>
                                    <img src="<?php echo $baseUrl; ?>public/images/downarrow.png" alt="GTX"></span>
                                <span>
                                    <img class="pofile_size_handle" src="<?php echo $baseUrl; ?>public/images/man01.png">
                                </span>
                            </a>

                            <div class="dropdown-menu right top-notification" style="display: none;">
                                <h4>Account Setting <span style=" ">(<?php echo $_SESSION['User']['data']['AgencySysId']; ?>)</span></h4>
                                <ul class="ls-feed">
                                    <?php if ($getRewardPoint > 0) {   ?>
                                        <li>
                                            <a href="javascript://">
                                                <span class="label label-red">
                                                    <i class="fa fa-money white"></i>
                                                </span>
                                                Reward Points: <?= number_format($getRewardPoint) ?>

                                            </a>
                                        </li>
                                    <?php } ?>
                                    <?php if ($_SESSION['User']['AgencyType'] != 3) { ?>
                                        <li>
                                            <a href="<?php echo $baseUrl; ?>dashboard/index/myprofile">
                                                <span class="label label-red">
                                                    <i class="fa fa-user white"></i>
                                                </span>
                                                Profile

                                            </a>
                                        </li>
                                    <?php } ?>
                                    <li>
                                        <a href="<?php echo $baseUrl; ?>dashboard/index/changepassword">
                                            <span class="label label-light-green">
                                                <i class="fa fa-lock"></i>
                                            </span>

                                            Change Password
                                        </a>
                                    </li>
                                    <li>
                                        <a href="javascript://" data-toggle="modal" data-target="#myModalrelationship">
                                            <span class="label label-light-blue1">
                                                <i class="fa fa-user-circle-o"></i>
                                            </span>

                                            Relationship Manager
                                        </a>
                                    </li>
                                    <?php if ($stylecss != 'tripjack') { ?>
                                        <li>
                                            <a href="<?php echo $baseUrl; ?>index/logout">
                                                <span class="label label-lightBlue">
                                                    <i class="fa fa-power-off"></i>
                                                </span>Logout
                                            </a>
                                        </li>
                                    <?php } ?>
                                </ul>
                            </div>
                            <!--Notification drop down end-->
                        </li>
                    <?php
                    }
                    ?>
                    <li>
                        <!--Phone Navigation Menu icon start-->
                        <div class="phone-nav-box visible-xs">

                            <a class="phone-nav-control" href="javascript:void(0)">
                                <span class="fa fa-bars"></span>
                            </a>

                        </div>
                        <!--Phone Navigation Menu icon start-->
                    </li>

                </ul>

                <?php
                if ($stylecss == 'connectindia') {
                    if ($getRewardPoint > 0) {
                ?>
                        <!--Top Navigation End-->

                        <div class="wallet-balance">
                            <span class="wallet_due_left_txt wallet_align">
                                <?= number_format($getRewardPoint) ?>
                            </span>
                            <span class=" wallet_align">Reward Points:</span>


                        </div>

                    <?php
                    }
                } else if ($stylecss != 'globalrep' && $stylecss != 'tripjack' && $stylecss != 'fly24hrs') {
                    ?>


                    <?php if ($User->data && !empty($User->data) && $_SESSION['User']['AgencyType'] != 3) { ?>
                        <form method="post" name="recharge_from" id="recharge_from_top" action="https://globaltravelexchange.com/payment/payment-options">


                            <div class="wallet-balance">
                                <span class="wallet_due_left_txt wallet_align">
                                    <?= $CurrencySymbol ?> <span class="creditBalance"><?= number_format($WallaetBalance['creditBalance'], 2) ?></span> <span style="cursor: pointer;"><i class="fa fa-refresh refreshBalan" title="Refresh Balance" aria-hidden="true"></i></span>
                                </span>
                                <span class="gtxwallet_mobilehide wallet_align">My Balance :</span>

                                <?php
                                if ($OutStandingAmount >= 0) {
                                ?>
                                    <a id="anchorId" data-toggle="modal" data-target="#myDepositModal" class="gtxadd-funds"><strong>Update Balance</strong></a>
                                <?php
                                }
                                ?>

                            </div>
                            <?php
                            if ($OutStandingAmount > 0 && $gtxagencysysid != '5310') {
                            ?>
                                <div class="wallet-dues">
                                    <span class="wallet_due_left_txt wallet_align wallet_align_due"> <?= $CurrencySymbol ?> <?= $OutStandingAmount ?>
                                    </span>
                                    <span class="gtxwallet_mobilehide wallet_align">Dues:</span>
                                    <div class="clearfix"></div>
                                    <span class="datetext"><?= date('d-m-Y', strtotime($WallaetBalance['ortherData'][0]['CreditDate']['date'])) ?></span>

                                </div>

                            <?php
                            }
                            ?>
                        </form>
                    <?php } ?>

                    <?php if (!empty($BNPLDueSession->params) && isset($BNPLDueSession->params['TotalBNPLDue']) && $BNPLDueSession->params['TotalBNPLDue'] > 0) {
                    ?>
                        <div class="wallet-balance float-left-on-mobile">
                            <span class="wallet_due_left_txt wallet_align">
                                <?= $BNPLDueSession->params['Symbol'] ?> <span class="DueBNPLBalance"><?= number_format($BNPLDueSession->params['TotalBNPLDue'], 2) ?></span> <span style="cursor: pointer;"><i class="fa fa-refresh refreshBNPLBalan" title="Refresh Balance" aria-hidden="true"></i></span>
                            </span>
                            <span class=" wallet_align fnone">BNPL Due :</span>
                        </div>
                    <?php }
                    ?>
                    <div class="wallet-balance" style="width: auto;<?php echo ($DynamicCurrency == 1) ? '' : 'display:none;'; ?>">
                        <select class="form-control" name="currencyType" onchange="changeCurrencyType(this)" style="width: 60%">
                            <option>Select Currency</option>
                            <?php foreach ($cmsAllCurrencyType as $currencyKy => $currencyVal) { ?>
                                <option value="<?php echo $currencyVal['CurrencyId']; ?>" id="currencySymbol<?php echo $currencyVal['CurrencyId']; ?>" <?php echo (isset($AgentCurrency) && ($AgentCurrency == $currencyVal['CurrencyId'])) ? 'selected' : ''; ?>><?php echo $currencyVal['Title']; ?></option>
                            <?php } ?>
                        </select>
                        <span id="curencyUpdateMsg"></span>

                    </div>
                <?php } ?>
                <?php if ($stylecss == 'tripjack') { ?>
                    <div class="wallet-balance">&nbsp;</div>
                    <div class="wallet-balance" style="border-right:0px;">
                        <a href="https://tripjack.com/" target='_blank'><span class="gtxwallet_mobilehide wallet_align">Back to Tripjack</span></a>
                    </div>
                <?php } ?>
            <?php } ?>
            <div class="clearfix"></div>

            <?php if ($MenuOption == 1) { ?>
                <!-- start header nav -->
                <span class="toggle-bar2">
                    <i class="fa fa-bars"></i>
                </span>
                <div class="header-nav">
                    <?php
                    if (!empty($checkData)) {
                    ?>
                        <ul class="categories">
                            <?php if ($_SESSION['User']['AgencyType'] == 3) { ?>
                                <li class="item"><a href="javascript://" onclick="addQueryPop()">Add Query</a></li>
                            <?php } ?>
                            <?php
                            foreach ($checkData as $key => $val) {
                                if ($val['IsActive'] == '1') {
                                    $url = trim($val['url']);
                                    if ($url != "") {
                                        $setURL = $this->baseUrl($url);
                                    } else {
                                        $setURL = "javascript://";
                                    }
                                    $getModuleName = trim($val['ModuleName']);
                                    $getControllerName = trim($val['ControllerName']);
                                    $getDisplayName = trim($val['Title']);
                                    $displayOnLeft = trim($val['IsDisplayLeftNev']);
                                    $category = trim($val['ParentCode']);
                                    $moduleVal = trim($val['val']);
                                    if ($category == 'MOD03') {
                                        $category = 0;
                                    }

                                    if ($displayOnLeft == '1' && $category == '0' && !in_array(trim($getModuleName), $validateArray) && !in_array(trim($getControllerName), $validateArray) && $moduleVal != 'MOD03' && $getDisplayName != 'Forex') {
                            ?>
                                        <li class="item <?php echo ($setURL == 'javascript://') ? 'dropdown' : ''; ?>">
                                            <a href="<?php echo $setURL; ?>" <?php echo ($moduleName == $getModuleName && $controllerName == trim($getControllerName)) ? $active : ''; ?>>
                                                <?php
                                                //                                     
                                                echo $getDisplayName;
                                                //                                       
                                                ?>
                                            </a>
                                            <?php if ($setURL == 'javascript://') { ?>
                                                <ul class="sub-categories">
                                                    <?php
                                                    foreach ($checkData as $keySub => $valSub) {
                                                        if ($valSub['IsActive'] == '1' && !in_array(trim($valSub['ControllerName']), $validateArray)) {
                                                            $Subcategory = trim($valSub['ParentCode']);
                                                            $getSubTitle = trim($valSub['Title']);
                                                            $ModuleType = trim($valSub['ModuleType']);
                                                            $subUrl = trim($valSub['url']);
                                                            if ($subUrl != "") {
                                                                $setSubURL = $this->baseUrl($subUrl);
                                                            } else {
                                                                $setSubURL = "javascript://";
                                                            }
                                                            if ($moduleVal == $Subcategory) {
                                                                if ($setSubURL == '/bookings/flight') {
                                                                    $setSubURL = $setSubURL . '/new';
                                                                }
                                                    ?>
                                                                <li class="sub-item"><a class="modifybtn_<?= $subUrl ?>" href="<?php echo $setSubURL; ?>" <?php echo ($moduleName == $getModuleName && $actionName == $getControllerName) ? $active : ''; ?>><?php echo $getSubTitle; ?> </a></li>
                                                                <?php if ($getSubTitle == 'Readymade Package') { ?>
                                                                    <li class="sub-item"><a class="showCustomizeUmrah" href="javascript://">Customized Umrah</a></li>
                                                                <?php
                                                                }
                                                                if ($getModuleName == 'settings' && $val['val'] == 'MOD06') {
                                                                ?>
                                                                    <?php if ($getRewardPoint > 0) {   ?>
                                                                        <li class="sub-item">
                                                                            <a href="javascript://">
                                                                                Reward Points: <?= number_format($getRewardPoint) ?>

                                                                            </a>
                                                                        </li>
                                                                    <?php } ?>
                                                                    <li class="sub-item"><a href="<?php echo $baseUrl; ?>dashboard/index/myprofile">Profile</a></li>
                                                                    <li class="sub-item"><a href="<?php echo $baseUrl; ?>dashboard/index/changepassword">Change Password</a></li>
                                                                    <li class="sub-item"><a href="javascript://" data-toggle="modal" data-target="#myModalrelationship">Relationship Manager</a></li>
                                                                    <?php if ($stylecss != 'dudigitalglobal') { ?>
                                                                        <li class="sub-item"><a href="<?php echo $baseUrl; ?>markup/trans-management">Secure Transaction</a></li>
                                                                    <?php } ?>
                                                                    <li class="sub-item"><a href="<?php echo $baseUrl; ?>index/logout">Logout</a></li>
                                                                <?php } ?>
                                                    <?php
                                                            }
                                                        }
                                                    }
                                                    ?>
                                                </ul>

                                            <?php } ?>

                                        </li>
                                        <?php if (($stylecss == 'travelcentrik' || $stylecss == 'superdmc' || $stylecss == 'sbjtrips') && $getDisplayName == 'Hotels') { ?>
                                            <li class="item">
                                                <a target="_blank" href="https://www.miceemporio.com/"> MICE</a>
                                            </li>
                                            <?php if ($IsAllowVisaEnquiry == 1 && $IsAllowVisa == 0) { ?>
                                                <li class="item">
                                                    <a data-target="#myModa1EnquiryVisa" href="javascript://" data-toggle="modal"> Visa</a>
                                                </li>

                                        <?php
                                            }
                                        }
                                        ?>

                                        <?php
                                    } else {
                                        if ($getModuleName == 'default' && $getDisplayName == 'Forex') {
                                        ?>
                                            <li class="item">
                                                <a data-target="#myModa1Enquiry" href="javascript://" data-toggle="modal" onclick="$('.PlanType7').click();"> <?php echo $getDisplayName; ?></a>
                                            </li>

                            <?php
                                        }
                                    }
                                }
                            }
                            ?>
                            <?php if ($getSubTitle == 'Readymade Package') { ?>
                                <li class="sub-item"><a class="modifybtn_<?= $subUrl ?>" href="javascript://" data-toggle="modal" data-target="#myModa1Enquiry">Customized Umrah</a></li>
                            <?php
                            }
                            if (in_array(trim('settings'), $validateArray)) {
                            ?>
                                <li class="item dropdown">
                                    <a href="javascript://">Settings</a>
                                    <ul class="sub-categories">
                                        <li class="sub-item"><a href="<?php echo $baseUrl; ?>dashboard/index/myprofile">Profile</a></li>
                                        <?php if ($stylecss != 'fly24hrs') { ?>
                                            <li class="sub-item"><a href="<?php echo $baseUrl; ?>dashboard/index/changepassword">Change Password</a></li>
                                            <li class="sub-item"><a href="javascript://" data-toggle="modal" data-target="#myModalrelationship">Relationship Manager</a></li>
                                            <?php if ($stylecss != 'dudigitalglobal') { ?>
                                                <li class="sub-item"><a href="<?php echo $baseUrl; ?>markup/trans-management">Secure Transaction</a></li>
                                            <?php } ?>
                                            <li class="sub-item"><a href="<?php echo $baseUrl; ?>index/logout">Logout</a></li>
                                        <?php } ?>
                                    </ul>
                                </li>
                                <?php
                            }
                            if (!empty($common_content_header_1)) {
                                foreach ($common_content_header_1 as $lkey => $lvalue) {
                                ?>
                                    <li class="item ">
                                        <a target="_blank" href="<?php echo $lvalue['link_url']; ?>"><?php echo $lvalue['heading']; ?></a>
                                    </li>
                            <?php
                                }
                            }
                            ?>


                        </ul>
                    <?php } ?>
                </div>
                <!-- end header nav -->
            <?php } ?>


        </div>
    </div>
</nav>
<?php
// echo "<pre>"; print_r($WallaetBalance); die('test');
?>

<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<script>
    if ($(window).innerWidth() < 768) {
        $(function() {
            $('.header-nav .categories .item.dropdown').on('click', function(e) {
                e.preventDefault();
                $(this).toggleClass('show');
            });
            $('.toggle-bar2').on('click', function() {
                $('.header-nav').slideToggle();
            });
        });
    }

    $(".showCustomizeUmrah").click(function(event) {
        $('#myModa1Enquiry').modal('show');
    });
    $(".forexModal").click(function(event) {
        $('#myModa1Enquiry').modal('show');
        $('.PlanType7').trigger('click');
    });
</script>
<script>
    function changeCurrencyType(that) {
        var currencyId = $(that).val();
        var symbolCurrency = $('#currencySymbol' + currencyId).text();
        $.ajax({
            url: '/index/change-currency',
            type: 'post',
            data: {
                'currencyId': currencyId,
                'symbolCurrency': symbolCurrency
            },
            dataType: 'json',
            success: function(reply) {
                $('#curencyUpdateMsg').text('Updated successfully').css('color', 'green');
                if ((module === 'holidays' || module === 'byo') && (controller === 'index' || controller === 'detail' || controller === 'search-result') && (action === 'index')) {
                    setTimeout(function() {
                        location.reload();
                    }, 2000);
                }
            }
        });
    }
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit