\n"; $bNoTree = true; $bIBlock = false; $IBLOCK_ID = intval($_REQUEST['IBLOCK_ID']); if ($IBLOCK_ID > 0) { CModule::IncludeModule("iblock"); $rsIBlocks = CIBlock::GetByID($IBLOCK_ID); if ($arIBlock = $rsIBlocks->Fetch()) { $bRightBlock = CIBlockRights::UserHasRightTo($IBLOCK_ID, $IBLOCK_ID, "iblock_admin_display"); if ($bRightBlock) { echo "window.parent.Tree = [];"; echo "window.parent.Tree[0] = [];"; $bIBlock = true; $iterator = CIBlockSection::GetList( array("LEFT_MARGIN"=>"ASC"), array("IBLOCK_ID"=>$IBLOCK_ID), false, array("ID", "IBLOCK_ID", "NAME", "IBLOCK_SECTION_ID", "LEFT_MARGIN", "RIGHT_MARGIN") ); while ($row = $iterator->Fetch()) { $bNoTree = false; $row["ID"] = (int)$row["ID"]; $row["IBLOCK_SECTION_ID"] = (int)$row["IBLOCK_SECTION_ID"]; $row["LEFT_MARGIN"] = (int)$row["LEFT_MARGIN"]; $row["RIGHT_MARGIN"] = (int)$row["RIGHT_MARGIN"]; if ($row["RIGHT_MARGIN"] - $row["LEFT_MARGIN"] > 1) { ?>window.parent.Tree[
Warning: Undefined variable $row in D:\ktt\ttepla.com\public_html\bitrix\modules\catalog\load\yandex_util.php on line 42

Warning: Trying to access array offset on value of type null in D:\ktt\ttepla.com\public_html\bitrix\modules\catalog\load\yandex_util.php on line 42
] = [];window.parent.Tree[
Warning: Undefined variable $row in D:\ktt\ttepla.com\public_html\bitrix\modules\catalog\load\yandex_util.php on line 44

Warning: Trying to access array offset on value of type null in D:\ktt\ttepla.com\public_html\bitrix\modules\catalog\load\yandex_util.php on line 44
][
Warning: Undefined variable $row in D:\ktt\ttepla.com\public_html\bitrix\modules\catalog\load\yandex_util.php on line 44

Warning: Trying to access array offset on value of type null in D:\ktt\ttepla.com\public_html\bitrix\modules\catalog\load\yandex_util.php on line 44
]=Array('', '');"; }