- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
if (
$arItem["DEPTH_LEVEL"]==$previousLevel
&&$arItem["IS_PARENT"]
&&$arItem["DEPTH_LEVEL"]>3
||$arItem["DEPTH_LEVEL"]<$previousLevel
&&$arItem["IS_PARENT"]
&&$arItem["DEPTH_LEVEL"]==3
&&$previousLevel-$arItem["DEPTH_LEVEL"]==1
)
.....
Комментарии (6) RSS