require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Контакты");
?>
false);?>$APPLICATION->IncludeComponent(
"bitrix:news.list",
"contact_main",
Array(
"ACTIVE_DATE_FORMAT" => "d.m.Y",
"ADD_SECTIONS_CHAIN" => "N",
"AJAX_MODE" => "N",
"AJAX_OPTION_ADDITIONAL" => "",
"AJAX_OPTION_HISTORY" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "N",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "Y",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"CHECK_DATES" => "Y",
"COMPONENT_TEMPLATE" => "contact_main",
"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=>"NAME",1=>"PREVIEW_TEXT",2=>"PREVIEW_PICTURE",3=>"",),
"FILTER_NAME" => "arContactMain",
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"IBLOCK_ID" => "46",
"IBLOCK_TYPE" => "corp_company_s1",
"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
"INCLUDE_SUBSECTIONS" => "N",
"MESSAGE_404" => "",
"NEWS_COUNT" => "1",
"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" => ".default",
"PAGER_TITLE" => "Новости",
"PARENT_SECTION" => "",
"PARENT_SECTION_CODE" => "",
"PREVIEW_TRUNCATE_LEN" => "",
"PROPERTY_CODE" => array(0=>"EMAIL",1=>"PHONE",2=>"ADDRESS_LEGAL",3=>"ADDRESS_PHYSICAL",4=>"OPENING_HOURS",5=>"MAP",6=>"",),
"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",
"SORT_ORDER1" => "DESC",
"SORT_ORDER2" => "ASC",
"STRICT_SECTION_CHECK" => "N"
)
);?>
$APPLICATION->IncludeComponent(
"bitrix:map.yandex.view",
"contact",
array(
"CONTROLS" => array(
0 => "ZOOM",
1 => "TYPECONTROL",
2 => "SCALELINE",
),
"INIT_MAP_TYPE" => "MAP",
"MAP_DATA" => "a:3:{s:10:\"yandex_lat\";d:56.216860432362196;s:10:\"yandex_lon\";d:36.56883300781196;s:12:\"yandex_scale\";i:5;}",
"MAP_HEIGHT" => "500",
"MAP_ID" => "test-map",
"MAP_WIDTH" => "670",
"OPTIONS" => array(
0 => "ENABLE_SCROLL_ZOOM",
1 => "ENABLE_DBLCLICK_ZOOM",
2 => "ENABLE_DRAGGING",
),
"COMPONENT_TEMPLATE" => "contact",
"IBLOCK_ID" => "46",
"IBLOCK_TYPE" => "corp_company_s1",
"FILTER_NAME" => "",
"LIST_PROPERTY_CODE" => array(
0 => "NAME",
1 => "PREVIEW_PICTURE",
2 => "PROPERTY_EMAIL",
3 => "PROPERTY_PHONE",
4 => "PROPERTY_ADDRESS_PHYSICAL",
5 => "PROPERTY_OPENING_HOURS",
6 => "PROPERTY_MAP",
),
"IBLOCK_LABEL" => "Офисы на карте",
"API_KEY" => "",
"COMPOSITE_FRAME_MODE" => "A",
"COMPOSITE_FRAME_TYPE" => "AUTO"
),
false
);?>
$APPLICATION->IncludeComponent("mibok:corp.news.sections.list", "contact", array(
"BLOCK_NAME" => "Где купить",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "Y",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"COMPONENT_TEMPLATE" => "contact",
"DETAIL_URL" => "",
"ELEMENT_COUNT" => "20",
"ELEMENT_SORT_FIELD" => "sort",
"ELEMENT_SORT_FIELD2" => "name",
"ELEMENT_SORT_ORDER" => "asc",
"ELEMENT_SORT_ORDER2" => "asc",
"FILTER_CITY" => "Y",
"FILTER_NAME" => "arContactAll",
"IBLOCK_ID" => "46",
"IBLOCK_TYPE" => "corp_company_s1",
"PROPERTY_CODE" => array(
0 => "EMAIL",
1 => "PHONE",
2 => "ADDRESS_PHYSICAL",
3 => "OPENING_HOURS",
4 => "MAP",
5 => "",
),
"SECTION_COUNT" => "20",
"SECTION_FIELDS" => array(
0 => "NAME",
1 => "",
),
"SECTION_SORT_FIELD" => "sort",
"SECTION_SORT_ORDER" => "asc",
"SECTION_URL" => "",
"SECTION_USER_FIELDS" => array(
0 => "",
1 => "",
),
"USE_MAIN_ELEMENT_SECTION" => "N"
),
false,
array(
"ACTIVE_COMPONENT" => "N"
)
);?>
$APPLICATION->IncludeComponent(
"mibok:corp.element.add.form",
"review",
array(
"CUSTOM_TITLE_DETAIL_TEXT" => "",
"CUSTOM_TITLE_NAME" => "Ваше имя",
"CUSTOM_TITLE_PREVIEW_PICTURE" => "",
"CUSTOM_TITLE_PREVIEW_TEXT" => "Текст Вашего сообщения",
"CUSTOM_TITLE_TAGS" => "",
"ELEMENT_ASSOC" => "CREATED_BY",
"EVENT_MESSAGE_ID" => "",
"EVENT_TYPE" => "MIBOK_CORP_IBLOCK",
"GROUPS" => array(
0 => "2",
),
"IBLOCK_ID" => "45",
"IBLOCK_TYPE" => "corp_company_s1",
"MAX_FILE_SIZE" => "0",
"MAX_LEVELS" => "100000",
"MAX_USER_ENTRIES" => "100000",
"MIBOK_AJAX" => "Y",
"MODAL_NAME" => "Написать нам",
"PROPERTY_CODES" => array(
0 => "203",
1 => "204",
2 => "NAME",
3 => "PREVIEW_TEXT",
),
"PROPERTY_CODES_REQUIRED" => array(
0 => "203",
1 => "NAME",
2 => "PREVIEW_TEXT",
),
"STATUS" => "ANY",
"STATUS_NEW" => "N",
"USER_CONSENT" => "Y",
"USER_CONSENT_ID" => "1",
"USER_CONSENT_IS_CHECKED" => "Y",
"USER_CONSENT_IS_LOADED" => "N",
"USER_MESSAGE_ADD" => "Спасибо за Ваше обращение!",
"USE_CAPTCHA" => "N",
"COMPONENT_TEMPLATE" => "review"
),
false
);?>