SetPageProperty("no_wrapper", "Y"); $APPLICATION->SetPageProperty("NOT_SHOW_NAV_CHAIN", "Y"); $APPLICATION->SetTitle("Официальный сайт муниципального образования Ачинский район"); ?> IncludeComponent( "bitrix:news.list", "home-news", array( "ACTIVE_DATE_FORMAT" => "", "ADD_SECTIONS_CHAIN" => "N", "AJAX_MODE" => "N", "AJAX_OPTION_ADDITIONAL" => "", "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "N", "CACHE_TIME" => "36000000", "CACHE_TYPE" => "A", "CHECK_DATES" => "Y", "COMPONENT_TEMPLATE" => "home-news", "DETAIL_URL" => "/admrajon/novosti/#SECTION_ID#/#ELEMENT_ID#", "DISPLAY_BOTTOM_PAGER" => "N", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "N", "DISPLAY_PICTURE" => "N", "DISPLAY_PREVIEW_TEXT" => "N", "DISPLAY_TOP_PAGER" => "N", "FIELD_CODE" => array( 0 => "PREVIEW_PICTURE", 1 => "DETAIL_PICTURE", 2 => "DATE_CREATE", 3 => "", ), "FILTER_NAME" => "", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "IBLOCK_ID" => "142", "IBLOCK_TYPE" => "news", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "INCLUDE_SUBSECTIONS" => "N", "MESSAGE_404" => "", "NEWS_COUNT" => "6", "PAGER_BASE_LINK_ENABLE" => "N", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => "arrows", "PAGER_TITLE" => "Новости", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "PREVIEW_TRUNCATE_LEN" => "", "PROPERTY_CODE" => array( 0 => "", 1 => "", ), "SET_BROWSER_TITLE" => "N", "SET_LAST_MODIFIED" => "N", "SET_META_DESCRIPTION" => "N", "SET_META_KEYWORDS" => "N", "SET_STATUS_404" => "N", "SET_TITLE" => "N", "SHOW_404" => "N", "SORT_BY1" => "ACTIVE_FROM", "SORT_BY2" => "", "SORT_ORDER1" => "DESC", "SORT_ORDER2" => "", "COMPOSITE_FRAME_MODE" => "A", "COMPOSITE_FRAME_TYPE" => "AUTO" ), false );?> IncludeComponent("bitrix:news.index", ".default", array( "ACTIVE_DATE_FORMAT" => "", "ADD_SECTIONS_CHAIN" => "N", "AJAX_MODE" => "N", "AJAX_OPTION_ADDITIONAL" => "", "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "N", "CACHE_TIME" => "36000000", "CACHE_TYPE" => "A", "CHECK_DATES" => "Y", "COMPONENT_TEMPLATE" => ".default", "DETAIL_URL" => "", "DISPLAY_BOTTOM_PAGER" => "N", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "N", "DISPLAY_PICTURE" => "N", "DISPLAY_PREVIEW_TEXT" => "N", "DISPLAY_TOP_PAGER" => "N", "FIELD_CODE" => array( 0 => "DATE_CREATE", 1 => "", ), "FILTER_NAME" => "", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "IBLOCK_ID" => "132", "IBLOCK_TYPE" => "news", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "INCLUDE_SUBSECTIONS" => "N", "MESSAGE_404" => "", "NEWS_COUNT" => "5", "PAGER_BASE_LINK_ENABLE" => "N", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => "arrows", "PAGER_TITLE" => "Новости", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "PREVIEW_TRUNCATE_LEN" => "", "PROPERTY_CODE" => array( 0 => "", 1 => "", ), "SET_BROWSER_TITLE" => "N", "SET_LAST_MODIFIED" => "N", "SET_META_DESCRIPTION" => "N", "SET_META_KEYWORDS" => "N", "SET_STATUS_404" => "N", "SET_TITLE" => "N", "SHOW_404" => "N", "SORT_BY1" => "ID", "SORT_BY2" => "", "SORT_ORDER1" => "DESC", "SORT_ORDER2" => "", "IBLOCKS" => array( 0 => "104", 1 => "105", 2 => "107", 3 => "132", 4 => "133", 5 => "134", 6 => "135", 7 => "136", 8 => "137", 9 => "138", 10 => "139", 11 => "140", 12 => "141", 13 => "142", ), "IBLOCK_SORT_BY" => "SORT", "IBLOCK_SORT_ORDER" => "ASC", "IBLOCK_URL" => "" ), false, array( "ACTIVE_COMPONENT" => "N" ) );?>
Обращения
Задать вопрос
IncludeComponent( "bitrix:main.include", ".default", Array( "AREA_FILE_SHOW" => "file", "AREA_FILE_SUFFIX" => "inc", "COMPONENT_TEMPLATE" => ".default", "EDIT_TEMPLATE" => "", "PATH" => "/includes/home-feedback-text1.php" ) );?>

IncludeComponent("bitrix:main.include", ".default", Array( "AREA_FILE_SHOW" => "file", // Показывать включаемую область "AREA_FILE_SUFFIX" => "inc", "EDIT_TEMPLATE" => "", // Шаблон области по умолчанию "PATH" => "/includes/test.php", // Путь к файлу области ), false );?>
IncludeComponent("bitrix:main.include", "template1", Array( "AREA_FILE_SHOW" => "file", // Показывать включаемую область "AREA_FILE_SUFFIX" => "inc", "EDIT_TEMPLATE" => "", // Шаблон области по умолчанию "PATH" => "/includes/announce_stern.php", // Путь к файлу области ), false );?>

Госуслуги

0) { $APPLICATION->IncludeComponent("bitrix:news.detail", "service-detail", array( "IBLOCK_TYPE" => "gosserv", "IBLOCK_ID" => "102", "ELEMENT_ID" => $_REQUEST["ELEMENT_ID"], "ELEMENT_CODE" => "", "CHECK_DATES" => "Y", "FIELD_CODE" => array( 0 => "SHOW_COUNTER", 1 => "DATE_CREATE", 2 => "TIMESTAMP_X", ), "PROPERTY_CODE" => array( 0 => "DOCUMENTS_TEXT", 1 => "FOR", 2 => "AKT", 3 => "RESULT", 4 => "ADRESS", 5 => "GRAFIK", 6 => "PROCEDURE", 7 => "OTKAZ", 8 => "OBGALOVANIE", 9 => "SROK", 10 => "PAYMENT", 11 => "DOCUMENTS_FILES", 12 => "", ), "IBLOCK_URL" => "/gosserv/for/".$_REQUEST["FOR"]."/vedomstva/#SECTION_ID#/", "AJAX_MODE" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_GROUPS" => "Y", "META_KEYWORDS" => "-", "META_DESCRIPTION" => "-", "BROWSER_TITLE" => "-", "SET_TITLE" => "Y", "SET_STATUS_404" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "ACTIVE_DATE_FORMAT" => "d.m.Y", "USE_PERMISSIONS" => "N", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "N", "PAGER_TITLE" => "Страница", "PAGER_TEMPLATE" => "", "PAGER_SHOW_ALL" => "N", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "USE_SHARE" => "N", "FOR_URL" => "/gosserv/for/#FOR_ID#/", "MAIN_INFO_URL" => "/gosserv/for/".$_REQUEST["FOR"]."/".$_REQUEST["MODE"]."/".$_REQUEST["SECTION_ID"]."/#ELEMENT_ID#/", "CURRENT_PROPERTY" => $_REQUEST["PROPERTY"], "AJAX_OPTION_ADDITIONAL" => "" ), false ); } else { ?>
"По категориям", "vedomstva" => "По ведомствам", "allservice" => "Все услуги" ); foreach ($modeList as $code => $caption) { if ($_REQUEST["MODE"] == $code) { $APPLICATION->AddChainItem($caption, "/gosserv/for/". $_REQUEST["FOR"] ."/". $code ."/"); } ?> " href="/gosserv/for///">
$_REQUEST["FOR"]); if ($_REQUEST["MODE"] === 'category') { $GLOBALS['CATEGORY_FILTER']['PROPERTY_CATEGORY1'] = $_REQUEST["SECTION_ID"]; } elseif ($_REQUEST["MODE"] === 'vedomstva') { $GLOBALS['CATEGORY_FILTER']['SECTION_ID'] = $_REQUEST["SECTION_ID"]; $GLOBALS['CATEGORY_FILTER']['INCLUDE_SUBSECTIONS'] = "Y"; } if($_REQUEST["MODE"] === "category" && empty($_REQUEST["SECTION_ID"])) { $GLOBALS['CATEGORY_FILTER'] = Bitrix\GosSite\Tools::getServicesCatsFilter("101", $_REQUEST["FOR"]); $APPLICATION->IncludeComponent( "bitrix:news.list", "services-category", Array( "IBLOCK_TYPE" => "gosserv", "IBLOCK_ID" => "101", "NEWS_COUNT" => "2000", "SORT_BY1" => "SORT", "SORT_ORDER1" => "ASC", "SORT_BY2" => "NAME", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "CATEGORY_FILTER", "FIELD_CODE" => array(0=>"",1=>"",), "PROPERTY_CODE" => array(0=>"",1=>"picture",2=>"",), "CHECK_DATES" => "Y", "DETAIL_URL" => "/gosserv/for/".$_REQUEST["FOR"]."/category/#ELEMENT_ID#/", "AJAX_MODE" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "Y", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "SET_TITLE" => "N", "SET_STATUS_404" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "Y", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "N", "PAGER_TITLE" => "Новости", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => "", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "N", "DISPLAY_PREVIEW_TEXT" => "N", "AJAX_OPTION_ADDITIONAL" => "" ), false, array("HIDE_ICONS" => "Y") ); } elseif ($_REQUEST["MODE"] === "vedomstva" && empty($_REQUEST["SECTION_ID"])) { $APPLICATION->IncludeComponent("bitrix:catalog.section.list", "services-department", array( "IBLOCK_TYPE" => "gosserv", "IBLOCK_ID" => "102", "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" => "/gosserv/for/".$_REQUEST["FOR"]."/vedomstva/#SECTION_ID#/", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_GROUPS" => "Y", "ADD_SECTIONS_CHAIN" => "Y", "PROPERTY_FOR" => $_REQUEST["FOR"] ), false, array("HIDE_ICONS" => "Y") ); } else { $APPLICATION->IncludeComponent( "bitrix:news.list", "services-service", Array( "IBLOCK_TYPE" => "gosserv", "IBLOCK_ID" => "102", "NEWS_COUNT" => "20", "SORT_BY1" => "NAME", "SORT_ORDER1" => "ASC", "SORT_BY2" => "SORT", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "CATEGORY_FILTER", "FIELD_CODE" => array(0=>"",1=>"",), "PROPERTY_CODE" => array(0=>"",1=>"",2=>"",), "CHECK_DATES" => "Y", "DETAIL_URL" => "/gosserv/for/".$_REQUEST["FOR"]."/".$_REQUEST["MODE"]."/#SECTION_ID#/#ELEMENT_ID#/", "AJAX_MODE" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "Y", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "SET_TITLE" => "N", "SET_STATUS_404" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "Y", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "Y", "PAGER_TITLE" => "Услуги", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => "", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "Y", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "N", "DISPLAY_PREVIEW_TEXT" => "N", "AJAX_OPTION_ADDITIONAL" => "", ) ); } ?>

Для работы раздела "Госуслуги" необходим установленный модуль "Информационные блоки".