From 295594305d325125b0a729957e7507bcb86eb0af Mon Sep 17 00:00:00 2001 From: jimagie Date: Thu, 22 Oct 2026 19:33:59 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= =?UTF-8?q?=D1=8B=20=D1=81=D0=B0=D0=B9=D1=82=D0=B0:=20=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D1=8B,=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D0=B8?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E=D1=87=D0=B0=D0=B5=D0=BC?= =?UTF-8?q?=D1=8B=D0=B5=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .access.php | 8 ++ .bottom.menu.php | 9 ++ .catalog.menu.php | 4 + .catalog.menu_ext.php | 6 + .personal.menu.php | 71 ++++++++++++ .section.php | 5 + .top.menu.php | 8 ++ 404.php | 53 +++++++++ about/index.php | 4 + articles/index.php | 32 ++++++ brands/index.php | 54 +++++++++ catalog/.section.php | 2 + catalog/index.php | 8 ++ catalog/lang/en/index.php | 3 + catalog/lang/pl/index.php | 3 + catalog/lang/ru/index.php | 3 + catalog/sidebar.php | 45 ++++++++ compare/index.php | 27 +++++ consent/index.php | 41 +++++++ consent/lang/en/index.php | 16 +++ consent/lang/pl/index.php | 16 +++ consent/lang/ru/index.php | 16 +++ forgot-password/index.php | 4 + include/about.php | 14 +++ include/about_title.php | 1 + include/catalog_title.php | 1 + include/company_about.php | 1 + include/company_logo.php | 1 + include/company_logo_mobile.php | 1 + include/company_name.php | 1 + include/copyright.php | 1 + include/facebook_plugin.php | 9 ++ include/home-story.php | 3 + include/info.php | 51 +++++++++ include/personal.php | 1 + include/reg_info.php | 7 ++ include/schedule.php | 1 + include/sender.php | 7 ++ include/socnet_footer.php | 17 +++ include/socnet_sidebar.php | 18 +++ include/telephone.php | 1 + include/twitter.php | 6 + include/viewed_product.php | 38 +++++++ index.php | 184 +++++++++++++++++++++++++++++++ lang/en/404.php | 9 ++ lang/en/index.php | 19 ++++ lang/pl/404.php | 9 ++ lang/pl/index.php | 19 ++++ lang/ru/404.php | 9 ++ lang/ru/index.php | 19 ++++ login/index.php | 4 + offers/index.php | 33 ++++++ personal/cart/index.php | 4 + personal/favorites/index.php | 32 ++++++ personal/index.php | 4 + personal/order/done/index.php | 4 + personal/order/index.php | 4 + personal/orders/index.php | 4 + personal/reviews/index.php | 4 + pl/.bottom.menu.php | 9 ++ pl/.catalog.menu.php | 4 + pl/.catalog.menu_ext.php | 2 + pl/.section.php | 5 + pl/.top.menu.php | 8 ++ pl/about/index.php | 2 + pl/articles/index.php | 2 + pl/brands/index.php | 2 + pl/catalog/index.php | 2 + pl/compare/index.php | 2 + pl/consent/index.php | 2 + pl/forgot-password/index.php | 2 + pl/include/home-story.php | 3 + pl/index.php | 2 + pl/login/index.php | 2 + pl/offers/index.php | 2 + pl/personal/cart/index.php | 2 + pl/personal/favorites/index.php | 2 + pl/personal/index.php | 2 + pl/personal/order/done/index.php | 2 + pl/personal/order/index.php | 2 + pl/personal/orders/index.php | 2 + pl/personal/reviews/index.php | 2 + pl/privacy/index.php | 2 + pl/register/index.php | 2 + pl/reset-password/index.php | 2 + pl/search/index.php | 2 + pl/vinoteca/index.php | 2 + privacy/index.php | 61 ++++++++++ privacy/lang/en/index.php | 45 ++++++++ privacy/lang/pl/index.php | 45 ++++++++ privacy/lang/ru/index.php | 45 ++++++++ register/index.php | 4 + reset-password/index.php | 4 + ru/.bottom.menu.php | 9 ++ ru/.catalog.menu.php | 4 + ru/.catalog.menu_ext.php | 2 + ru/.section.php | 5 + ru/.top.menu.php | 8 ++ ru/about/index.php | 2 + ru/articles/index.php | 2 + ru/brands/index.php | 2 + ru/catalog/index.php | 2 + ru/compare/index.php | 2 + ru/consent/index.php | 2 + ru/forgot-password/index.php | 2 + ru/include/home-story.php | 3 + ru/index.php | 2 + ru/login/index.php | 2 + ru/offers/index.php | 2 + ru/personal/cart/index.php | 2 + ru/personal/favorites/index.php | 2 + ru/personal/index.php | 2 + ru/personal/order/done/index.php | 2 + ru/personal/order/index.php | 2 + ru/personal/orders/index.php | 2 + ru/personal/reviews/index.php | 2 + ru/privacy/index.php | 2 + ru/register/index.php | 2 + ru/reset-password/index.php | 2 + ru/search/index.php | 2 + ru/vinoteca/index.php | 2 + search/index.php | 5 + urlrewrite.php | 123 +++++++++++++++++++++ vinoteca/index.php | 55 +++++++++ 124 files changed, 1516 insertions(+) create mode 100644 .access.php create mode 100644 .bottom.menu.php create mode 100644 .catalog.menu.php create mode 100644 .catalog.menu_ext.php create mode 100644 .personal.menu.php create mode 100644 .section.php create mode 100644 .top.menu.php create mode 100644 404.php create mode 100644 about/index.php create mode 100644 articles/index.php create mode 100644 brands/index.php create mode 100644 catalog/.section.php create mode 100644 catalog/index.php create mode 100644 catalog/lang/en/index.php create mode 100644 catalog/lang/pl/index.php create mode 100644 catalog/lang/ru/index.php create mode 100644 catalog/sidebar.php create mode 100644 compare/index.php create mode 100644 consent/index.php create mode 100644 consent/lang/en/index.php create mode 100644 consent/lang/pl/index.php create mode 100644 consent/lang/ru/index.php create mode 100644 forgot-password/index.php create mode 100644 include/about.php create mode 100644 include/about_title.php create mode 100644 include/catalog_title.php create mode 100644 include/company_about.php create mode 100644 include/company_logo.php create mode 100644 include/company_logo_mobile.php create mode 100644 include/company_name.php create mode 100644 include/copyright.php create mode 100644 include/facebook_plugin.php create mode 100644 include/home-story.php create mode 100644 include/info.php create mode 100644 include/personal.php create mode 100644 include/reg_info.php create mode 100644 include/schedule.php create mode 100644 include/sender.php create mode 100644 include/socnet_footer.php create mode 100644 include/socnet_sidebar.php create mode 100644 include/telephone.php create mode 100644 include/twitter.php create mode 100644 include/viewed_product.php create mode 100644 index.php create mode 100644 lang/en/404.php create mode 100644 lang/en/index.php create mode 100644 lang/pl/404.php create mode 100644 lang/pl/index.php create mode 100644 lang/ru/404.php create mode 100644 lang/ru/index.php create mode 100644 login/index.php create mode 100644 offers/index.php create mode 100644 personal/cart/index.php create mode 100644 personal/favorites/index.php create mode 100644 personal/index.php create mode 100644 personal/order/done/index.php create mode 100644 personal/order/index.php create mode 100644 personal/orders/index.php create mode 100644 personal/reviews/index.php create mode 100644 pl/.bottom.menu.php create mode 100644 pl/.catalog.menu.php create mode 100644 pl/.catalog.menu_ext.php create mode 100644 pl/.section.php create mode 100644 pl/.top.menu.php create mode 100644 pl/about/index.php create mode 100644 pl/articles/index.php create mode 100644 pl/brands/index.php create mode 100644 pl/catalog/index.php create mode 100644 pl/compare/index.php create mode 100644 pl/consent/index.php create mode 100644 pl/forgot-password/index.php create mode 100644 pl/include/home-story.php create mode 100644 pl/index.php create mode 100644 pl/login/index.php create mode 100644 pl/offers/index.php create mode 100644 pl/personal/cart/index.php create mode 100644 pl/personal/favorites/index.php create mode 100644 pl/personal/index.php create mode 100644 pl/personal/order/done/index.php create mode 100644 pl/personal/order/index.php create mode 100644 pl/personal/orders/index.php create mode 100644 pl/personal/reviews/index.php create mode 100644 pl/privacy/index.php create mode 100644 pl/register/index.php create mode 100644 pl/reset-password/index.php create mode 100644 pl/search/index.php create mode 100644 pl/vinoteca/index.php create mode 100644 privacy/index.php create mode 100644 privacy/lang/en/index.php create mode 100644 privacy/lang/pl/index.php create mode 100644 privacy/lang/ru/index.php create mode 100644 register/index.php create mode 100644 reset-password/index.php create mode 100644 ru/.bottom.menu.php create mode 100644 ru/.catalog.menu.php create mode 100644 ru/.catalog.menu_ext.php create mode 100644 ru/.section.php create mode 100644 ru/.top.menu.php create mode 100644 ru/about/index.php create mode 100644 ru/articles/index.php create mode 100644 ru/brands/index.php create mode 100644 ru/catalog/index.php create mode 100644 ru/compare/index.php create mode 100644 ru/consent/index.php create mode 100644 ru/forgot-password/index.php create mode 100644 ru/include/home-story.php create mode 100644 ru/index.php create mode 100644 ru/login/index.php create mode 100644 ru/offers/index.php create mode 100644 ru/personal/cart/index.php create mode 100644 ru/personal/favorites/index.php create mode 100644 ru/personal/index.php create mode 100644 ru/personal/order/done/index.php create mode 100644 ru/personal/order/index.php create mode 100644 ru/personal/orders/index.php create mode 100644 ru/personal/reviews/index.php create mode 100644 ru/privacy/index.php create mode 100644 ru/register/index.php create mode 100644 ru/reset-password/index.php create mode 100644 ru/search/index.php create mode 100644 ru/vinoteca/index.php create mode 100644 search/index.php create mode 100644 urlrewrite.php create mode 100644 vinoteca/index.php diff --git a/.access.php b/.access.php new file mode 100644 index 0000000..0659fdc --- /dev/null +++ b/.access.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/.bottom.menu.php b/.bottom.menu.php new file mode 100644 index 0000000..9a4ad56 --- /dev/null +++ b/.bottom.menu.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/.section.php b/.section.php new file mode 100644 index 0000000..0aacaaf --- /dev/null +++ b/.section.php @@ -0,0 +1,5 @@ + 'Vinoteca: a curated wine shop. Wines from the best regions of the world, fair prices and a sommelier to help you choose.', + 'robots' => 'index, follow', +]; diff --git a/.top.menu.php b/.top.menu.php new file mode 100644 index 0000000..f0fa711 --- /dev/null +++ b/.top.menu.php @@ -0,0 +1,8 @@ +SetTitle(Loc::getMessage("VINO_404_TITLE")); +$APPLICATION->SetPageProperty("title", Loc::getMessage("VINO_404_TITLE")); +$APPLICATION->SetPageProperty("description", Loc::getMessage("VINO_404_TITLE")); +$APPLICATION->SetPageProperty("robots", "noindex, follow"); +$APPLICATION->SetPageProperty("vino_alternates", "N"); +Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . "/assets/js/vino-slider.js"); +?> +
+
+ +

+


+ +
+
+
+
+

+ IncludeComponent("bitrix:catalog.section.list", "vinoteca-tiles", \Jinove\Vinoteca\Catalog\Listing::sectionTilesParams() + array("VINO_SCHEMA" => "N"), false); ?> +
+
+
+
+
+
+

+
+
+ + +
+
+
+
+
+ IncludeComponent("bitrix:catalog.top", "vinoteca-row", \Jinove\Vinoteca\Catalog\Listing::prepareBestsellers(), false); ?> +
+
+
+
+
+
+ diff --git a/about/index.php b/about/index.php new file mode 100644 index 0000000..5c7b105 --- /dev/null +++ b/about/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:about", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/articles/index.php b/articles/index.php new file mode 100644 index 0000000..4dd0523 --- /dev/null +++ b/articles/index.php @@ -0,0 +1,32 @@ +IncludeComponent("bitrix:news", "vinoteca-news", array( + "IBLOCK_TYPE" => "news", + "IBLOCK_ID" => \Jinove\Vinoteca\News::iblockId(), + "CHECK_DATES" => "Y", + "SEF_MODE" => "Y", + "SEF_FOLDER" => \Jinove\Vinoteca\News::folder(), + "SEF_URL_TEMPLATES" => array( + "news" => "", + "section" => "", + "detail" => "#ELEMENT_CODE#/", + ), + "DETAIL_FIELD_CODE" => array("PREVIEW_PICTURE", "PREVIEW_TEXT", "DETAIL_TEXT", "DETAIL_PICTURE", "ACTIVE_FROM", "TIMESTAMP_X"), + "DETAIL_PROPERTY_CODE" => array("NAME_EN", "NAME_PL", "PREVIEW_TEXT_EN", "PREVIEW_TEXT_PL", "DETAIL_TEXT_EN", "DETAIL_TEXT_PL"), + "USE_SEARCH" => "N", + "USE_RSS" => "N", + "USE_RATING" => "N", + "USE_CATEGORIES" => "N", + "USE_FILTER" => "N", + "USE_REVIEW" => "N", + "USE_PERMISSIONS" => "N", + "AJAX_MODE" => "N", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "36000000", + "CACHE_GROUPS" => "N", + "SET_STATUS_404" => "Y", + "SHOW_404" => "Y", + "FILE_404" => "", + "MESSAGE_404" => "", +), false); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/brands/index.php b/brands/index.php new file mode 100644 index 0000000..ff16ff3 --- /dev/null +++ b/brands/index.php @@ -0,0 +1,54 @@ +addCss(SITE_TEMPLATE_PATH . "/catalog-styles.css"); +$APPLICATION->SetPageProperty("og_image", VINO_HOST . SITE_TEMPLATE_PATH . "/assets/media/og-catalog.jpg"); +$APPLICATION->IncludeComponent("bitrix:news", "vinoteca-brands", array( + "IBLOCK_TYPE" => "catalog", + "IBLOCK_ID" => VINO_BRANDS_IBLOCK, + "NEWS_COUNT" => "100", + "SORT_BY1" => "SORT", + "SORT_ORDER1" => "ASC", + "SORT_BY2" => "NAME", + "SORT_ORDER2" => "ASC", + "CHECK_DATES" => "Y", + "SEF_MODE" => "Y", + "SEF_FOLDER" => SITE_DIR . "brands/", + "SEF_URL_TEMPLATES" => array( + "news" => "", + "section" => "", + "detail" => "#ELEMENT_CODE#/", + ), + "LIST_FIELD_CODE" => array("PREVIEW_PICTURE"), + "LIST_PROPERTY_CODE" => array("COUNTRY", "REGION"), + "DETAIL_FIELD_CODE" => array("PREVIEW_TEXT", "PREVIEW_PICTURE", "DETAIL_PICTURE"), + "DETAIL_PROPERTY_CODE" => array("COUNTRY", "REGION", "REGION_FULL", "FOUNDED", "GRAPE"), + "USE_SEARCH" => "N", + "USE_RSS" => "N", + "USE_RATING" => "N", + "USE_CATEGORIES" => "N", + "USE_FILTER" => "N", + "USE_REVIEW" => "N", + "USE_PERMISSIONS" => "N", + "AJAX_MODE" => "N", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "36000000", + "CACHE_FILTER" => "N", + "CACHE_GROUPS" => "Y", + "SET_TITLE" => "Y", + "SET_LAST_MODIFIED" => "N", + "INCLUDE_IBLOCK_INTO_CHAIN" => "N", + "ADD_SECTIONS_CHAIN" => "N", + "ADD_ELEMENT_CHAIN" => "Y", + "DISPLAY_TOP_PAGER" => "N", + "DISPLAY_BOTTOM_PAGER" => "N", + "SET_STATUS_404" => "Y", + "SHOW_404" => "Y", + "FILE_404" => "", + "MESSAGE_404" => "", +), false); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/catalog/.section.php b/catalog/.section.php new file mode 100644 index 0000000..5133e22 --- /dev/null +++ b/catalog/.section.php @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/catalog/index.php b/catalog/index.php new file mode 100644 index 0000000..85ed34d --- /dev/null +++ b/catalog/index.php @@ -0,0 +1,8 @@ +addCss(SITE_TEMPLATE_PATH . "/catalog-styles.css"); +\Bitrix\Main\Localization\Loc::loadMessages(__FILE__); +$APPLICATION->SetTitle(\Bitrix\Main\Localization\Loc::getMessage("VINO_CATALOG_PAGE_TITLE")); +$APPLICATION->SetPageProperty("description", \Bitrix\Main\Localization\Loc::getMessage("VINO_CATALOG_PAGE_DESCRIPTION")); +$APPLICATION->IncludeComponent("bitrix:catalog", "vinoteca", \Jinove\Vinoteca\Catalog\Listing::catalogParams(), false); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/catalog/lang/en/index.php b/catalog/lang/en/index.php new file mode 100644 index 0000000..9da0cf7 --- /dev/null +++ b/catalog/lang/en/index.php @@ -0,0 +1,3 @@ + +
+ IncludeComponent( + "bitrix:main.include", + "", + Array( + "AREA_FILE_SHOW" => "file", + "PATH" => SITE_DIR."include/socnet_sidebar.php", + "AREA_FILE_RECURSIVE" => "N", + "EDIT_MODE" => "html", + ), + false, + Array('HIDE_ICONS' => 'Y') + );?> +
+ +
+ IncludeComponent( + "bitrix:main.include", + "", + Array( + "AREA_FILE_SHOW" => "file", + "PATH" => SITE_DIR."include/about.php", + "AREA_FILE_RECURSIVE" => "N", + "EDIT_MODE" => "html", + ), + false, + Array('HIDE_ICONS' => 'N') + );?> +
+ +
+ IncludeComponent( + "bitrix:main.include", + "", + Array( + "AREA_FILE_SHOW" => "file", + "PATH" => SITE_DIR."include/info.php", + "AREA_FILE_RECURSIVE" => "N", + "EDIT_MODE" => "html", + ), + false, + Array('HIDE_ICONS' => 'N') + );?> +
\ No newline at end of file diff --git a/compare/index.php b/compare/index.php new file mode 100644 index 0000000..124a38b --- /dev/null +++ b/compare/index.php @@ -0,0 +1,27 @@ + +
+
+ GetTitle()))); ?> +

ShowTitle(false); ?>

+
+
+ +
+
+
+ +
+

+

\Jinove\Vinoteca\Catalog\Comparison::MAX)) ?>

+
+
+
+
+
+IncludeComponent("bitrix:catalog.compare.result", "vinoteca", \Jinove\Vinoteca\Catalog\Comparison::params(), false); +endif; +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/consent/index.php b/consent/index.php new file mode 100644 index 0000000..74a53f3 --- /dev/null +++ b/consent/index.php @@ -0,0 +1,41 @@ +addCss(SITE_TEMPLATE_PATH . "/legal-styles.css"); +$email = \Jinove\Vinoteca\Config::contacts()["email"]; +$mail = '' . htmlspecialcharsbx($email) . ''; +$host = htmlspecialcharsbx((string)parse_url(\Jinove\Vinoteca\Config::host(), PHP_URL_HOST)); +$version = \Jinove\Vinoteca\Consent::VERSION; +$date = \Jinove\Vinoteca\DateFormat::long(\Jinove\Vinoteca\Consent::timestamp($version), LANGUAGE_ID); +$APPLICATION->SetTitle(Loc::getMessage("VINO_CONSENT_H1")); +$APPLICATION->SetPageProperty("title", Loc::getMessage("VINO_CONSENT_TITLE")); +$APPLICATION->SetPageProperty("description", Loc::getMessage("VINO_CONSENT_DESCRIPTION")); +$APPLICATION->SetPageProperty("og_image", VINO_HOST . SITE_TEMPLATE_PATH . "/assets/media/og-home.jpg"); +?> +
+
+ +

+

$date)) ?>

+
+
+ + + +IncludeComponent("jinove:auth.forgot", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/include/about.php b/include/about.php new file mode 100644 index 0000000..f48c4e4 --- /dev/null +++ b/include/about.php @@ -0,0 +1,14 @@ +
+

Почему Мы?

+ +
\ No newline at end of file diff --git a/include/about_title.php b/include/about_title.php new file mode 100644 index 0000000..d981e85 --- /dev/null +++ b/include/about_title.php @@ -0,0 +1 @@ +О магазине \ No newline at end of file diff --git a/include/catalog_title.php b/include/catalog_title.php new file mode 100644 index 0000000..d7935d0 --- /dev/null +++ b/include/catalog_title.php @@ -0,0 +1 @@ +Каталог товаров \ No newline at end of file diff --git a/include/company_about.php b/include/company_about.php new file mode 100644 index 0000000..7030676 --- /dev/null +++ b/include/company_about.php @@ -0,0 +1 @@ +Добро пожаловать в интернет-магазин одежды! Мы предлагаем широкий ассортимент качественной одежды по адекватным ценам. Покупая одежду в нашем Интернет-магазине, вы можете быть уверены в её качестве - ведь мы работаем только с крупными и проверенными производителями. \ No newline at end of file diff --git a/include/company_logo.php b/include/company_logo.php new file mode 100644 index 0000000..94cc9be --- /dev/null +++ b/include/company_logo.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/include/company_logo_mobile.php b/include/company_logo_mobile.php new file mode 100644 index 0000000..bc1938d --- /dev/null +++ b/include/company_logo_mobile.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/include/company_name.php b/include/company_name.php new file mode 100644 index 0000000..882a6ed --- /dev/null +++ b/include/company_name.php @@ -0,0 +1 @@ +Vinoteca \ No newline at end of file diff --git a/include/copyright.php b/include/copyright.php new file mode 100644 index 0000000..c93402c --- /dev/null +++ b/include/copyright.php @@ -0,0 +1 @@ +© Интернет-магазин одежды, 2020 \ No newline at end of file diff --git a/include/facebook_plugin.php b/include/facebook_plugin.php new file mode 100644 index 0000000..1cacd51 --- /dev/null +++ b/include/facebook_plugin.php @@ -0,0 +1,9 @@ + +IncludeComponent("bitrix:eshop.facebook.plugin", "", + array( + "ESHOP_FACEBOOK_LINK"=>"http://www.facebook.com/1CBitrix" + ), + false +); +?> \ No newline at end of file diff --git a/include/home-story.php b/include/home-story.php new file mode 100644 index 0000000..ad251c1 --- /dev/null +++ b/include/home-story.php @@ -0,0 +1,3 @@ + +

A wine cellar, not just a shop

+

Our collection spans the Old World and the New: Italian and French classics, sun-soaked wines from Spain and Portugal, California, Argentina, New Zealand and Hungarian Tokaji. Our sommelier will suggest what to pour with steak or fish, which wine makes a good gift and which one is worth cellaring for a few years. You can ask your question right here on the site.

diff --git a/include/info.php b/include/info.php new file mode 100644 index 0000000..145dc03 --- /dev/null +++ b/include/info.php @@ -0,0 +1,51 @@ +
+

Полезная информация

+
+ +
+
+ +

О магазине

+
+
Узнайте больше о нашем магазине: кто мы, наши клиенты и почему они выбрали именно нас. Наши контакты и реквизиты.
Подробнее +
+
+ +
+
+ +

Доставка

+
+
Доставим ваш заказ в любой регион России, в удобное время и день. Работаем для вас, без выходных.
Подробнее +
+
+ +
+
+ +

Мы гарантируем

+
+
Мы гордимся безупречной репутацией нашего магазина. Если товар не устроит вас, вы всегда сможете вернуть деньги.
Подробнее +
+
+ +
+
+ +

Как купить

+
+
Ваш первый заказ в интернет-магазине? Мы с радостью подскажем как сделать покупки в интернете простыми и удобными.
Подробнее +
+
+ +
+
+ +

Всегда на связи

+
+
Связаться с нами можно любым удобным для вас способом: e-mail, телефон, социальные сети и мессенджеры.
Подробнее +
+
+
+ +
diff --git a/include/personal.php b/include/personal.php new file mode 100644 index 0000000..5266b7f --- /dev/null +++ b/include/personal.php @@ -0,0 +1 @@ +Персональный раздел \ No newline at end of file diff --git a/include/reg_info.php b/include/reg_info.php new file mode 100644 index 0000000..db2f747 --- /dev/null +++ b/include/reg_info.php @@ -0,0 +1,7 @@ +

Использование информации предоставленной Клиентом и получаемой Продавцом.

+

Продавец использует предоставленные Клиентом данные в течение всего срока регистрации Клиента на Сайте в целях:

+ \ No newline at end of file diff --git a/include/schedule.php b/include/schedule.php new file mode 100644 index 0000000..8f80596 --- /dev/null +++ b/include/schedule.php @@ -0,0 +1 @@ +Пн-Вс 10-19 \ No newline at end of file diff --git a/include/sender.php b/include/sender.php new file mode 100644 index 0000000..2660dba --- /dev/null +++ b/include/sender.php @@ -0,0 +1,7 @@ + +
+

РАССЫЛКА

+ IncludeComponent("bitrix:sender.subscribe", "", array( + "SET_TITLE" => "N" + ));?> +
\ No newline at end of file diff --git a/include/socnet_footer.php b/include/socnet_footer.php new file mode 100644 index 0000000..7c6c253 --- /dev/null +++ b/include/socnet_footer.php @@ -0,0 +1,17 @@ + + +IncludeComponent( + "bitrix:eshop.socnet.links", + "big_squares", + array( + "FACEBOOK" => "https://www.facebook.com/1CBitrix", + "VKONTAKTE" => "https://vk.com/bitrix_1c", + "TWITTER" => "https://twitter.com/1c_bitrix", + "GOOGLE" => "https://plus.google.com/111119180387208976312/", + "INSTAGRAM" => "https://instagram.com/1CBitrix/" + ), + false, + array( + "HIDE_ICONS" => "N" + ) +);?> \ No newline at end of file diff --git a/include/socnet_sidebar.php b/include/socnet_sidebar.php new file mode 100644 index 0000000..7ef9e7e --- /dev/null +++ b/include/socnet_sidebar.php @@ -0,0 +1,18 @@ + + +IncludeComponent( + "bitrix:eshop.socnet.links", + "bootstrap_v4", + array( + "COMPONENT_TEMPLATE" => "bootstrap_v4", + "FACEBOOK" => "https://www.facebook.com/1CBitrix", + "VKONTAKTE" => "https://vk.com/bitrix_1c", + "TWITTER" => "https://twitter.com/1c_bitrix", + "GOOGLE" => "https://plus.google.com/111119180387208976312/", + "INSTAGRAM" => "https://instagram.com/1CBitrix/" + ), + false, + array( + "HIDE_ICONS" => "N" + ) +);?> \ No newline at end of file diff --git a/include/telephone.php b/include/telephone.php new file mode 100644 index 0000000..f9ff748 --- /dev/null +++ b/include/telephone.php @@ -0,0 +1 @@ +8 (495) 212 85 06 \ No newline at end of file diff --git a/include/twitter.php b/include/twitter.php new file mode 100644 index 0000000..65ca8b8 --- /dev/null +++ b/include/twitter.php @@ -0,0 +1,6 @@ +
+
+ + +
+
\ No newline at end of file diff --git a/include/viewed_product.php b/include/viewed_product.php new file mode 100644 index 0000000..dee76aa --- /dev/null +++ b/include/viewed_product.php @@ -0,0 +1,38 @@ + +IncludeComponent("bitrix:catalog.viewed.products", "bootstrap_v4", array( + "HIDE_NOT_AVAILABLE" => "N", + "PAGE_ELEMENT_COUNT" => "5", + "SHOW_DISCOUNT_PERCENT" => "Y", + "PRODUCT_SUBSCRIPTION" => "N", + "SHOW_NAME" => "Y", + "SHOW_IMAGE" => "Y", + "MESS_BTN_BUY" => "Купить", + "MESS_BTN_DETAIL" => "Подробнее", + "MESS_BTN_SUBSCRIBE" => "Подписаться", + "LINE_ELEMENT_COUNT" => "5", + "TEMPLATE_THEME" => "site", + "SHOW_OLD_PRICE" => "N", + "PRICE_CODE" => array( + 0 => "BASE", + ), + "SHOW_PRICE_COUNT" => "1", + "PRICE_VAT_INCLUDE" => "Y", + "CONVERT_CURRENCY" => "N", + "BASKET_URL" => "/personal/cart/", + "ACTION_VARIABLE" => "action_cvp", + "PRODUCT_ID_VARIABLE" => "id", + "ADD_PROPERTIES_TO_BASKET" => "Y", + "PRODUCT_PROPS_VARIABLE" => "prop", + "PARTIAL_PRODUCT_PROPERTIES" => "N", + "USE_PRODUCT_QUANTITY" => "N", + "SHOW_PRODUCTS_2" => "Y", + "OFFER_TREE_PROPS_3" => array( + 0 => "COLOR_REF", + 1 => "SIZES_SHOES", + 2 => "SIZES_CLOTHES", + ), + "PRODUCT_QUANTITY_VARIABLE" => "quantity", + "CACHE_GROUPS" => "Y" + ), + false +);?> \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..1eefc23 --- /dev/null +++ b/index.php @@ -0,0 +1,184 @@ +SetPageProperty("description", Loc::getMessage("VINO_HOME_DESCRIPTION")); +$APPLICATION->SetPageProperty("og_image", VINO_HOST . SITE_TEMPLATE_PATH . "/assets/media/og-home.jpg"); +$APPLICATION->SetTitle(Loc::getMessage("VINO_HOME_TITLE")); +$tpl = SITE_TEMPLATE_PATH; +Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . "/assets/js/vino-slider.js"); +$wineCount = ServiceLocator::getInstance()->get("jinove.vinoteca.wineStats")->getActiveCount(); +?> +

+IncludeComponent("bitrix:news.list", "vhero", array( + "IBLOCK_TYPE" => "content", + "IBLOCK_ID" => VINO_BANNERS_IBLOCK, + "NEWS_COUNT" => "4", + "SORT_BY1" => "SORT", + "SORT_ORDER1" => "ASC", + "SORT_BY2" => "ID", + "SORT_ORDER2" => "ASC", + "FIELD_CODE" => array("PREVIEW_PICTURE", "PREVIEW_TEXT"), + "PROPERTY_CODE" => array("KICKER", "LINK", "LINK_TEXT"), + "CHECK_DATES" => "Y", + "SET_TITLE" => "N", + "SET_BROWSER_TITLE" => "N", + "SET_META_KEYWORDS" => "N", + "SET_META_DESCRIPTION" => "N", + "SET_LAST_MODIFIED" => "N", + "SET_STATUS_404" => "N", + "SHOW_404" => "N", + "INCLUDE_IBLOCK_INTO_CHAIN" => "N", + "ADD_SECTIONS_CHAIN" => "N", + "DISPLAY_TOP_PAGER" => "N", + "DISPLAY_BOTTOM_PAGER" => "N", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "36000000", + "CACHE_GROUPS" => "N", +), false); ?> + +IncludeComponent("bitrix:news.list", "vinoteca-brands", array( + "IBLOCK_TYPE" => "catalog", + "IBLOCK_ID" => VINO_BRANDS_IBLOCK, + "NEWS_COUNT" => "8", + "DETAIL_URL" => SITE_DIR . "brands/#ELEMENT_CODE#/", + "SORT_BY1" => "SORT", + "SORT_ORDER1" => "ASC", + "SORT_BY2" => "NAME", + "SORT_ORDER2" => "ASC", + "FIELD_CODE" => array("PREVIEW_PICTURE"), + "PROPERTY_CODE" => array("COUNTRY", "REGION"), + "CHECK_DATES" => "Y", + "SET_TITLE" => "N", + "SET_BROWSER_TITLE" => "N", + "SET_META_KEYWORDS" => "N", + "SET_META_DESCRIPTION" => "N", + "SET_LAST_MODIFIED" => "N", + "SET_STATUS_404" => "N", + "SHOW_404" => "N", + "INCLUDE_IBLOCK_INTO_CHAIN" => "N", + "ADD_SECTIONS_CHAIN" => "N", + "DISPLAY_TOP_PAGER" => "N", + "DISPLAY_BOTTOM_PAGER" => "N", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "36000000", + "CACHE_GROUPS" => "N", +), false); ?> + +
+
+
+
+

+

+
+
+ + +
+
+
+
+
+ IncludeComponent("bitrix:catalog.top", "vinoteca-row", \Jinove\Vinoteca\Catalog\Listing::prepareBestsellers(), false); ?> +
+
+
+
+
+
+ +
+
+
+
+

+

+
+
+ $wineCount)) ?> +
+ + +
+
+
+
+
+ IncludeComponent("bitrix:catalog.top", "vinoteca-row", array( + "IBLOCK_TYPE" => "catalog", + "IBLOCK_ID" => VINO_CATALOG_IBLOCK, + "ELEMENT_COUNT" => "8", + "ELEMENT_SORT_FIELD" => "PROPERTY_VINTAGE", + "ELEMENT_SORT_ORDER" => "desc", + "ELEMENT_SORT_FIELD2" => "ID", + "ELEMENT_SORT_ORDER2" => "desc", + "PROPERTY_CODE" => array("WINE_COLOR", "SUGAR", "VOLUME", "REGION", "COUNTRY"), + "PRICE_CODE" => array("BASE"), + "PRICE_VAT_INCLUDE" => "Y", + "USE_PRICE_COUNT" => "N", + "SHOW_PRICE_COUNT" => "1", + "CONVERT_CURRENCY" => "N", + "HIDE_NOT_AVAILABLE" => "N", + "DETAIL_URL" => SITE_DIR . "catalog/#SECTION_CODE#/#ELEMENT_CODE#/", + "SECTION_URL" => SITE_DIR . "catalog/#SECTION_CODE#/", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "3600", + "CACHE_GROUPS" => "N", + "CACHE_FILTER" => "N", + ), false); ?> +
+
+
+
+
+ +
+
+
+
+ + + <?= htmlspecialcharsbx(Loc::getMessage("> + +
+
+ IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/home-story.php"), false); ?> + +
+
+
+
+ +
+
+
+
+

+

+
+ +
+
+ IncludeComponent("bitrix:news.list", "vinoteca-news", \Jinove\Vinoteca\News::homeParams(), false); ?> +
+
+
+ +IncludeComponent("jinove:auth.login", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/offers/index.php b/offers/index.php new file mode 100644 index 0000000..956a6ec --- /dev/null +++ b/offers/index.php @@ -0,0 +1,33 @@ +addCss(SITE_TEMPLATE_PATH . "/catalog-styles.css"); +$APPLICATION->IncludeComponent("bitrix:news", "vinoteca-offers", array( + "IBLOCK_TYPE" => "content", + "IBLOCK_ID" => \Jinove\Vinoteca\Offers::iblockId(), + "CHECK_DATES" => "Y", + "SEF_MODE" => "Y", + "SEF_FOLDER" => \Jinove\Vinoteca\Offers::folder(), + "SEF_URL_TEMPLATES" => array( + "news" => "", + "section" => "", + "detail" => "#ELEMENT_CODE#/", + ), + "DETAIL_FIELD_CODE" => array("PREVIEW_PICTURE", "PREVIEW_TEXT", "DETAIL_TEXT", "DETAIL_PICTURE", "ACTIVE_FROM", "DATE_ACTIVE_TO"), + "DETAIL_PROPERTY_CODE" => array("DISCOUNT_ID", "NAME_EN", "NAME_PL", "PREVIEW_TEXT_EN", "PREVIEW_TEXT_PL", "DETAIL_TEXT_EN", "DETAIL_TEXT_PL"), + "USE_SEARCH" => "N", + "USE_RSS" => "N", + "USE_RATING" => "N", + "USE_CATEGORIES" => "N", + "USE_FILTER" => "N", + "USE_REVIEW" => "N", + "USE_PERMISSIONS" => "N", + "AJAX_MODE" => "N", + "CACHE_TYPE" => "A", + "CACHE_TIME" => "3600", + "CACHE_GROUPS" => "N", + "SET_STATUS_404" => "Y", + "SHOW_404" => "Y", + "FILE_404" => "", + "MESSAGE_404" => "", +), false); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/personal/cart/index.php b/personal/cart/index.php new file mode 100644 index 0000000..9fdda20 --- /dev/null +++ b/personal/cart/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:cart", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/personal/favorites/index.php b/personal/favorites/index.php new file mode 100644 index 0000000..04700ae --- /dev/null +++ b/personal/favorites/index.php @@ -0,0 +1,32 @@ + +
+
+ GetTitle()))); ?> +

ShowTitle(false); ?>

+
+
+ +
+
+
+
+

+

+
+
+
+
+
+ +
"> +

+
+ IncludeComponent("bitrix:catalog.section", "vinoteca", \Jinove\Vinoteca\Catalog\Favorites::params($favoriteIds), false); ?> +
+
+ + diff --git a/personal/index.php b/personal/index.php new file mode 100644 index 0000000..04c4020 --- /dev/null +++ b/personal/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:personal.profile", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/personal/order/done/index.php b/personal/order/done/index.php new file mode 100644 index 0000000..1b96a96 --- /dev/null +++ b/personal/order/done/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:order.done", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/personal/order/index.php b/personal/order/index.php new file mode 100644 index 0000000..4890add --- /dev/null +++ b/personal/order/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:order", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/personal/orders/index.php b/personal/orders/index.php new file mode 100644 index 0000000..b55c3d2 --- /dev/null +++ b/personal/orders/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:personal.orders", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/personal/reviews/index.php b/personal/reviews/index.php new file mode 100644 index 0000000..7a55739 --- /dev/null +++ b/personal/reviews/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:personal.reviews", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/pl/.bottom.menu.php b/pl/.bottom.menu.php new file mode 100644 index 0000000..3a3bc03 --- /dev/null +++ b/pl/.bottom.menu.php @@ -0,0 +1,9 @@ + 'Vinoteca: autorska winoteka. Wina z najlepszych regionów świata, uczciwe ceny i pomoc sommeliera w wyborze.', + 'robots' => 'index, follow', +]; diff --git a/pl/.top.menu.php b/pl/.top.menu.php new file mode 100644 index 0000000..c31fc44 --- /dev/null +++ b/pl/.top.menu.php @@ -0,0 +1,8 @@ + +

Winoteka, a nie zwykły sklep

+

Nasza kolekcja obejmuje Stary i Nowy Świat: klasykę Włoch i Francji, słoneczne wina Hiszpanii i Portugalii, Kalifornię, Argentynę, Nową Zelandię i węgierski Tokaj. Nasz sommelier podpowie, co podać do steku lub ryby, jakie wino wybrać na prezent, a które warto odłożyć na kilka lat. Pytanie można zadać bezpośrednio na stronie.

diff --git a/pl/index.php b/pl/index.php new file mode 100644 index 0000000..3800f42 --- /dev/null +++ b/pl/index.php @@ -0,0 +1,2 @@ +addCss(SITE_TEMPLATE_PATH . "/legal-styles.css"); +$email = \Jinove\Vinoteca\Config::contacts()["email"]; +$mail = '' . htmlspecialcharsbx($email) . ''; +$host = htmlspecialcharsbx((string)parse_url(\Jinove\Vinoteca\Config::host(), PHP_URL_HOST)); +$version = \Jinove\Vinoteca\Consent::POLICY_VERSION; +$date = \Jinove\Vinoteca\DateFormat::long(\Jinove\Vinoteca\Consent::timestamp($version), LANGUAGE_ID); +$APPLICATION->SetTitle(Loc::getMessage("VINO_PRIVACY_H1")); +$APPLICATION->SetPageProperty("title", Loc::getMessage("VINO_PRIVACY_TITLE")); +$APPLICATION->SetPageProperty("description", Loc::getMessage("VINO_PRIVACY_DESCRIPTION")); +$APPLICATION->SetPageProperty("og_image", VINO_HOST . SITE_TEMPLATE_PATH . "/assets/media/og-home.jpg"); +?> +
+
+ +

+

$date)) ?>

+
+
+ + + +IncludeComponent("jinove:auth.register", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/reset-password/index.php b/reset-password/index.php new file mode 100644 index 0000000..23b020f --- /dev/null +++ b/reset-password/index.php @@ -0,0 +1,4 @@ +IncludeComponent("jinove:auth.reset", ".default", array()); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/ru/.bottom.menu.php b/ru/.bottom.menu.php new file mode 100644 index 0000000..5253182 --- /dev/null +++ b/ru/.bottom.menu.php @@ -0,0 +1,9 @@ + 'Vinoteca: авторская винотека. Вина из лучших регионов мира, честные цены и помощь сомелье в выборе.', + 'robots' => 'index, follow', +]; diff --git a/ru/.top.menu.php b/ru/.top.menu.php new file mode 100644 index 0000000..bda87f8 --- /dev/null +++ b/ru/.top.menu.php @@ -0,0 +1,8 @@ + +

Винотека, а не просто магазин

+

Мы собираем коллекцию от Старого Света до Нового: классика Италии и Франции, солнечные вина Испании и Португалии, Калифорния, Аргентина, Новая Зеландия и венгерский Токай. Наш сомелье подскажет, что подать к стейку или рыбе, какое вино выбрать в подарок и какое стоит отложить на несколько лет. Вопрос можно задать прямо на сайте.

diff --git a/ru/index.php b/ru/index.php new file mode 100644 index 0000000..3800f42 --- /dev/null +++ b/ru/index.php @@ -0,0 +1,2 @@ +IncludeComponent("bitrix:search.page", ".default", \Jinove\Vinoteca\Search::pageParams(), false); +require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); diff --git a/urlrewrite.php b/urlrewrite.php new file mode 100644 index 0000000..e0dda34 --- /dev/null +++ b/urlrewrite.php @@ -0,0 +1,123 @@ + + array ( + 'CONDITION' => '#^\\/?\\/mobileapp/jn\\/(.*)\\/.*#', + 'RULE' => 'componentName=$1', + 'ID' => NULL, + 'PATH' => '/bitrix/services/mobileapp/jn.php', + 'SORT' => 100, + ), + 2 => + array ( + 'CONDITION' => '#^/bitrix/services/ymarket/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/bitrix/services/ymarket/index.php', + 'SORT' => 100, + ), + 9 => + array ( + 'CONDITION' => '#^/ru/catalog/#', + 'RULE' => '', + 'ID' => 'bitrix:catalog', + 'PATH' => '/ru/catalog/index.php', + 'SORT' => 100, + ), + 13 => + array ( + 'CONDITION' => '#^/pl/catalog/#', + 'RULE' => '', + 'ID' => 'bitrix:catalog', + 'PATH' => '/pl/catalog/index.php', + 'SORT' => 100, + ), + 11 => + array ( + 'CONDITION' => '#^/ru/brands/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/ru/brands/index.php', + 'SORT' => 100, + ), + 15 => + array ( + 'CONDITION' => '#^/pl/brands/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/pl/brands/index.php', + 'SORT' => 100, + ), + 4 => + array ( + 'CONDITION' => '#^/catalog/#', + 'RULE' => '', + 'ID' => 'bitrix:catalog', + 'PATH' => '/catalog/index.php', + 'SORT' => 100, + ), + 8 => + array ( + 'CONDITION' => '#^/brands/#', + 'RULE' => NULL, + 'ID' => '', + 'PATH' => '/brands/index.php', + 'SORT' => 100, + ), + 1 => + array ( + 'CONDITION' => '#^/rest/#', + 'RULE' => '', + 'ID' => NULL, + 'PATH' => '/bitrix/services/rest/index.php', + 'SORT' => 100, + ), + 40 => + array ( + 'CONDITION' => '#^/ru/offers/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/ru/offers/index.php', + 'SORT' => 100, + ), + 41 => + array ( + 'CONDITION' => '#^/pl/offers/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/pl/offers/index.php', + 'SORT' => 100, + ), + 42 => + array ( + 'CONDITION' => '#^/offers/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/offers/index.php', + 'SORT' => 100, + ), + 30 => + array ( + 'CONDITION' => '#^/ru/articles/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/ru/articles/index.php', + 'SORT' => 100, + ), + 32 => + array ( + 'CONDITION' => '#^/pl/articles/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/pl/articles/index.php', + 'SORT' => 100, + ), + 31 => + array ( + 'CONDITION' => '#^/articles/#', + 'RULE' => '', + 'ID' => '', + 'PATH' => '/articles/index.php', + 'SORT' => 100, + ), +); diff --git a/vinoteca/index.php b/vinoteca/index.php new file mode 100644 index 0000000..bc04d1e --- /dev/null +++ b/vinoteca/index.php @@ -0,0 +1,55 @@ + +
+
+ GetTitle()))); ?> +

ShowTitle(false); ?>

+

+
+ + +
+

*

+
+
+
+ +
+
+ +
+