SetTitle("Структурные подразделения"); ?> IncludeComponent( "bitrix:news.list", "departament_list", array( "ACTIVE_DATE_FORMAT" => "", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "N", "CACHE_TIME" => $arParams["CACHE_TIME"], "CACHE_TYPE" => "A", "CHECK_DATES" => "N", "DETAIL_URL" => "/ru/o-nas/departament/?ELEMENT_CODE=#ELEMENT_CODE#", "DISPLAY_BOTTOM_PAGER" => "N", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "Y", "DISPLAY_PANEL" => $arParams["DISPLAY_PANEL"], "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "DISPLAY_TOP_PAGER" => "N", "FIELD_CODE" => array( 0 => "PREVIEW_TEXT", 1 => "PREVIEW_PICTURE", 2 => "", ), "FILE_404" => $arParams["FILE_404"], "FILTER_NAME" => "", "GROUP_PERMISSIONS" => $arParams["GROUP_PERMISSIONS"], "HIDE_LINK_WHEN_NO_DETAIL" => "N", "IBLOCK_ID" => "5", "IBLOCK_TYPE" => "content", "IBLOCK_URL" => $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["news"], "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "MESSAGE_404" => "", "NEWS_COUNT" => "", "PAGER_BASE_LINK" => $arParams["PAGER_BASE_LINK"], "PAGER_BASE_LINK_ENABLE" => "N", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "", "PAGER_PARAMS_NAME" => $arParams["PAGER_PARAMS_NAME"], "PAGER_SHOW_ALL" => "N", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => "", "PAGER_TITLE" => "", "PREVIEW_TRUNCATE_LEN" => "", "PROPERTY_CODE" => array( 0 => "", 1 => "", ), "SECTION_URL" => $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["section"], "SET_LAST_MODIFIED" => "N", "SET_STATUS_404" => "N", "SET_TITLE" => "N", "SHOW_404" => "N", "SORT_BY1" => "SORT", "SORT_BY2" => "", "SORT_ORDER1" => "ASC", "SORT_ORDER2" => "", "USE_PERMISSIONS" => $arParams["USE_PERMISSIONS"], "COMPONENT_TEMPLATE" => "departament_list", "AJAX_MODE" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_ADDITIONAL" => "", "SET_BROWSER_TITLE" => "Y", "SET_META_KEYWORDS" => "Y", "SET_META_DESCRIPTION" => "Y", "ADD_SECTIONS_CHAIN" => "Y", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "INCLUDE_SUBSECTIONS" => "Y" ), false ); else: $APPLICATION->IncludeComponent( "bitrix:news.detail", "departament_detail", array( "ACTIVE_DATE_FORMAT" => "d.m.Y", "ADD_ELEMENT_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "AJAX_MODE" => "N", "AJAX_OPTION_ADDITIONAL" => "", "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "BROWSER_TITLE" => "-", "CACHE_GROUPS" => "Y", "CACHE_TIME" => "3600", "CACHE_TYPE" => "A", "CHECK_DATES" => "Y", "DETAIL_URL" => "/ru/o-nas/departament/?ELEMENT_CODE=#ELEMENT_CODE#", "DISPLAY_BOTTOM_PAGER" => "Y", "DISPLAY_DATE" => "Y", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "DISPLAY_TOP_PAGER" => "Y", "ELEMENT_CODE" => $_REQUEST["ELEMENT_CODE"], "ELEMENT_ID" => "", "FIELD_CODE" => array( 0 => "", 1 => "", ), "FILE_404" => "", "GROUP_PERMISSIONS" => "", "IBLOCK_ID" => "5", "IBLOCK_TYPE" => "content", "IBLOCK_URL" => "/ru/o-nas/departament/", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "MESSAGE_404" => "", "META_DESCRIPTION" => "-", "META_KEYWORDS" => "-", "PAGER_BASE_LINK" => "", "PAGER_BASE_LINK_ENABLE" => "Y", "PAGER_PARAMS_NAME" => "arrPager", "PAGER_SHOW_ALL" => "Y", "PAGER_TEMPLATE" => "", "PAGER_TITLE" => "Страница", "PROPERTY_CODE" => array( 0 => "", 1 => "DESCRIPTION", 2 => "", ), "SET_BROWSER_TITLE" => "Y", "SET_CANONICAL_URL" => "Y", "SET_LAST_MODIFIED" => "Y", "SET_META_DESCRIPTION" => "Y", "SET_META_KEYWORDS" => "Y", "SET_STATUS_404" => "Y", "SET_TITLE" => "Y", "SHARE_HANDLERS" => array( 0 => "delicious", ), "SHARE_HIDE" => "N", "SHARE_SHORTEN_URL_KEY" => "", "SHARE_SHORTEN_URL_LOGIN" => "", "SHARE_TEMPLATE" => "", "SHOW_404" => "Y", "USE_PERMISSIONS" => "N", "USE_SHARE" => "N", "COMPONENT_TEMPLATE" => "departament_detail" ), false ); endif;?>