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("Станции биологической очистки

- 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 + + +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 @@ +
+

Нужна консультация?

+ 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 @@ + \ 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 @@ + \ 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 @@ + +
+
+ + + " required /> + + " required /> + + +
+ +
+ Нажимая кнопку «Получить консультацию», вы соглашаетесь с условиями конфиденциальности +
+
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 @@ + \ 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 @@ + \ 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 @@ + + + '') +// { +// ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +

+ Оформление заказа +

+
+ + + + + + + + + +

+ Нажимая кнопку «Заказать звонок», вы подтверждаете свое согласие на + обработку персональных данных +

+
+
+
\ No newline at end of file