<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
global $APPLICATION;
$aMenuLinksExt=$APPLICATION->IncludeComponent(
"bitrix:catalog.section.list",
"submenu_news",
Array(
"IBLOCK_TYPE" => "TVN",
"IBLOCK_ID" => "2",
"SECTION_ID" => $_REQUEST["SECTION_ID"],
"SECTION_CODE" => "",
"COUNT_ELEMENTS" => "N",
"TOP_DEPTH" => "2",
"SECTION_FIELDS" => array(0=>"",1=>"",),
"SECTION_USER_FIELDS" => array(0=>"",1=>"",),
"SECTION_URL" => "",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"CACHE_GROUPS" => "Y",
"ADD_SECTIONS_CHAIN" => "N"
)
);
file_put_contents($_SERVER['DOCUMENT_ROOT'].'/log.txt', "\n==============\n".var_export($aMenuLinksExt, true), FILE_APPEND);
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
?>
|