$arFilter = Array(
"IBLOCK_ID"=>3,
'PROPERTY_parent'=>55,
'PROPERTY_company'=>33,
'PROPERTY_index'=>$index,
'<=PROPERTY_lowerbound'=>$sum,
'>=PROPERTY_upperbound '=>$sum,
"ACTIVE"=>"Y"
);
$arNavStartParams => array(
'nTopCount'=>1,
);
$res = CIBlockElement::GetList(array("SORT"=>"ASC"), $arFilter, false, NavStartParams, array());
$obj = $res->GetNextElement()){
$fields = $obj->GetFields();
$fields['PROPERTIES'] = $obj->getProperties(); |