</div>
<div id="left_story"> <?
$section_code=$APPLICATION->GetCurDir();
$q='/store/';
if(preg_match($q, $section_code)):
$s_code=fn_getSectionCode($_REQUEST["SECTION_CODE"]);
$iblock='1';
if (strlen($_REQUEST["SECTION_CODE"])>0)
{
$arFilter = Array('IBLOCK_ID'=>$iblock, 'CODE'=>$s_code);
$db_list = CIBlockSection::GetList(Array($by=>$order), $arFilter, true);
$arSection = $db_list->GetNext();
}
$qw=0;
$nav = CIBlockSection::GetNavChain($iblock, $arSection["ID"]);
while($arChain=$nav->GetNext())
{
$qw++;
}
endif;
?> <?if($qw>1):?>
<br />
<div class="brand"> <?$APPLICATION->IncludeComponent(
"bitrix:main.include",
"",
Array(
"AREA_FILE_SHOW" => "file",
"PATH" => "/filters/display_filter.php",
"EDIT_TEMPLATE" => ""
)
);?> </div>
<?else:?>
<div class="left_menu"><?$APPLICATION->IncludeComponent(
"bitrix:menu",
"left_menu_slide",
Array(
"ROOT_MENU_TYPE" => "left",
"MAX_LEVEL" => "2",
"CHILD_MENU_TYPE" => "left",
"USE_EXT" => "Y",
"DELAY" => "N",
"ALLOW_MULTI_SELECT" => "Y",
"MENU_CACHE_TYPE" => "N",
"MENU_CACHE_TIME" => "3600",
"MENU_CACHE_USE_GROUPS" => "Y",
"MENU_CACHE_GET_VARS" => array()
)
);?> |