Код |
---|
$arFilter = Array("IBLOCK_ID"=>13); $db_list = CIBlockSection::GetList(Array("NAME"=>"ASC"), $arFilter, false); while ($arr = $db_list->GetNext()) { $arResult["SECTIONS"][$arr["ID"]]["NAME"] = $arr["NAME"]; } |
Код |
---|
<?=$arResult["SECTIONS"][$arItem["IBLOCK_SECTION_ID"]]["NAME"];?> |