Your IP : 3.143.235.140


Current Path : /var/www/www-root/data/webdav/webdav/www/monolith-realty.ru/ajax/
Upload File :
Current File : /var/www/www-root/data/webdav/webdav/www/monolith-realty.ru/ajax/show_compare_preview_top.php

<?$bFromModule = (isset($arParams['FROM_MODULE']) && $arParams['FROM_MODULE'] == 'Y');
if(!$bFromModule)
{
	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");

	if(\Bitrix\Main\Loader::includeModule('aspro.max'))
		CMax::clearBasketCounters();
}


$APPLICATION->IncludeComponent(
	"bitrix:catalog.compare.list",
	"compare_top",
	Array(
		"IBLOCK_TYPE" => "monolith_real_catalog",
		"IBLOCK_ID" => \Bitrix\Main\Config\Option::get("aspro.allcorp3", "CATALOG_IBLOCK_ID", '42'),
		"AJAX_MODE" => "N",
		"AJAX_OPTION_JUMP" => "N",
		"AJAX_OPTION_STYLE" => "Y",
		"AJAX_OPTION_HISTORY" => "N",
		"DETAIL_URL" => "/catalog/#SECTION_CODE_PATH#/#ELEMENT_ID#/",
		"COMPARE_URL" => str_replace( '/', SITE_DIR, CAllcorp3::GetFrontParametrValue("COMPARE_PAGE_URL") ),
		"CLASS_LINK" => (isset($arParams["CLASS_LINK"]) ? $arParams["CLASS_LINK"] : ""),
		"CLASS_ICON" => (isset($arParams["CLASS_ICON"]) ? $arParams["CLASS_ICON"] : ""),
		"MESSAGE" => (isset($arParams["MESSAGE"]) ? $arParams["MESSAGE"] : ""),
		"NAME" => "CATALOG_COMPARE_LIST",
		"AJAX_OPTION_ADDITIONAL" => ""
	)
);

if(!$bFromModule)
{
	require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php");
}?>