6require(
$_SERVER[
"DOCUMENT_ROOT"].
"/bitrix/modules/main/include/prolog_admin_before.php");
16 CModule::IncludeModule(
"iblock");
23 echo
'window.parent.Tree=new Array();'.
"\n";
24 echo
'window.parent.Tree[0]=new Array();'.
"\n";
27 $db_section = CIBlockSection::GetList(
array(
"LEFT_MARGIN"=>
"ASC"),
array(
"IBLOCK_ID"=>
$IBLOCK_ID));
28 while ($ar_section = $db_section->Fetch())
31 if (intval($ar_section[
"RIGHT_MARGIN"])-intval($ar_section[
"LEFT_MARGIN"])>1)
33 ?>window.parent.Tree[<?echo intval($ar_section[
"ID"]);?>]=
new Array();<?
35 ?>window.parent.Tree[<?echo intval($ar_section[
"IBLOCK_SECTION_ID"]);?>][<?echo intval($ar_section[
"ID"]);?>]=Array(
'<?echo CUtil::JSEscape(htmlspecialcharsbx($ar_section["NAME"]));?>',
'');<?
40 if ($bNoTree && !$bIBlock)
42 echo
"window.parent.buildNoMenu();";
46 echo
"window.parent.buildMenu();";
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
const BX_SECURITY_SHOW_MESSAGE
$_SERVER["DOCUMENT_ROOT"]
check_bitrix_sessid($varname='sessid')