<?CModule::IncludeModule('iblock');
$arFilter=Array('IBLOCK_ID'=>4,'DEPTH_LEVEL'=>1);
$dbSection=CIBlockSection::GetList(Array("NAME"=>"DESC"), $arFilter, true);
while($arSection=$dbSection->GetNext()):?>
<a href="<?=$arSection['SECTION_PAGE_URL']?>"><?=$arSection['NAME']?></a>
<?endwhile;?>
|