use Bitrix\Main\Loader,
Bitrix\Main\Localization\Loc,
Bitrix\Main\ModuleManager;
Loader::includeModule("iblock");
global $arTheme, $NextSectionID, $arRegion, $bHideLeftBlock;
$arPageParams = $arSection = $section = array();
if (!$arParams["SECTION_DISPLAY_PROPERTY"]) {
$arParams["SECTION_DISPLAY_PROPERTY"] = "UF_VIEWTYPE";
}
$bOrderViewBasket = (trim($arTheme['ORDER_VIEW']['VALUE']) === 'Y');
$_SESSION['SMART_FILTER_VAR'] = $arParams['FILTER_NAME'];?>
