Current Path : /var/www/www-root/data/www.catalog.monolith-realty.ru/local/templates/monolitsochi/ |
Current File : /var/www/www-root/data/www.catalog.monolith-realty.ru/local/templates/monolitsochi/footer.php |
<? if (!$isIndex): ?> <? CAllcorp3::checkRestartBuffer(); ?> <? endif; ?> <? IncludeTemplateLangFile(__FILE__); ?> <? global $arTheme, $isIndex, $is404; ?> <? if (!$isIndex): ?> <? if ($is404): ?> </div> <? else: ?> <? CAllcorp3::get_banners_position('CONTENT_BOTTOM'); ?> </div> <? // class=right_block?> <? if ($APPLICATION->GetProperty("MENU") != "N" && !defined("ERROR_404")): ?> <? CAllcorp3::ShowPageType('left_block'); ?> <? endif; ?> </div><? // class=col-md-12 col-sm-12 col-xs-12 content-md?> <? endif; ?> <? if ($APPLICATION->GetProperty("FULLWIDTH") !== 'Y'): ?> </div><? // class="maxwidth-theme?> <? endif; ?> </div><? // class=row?> <? else: ?> <? CAllcorp3::ShowPageType('indexblocks'); ?> <? endif; ?> </div><? // class=container?> <? $APPLICATION->ShowViewContent('bottom_landing_content'); ?> <? global $landingPageForm, $landingPage; if ($landingPageForm) { ?> <div class="wrapper-block--padding-top-80 wrapper-block--padding-bottom-80 tizers-block tizers-block--big-title"> <? // компонент выводящий детально элемент инфо-блока $APPLICATION->IncludeFile(SITE_DIR . 'include/mainpage/components/forms/type_2.php', [ "SEND_BUTTON_NAME" => "Отправить", "SEND_BUTTON_CLASS" => "btn btn-default btn-lg", "WEBFORM_ID" => "monolith_real_callback", "DISPLAY_CLOSE_BUTTON" => "Y", "CLOSE_BUTTON_NAME" => "Отправить еще", "NARROW" => true, "POSITION_IMAGE" => 'LEFT', "SUBTITLE" => "", "TITLE" => "Оставьте заявку", "TYPE_BLOCK" => "SIDE_IMG", "SHOW_PREVIEW_TEXT" => "N" ]); ?> </div> <? } if ($landingPage) { ?> <div class="wrapper-block--padding-top-80 wrapper-block--padding-bottom-80 tizers-block tizers-block--big-title"> <div class="maxwidth-theme"> <? $APPLICATION->ShowViewContent('bottom_desc'); ?> </div> </div> <? } ?> <? CAllcorp3::get_banners_position('FOOTER'); ?> </div><? // class=main?> </div><? // class=body?> <? CAllcorp3::ShowPageType('footer'); ?> <? include_once(str_replace( '//', '/', $_SERVER['DOCUMENT_ROOT'] . '/' . SITE_DIR . 'include/footer/bottom_footer.php' )); ?> <!-- Roistat Counter Start --> <script> (function (w, d, s, h, id) { w.roistatProjectId = id; w.roistatHost = h; var p = d.location.protocol == "https:" ? "https://" : "http://"; var u = /^.*roistat_visit=[^;]+(.*)?$/.test(d.cookie) ? "/dist/module.js" : "/api/site/1.0/" + id + "/init?referrer=" + encodeURIComponent(d.location.href); var js = d.createElement(s); js.charset = "UTF-8"; js.async = 1; js.src = p + h + u; var js2 = d.getElementsByTagName(s)[0]; js2.parentNode.insertBefore(js, js2); })(window, document, 'script', 'cloud.roistat.com', '237371'); </script> <!-- Roistat Counter End --> <!-- BEGIN BITRIX24 WIDGET INTEGRATION WITH ROISTAT --> <script> (function (w, d, s, h) { w.roistatLanguage = ''; var p = d.location.protocol == "https:" ? "https://" : "http://"; var u = "/static/marketplace/Bitrix24Widget/script.js"; var js = d.createElement(s); js.async = 1; js.src = p + h + u; var js2 = d.getElementsByTagName(s)[0]; js2.parentNode.insertBefore(js, js2); })(window, document, 'script', 'cloud.roistat.com'); </script> <!-- END BITRIX24 WIDGET INTEGRATION WITH ROISTAT --> <script> $(".header-search").on("click",function(){ setTimeout(() => { $("body").removeClass('jqm-initied'); }, 200); }); </script> <!-- BEGIN WHATSAPP INTEGRATION WITH ROISTAT --> <script class="js-whatsapp-message-container">'Здравствуйте! Интересуюсь недвижимостью. Мой номер запроса: {roistat_visit}'</script> <script> (function () { if (window.roistat !== undefined) { handler(); } else { var pastCallback = typeof window.onRoistatAllModulesLoaded === "function" ? window.onRoistatAllModulesLoaded : null; window.onRoistatAllModulesLoaded = function () { if (pastCallback !== null) { pastCallback(); } handler(); }; } function handler() { function init() { appendMessageToLinks(); var delays = [1000, 5000, 15000]; setTimeout(function func(i) { if (i === undefined) { i = 0; } appendMessageToLinks(); i++; if (typeof delays[i] !== 'undefined') { setTimeout(func, delays[i], i); } }, delays[0]); } function replaceQueryParam(url, param, value) { var explodedUrl = url.split('?'); var baseUrl = explodedUrl[0] || ''; var query = '?' + (explodedUrl[1] || ''); var regex = new RegExp("([?;&])" + param + "[^&;]*[;&]?"); var queryWithoutParameter = query.replace(regex, "$1").replace(/&$/, ''); return baseUrl + (queryWithoutParameter.length > 2 ? queryWithoutParameter + '&' : '?') + (value ? param + "=" + value : ''); } function appendMessageToLinks() { var message = document.querySelector('.js-whatsapp-message-container').text; var text = message.replace(/{roistat_visit}/g, window.roistatGetCookie('roistat_visit')); text = encodeURI(text); var linkElements = document.querySelectorAll('[href*="//wa.me"], [href*="//api.whatsapp.com/send"], [href*="//web.whatsapp.com/send"], [href^="whatsapp://send"]'); for (var elementKey in linkElements) { if (linkElements.hasOwnProperty(elementKey)) { var element = linkElements[elementKey]; element.href = replaceQueryParam(element.href, 'text', text); } } } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', init); } else { init(); } }; })(); </script> <!-- END WHATSAPP INTEGRATION WITH ROISTAT --> <?php if ($APPLICATION->GetCurDir() === '/blog/flats/investitsii-v-nedvizhimost-v-dubae/') { ?> <script>(function (t, p) { window.Marquiz ? Marquiz.add([t, p]) : document.addEventListener('marquizLoaded', function () { Marquiz.add([t, p]) }) })('Widget', { id : '653100082730250025d00761', position : 'left', delay : 10, autoOpen : 10, disableIfClosed: true })</script> <?php } ?> <?/*?> <script> const nextLinks = document.querySelector('link[rel="next"]'); nextLinks.removeAttribute('rel'); </script> <script>(function(t, p) {window.Marquiz ? Marquiz.add([t, p]) : document.addEventListener('marquizLoaded', function() {Marquiz.add([t, p])})})('Widget', {id: '660ab95baca3b600265510a4', position: 'left', delay: 10, autoOpen: 20, disableOnMobile: true, disableIfClosed: true})</script> <?*/?> </body> </html>