From 3aa877b8569e918b00c032a55d73686f152f6a92 Mon Sep 17 00:00:00 2001
From: Andrei
Date: Tue, 24 Jun 2025 00:31:14 +0300
Subject: [PATCH] =?UTF-8?q?Maks=20|=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BD=D0=B5?=
=?UTF-8?q?=D1=81=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD=D1=82?=
=?UTF-8?q?=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B=20=D0=9D=D1=83=D0=B6=D0=BD?=
=?UTF-8?q?=D0=B0=20=D0=BA=D0=BE=D0=BD=D1=81=D1=83=D0=BB=D1=8C=D1=82=D0=B0?=
=?UTF-8?q?=D1=86=D0=B8=D1=8F=20=D0=B8=20=D0=BF=D0=BE=D0=BA=D0=B0=20=D0=BE?=
=?UTF-8?q?=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B8=D0=BB=20=D0=BF=D1=83=D1=82?=
=?UTF-8?q?=D0=B5=D0=BC=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5=D0=BD?=
=?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=B0=D0=BF=D0=BA?=
=?UTF-8?q?=D0=B8=20include?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../index.php | 27 +--
.../include-ОТКЛЮЧИЛ/consultation.php | 21 +++
.../consultation/lang/en/template.php | 8 +
.../consultation/lang/ru/template.php | 8 +
.../consultation/result_modifier.php | 2 +
.../main.feedback/consultation/template.php | 17 ++
.../main.feedback/order/lang/en/template.php | 8 +
.../main.feedback/order/lang/ru/template.php | 8 +
.../main.feedback/order/result_modifier.php | 2 +
.../bitrix/main.feedback/order/style.css | 1 +
.../bitrix/main.feedback/order/style.min.css | 1 +
.../bitrix/main.feedback/order/template.php | 165 ++++++++++++++++++
12 files changed, 258 insertions(+), 10 deletions(-)
create mode 100644 local/include-ОТКЛЮЧИЛ/consultation.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/en/template.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/ru/template.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/consultation/result_modifier.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/consultation/template.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/en/template.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/ru/template.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/order/result_modifier.php
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/order/style.css
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/order/style.min.css
create mode 100644 local/templates/EraSeptik/components/bitrix/main.feedback/order/template.php
diff --git a/interesnoe/blog-pro-septiki/stantsii-biologicheskoy-ochistki-pravilnyy-vybor/index.php b/interesnoe/blog-pro-septiki/stantsii-biologicheskoy-ochistki-pravilnyy-vybor/index.php
index 856bfed..a926feb 100644
--- a/interesnoe/blog-pro-septiki/stantsii-biologicheskoy-ochistki-pravilnyy-vybor/index.php
+++ b/interesnoe/blog-pro-septiki/stantsii-biologicheskoy-ochistki-pravilnyy-vybor/index.php
@@ -346,13 +346,20 @@ $APPLICATION->SetTitle("Станции биологической очистки
- $APPLICATION->IncludeComponent(
- "bitrix:main.include",
- "",
- Array(
- "AREA_FILE_RECURSIVE" => "Y",
- "AREA_FILE_SHOW" => "file",
- "EDIT_TEMPLATE" => "",
- "PATH" => "/local/include/consultation.php"
- )
-);?>
\ No newline at end of file
+
+
+
+
+ $APPLICATION->IncludeComponent(
+ "bitrix:main.include",
+ "",
+ Array(
+ "AREA_FILE_RECURSIVE" => "Y",
+ "AREA_FILE_SHOW" => "file",
+ "EDIT_TEMPLATE" => "",
+ "PATH" => "/local/include/consultation.php"
+ )
+ );
+?>
+
+
\ No newline at end of file
diff --git a/local/include-ОТКЛЮЧИЛ/consultation.php b/local/include-ОТКЛЮЧИЛ/consultation.php
new file mode 100644
index 0000000..5f87e58
--- /dev/null
+++ b/local/include-ОТКЛЮЧИЛ/consultation.php
@@ -0,0 +1,21 @@
+
+ Нужна консультация?
+ $APPLICATION->IncludeComponent(
+ "bitrix:main.feedback",
+ "consultation",
+ array(
+ "EMAIL_TO" => "fl@itbuben.ru",
+ "EVENT_MESSAGE_ID" => array(
+ 0 => "7",
+ ),
+ "OK_TEXT" => "Спасибо, ваше сообщение принято.",
+ "REQUIRED_FIELDS" => array(
+ 0 => "NAME",
+ 1 => "EMAIL",
+ ),
+ "USE_CAPTCHA" => "Y",
+ "COMPONENT_TEMPLATE" => "consultation"
+ ),
+ false
+);?>
+
\ No newline at end of file
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/en/template.php b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/en/template.php
new file mode 100644
index 0000000..c545f82
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/en/template.php
@@ -0,0 +1,8 @@
+
+$MESS ['MFT_NAME'] = "Name";
+$MESS ['MFT_EMAIL'] = "Your E-mail";
+$MESS ['MFT_MESSAGE'] = "Message";
+$MESS ['MFT_CAPTCHA'] = "CAPTCHA";
+$MESS ['MFT_CAPTCHA_CODE'] = "Type the letters you see on the picture";
+$MESS ['MFT_SUBMIT'] = "Send";
+?>
\ No newline at end of file
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/ru/template.php b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/ru/template.php
new file mode 100644
index 0000000..cf4b769
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/lang/ru/template.php
@@ -0,0 +1,8 @@
+
+$MESS ['MFT_NAME'] = "Ваше имя";
+$MESS ['MFT_EMAIL'] = "Ваш E-mail";
+$MESS ['MFT_MESSAGE'] = "Сообщение";
+$MESS ['MFT_CAPTCHA'] = "Защита от автоматических сообщений";
+$MESS ['MFT_CAPTCHA_CODE'] = "Введите слово на картинке";
+$MESS ['MFT_SUBMIT'] = "Отправить";
+?>
\ No newline at end of file
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/result_modifier.php b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/result_modifier.php
new file mode 100644
index 0000000..8425f71
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/result_modifier.php
@@ -0,0 +1,2 @@
+
+
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/template.php b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/template.php
new file mode 100644
index 0000000..f02612d
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/consultation/template.php
@@ -0,0 +1,17 @@
+
+
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/en/template.php b/local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/en/template.php
new file mode 100644
index 0000000..c545f82
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/en/template.php
@@ -0,0 +1,8 @@
+
+$MESS ['MFT_NAME'] = "Name";
+$MESS ['MFT_EMAIL'] = "Your E-mail";
+$MESS ['MFT_MESSAGE'] = "Message";
+$MESS ['MFT_CAPTCHA'] = "CAPTCHA";
+$MESS ['MFT_CAPTCHA_CODE'] = "Type the letters you see on the picture";
+$MESS ['MFT_SUBMIT'] = "Send";
+?>
\ No newline at end of file
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/ru/template.php b/local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/ru/template.php
new file mode 100644
index 0000000..cf4b769
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/order/lang/ru/template.php
@@ -0,0 +1,8 @@
+
+$MESS ['MFT_NAME'] = "Ваше имя";
+$MESS ['MFT_EMAIL'] = "Ваш E-mail";
+$MESS ['MFT_MESSAGE'] = "Сообщение";
+$MESS ['MFT_CAPTCHA'] = "Защита от автоматических сообщений";
+$MESS ['MFT_CAPTCHA_CODE'] = "Введите слово на картинке";
+$MESS ['MFT_SUBMIT'] = "Отправить";
+?>
\ No newline at end of file
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/order/result_modifier.php b/local/templates/EraSeptik/components/bitrix/main.feedback/order/result_modifier.php
new file mode 100644
index 0000000..8425f71
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/order/result_modifier.php
@@ -0,0 +1,2 @@
+
+
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/order/style.css b/local/templates/EraSeptik/components/bitrix/main.feedback/order/style.css
new file mode 100644
index 0000000..27a7c93
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/order/style.css
@@ -0,0 +1 @@
+.mf-control-required { color: #f00; }
\ No newline at end of file
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/order/style.min.css b/local/templates/EraSeptik/components/bitrix/main.feedback/order/style.min.css
new file mode 100644
index 0000000..734d5e5
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/order/style.min.css
@@ -0,0 +1 @@
+.mf-control-required{color:#f00}
\ No newline at end of file
diff --git a/local/templates/EraSeptik/components/bitrix/main.feedback/order/template.php b/local/templates/EraSeptik/components/bitrix/main.feedback/order/template.php
new file mode 100644
index 0000000..446f28c
--- /dev/null
+++ b/local/templates/EraSeptik/components/bitrix/main.feedback/order/template.php
@@ -0,0 +1,165 @@
+
+if(!defined("B_PROLOG_INCLUDED")||B_PROLOG_INCLUDED!==true)die();
+
+\Bitrix\Main\UI\Extension::load("ui.bootstrap4");
+/**
+ * Bitrix vars
+ *
+ * @var array $arParams
+ * @var array $arResult
+ * @var CBitrixComponentTemplate $this
+ * @global CMain $APPLICATION
+ * @global CUser $USER
+ */
+?>
+
+//if(!empty($arResult["ERROR_MESSAGE"]))
+// {
+// foreach($arResult["ERROR_MESSAGE"] as $v)
+// ShowError($v);
+// }
+// if($arResult["OK_MESSAGE"] <> '')
+// {
+// ?>//
+// }
+// ?>
+
+
+
+//
+// if(empty($arParams["REQUIRED_FIELDS"]) || in_array("NAME", $arParams["REQUIRED_FIELDS"])):?>//endif;?>
+
+
+
+
+
+
+//if(empty($arParams["REQUIRED_FIELDS"]) || in_array("NAME", $arParams["REQUIRED_FIELDS"])): ?>//endif?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+//
+// if(empty($arParams["REQUIRED_FIELDS"]) || in_array("EMAIL", $arParams["REQUIRED_FIELDS"])):?>//endif?>
+
+
+
+
+
+
+//if(empty($arParams["REQUIRED_FIELDS"]) || in_array("EMAIL", $arParams["REQUIRED_FIELDS"])):?>//endif?>
+
+
+
+
+
+//
+// if(empty($arParams["REQUIRED_FIELDS"]) || in_array("MESSAGE", $arParams["REQUIRED_FIELDS"])):?>//endif?>
+
+
+
+//if($arParams["USE_CAPTCHA"] == "Y"):?>
+
+
+
+
+
+
+
+
+
+
+
+//endif;?>
+
+
+
+
+
+
+
+
\ No newline at end of file