diff --git a/contacts/index.php b/contacts/index.php index 5d384e9..11dd969 100644 --- a/contacts/index.php +++ b/contacts/index.php @@ -1,116 +1,15 @@ SetTitle("Контактная информация"); + require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php"); + $APPLICATION->SetTitle("Контактная информация"); ?> -
-

Контакты

-
-
-
-
-
-

Свяжитесь - с нами

-
    -
  • Телефон

    - IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/phone.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text"], false); ?> -
  • -
  • Почта

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

Форма обратной связи

-
-
- -
-
-
-
-
-

Где нас найти

-
-
    -
  • - -
  • -
  • - -
  • -
-
-
-
-
-
    -
  • -
    -

    Москва

    -

    адрес

    -

    117246, г. Москва, Научный проезд, 14А, стр. 1, - БЦ SMART-PARK

  • -
  • -
    -

    Санкт-Петербург

    -

    адрес

    -

    191040, г. Санкт-Петербург, Лиговский проспект, 50 к. 12, - офис 23

  • -
-
-
-
-
-
- -
-
-
-
- - \ No newline at end of file +

Свяжитесь + с нами

+ + \ No newline at end of file diff --git a/include/form.php b/include/form.php new file mode 100644 index 0000000..42bb79b --- /dev/null +++ b/include/form.php @@ -0,0 +1,20 @@ +
+
+ +
\ No newline at end of file diff --git a/include/map.php b/include/map.php new file mode 100644 index 0000000..6f60c01 --- /dev/null +++ b/include/map.php @@ -0,0 +1,55 @@ +
+

Где нас найти

+
+
    +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
    +
  • +
    +

    Москва

    +

    адрес

    +

    117246, г. Москва, Научный проезд, 14А, стр. 1, + БЦ SMART-PARK

  • +
  • +
    +

    Санкт-Петербург

    +

    адрес

    +

    191040, г. Санкт-Петербург, Лиговский проспект, 50 к. 12, + офис 23

  • +
+
+
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/include/requisites.php b/include/requisites.php new file mode 100644 index 0000000..4e1a8aa --- /dev/null +++ b/include/requisites.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/local/templates/main/footer.php b/local/templates/main/footer.php index 651fcbf..167259c 100644 --- a/local/templates/main/footer.php +++ b/local/templates/main/footer.php @@ -4,7 +4,19 @@ /** @global CMain $APPLICATION */ /** @global CUser $USER */ /** @global CDatabase $DB */ + $curPage = $APPLICATION->GetCurPage(false); ?> + + +

Форма обратной связи

+ IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/form.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text"], false, ['HIDE_ICONS' => 'Y']); ?> +
+ + + IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/map.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text"], false, ['HIDE_ICONS' => 'Y']); ?> + IncludeComponent("bitrix:main.include", "", ["AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/requisites.php", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "text"], false, ['HIDE_ICONS' => 'Y']); ?> +