<h1><?
CModule::IncludeModule("iblock");
$arFilter["CODE"] = $arResult["VARIABLES"]["SECTION_CODE"];
$rsSections = CIBlockSection::GetList(array(), $arFilter, true, array("NAME"));
$arResult["SECTION"] = $rsSections->GetNext();
echo $arResult["SECTION"]["NAME"];
?></h1>
<h1><?
echo (
isset($arResult['SECTION']["IPROPERTY_VALUES"]["SECTION_PAGE_TITLE"]) && $arResult['SECTION']["IPROPERTY_VALUES"]["SECTION_PAGE_TITLE"] != ""
? $arResult['SECTION']["IPROPERTY_VALUES"]["SECTION_PAGE_TITLE"]
: $arResult['SECTION']['NAME']
);
?></h1>