How in the type of information_block site_content to select all the partition id?
$arSelect = Array("ID"); $arOrder = Array("SORT"=>"ASC"); $arFilter = Array("IBLOCK_TYPE"=>"site_content"); $res = CIBlockSection::GetList($arOrder, $arFilter, false, false, $arSelect); while($ob = $res->Fetch()) { echo $ob["ID"])."<br>"; }