uawdijnntqw1x1x1
IP : 3.15.204.106
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
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,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
perm.axolotls.ru
/
bitrix
/
components
/
bitrix
/
landing.blocks.html
/
class.php
/
/
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } use \Bitrix\Landing\Manager; use \Bitrix\Landing\Landing; class LandingBlocksHtmlComponent extends \CBitrixComponent { /** * Local htmlspecialcharsback funciton. * @param string $code Code for decoding. * @return string */ public function htmlspecialcharsback($code) { $code = \htmlspecialcharsback($code); $code = str_replace(''', "'", $code); return $code; } /** * Base executable method. * @return void */ public function executeComponent() { if (!\Bitrix\Main\Loader::includeModule('landing')) { return; } $this->arParams['ENABLED'] = 'Y'; $this->arParams['EDIT_MODE'] = Landing::getEditMode() ? 'Y' : 'N'; $this->arParams['PREVIEW_MODE'] = Landing::getPreviewMode() ? 'Y' : 'N'; // prepare params if ( !isset($this->arParams['SKIP_MOVING_FALSE']) || $this->arParams['SKIP_MOVING_FALSE'] != 'Y' ) { $this->arParams['SKIP_MOVING_FALSE'] = 'N'; } if (!isset($this->arParams['~HTML_CODE'])) { $this->arParams['~HTML_CODE'] = ''; } // skip moving js to bottom of the page if ($this->arParams['SKIP_MOVING_FALSE'] != 'Y') { $this->arParams['~HTML_CODE'] = str_replace( '<script', '<script data-skip-moving="true"', $this->arParams['~HTML_CODE'] ); } // tariff feature if ( isset($this->arParams['ONLY_PAYED']) && $this->arParams['ONLY_PAYED'] == 'Y' ) { $this->arParams['ONLY_PAYED'] = 'Y'; } else { $this->arParams['ONLY_PAYED'] = 'N'; } // if enabled this feature if ($this->arParams['ONLY_PAYED'] == 'Y') { $this->arParams['ENABLED'] = Manager::checkFeature( Manager::FEATURE_ENABLE_ALL_HOOKS, ['hook' => 'headblock'] ) ? 'Y' : 'N'; } $this->IncludeComponentTemplate(); } }
/var/www/axolotl/data/www/perm.axolotls.ru/bitrix/components/bitrix/landing.blocks.html/class.php