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/rospirotorg.ru/ajax/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/ajax/productStoreAmountCompact.php
<?define("STATISTIC_SKIP_ACTIVITY_CHECK", "true");?>
<?define('STOP_STATISTICS', true);
define('PUBLIC_AJAX_MODE', true);?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");?>
<?if(\Bitrix\Main\Loader::includeModule('aspro.next')):?>
	<?$context = \Bitrix\Main\Context::getCurrent();
	$request = $context->getRequest();?>
	<?$arTheme = CNext::GetBackParametrsValues(SITE_ID);?>
	
	<?if ($request["ELEMENT_ID"]
		&& $request->isPost()
		&& CNext::checkAjaxRequest()
		&& $arTheme['USE_STORE_QUANTITY'] == 'Y'):?>
	<?
	$arRegion = CNextRegionality::getCurrentRegion();
	$arRegionStores = $arStoresFileds = array();

	if ($arTheme['LIST_STORES']) {
		$arRegionStores = (array)explode(',', $arTheme['LIST_STORES']);
	}
	if ($arTheme['STORES_FIELDS']) {
		$arStoresFileds = (array)explode(',', $arTheme['STORES_FIELDS']);
	}

	if ($arRegion) {
		if ($arRegion['LIST_STORES']) {
			if (reset($arRegion['LIST_STORES']) != 'component') {
				$arRegionStores = array_values($arRegion['LIST_STORES']);
			} elseif ($request['STORES']) {
				$arRegionStores = $request['STORES'];
			}
		}
	} elseif ($request['STORES']) {
		$arRegionStores = $request['STORES'];
	}
	?>

		<div class="js-info-block rounded3 ">
			<?$APPLICATION->IncludeComponent("bitrix:catalog.store.amount", "popup", array(
					"PER_PAGE" => "100",
					"USE_STORE_PHONE" => "N",
					"SCHEDULE" => "N",
					"USE_MIN_AMOUNT" => "N",
					"MIN_AMOUNT" => "",
					"ELEMENT_ID" => $request["ELEMENT_ID"],
					"CACHE_GROUPS" => "Y",
					//"CACHE_TYPE" => "A", bug fix clear cache
					"CACHE_TYPE" => "N",
					"STORES" => $arRegionStores,
					"STORE_PATH" => "/contacts/stores/#store_id#/",
					"STORES_FILTER_ORDER" => $arTheme['STORES_FILTER_ORDER'],
					"STORES_FILTER" => $arTheme['STORES_FILTER'],
					"SHOW_EMPTY_STORE" => $arTheme['SHOW_EMPTY_STORE'],
					"SHOW_GENERAL_STORE_INFORMATION" => $arTheme['SHOW_GENERAL_STORE_INFORMATION'],
					// "USE_ONLY_MAX_AMOUNT" => $_POST["USE_ONLY_MAX_AMOUNT"],
					"FIELDS" => $arStoresFileds,
					"USER_FIELDS" => [],
				),
				false, array('HIDE_ICONS' => 'Y')
			);?>
		</div>
	<?endif;?>
<?endif;?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php");?>

Youez - 2016 - github.com/yon3zu
LinuXploit