<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
global $APPLICATION;
$aMenuLinksExt=$APPLICATION->IncludeComponent("bitrix:catalog.section.list", "menu", array(
"IBLOCK_TYPE" => "catalog",
"IBLOCK_ID" => "11",
"SECTION_ID" => "",
"SECTION_CODE" => "",
"COUNT_ELEMENTS" => "Y",
"TOP_DEPTH" => "4",
"SECTION_FIELDS" => array(
0 => "ID",
1 => "CODE",
2 => "XML_ID",
3 => "NAME",
4 => "SORT",
5 => "DESCRIPTION",
6 => "PICTURE",
7 => "DETAIL_PICTURE",
8 => "IBLOCK_TYPE_ID",
9 => "IBLOCK_ID",
10 => "IBLOCK_CODE",
11 => "IBLOCK_EXTERNAL_ID",
12 => "DATE_CREATE",
13 => "CREATED_BY",
14 => "TIMESTAMP_X",
15 => "MODIFIED_BY",
16 => "",
),
"SECTION_USER_FIELDS" => array(
0 => "",
1 => "",
),
"SECTION_URL" => "/catalog/#SECTION_ID#/",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "false",
"CACHE_GROUPS" => "Y",
"ADD_SECTIONS_CHAIN" => "N"
),
false
);
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
$aMenuLinksExt=$APPLICATION->IncludeComponent("bitrix:catalog.section.list", "menu", array(
"IBLOCK_TYPE" => "catalog",
"IBLOCK_ID" => "12",
"SECTION_ID" => "",
"SECTION_CODE" => "",
"COUNT_ELEMENTS" => "Y",
"TOP_DEPTH" => "4",
"SECTION_FIELDS" => array(
0 => "ID",
1 => "CODE",
2 => "XML_ID",
3 => "NAME",
4 => "SORT",
5 => "DESCRIPTION",
6 => "PICTURE",
7 => "DETAIL_PICTURE",
8 => "IBLOCK_TYPE_ID",
9 => "IBLOCK_ID",
10 => "IBLOCK_CODE",
11 => "IBLOCK_EXTERNAL_ID",
12 => "DATE_CREATE",
13 => "CREATED_BY",
14 => "TIMESTAMP_X",
15 => "MODIFIED_BY",
16 => "",
),
"SECTION_USER_FIELDS" => array(
0 => "",
1 => "",
),
"SECTION_URL" => "/uslugi/#SECTION_ID#/",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "false",
"CACHE_GROUPS" => "Y",
"ADD_SECTIONS_CHAIN" => "N"
),
false
);
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
?>
|