diff --git a/about/index.php b/about/index.php index e9d9cbd..34c2d7e 100644 --- a/about/index.php +++ b/about/index.php @@ -70,59 +70,5 @@ ); ?> -
-
-
-
    - - -
-
- IncludeComponent("bitrix:news.list", "tab-clients", [ - "IBLOCK_TYPE" => "content", - "IBLOCK_ID" => IBID_CLIENTS, - "SET_TITLE" => "N", - "AJAX_MODE" => "N", - "AJAX_OPTION_SHADOW" => "Y", - "AJAX_OPTION_JUMP" => "N", - "AJAX_OPTION_STYLE" => "Y", - "AJAX_OPTION_HISTORY" => "N", - "CACHE_TYPE" => "A", - "CACHE_TIME" => "36000000", - "CACHE_GROUPS" => "Y", - "AJAX_OPTION_ADDITIONAL" => "", - "FIELD_CODE" => ["DETAIL_PICTURE"], - ], - false - ); ?> -
-
-
- IncludeComponent("bitrix:news.list", "tab-partners", [ - "IBLOCK_TYPE" => "content", - "IBLOCK_ID" => IBID_PARTNERS, - "SET_TITLE" => "N", - "AJAX_MODE" => "N", - "AJAX_OPTION_SHADOW" => "Y", - "AJAX_OPTION_JUMP" => "N", - "AJAX_OPTION_STYLE" => "Y", - "AJAX_OPTION_HISTORY" => "N", - "CACHE_TYPE" => "A", - "CACHE_TIME" => "36000000", - "CACHE_GROUPS" => "Y", - "AJAX_OPTION_ADDITIONAL" => "", - "FIELD_CODE" => ["DETAIL_PICTURE"], - ], - false - ); ?> -
- посмотреть все -
-
-
-
+ IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/partner_tabs.php"], false, ['HIDE_ICONS' => 'Y']); ?> \ No newline at end of file diff --git a/include/partner_tabs.php b/include/partner_tabs.php new file mode 100644 index 0000000..cd1eda2 --- /dev/null +++ b/include/partner_tabs.php @@ -0,0 +1,66 @@ +
+
+
+
    + + +
+
+ GetCurPage(false) == "/") + global $arrFilter; + $arrFilter = ["PROPERTY_ON_MAIN" => "3"]; + ?> + IncludeComponent("bitrix:news.list", "tab-clients", [ + "IBLOCK_TYPE" => "content", + "IBLOCK_ID" => IBID_CLIENTS, + "SET_TITLE" => "N", + "AJAX_MODE" => "N", + "AJAX_OPTION_SHADOW" => "Y", + "AJAX_OPTION_JUMP" => "N", + "AJAX_OPTION_STYLE" => "Y", + "AJAX_OPTION_HISTORY" => "N", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "36000000", + "CACHE_GROUPS" => "Y", + "AJAX_OPTION_ADDITIONAL" => "", + "FILTER_NAME" => "arrFilter", + "FIELD_CODE" => ["DETAIL_PICTURE"], + "PROPERTY_CODE" => ["ON_MAIN"], + ], + false + ); ?> +
+
+ GetCurPage(false) == "/") + $arrFilter = ["PROPERTY_ON_MAIN" => "2"]; + ?> + IncludeComponent("bitrix:news.list", "tab-partners", [ + "IBLOCK_TYPE" => "content", + "IBLOCK_ID" => IBID_PARTNERS, + "SET_TITLE" => "N", + "AJAX_MODE" => "N", + "AJAX_OPTION_SHADOW" => "Y", + "AJAX_OPTION_JUMP" => "N", + "AJAX_OPTION_STYLE" => "Y", + "AJAX_OPTION_HISTORY" => "N", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "36000000", + "CACHE_GROUPS" => "Y", + "AJAX_OPTION_ADDITIONAL" => "", + "FILTER_NAME" => "arrFilter", + "FIELD_CODE" => ["DETAIL_PICTURE"], + "PROPERTY_CODE" => ["ON_MAIN"], + "NEWS_COUNT" => '8' + ], + false + ); ?> +
+
+
+
\ No newline at end of file diff --git a/index.php b/index.php index af74112..6d72a6f 100644 --- a/index.php +++ b/index.php @@ -1,94 +1,117 @@ SetPageProperty("title", "Российский системный интегратор полного цикла — повышаем эффективность, автоматизируем процессы, внедряем продвинутые технологии"); + $APPLICATION->SetPageProperty("keywords", "IT-решения, интегратор, автоматизация, сопровождение"); + $APPLICATION->SetPageProperty("description", "Внедряем технологии в сфере информационной безопасности → Защищаем ИТ-инфракструтуру → Заменяем и обслуживаем импортное оборудование и ПО → Повышение производительности ЦОД → Диагностика, регламентные работы, ремонт, настройка инженерных систем"); + $APPLICATION->SetPageProperty("title", "Российский системный интегратор полного цикла — повышаем эффективность, автоматизируем процессы, внедряем продвинутые технологии"); $APPLICATION->SetTitle("Главная страница"); + global $arrFilter; ?>
-
-
-

- IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_title.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text"], false); ?> -

-
-
-
-
- IncludeComponent("bitrix:news.list", "services", [ - "IBLOCK_TYPE" => "news", - "IBLOCK_ID" => IBID_SERVICES, - "SET_TITLE" => "N", +
+
+

+ IncludeComponent( + "bitrix:main.include", + "", + [ + "AREA_FILE_RECURSIVE" => "N", + "AREA_FILE_SHOW" => "file", + "EDIT_MODE" => "text", + "PATH" => SITE_DIR . "include/about_title.php", + ] + ); ?>

+
+
+
+
+ IncludeComponent( + "bitrix:news.list", + "services", + [ "AJAX_MODE" => "N", - "AJAX_OPTION_SHADOW" => "Y", + "AJAX_OPTION_ADDITIONAL" => "", + "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_JUMP" => "N", + "AJAX_OPTION_SHADOW" => "Y", "AJAX_OPTION_STYLE" => "Y", - "AJAX_OPTION_HISTORY" => "N", - "CACHE_TYPE" => "A", - "CACHE_TIME" => "36000000", "CACHE_GROUPS" => "Y", - "AJAX_OPTION_ADDITIONAL" => "", + "CACHE_TIME" => "36000000", + "CACHE_TYPE" => "A", "FIELD_CODE" => ["DETAIL_PICTURE"], + "IBLOCK_ID" => IBID_SERVICES, + "IBLOCK_TYPE" => "news", "PROPERTY_CODE" => ["LIST_IMAGE"], - ], - false - ); ?> -
-
+ "SET_TITLE" => "N", + ] + ); ?> +
+

- IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_title.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text",], false); ?> -

+ IncludeComponent( + "bitrix:main.include", + "", + [ + "AREA_FILE_RECURSIVE" => "N", + "AREA_FILE_SHOW" => "file", + "EDIT_MODE" => "text", + "PATH" => SITE_DIR . "include/about_title.php", + ] + ); ?>
-
+
+

- IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_text.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text",], false); ?> + IncludeComponent( + "bitrix:main.include", + "", + [ + "AREA_FILE_RECURSIVE" => "N", + "AREA_FILE_SHOW" => "file", + "EDIT_MODE" => "text", + "PATH" => SITE_DIR . "include/about_text.php", + ] + ); ?>

- IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/about_list.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text",], false); ?> + IncludeComponent( + "bitrix:main.include", + "", + [ + "AREA_FILE_RECURSIVE" => "N", + "AREA_FILE_SHOW" => "file", + "EDIT_MODE" => "text", + "PATH" => SITE_DIR . "include/about_list.php", + ] + ); ?>
-

Лицензии

- IncludeComponent("bitrix:news.list", "licenses", [ - "IBLOCK_TYPE" => "content", - "IBLOCK_ID" => IBID_LICENSES, - "SET_TITLE" => "N", - "AJAX_MODE" => "N", - "AJAX_OPTION_SHADOW" => "Y", - "AJAX_OPTION_JUMP" => "N", - "AJAX_OPTION_STYLE" => "Y", - "AJAX_OPTION_HISTORY" => "N", - "CACHE_TYPE" => "A", - "CACHE_TIME" => "36000000", - "CACHE_GROUPS" => "Y", - "AJAX_OPTION_ADDITIONAL" => "", - ], - false +
+

Лицензии

+ IncludeComponent( + "bitrix:news.list", + "licenses", + [ + "AJAX_MODE" => "N", + "AJAX_OPTION_ADDITIONAL" => "", + "AJAX_OPTION_HISTORY" => "N", + "AJAX_OPTION_JUMP" => "N", + "AJAX_OPTION_SHADOW" => "Y", + "AJAX_OPTION_STYLE" => "Y", + "CACHE_GROUPS" => "Y", + "CACHE_TIME" => "36000000", + "CACHE_TYPE" => "A", + "IBLOCK_ID" => IBID_LICENSES, + "IBLOCK_TYPE" => "content", + "SET_TITLE" => "N", + ] ); ?>
-
-
-
-
    -
  • - -
  • -
  • - -
  • -
-
-
- -
-
-
- посмотреть все
-
-
-
+IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/partner_tabs.php"], false, ['HIDE_ICONS' => 'Y']); ?> \ No newline at end of file diff --git a/local/templates/main/components/bitrix/menu/bottom/template.php b/local/templates/main/components/bitrix/menu/bottom/template.php index 6aadc20..d12b44d 100644 --- a/local/templates/main/components/bitrix/menu/bottom/template.php +++ b/local/templates/main/components/bitrix/menu/bottom/template.php @@ -1,5 +1,6 @@ +