require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
/*global $USER;
if(!$USER->IsAuthorized())
{
$USER->Authorize(1);
}
*/
$arFilter = Array('IBLOCK_ID'=>"9", 'GLOBAL_ACTIVE'=>'Y', 'DEPTH_LEVEL'=>1, "CHECK_PERMISSIONS"=>"N");
$db_list = CIBlockSection::GetList(Array("SORT"=>"ASC"), $arFilter, false);
var_dump($db_list);
|