Your IP : 3.12.71.235


Current Path : /var/www/www-root/data/webdav/webdav/www/monolith-realty.ru/include/header/
Upload File :
Current File : /var/www/www-root/data/webdav/webdav/www/monolith-realty.ru/include/header/menu_new.php

<?
global $arTheme;
$currentHeaderOptions = $arTheme['HEADER_TYPE']['LIST'][ $arTheme['HEADER_TYPE']['VALUE'] ];
$bNarrowHeader = $currentHeaderOptions['ADDITIONAL_OPTIONS']['HEADER_NARROW']['VALUE'] == 'Y';
$bTariffsUseDetail = $GLOBALS['arTheme']['TARIFFS_USE_DETAIL']['VALUE'] === 'Y';

// items cache hack
$_GET['__SHOW_TARIFFS_DETAIL_LINK__'] = $bTariffsUseDetail;
?>
<?$APPLICATION->IncludeComponent(
	"bitrix:menu",
	"menu_new",
	Array(
		"ALLOW_MULTI_SELECT" => "N",
		"CHILD_MENU_TYPE" => "left",
		"COMPONENT_TEMPLATE" => "top",
		"COUNT_ITEM" => "6",
		"DELAY" => "N",
		"MAX_LEVEL" => CAllcorp3::GetFrontParametrValue('MAX_DEPTH_MENU'),
		"MENU_CACHE_GET_VARS" => array(
			"__SHOW_TARIFFS_DETAIL_LINK__",
		),
		"MENU_CACHE_TIME" => "3600000",
		"MENU_CACHE_TYPE" => "A",
		"MENU_CACHE_USE_GROUPS" => "N",
		"ROOT_MENU_TYPE" => "top",
		"USE_EXT" => "Y",
		"NARROW" => $bNarrowHeader,
	)
);?>
<?
unset($_GET['__SHOW_TARIFFS_DETAIL_LINK__']);
?>