parent
877e7527a2
commit
a8b8ef7b5b
@ -1,432 +1,294 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
|
|
||||||
use Bitrix\Main\Page\Asset; |
use Bitrix\Main\Page\Asset; |
||||||
|
|
||||||
?> |
?> <?php if (!preg_match('#^/services(/|$)#', $_SERVER['REQUEST_URI'])): ?> <section class="consultation container">
|
||||||
</main> |
<h2 class="consultation__title">Нужна консультация?</h2> |
||||||
<?php if (!preg_match('#^/services(/|$)#', $_SERVER['REQUEST_URI'])): ?> |
<form action="#" class="consultation__form" onsubmit="handleConsultationForm(this); return false;"> |
||||||
<section class="consultation container"> |
<input type="hidden" name="consultation_form" value="Y"> <input type="text" class="input" name="name" placeholder="Ваше имя" required=""> <input type="tel" class="input" name="phone" placeholder="Номер телефона" required=""> <button class="button button--orange">Получить консультацию</button> |
||||||
<h2 class="consultation__title">Нужна консультация?</h2> |
</form> |
||||||
<form action="#" class="consultation__form" onsubmit="handleConsultationForm(this); return false;"> <input type="hidden" name="consultation_form" value="Y"> |
<div class="consultation__info"> |
||||||
<input type="text" class="input" name="name" placeholder="Ваше имя" required> |
Нажимая кнопку «Получить консультацию», вы соглашаетесь с <a href="/dokumentatsiya/politika-konfidentsialnosti/" class="consultation__info--link"><u>условиями конфиденциальности</u></a> |
||||||
<input type="tel" class="input" name="phone" placeholder="Номер телефона" required> |
</div> |
||||||
<button class="button button--orange">Получить консультацию</button> |
</section> |
||||||
</form> |
<?php endif; ?> <?php if (preg_match('#^/services(/|$)#', $_SERVER['REQUEST_URI'])): ?> <section class="order-call container section">
|
||||||
<div class="consultation__info"> |
<div class="order-call__wrap" style="background-image: url('<span id=" title="<?=SITE_TEMPLATE_PATH?>">
|
||||||
Нажимая кнопку «Получить консультацию», вы соглашаетесь с <a href="#" class="consultation__info--link"><u>условиями |
<?=SITE_TEMPLATE_PATH?><span class="bxhtmled-surrogate-inner"><span class="bxhtmled-right-side-item-icon"></span><span class="bxhtmled-comp-lable" unselectable="on" spellcheck="false">Код PHP</span></span>/images/png/house.png')">
|
||||||
конфиденциальности</u></a> |
<form class="order-call__data" action="#" onsubmit="handleConsultationForm(this); return false;"> |
||||||
</div> |
<input type="hidden" name="order_call_form" value="Y"> |
||||||
</section> |
<h2 class="section-title"> |
||||||
<?php endif; ?> |
Рассчитать септик <span class="orange-text">за 5 минут!</span> </h2> |
||||||
|
<p class="order-call__info"> |
||||||
<?php if (preg_match('#^/services(/|$)#', $_SERVER['REQUEST_URI'])): ?> |
Наш менеджер свяжется с вами в ближайшее время |
||||||
<section class="order-call container section"> |
</p> |
||||||
<div class="order-call__wrap" style="background-image: url('<?=SITE_TEMPLATE_PATH?>/images/png/house.png')">
|
<input type="text" class="input" name="name" placeholder="Ваше имя" required=""> <input type="tel" class="input" name="phone" placeholder="Номер телефона" required=""> <button class="button button--orange">Заказать звонок</button> |
||||||
<form class="order-call__data" action="#" onsubmit="handleConsultationForm(this); return false;"> |
<p class="order-call__personal"> |
||||||
<input type="hidden" name="order_call_form" value="Y"> |
Нажимая кнопку «Заказать звонок», вы подтверждаете свое согласие на обработку <a href="/dokumentatsiya/politika-konfidentsialnosti/">персональных данных</a> |
||||||
<h2 class="section-title"> |
</p> |
||||||
Рассчитать септик <span class="orange-text">за 5 минут!</span> |
</form> |
||||||
</h2> |
</div> |
||||||
<p class="order-call__info">Наш менеджер свяжется с вами в ближайшее время</p> |
</section> |
||||||
<input type="text" class="input" name="name" placeholder="Ваше имя" required> |
<?php endif; ?> |
||||||
<input type="tel" class="input" name="phone" placeholder="Номер телефона" required> |
<div class="footer-widget-icons"> |
||||||
<button class="button button--orange">Заказать звонок</button> |
<button class="footer-widget-icon" id="footer-mail-btn" type="button" title="Почта"> |
||||||
<p class="order-call__personal"> |
<picture> |
||||||
Нажимая кнопку «Заказать звонок», вы подтверждаете свое согласие на |
<source srcset="<?= SITE_TEMPLATE_PATH ?>/images/svg/email_footer.svg" type="image/webp">
|
||||||
обработку <a href="#">персональных данных</a> |
<img class="choose__content-icon" src="<?= SITE_TEMPLATE_PATH ?>/images/svg/email_footer.svg" alt="Smile-icon">
|
||||||
</p> |
</picture> |
||||||
</form> |
</button> |
||||||
</div> |
<a class="footer-widget-icon" href="tel:+79260084132" title="Позвонить"> |
||||||
</section> |
<picture> |
||||||
<?php endif; ?> |
<source srcset="<?= SITE_TEMPLATE_PATH ?>/images/svg/phone_footer.svg" type="image/webp">
|
||||||
<div class="footer-widget-icons"> |
<img class="choose__content-icon" src="<?= SITE_TEMPLATE_PATH ?>/images/svg/phone_footer.svg" alt="Smile-icon">
|
||||||
<button class="footer-widget-icon" id="footer-mail-btn" type="button" title="Почта"> |
</picture> |
||||||
<picture> |
</a> |
||||||
<source srcset="<?=SITE_TEMPLATE_PATH?>/images/svg/email_footer.svg" type="image/webp">
|
</div> |
||||||
<img class="choose__content-icon" src="<?=SITE_TEMPLATE_PATH?>/images/svg/email_footer.svg" alt="Smile-icon">
|
<div class="footer-popup" id="footer-popup" style="display:none;"> |
||||||
</picture> |
<div class="footer-popup__content"> |
||||||
</button> |
<button class="footer-popup__close" id="footer-popup-close" type="button">×</button> |
||||||
<a class="footer-widget-icon" href="tel:+79260084132" title="Позвонить"> |
<h2 class="footer-popup__title">Получить консультацию</h2> |
||||||
<picture> |
<form class="footer-popup__form" action="#" onsubmit="handleConsultationForm(this); return false;"> |
||||||
<source srcset="<?=SITE_TEMPLATE_PATH?>/images/svg/phone_footer.svg" type="image/webp">
|
<input type="hidden" name="footer_popup_form" value="Y"> <input type="text" class="input" name="name" placeholder="Имя" required=""> <input type="tel" class="input" name="phone" placeholder="Номер телефона*" required=""> <input type="email" class="input" name="email" placeholder="Почта"> <button class="button button--orange" type="submit">Отправить заявку</button> |
||||||
<img class="choose__content-icon" src="<?=SITE_TEMPLATE_PATH?>/images/svg/phone_footer.svg" alt="Smile-icon">
|
<p class="footer-popup__personal"> |
||||||
</picture> |
Нажимая на кнопку «Отправить заявку», вы соглашаетесь с <a href="/dokumentatsiya/politika-konfidentsialnosti/" target="_blank">условиями конфиденциальности</a> |
||||||
</a> |
</p> |
||||||
</div> |
</form> |
||||||
<div class="footer-popup" id="footer-popup" style="display:none;"> |
</div> |
||||||
<div class="footer-popup__content"> |
</div> |
||||||
<button class="footer-popup__close" id="footer-popup-close" type="button">×</button> |
<section class="tap-bar"> |
||||||
<h2 class="footer-popup__title">Получить консультацию</h2> |
<div class="tap-bar__item"> |
||||||
<form class="footer-popup__form" action="#" onsubmit="handleConsultationForm(this); return false;"> |
<a class="tap-bar__link" href="/"> |
||||||
<input type="hidden" name="footer_popup_form" value="Y"> |
Главная </a> |
||||||
<input type="text" class="input" name="name" placeholder="Имя" required> |
</div> |
||||||
<input type="tel" class="input" name="phone" placeholder="Номер телефона*" required> |
<div class="tap-bar__item"> |
||||||
<input type="email" class="input" name="email" placeholder="Почта"> |
<a class="tap-bar__link" href="/uslugi/"> |
||||||
<button class="button button--orange" type="submit">Отправить заявку</button> |
Услуги </a> |
||||||
<p class="footer-popup__personal"> |
</div> |
||||||
Нажимая на кнопку «Оформить заказ», вы соглашаетесь с <a href="#" target="_blank">условиями конфиденциальности</a> |
<div class="tap-bar__item tap-bar__item--catalog"> |
||||||
</p> |
<button class="tap-bar__link js-catalog" type="button"> |
||||||
</form> |
Каталог </button> |
||||||
</div> |
</div> |
||||||
</div> |
<div class="tap-bar__item"> |
||||||
<section class="tap-bar"> |
<a class="tap-bar__link" href="/cart/"> |
||||||
<div class="tap-bar__item"> |
Корзина </a> |
||||||
<a class="tap-bar__link" href="/"> |
</div> |
||||||
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"> |
<div class="tap-bar__item tap-bar__item--tablet"> |
||||||
<g clip-path="url(#clip0_2717_16834)"> |
<a class="tap-bar__link" href="#"> |
||||||
<path |
Расчет </a> |
||||||
d="M21.5 11.25v9a.75.75 0 0 1-.75.75H15.5a.75.75 0 0 1-.75-.75v-4.875a.375.375 0 0 0-.375-.375h-3.75a.375.375 0 0 0-.375.375v4.875a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75v-9c0-.398.158-.78.44-1.06l7.5-7.5a1.5 1.5 0 0 1 2.12 0l7.5 7.5a1.5 1.5 0 0 1 .44 1.06Z" |
</div> |
||||||
fill="currentColor" |
<div class="tap-bar__item tap-bar__item--menu"> |
||||||
></path> |
<button class="tap-bar__link js-menu" type="button"> |
||||||
</g> |
Меню </button> |
||||||
<defs> |
</div> |
||||||
<clipPath id="clip0_2717_16834"><path fill="#fff" d="M.5 0h24v24H.5z"></path></clipPath> |
</section> <footer class="footer footer section"> |
||||||
</defs> |
<div class="container"> |
||||||
</svg> |
<div class="footer__top"> |
||||||
<span>Главная</span> |
<?$APPLICATION->IncludeComponent( |
||||||
</a> |
"bitrix:menu", |
||||||
</div> |
"footer_menu", |
||||||
<div class="tap-bar__item"> |
Array( |
||||||
<a class="tap-bar__link" href="/uslugi/"> |
"ALLOW_MULTI_SELECT" => "N", |
||||||
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"> |
"CHILD_MENU_TYPE" => "", |
||||||
<g clip-path="url(#clip0_2717_16839)"> |
"DELAY" => "N", |
||||||
<path |
"MAX_LEVEL" => "1", |
||||||
d="M24.35 9a6.75 6.75 0 0 1-9.463 6.188l-4.88 5.645a3 3 0 1 1-4.28-4.204c.013-.012.026-.025.04-.036l5.646-4.88a6.757 6.757 0 0 1 7.832-9.26.75.75 0 0 1 .368 1.236L16.1 7.5l.53 2.47 2.47.53 3.811-3.517a.75.75 0 0 1 1.237.368c.134.54.202 1.093.202 1.65Z" |
"MENU_CACHE_GET_VARS" => array(0=>"",), |
||||||
fill="currentColor" |
"MENU_CACHE_TIME" => "3600", |
||||||
></path> |
"MENU_CACHE_TYPE" => "N", |
||||||
</g> |
"MENU_CACHE_USE_GROUPS" => "Y", |
||||||
<defs> |
"MENU_TITLE" => "Услуги", |
||||||
<clipPath id="clip0_2717_16839"><path fill="#fff" d="M.6 0h24v24H.6z"></path></clipPath> |
"ROOT_MENU_TYPE" => "services", |
||||||
</defs> |
"USE_EXT" => "N" |
||||||
</svg> |
) |
||||||
<span>Услуги</span> |
);?> <?$APPLICATION->IncludeComponent( |
||||||
</a> |
"bitrix:menu", |
||||||
</div> |
"footer_menu", |
||||||
<div class="tap-bar__item tap-bar__item--catalog"> |
Array( |
||||||
<button class="tap-bar__link js-catalog" type="button"> |
"ALLOW_MULTI_SELECT" => "N", |
||||||
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"> |
"CHILD_MENU_TYPE" => "", |
||||||
<g clip-path="url(#clip0_2717_16844)"> |
"DELAY" => "N", |
||||||
<path |
"MAX_LEVEL" => "1", |
||||||
d="M21.2 4.6v6a.403.403 0 0 1-.116.283.392.392 0 0 1-.279.117h-7.502V3.4c0-.106.041-.208.115-.283a.392.392 0 0 1 .28-.117h5.922c.42 0 .821.169 1.117.469.297.3.463.707.463 1.131ZM10.702 3H4.78c-.418 0-.82.169-1.116.469A1.61 1.61 0 0 0 3.2 4.6v6c0 .106.042.208.116.283a.392.392 0 0 0 .279.117h7.502V3.4a.403.403 0 0 0-.115-.283.392.392 0 0 0-.28-.117Zm10.103 10h-7.502v7.6c0 .106.041.208.115.283a.392.392 0 0 0 .28.117h5.922c.42 0 .821-.169 1.117-.469.297-.3.463-.707.463-1.131v-6a.403.403 0 0 0-.116-.283.392.392 0 0 0-.279-.117ZM3.2 13.4v6c0 .424.166.831.463 1.131.296.3.698.469 1.116.469h5.923a.392.392 0 0 0 .28-.117.402.402 0 0 0 .115-.283V13H3.595a.392.392 0 0 0-.28.117.403.403 0 0 0-.115.283Z" |
"MENU_CACHE_GET_VARS" => array(0=>"",), |
||||||
fill="currentColor" |
"MENU_CACHE_TIME" => "3600", |
||||||
></path> |
"MENU_CACHE_TYPE" => "N", |
||||||
</g> |
"MENU_CACHE_USE_GROUPS" => "Y", |
||||||
<defs> |
"MENU_TITLE" => "Полезная информация", |
||||||
<clipPath id="clip0_2717_16844"><path fill="#fff" d="M.2 0h24v24H.2z"></path></clipPath> |
"ROOT_MENU_TYPE" => "useful", |
||||||
</defs> |
"USE_EXT" => "N" |
||||||
</svg> |
) |
||||||
<span>Каталог</span> |
);?> <?$APPLICATION->IncludeComponent( |
||||||
</button> |
"bitrix:menu", |
||||||
</div> |
"footer_menu", |
||||||
<div class="tap-bar__item"> |
Array( |
||||||
<a class="tap-bar__link" href="/cart/"> |
"ALLOW_MULTI_SELECT" => "N", |
||||||
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"> |
"CHILD_MENU_TYPE" => "", |
||||||
<g clip-path="url(#clip0_2717_16849)"> |
"DELAY" => "N", |
||||||
<path |
"MAX_LEVEL" => "1", |
||||||
d="M18.456 16.938a2.194 2.194 0 0 0 2.103-1.603l-2.103 1.602Zm0 0H9.19a2.192 2.192 0 0 1-2.111-1.603L3.79 3.483l-.012-.046H2.05a.688.688 0 1 1 0-1.374H4.3a.688.688 0 0 1 .663.503l.888 3.2.013.046H22.3a.688.688 0 0 1 .663.872l-2.404 8.651-2.103 1.602ZM8.001 18.805a1.437 1.437 0 1 1 1.598 2.39A1.437 1.437 0 0 1 8 18.805Zm9.75 0a1.437 1.437 0 1 1 1.598 2.39 1.437 1.437 0 0 1-1.598-2.39Z" |
"MENU_CACHE_GET_VARS" => array(0=>"",), |
||||||
fill="currentColor" |
"MENU_CACHE_TIME" => "3600", |
||||||
stroke="#939393" |
"MENU_CACHE_TYPE" => "N", |
||||||
stroke-width=".125" |
"MENU_CACHE_USE_GROUPS" => "Y", |
||||||
></path> |
"MENU_TITLE" => "Покупателям", |
||||||
</g> |
"ROOT_MENU_TYPE" => "customers", |
||||||
<defs> |
"USE_EXT" => "N" |
||||||
<clipPath id="clip0_2717_16849"><path fill="#fff" d="M.3 0h24v24H.3z"></path></clipPath> |
) |
||||||
</defs> |
);?> |
||||||
</svg> |
<div class="footer-items"> |
||||||
<span>Корзина</span> |
<?$APPLICATION->IncludeComponent( |
||||||
</a> |
"bitrix:menu", |
||||||
</div> |
"footer_menu", |
||||||
<div class="tap-bar__item tap-bar__item--tablet"> |
Array( |
||||||
<a class="tap-bar__link" href="#"> |
"ALLOW_MULTI_SELECT" => "N", |
||||||
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"> |
"CHILD_MENU_TYPE" => "", |
||||||
<g clip-path="url(#clip0_2717_16854)"> |
"DELAY" => "N", |
||||||
<path |
"MAX_LEVEL" => "1", |
||||||
d="M19.15 2.25H5.65a1.5 1.5 0 0 0-1.5 1.5v16.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V3.75a1.5 1.5 0 0 0-1.5-1.5Zm-10.5 16.5a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Zm0-3.75a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Zm3.75 3.75a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Zm0-3.75a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Zm3.75 3.75a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Zm0-3.75a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25Zm1.5-5.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 .75.75v3.75Z" |
"MENU_CACHE_GET_VARS" => array(0=>"",), |
||||||
fill="currentColor" |
"MENU_CACHE_TIME" => "3600", |
||||||
></path> |
"MENU_CACHE_TYPE" => "N", |
||||||
</g> |
"MENU_CACHE_USE_GROUPS" => "Y", |
||||||
<defs> |
"MENU_TITLE" => "Интересное", |
||||||
<clipPath id="clip0_2717_16854"><path fill="#fff" d="M.4 0h24v24H.4z"></path></clipPath> |
"ROOT_MENU_TYPE" => "interesting", |
||||||
</defs> |
"USE_EXT" => "N" |
||||||
</svg> |
) |
||||||
<span>Расчет</span> |
);?> <?$APPLICATION->IncludeComponent( |
||||||
</a> |
"bitrix:menu", |
||||||
</div> |
"footer_menu", |
||||||
<div class="tap-bar__item tap-bar__item--menu"> |
Array( |
||||||
<button class="tap-bar__link js-menu" type="button"> |
"ALLOW_MULTI_SELECT" => "N", |
||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> |
"CHILD_MENU_TYPE" => "", |
||||||
<g clip-path="url(#clip0_2717_16859)"> |
"DELAY" => "N", |
||||||
<path d="M14.625 12a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0ZM4.5 9.375a2.625 2.625 0 1 0 0 5.25 2.625 2.625 0 0 0 0-5.25Zm15 0a2.625 2.625 0 1 0 0 5.25 2.625 2.625 0 0 0 0-5.25Z" fill="currentColor"></path> |
"MAX_LEVEL" => "1", |
||||||
</g> |
"MENU_CACHE_GET_VARS" => array(0=>"",), |
||||||
<defs> |
"MENU_CACHE_TIME" => "3600", |
||||||
<clipPath id="clip0_2717_16859"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath> |
"MENU_CACHE_TYPE" => "N", |
||||||
</defs> |
"MENU_CACHE_USE_GROUPS" => "Y", |
||||||
</svg> |
"MENU_TITLE" => "Документация", |
||||||
<span>Меню</span> |
"ROOT_MENU_TYPE" => "docs", |
||||||
</button> |
"USE_EXT" => "N" |
||||||
</div> |
) |
||||||
</section> |
);?> |
||||||
<footer class="footer footer section"> |
</div> |
||||||
<div class="container"> |
</div> |
||||||
<div class="footer__top"> |
<div class="footer__bottom"> |
||||||
<?$APPLICATION->IncludeComponent("bitrix:menu", "footer_menu", Array( |
<?$APPLICATION->IncludeComponent( |
||||||
"ALLOW_MULTI_SELECT" => "N", |
"bitrix:main.include", |
||||||
"CHILD_MENU_TYPE" => "", |
"", |
||||||
"DELAY" => "N", |
Array( |
||||||
"MAX_LEVEL" => "1", |
"AREA_FILE_SHOW" => "file", |
||||||
"MENU_CACHE_GET_VARS" => array( |
"AREA_FILE_SUFFIX" => "", |
||||||
0 => "", |
"EDIT_TEMPLATE" => "", |
||||||
), |
"PATH" => "/include/footer_logo.php" |
||||||
"MENU_CACHE_TIME" => "3600", |
) |
||||||
"MENU_CACHE_TYPE" => "N", |
);?> |
||||||
"MENU_CACHE_USE_GROUPS" => "Y", |
<div> |
||||||
"ROOT_MENU_TYPE" => "services", |
<iframe src="https://yandex.ru/sprav/widget/rating-badge/153624708058?type=rating" width="150" height="50" frameborder="0"></iframe> |
||||||
"MENU_TITLE" => 'Услуги', |
</div> |
||||||
"USE_EXT" => "N", |
<?$APPLICATION->IncludeComponent( |
||||||
), |
"bitrix:main.include", |
||||||
false |
"", |
||||||
);?> |
Array( |
||||||
<?$APPLICATION->IncludeComponent("bitrix:menu", "footer_menu", Array( |
"AREA_FILE_SHOW" => "file", |
||||||
"ALLOW_MULTI_SELECT" => "N", |
"AREA_FILE_SUFFIX" => "", |
||||||
"CHILD_MENU_TYPE" => "", |
"EDIT_TEMPLATE" => "", |
||||||
"DELAY" => "N", |
"PATH" => "/include/footer_address.php" |
||||||
"MAX_LEVEL" => "1", |
) |
||||||
"MENU_CACHE_GET_VARS" => array( |
);?> <?$APPLICATION->IncludeComponent( |
||||||
0 => "", |
"bitrix:main.include", |
||||||
), |
"", |
||||||
"MENU_CACHE_TIME" => "3600", |
Array( |
||||||
"MENU_CACHE_TYPE" => "N", |
"AREA_FILE_SHOW" => "file", |
||||||
"MENU_CACHE_USE_GROUPS" => "Y", |
"AREA_FILE_SUFFIX" => "", |
||||||
"ROOT_MENU_TYPE" => "useful", |
"EDIT_TEMPLATE" => "", |
||||||
"MENU_TITLE" => 'Полезная информация', |
"PATH" => "/include/footer_phone.php" |
||||||
"USE_EXT" => "N", |
) |
||||||
), |
);?> <?$APPLICATION->IncludeComponent( |
||||||
false |
"bitrix:main.include", |
||||||
);?> |
"", |
||||||
<?$APPLICATION->IncludeComponent("bitrix:menu", "footer_menu", Array( |
Array( |
||||||
"ALLOW_MULTI_SELECT" => "N", |
"AREA_FILE_SHOW" => "file", |
||||||
"CHILD_MENU_TYPE" => "", |
"AREA_FILE_SUFFIX" => "", |
||||||
"DELAY" => "N", |
"EDIT_TEMPLATE" => "", |
||||||
"MAX_LEVEL" => "1", |
"PATH" => "/include/footer-requisite.php" |
||||||
"MENU_CACHE_GET_VARS" => array( |
) |
||||||
0 => "", |
);?> <?$APPLICATION->IncludeComponent( |
||||||
), |
"bitrix:main.include", |
||||||
"MENU_CACHE_TIME" => "3600", |
"", |
||||||
"MENU_CACHE_TYPE" => "N", |
Array( |
||||||
"MENU_CACHE_USE_GROUPS" => "Y", |
"AREA_FILE_SHOW" => "file", |
||||||
"ROOT_MENU_TYPE" => "customers", |
"AREA_FILE_SUFFIX" => "", |
||||||
"MENU_TITLE" => 'Покупателям', |
"EDIT_TEMPLATE" => "", |
||||||
"USE_EXT" => "N", |
"PATH" => "/include/footer-social.php" |
||||||
), |
) |
||||||
false |
);?> |
||||||
);?> |
</div> |
||||||
<div class="footer-items"> |
</div> |
||||||
<?$APPLICATION->IncludeComponent("bitrix:menu", "footer_menu", Array( |
</footer> |
||||||
"ALLOW_MULTI_SELECT" => "N", |
<div class="cookie-banner" id="cookie-banner"> |
||||||
"CHILD_MENU_TYPE" => "", |
<span>Продолжая просматривать страницы веб-сайта или нажав кнопку Принять, вы соглашаетесь с <a href="/dokumentatsiya/politika-konfidentsialnosti/" target="_blank">политикой конфиденциальности</a></span> <button class="button button--orange" id="cookie-accept">Принять</button> |
||||||
"DELAY" => "N", |
</div> |
||||||
"MAX_LEVEL" => "1", |
<script type="module" src="<?= DEFAULT_TEMPLATE_PATH . '/js/main.js' ?>"></script> <?php |
||||||
"MENU_CACHE_GET_VARS" => array( |
Asset::getInstance()->addJs(DEFAULT_TEMPLATE_PATH . '/js/libs/fancybox.umd.js'); |
||||||
0 => "", |
Asset::getInstance()->addJs(DEFAULT_TEMPLATE_PATH . '/js/custom.js'); |
||||||
), |
?> <script> |
||||||
"MENU_CACHE_TIME" => "3600", |
// Открытие попапа |
||||||
"MENU_CACHE_TYPE" => "N", |
const mailBtn = document.getElementById('footer-mail-btn'); |
||||||
"MENU_CACHE_USE_GROUPS" => "Y", |
const popup = document.getElementById('footer-popup'); |
||||||
"ROOT_MENU_TYPE" => "interesting", |
const popupClose = document.getElementById('footer-popup-close'); |
||||||
"MENU_TITLE" => 'Интересное', |
if (mailBtn && popup && popupClose) { |
||||||
"USE_EXT" => "N", |
mailBtn.addEventListener('click', () => popup.style.display = 'flex'); |
||||||
), |
popupClose.addEventListener('click', () => popup.style.display = 'none'); |
||||||
false |
popup.addEventListener('click', (e) => { if (e.target === popup) popup.style.display = 'none'; }); |
||||||
);?> |
} |
||||||
<?$APPLICATION->IncludeComponent("bitrix:menu", "footer_menu", Array( |
|
||||||
"ALLOW_MULTI_SELECT" => "N", |
const cookieBanner = document.getElementById('cookie-banner'); |
||||||
"CHILD_MENU_TYPE" => "", |
const cookieAccept = document.getElementById('cookie-accept'); |
||||||
"DELAY" => "N", |
if (cookieBanner && cookieAccept) { |
||||||
"MAX_LEVEL" => "1", |
if (localStorage.getItem('cookieAccepted')) { |
||||||
"MENU_CACHE_GET_VARS" => array( |
cookieBanner.style.display = 'none'; |
||||||
0 => "", |
} |
||||||
), |
cookieAccept.addEventListener('click', function() { |
||||||
"MENU_CACHE_TIME" => "3600", |
localStorage.setItem('cookieAccepted', '1'); |
||||||
"MENU_CACHE_TYPE" => "N", |
cookieBanner.style.display = 'none'; |
||||||
"MENU_CACHE_USE_GROUPS" => "Y", |
}); |
||||||
"ROOT_MENU_TYPE" => "docs", |
} |
||||||
"MENU_TITLE" => 'Документация', |
document.querySelectorAll('[data-product]').forEach(function(button) { |
||||||
"USE_EXT" => "N", |
button.addEventListener('click', function() { |
||||||
), |
document.querySelector('.cart-popup__wrapper').classList.remove('cart-popup__wrapper--hidden'); |
||||||
false |
document.getElementById('fast_product').value = button.getAttribute('data-product'); |
||||||
);?> |
}); |
||||||
</div> |
}); |
||||||
</div> |
|
||||||
<div class="footer__bottom"> |
</script> |
||||||
<?$APPLICATION->IncludeComponent( |
<div class="cart-popup__wrapper cart-popup__wrapper--hidden"> |
||||||
"bitrix:main.include", |
<div class="cart-popup"> |
||||||
"", |
<button class="button cart-popup__close js-cart__popup-close"> <img width="20" alt="close-icon" src="<?= DEFAULT_TEMPLATE_PATH ?>/img/svg/cancel.svg" height="20"> </button>
|
||||||
Array( |
<h2> |
||||||
"AREA_FILE_SHOW" => "file", |
Оформление заказа </h2> |
||||||
"AREA_FILE_SUFFIX" => "", |
<form id="cart-form" action="/local/ajax/order.php" method="POST" class="cart-popup__form"> |
||||||
"EDIT_TEMPLATE" => "", |
<input type="hidden" name="fast_product" id="fast_product"> <label> <input type="text" name="name" placeholder="" required=""> <span class="cart-popup__input-label">Имя</span> </label> <label> <input type="tel" name="phone" placeholder="" required=""> <span class="cart-popup__input-label"> Номер телефона*</span> </label> <label> <input type="email" name="email" placeholder=""> <span class="cart-popup__input-label">Почта</span> </label> <label class="cart-popup__select"> <span class="cart-popup__select-label">Способ получение заказа</span> |
||||||
"PATH" => "/include/footer_logo.php" |
<select class="js-cart__order-select" name="delivery_method"> |
||||||
) |
<option value="self-delivery"> |
||||||
);?> |
Самовывоз </option> |
||||||
<div><iframe src="https://yandex.ru/sprav/widget/rating-badge/153624708058?type=rating" width="150" height="50" frameborder="0"></iframe></div> |
<option value="service-delivery"> |
||||||
<?$APPLICATION->IncludeComponent( |
Службой доставки </option> |
||||||
"bitrix:main.include", |
</select> |
||||||
"", |
</label> <label class="cart-popup__select cart-popup__self-delivery js-cart__self-delivery"> <span class="cart-popup__select-label">Адрес самовывоза</span> |
||||||
Array( |
<select name="pickup_address" disabled=""> |
||||||
"AREA_FILE_SHOW" => "file", |
<option> |
||||||
"AREA_FILE_SUFFIX" => "", |
Московская область, г. Наро-Фоминск, ул. Московская улица, 3А </option> |
||||||
"EDIT_TEMPLATE" => "", |
</select> |
||||||
"PATH" => "/include/footer_address.php" |
</label> <label class="cart-popup__label-delivery cart-popup__label-delivery--hidden js-cart__service-delivery"> <input type="text" name="address" placeholder=""> <span class="cart-popup__input-label">Адрес доставки</span> </label> <label class="cart-popup__label-delivery cart-popup__label-delivery--hidden js-cart__service-delivery"> <input type="text" name="comment" placeholder=""> <span class="cart-popup__input-label">Комментарий</span> </label> <label class="cart-popup__select"> <span class="cart-popup__select-label">Способ оплаты</span> |
||||||
) |
<select name="payment_method"> |
||||||
);?> |
<option value="cash"> |
||||||
<?$APPLICATION->IncludeComponent( |
Наличными при получении </option> |
||||||
"bitrix:main.include", |
<option value="card"> |
||||||
"", |
Картой при получении </option> |
||||||
Array( |
</select> |
||||||
"AREA_FILE_SHOW" => "file", |
</label> <button type="submit" class="cart-popup__form-submit js-cart__popup-submit"> |
||||||
"AREA_FILE_SUFFIX" => "", |
Оформить заказ </button> |
||||||
"EDIT_TEMPLATE" => "", |
<p class="order-call__personal"> |
||||||
"PATH" => "/include/footer_phone.php" |
Нажимая кнопку «Оформить заказ», вы подтверждаете свое согласие на обработку <a href="/dokumentatsiya/politika-konfidentsialnosti/">персональных данных </a> |
||||||
) |
</p> |
||||||
);?> |
</form> |
||||||
<?$APPLICATION->IncludeComponent( |
</div> |
||||||
"bitrix:main.include", |
</div> |
||||||
"", |
|
||||||
Array( |
|
||||||
"AREA_FILE_SHOW" => "file", |
|
||||||
"AREA_FILE_SUFFIX" => "", |
|
||||||
"EDIT_TEMPLATE" => "", |
|
||||||
"PATH" => "/include/footer-requisite.php" |
|
||||||
) |
|
||||||
);?> |
|
||||||
<?$APPLICATION->IncludeComponent( |
|
||||||
"bitrix:main.include", |
|
||||||
"", |
|
||||||
Array( |
|
||||||
"AREA_FILE_SHOW" => "file", |
|
||||||
"AREA_FILE_SUFFIX" => "", |
|
||||||
"EDIT_TEMPLATE" => "", |
|
||||||
"PATH" => "/include/footer-social.php" |
|
||||||
) |
|
||||||
);?> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
</footer> |
|
||||||
|
|
||||||
<div class="cookie-banner" id="cookie-banner"> |
|
||||||
<span>Продолжая просматривать страницы веб-сайта или нажав кнопку Принять, вы соглашаетесь с <a href="#" target="_blank">политикой конфиденциальности</a></span> |
|
||||||
<button class="button button--orange" id="cookie-accept">Принять</button> |
|
||||||
</div> |
|
||||||
<script type="module" src="<?= DEFAULT_TEMPLATE_PATH . '/js/main.js' ?>"></script>
|
|
||||||
<?php |
|
||||||
Asset::getInstance()->addJs(DEFAULT_TEMPLATE_PATH . '/js/libs/fancybox.umd.js'); |
|
||||||
Asset::getInstance()->addJs(DEFAULT_TEMPLATE_PATH . '/js/custom.js'); |
|
||||||
?> |
|
||||||
<script> |
|
||||||
// Открытие попапа |
|
||||||
const mailBtn = document.getElementById('footer-mail-btn'); |
|
||||||
const popup = document.getElementById('footer-popup'); |
|
||||||
const popupClose = document.getElementById('footer-popup-close'); |
|
||||||
if (mailBtn && popup && popupClose) { |
|
||||||
mailBtn.addEventListener('click', () => popup.style.display = 'flex'); |
|
||||||
popupClose.addEventListener('click', () => popup.style.display = 'none'); |
|
||||||
popup.addEventListener('click', (e) => { if (e.target === popup) popup.style.display = 'none'; }); |
|
||||||
} |
|
||||||
|
|
||||||
const cookieBanner = document.getElementById('cookie-banner'); |
|
||||||
const cookieAccept = document.getElementById('cookie-accept'); |
|
||||||
if (cookieBanner && cookieAccept) { |
|
||||||
if (localStorage.getItem('cookieAccepted')) { |
|
||||||
cookieBanner.style.display = 'none'; |
|
||||||
} |
|
||||||
cookieAccept.addEventListener('click', function() { |
|
||||||
localStorage.setItem('cookieAccepted', '1'); |
|
||||||
cookieBanner.style.display = 'none'; |
|
||||||
}); |
|
||||||
} |
|
||||||
document.querySelectorAll('[data-product]').forEach(function(button) { |
|
||||||
button.addEventListener('click', function() { |
|
||||||
document.querySelector('.cart-popup__wrapper').classList.remove('cart-popup__wrapper--hidden'); |
|
||||||
document.getElementById('fast_product').value = button.getAttribute('data-product'); |
|
||||||
}); |
|
||||||
}); |
|
||||||
|
|
||||||
</script> |
|
||||||
|
|
||||||
|
|
||||||
<div class="cart-popup__wrapper cart-popup__wrapper--hidden"> |
|
||||||
<div class="cart-popup"> |
|
||||||
<button class="button cart-popup__close js-cart__popup-close"> |
|
||||||
<img src="<?= DEFAULT_TEMPLATE_PATH ?>/img/svg/cancel.svg" width="20" height="20" alt="close-icon">
|
|
||||||
</button> |
|
||||||
<h2> |
|
||||||
Оформление заказа |
|
||||||
</h2> |
|
||||||
<form id="cart-form" action="/local/ajax/order.php" method="POST" class="cart-popup__form"> |
|
||||||
<input type="hidden" name="fast_product" id="fast_product"> |
|
||||||
<label> |
|
||||||
<input type="text" name="name" placeholder="" required> |
|
||||||
<span class="cart-popup__input-label">Имя</span> |
|
||||||
</label> |
|
||||||
<label> |
|
||||||
<input type="tel" name="phone" placeholder="" required> |
|
||||||
<span class="cart-popup__input-label"> Номер телефона*</span> |
|
||||||
</label> |
|
||||||
<label> |
|
||||||
<input type="email" name="email" placeholder=""> |
|
||||||
<span class="cart-popup__input-label">Почта</span> |
|
||||||
</label> |
|
||||||
<label class="cart-popup__select"> |
|
||||||
<span class="cart-popup__select-label">Способ получение заказа</span> |
|
||||||
<select class="js-cart__order-select" name="delivery_method"> |
|
||||||
<option value="self-delivery"> |
|
||||||
Самовывоз |
|
||||||
</option> |
|
||||||
<option value="service-delivery"> |
|
||||||
Службой доставки |
|
||||||
</option> |
|
||||||
</select> |
|
||||||
</label> |
|
||||||
<label class="cart-popup__select cart-popup__self-delivery js-cart__self-delivery"> |
|
||||||
<span class="cart-popup__select-label">Адрес самовывоза</span> |
|
||||||
<select name="pickup_address" disabled> |
|
||||||
<option> |
|
||||||
Московская область, г. Наро-Фоминск, ул. Московская улица, 3А |
|
||||||
</option> |
|
||||||
</select> |
|
||||||
</label> |
|
||||||
<label class="cart-popup__label-delivery cart-popup__label-delivery--hidden js-cart__service-delivery"> |
|
||||||
<input type="text" name="address" placeholder=""> |
|
||||||
<span class="cart-popup__input-label">Адрес доставки</span> |
|
||||||
</label> |
|
||||||
<label class="cart-popup__label-delivery cart-popup__label-delivery--hidden js-cart__service-delivery"> |
|
||||||
<input type="text" name="comment" placeholder=""> |
|
||||||
<span class="cart-popup__input-label">Комментарий</span> |
|
||||||
</label> |
|
||||||
<label class="cart-popup__select"> |
|
||||||
<span class="cart-popup__select-label">Способ оплаты</span> |
|
||||||
<select name="payment_method"> |
|
||||||
<option value="cash"> |
|
||||||
Наличными при получении |
|
||||||
</option> |
|
||||||
<option value="card"> |
|
||||||
Картой при получении |
|
||||||
</option> |
|
||||||
</select> |
|
||||||
</label> |
|
||||||
<button type="submit" class="cart-popup__form-submit js-cart__popup-submit"> |
|
||||||
Оформить заказ |
|
||||||
</button> |
|
||||||
<p class="order-call__personal"> |
|
||||||
Нажимая кнопку «Заказать звонок», вы подтверждаете свое согласие на |
|
||||||
обработку <a href="#">персональных данных |
|
||||||
</a></p> |
|
||||||
</form> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
|
|
||||||
</body> |
|
||||||
</html> |
|
Loading…
Reference in new issue