Current Path : /var/www/www-root/data/www/monolith-realty.ru/local/templates/catalogs/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/local/templates/catalogs/header.php |
<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) { die(); } ?> <? IncludeTemplateLangFile(__FILE__); global $APPLICATION; ?> <!DOCTYPE html> <html lang="ru"> <head> <? $APPLICATION->ShowHead(); use Bitrix\Main\Page\Asset; // JS Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . '/js/main.js'); //STRING Asset::getInstance()->addString("<meta name='msapplication-TileColor' content='#000000'>"); Asset::getInstance()->addString("<meta name='theme-color' content='#ffffff'>"); Asset::getInstance()->addString("<meta name='viewport' content='width=device-width, initial-scale=1.0'>"); Asset::getInstance()->addString("<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>"); ?> <!-- Favicon --> <link rel='icon' href='<?= SITE_TEMPLATE_PATH; ?>/images/favicon.ico' sizes='any'> <link rel='icon' href='<?= SITE_TEMPLATE_PATH; ?>/images/favicon.svg' type='image/svg+xml'> <link rel='manifest' href='<?= SITE_TEMPLATE_PATH; ?>/images/manifest.webmanifest'> <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.umd.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.css" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css"/> <script src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"></script> <script src="https://unpkg.com/imask"></script> <? /*if($_SERVER['REQUEST_URI'] == '/dubai-thanks/'): ?> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-TGHTL94D');</script> <!-- End Google Tag Manager --> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TGHTL94D" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <? endif;*/ ?> <!-- Google Tag Manager --> <script>(function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start' : new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-TGHTL94D');</script> <!-- End Google Tag Manager --> <!-- Google Tag Manager (noscript) --> <noscript> <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TGHTL94D" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <!-- End Google Tag Manager (noscript) --> <!-- Yandex.Metrika counter --> <script type="text/javascript"> (function (m, e, t, r, i, k, a) { m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) }; m[i].l = 1 * new Date(); for (var j = 0; j < document.scripts.length; j++) { if (document.scripts[j].src === r) { return; } } k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a) }) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(95058564, "init", { clickmap : true, trackLinks : true, accurateTrackBounce: true, webvisor : true }); </script> <noscript> <div><img src="https://mc.yandex.ru/watch/95058564" style="position:absolute; left:-9999px;" alt=""/></div> </noscript> <!-- /Yandex.Metrika counter --> <title><? $APPLICATION->ShowTitle() ?></title> <?php if ($APPLICATION->GetCurDir() === '/krasnodar/') { ?> <!-- Marquiz script start --> <script> (function(w, d, s, o){ var j = d.createElement(s); j.async = true; j.src = '//script.marquiz.ru/v2.js';j.onload = function() { if (document.readyState !== 'loading') Marquiz.init(o); else document.addEventListener("DOMContentLoaded", function() { Marquiz.init(o); }); }; d.head.insertBefore(j, d.head.firstElementChild); })(window, document, 'script', { host: '//quiz.marquiz.ru', region: 'eu', id: '6537aad1f82ade0025947624', autoOpen: false, autoOpenFreq: 'once', openOnExit: false, disableOnMobile: false } ); </script> <!-- Marquiz script end --> <? } ?> <!-- 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', '18583436d320481cb6a52de3190fabaf'); </script> <!-- Roistat Counter End --> </head> <? $APPLICATION->ShowPanel(); ?> <body> <? if ( CSite::InDir('/catalog/dubai/') || $APPLICATION->GetCurDir() == '/dubai/' || $APPLICATION->GetCurDir() == '/dubai-thanks/' ): $curElemID = 1831; elseif ( CSite::InDir('/catalog/krasnodar/') || $APPLICATION->GetCurDir() == '/krasnodar/' || $APPLICATION->GetCurDir() == '/krasnodar/' ): $curElemID = 1832; elseif ( CSite::InDir('/catalog/sochi/') || $APPLICATION->GetCurDir() == '/sochi/' || $APPLICATION->GetCurDir() == '/sochi/' ): $curElemID = 1838; else:$curElemID = 1832;endif; ?> <? $APPLICATION->IncludeComponent( "bitrix:news.detail", "header", [ "ACTIVE_DATE_FORMAT" => "d.m.Y", "ADD_ELEMENT_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "AJAX_MODE" => "N", "AJAX_OPTION_ADDITIONAL" => "", "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "BROWSER_TITLE" => "-", "CACHE_GROUPS" => "Y", "CACHE_TIME" => "36000000", "CACHE_TYPE" => "A", "CHECK_DATES" => "Y", "DETAIL_URL" => "", "DISPLAY_BOTTOM_PAGER" => "N", "DISPLAY_DATE" => "N", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "DISPLAY_TOP_PAGER" => "N", "ELEMENT_CODE" => "", "ELEMENT_ID" => $curElemID, "FIELD_CODE" => ["PREVIEW_PICTURE", ""], "IBLOCK_ID" => "81", "IBLOCK_TYPE" => "catalogs", "IBLOCK_URL" => "", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "MESSAGE_404" => "", "META_DESCRIPTION" => "-", "META_KEYWORDS" => "-", "PAGER_BASE_LINK_ENABLE" => "N", "PAGER_SHOW_ALL" => "N", "PAGER_TEMPLATE" => ".default", "PAGER_TITLE" => "Страница", "PROPERTY_CODE" => ["ATT_PHONE", "ATT_LINK_HOME", "ATT_WIDGET"], "SET_BROWSER_TITLE" => "N", "SET_CANONICAL_URL" => "N", "SET_LAST_MODIFIED" => "N", "SET_META_DESCRIPTION" => "N", "SET_META_KEYWORDS" => "N", "SET_STATUS_404" => "N", "SET_TITLE" => "N", "SHOW_404" => "N", "STRICT_SECTION_CHECK" => "N", "USE_PERMISSIONS" => "N", "USE_SHARE" => "N", ] ); ?> <main>