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/header.php |
<? if ($_SERVER['REQUEST_URI']=='/?\\'){ header("HTTP/1.1 301 Moved Permanently"); header ('location: https://monolith-realty.ru/'); exit; } //echo "<!--";print_r($_SERVER);echo "!-->"; if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); IncludeTemplateLangFile(__FILE__); global $APPLICATION, $arRegion, $arSite, $arTheme; $arSite = CSite::GetByID(SITE_ID)->Fetch(); $bIncludedModule = \Bitrix\Main\Loader::includeModule('aspro.allcorp3'); use Bitrix\Main\Page\Asset; ?><!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=LANGUAGE_ID?>" lang="<?=LANGUAGE_ID?>" class="<?=($_SESSION['SESS_INCLUDE_AREAS'] ? 'bx_editmode ' : '')?><?=strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 7.0' ) ? 'ie ie7' : ''?> <?=strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 8.0' ) ? 'ie ie8' : ''?> <?=strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 7.0' ) ? 'ie ie9' : ''?>"> <? $url_pixel = array( '/product/Sochi/zhilye-kompleksy/zhk-po-fz-214/zhk-oliviya/', '/product/Sochi/zhilye-kompleksy/zhk-po-fz-214/zhk-more/', '/product/Sochi/zhilye-kompleksy/zhk-po-fz-214/zhk-lestoriya/', '/product/Sochi/zhilye-kompleksy/dlya-investitsiy/gk-grand-hotel-marine-garden-sochi-5/', '/product/Sochi/zhilye-kompleksy/dlya-investitsiy/gk-livingston/', '/product/Sochi/zhilye-kompleksy/dlya-investitsiy/ak-the-manor/', '/product/Sochi/ak-naiman-residence/', '/product/Sochi/gk-polyana-pik/', '/product/Sochi/zhk-flora/', '/product/Sochi/ak-fregat/', '/product/Sochi/zhk-sochi-park/', ); if ($_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] == 'monolith-realty.ru/?') { // index.php header("HTTP/1.1 301 Moved Permanently"); header("Location: https://monolith-realty.ru/"); exit( ); }; foreach ($url_pixel as $url): if ($_SERVER['REQUEST_URI'] == $url): ?> <!-- Pixel Contact --> <script type="text/javascript"> (function (d, w) { var n = d.getElementsByTagName("script")[0], s = d.createElement("script"); s.type = "text/javascript"; s.async = true; s.src = "https://qoopler.ru/index.php?ref="+d.referrer+"&page=" + encodeURIComponent(w.location.href); n.parentNode.insertBefore(s, n); })(document, window); </script> <!-- Pixel --> <? endif; ?> <? endforeach; ?> <? if (strpos($_SERVER['REQUEST_URI'], 'dubai')): ?> <!-- Pixel Contact --> <script type="text/javascript"> (function (d, w) { var n = d.getElementsByTagName("script")[0], s = d.createElement("script"); s.type = "text/javascript"; s.async = true; s.src = "https://qoopler.ru/index.php?ref="+d.referrer+"&page=" + encodeURIComponent(w.location.href); n.parentNode.insertBefore(s, n); })(document, window); </script> <!-- Pixel --> <? endif; ?> <head> <link rel="icon" href="/favicon.ico?33" sizes="any"><!-- 32×32 --> <link rel="icon" href="/favicon.svg" type="image/svg+xml"> <link rel="manifest" href="/manifest.webmanifest"> <title><?$APPLICATION->ShowTitle()?></title> <?$APPLICATION->ShowMeta("viewport");?> <?$APPLICATION->ShowMeta("HandheldFriendly");?> <?$APPLICATION->ShowMeta("apple-mobile-web-app-capable", "yes");?> <?$APPLICATION->ShowMeta("apple-mobile-web-app-status-bar-style");?> <?$APPLICATION->ShowMeta("SKYPE_TOOLBAR");?> <?$APPLICATION->ShowHead();?> <?$APPLICATION->AddHeadString('<script>BX.message('.CUtil::PhpToJSObject($MESS, false).')</script>', true);?> <?Asset::getInstance()->addCss("/local/templates/monolitsochi/styles/css-gulp/style.css");?> <?Asset::getInstance()->addCss("/local/mobile.css");?> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@18.1.1/build/css/intlTelInput.css"> <script src="https://cdn.jsdelivr.net/npm/intl-tel-input@18.1.1/build/js/intlTelInput.min.js"></script> <?if($bIncludedModule) CAllcorp3::Start(SITE_ID);?> <?CAllcorp3::AddMeta( array( 'og:image' => ('/local/templates/monolitsochi/images/og_image.jpg'), ) );?> <?php if ($APPLICATION->GetCurDir() === '/blog/flats/investitsii-v-nedvizhimost-v-dubae/') { ?> <!-- 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: '653100082730250025d00761', autoOpen: false, autoOpenFreq: 'once', openOnExit: false, disableOnMobile: false } ); </script> <!-- Marquiz script end --> <?php } ?> <!-- 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: '656d8a1fae953600252110be', autoOpen: 10, autoOpenFreq: 'once', openOnExit: false, disableOnMobile: false } ); </script> <!-- Marquiz script end --> </head> <body class="<?=($bIndexBot ? "wbot" : "")?> site_<?=SITE_ID?> <?=($bIncludedModule ? CAllcorp3::getConditionClass() : '')?>" id="main" data-site="<?=SITE_DIR?>"> <div class="bx_areas"><?if($bIncludedModule){CAllcorp3::ShowPageType('header_counter');}?></div> <?if(!$bIncludedModule):?> <?$APPLICATION->SetTitle(GetMessage("ERROR_INCLUDE_MODULE_ALLCORP3_TITLE"));?> <?$APPLICATION->IncludeFile(SITE_DIR."include/error_include_module.php");?></body></html> <?die();?> <?endif;?> <?include_once(str_replace('//', '/', $_SERVER['DOCUMENT_ROOT'].'/'.SITE_DIR.'include/header/body_top.php'));?> <?$arTheme = $APPLICATION->IncludeComponent("aspro:theme.allcorp3", "", array(), false, ['HIDE_ICONS' => 'Y']);?> <?include_once('defines.php');?> <?CAllcorp3::SetJSOptions();?> <div class="body <?=($isIndex ? 'index' : '')?> hover_<?=$arTheme["HOVER_TYPE_IMG"]["VALUE"];?>"> <div class="body_media"></div> <?CAllcorp3::get_banners_position('TOP_HEADER');?> <?CAllcorp3::ShowPageType('eyed_component');?> <div class="visible-lg visible-md title-v<?=$arTheme["PAGE_TITLE"]["VALUE"];?><?=($isIndex ? ' index' : '')?>" data-ajax-block="HEADER" data-ajax-callback="headerInit"> <?CAllcorp3::ShowPageType('mega_menu');?> <?CAllcorp3::ShowPageType('header');?> </div> <?CAllcorp3::get_banners_position('TOP_UNDERHEADER');?> <?if($arTheme["TOP_MENU_FIXED"]["VALUE"] == 'Y'):?> <div id="headerfixed"> <?CAllcorp3::ShowPageType('header_fixed');?> </div> <?endif;?> <div id="mobileheader" class="visible-xs visible-sm"> <?CAllcorp3::ShowPageType('header_mobile');?> <div id="mobilemenu" class="mobile-scroll scrollbar"> <?CAllcorp3::ShowPageType('header_mobile_menu');?> </div> </div> <div id="mobilefilter" class="scrollbar-filter"></div> <div role="main" class="main banner-auto"> <?if(!$isIndex && !$is404 && !$isForm):?> <?$APPLICATION->ShowViewContent('section_bnr_content');?> <?$APPLICATION->ShowViewContent('top_landing_content');?> <?if($APPLICATION->GetProperty("HIDETITLE")!=='Y'):?> <!--title_content--> <? CAllcorp3::ShowPageType('page_title');?> <!--end-title_content--> <?endif;?> <?$APPLICATION->ShowViewContent('top_section_filter_content');?> <?$APPLICATION->ShowViewContent('top_detail_content');?> <?endif; // if !$isIndex && !$is404 && !$isForm?> <div class="container <?=($isCabinet ? 'cabinte-page' : '');?><?=($isBlog ? ' blog-page' : '');?> <?=CAllcorp3::ShowPageProps("ERROR_404");?>"> <?if(!$isIndex):?> <div class="row"> <?if($APPLICATION->GetProperty("FULLWIDTH")!=='Y'):?> <div class="maxwidth-theme"> <?endif;?> <?if($is404):?> <div class="col-md-12 col-sm-12 col-xs-12 content-md"> <?else:?> <div class="col-md-12 col-sm-12 col-xs-12 content-md"> <div class="right_block narrow_<?=CAllcorp3::ShowPageProps("MENU");?> <?=$APPLICATION->ShowViewContent('right_block_class')?>"> <?CAllcorp3::get_banners_position('CONTENT_TOP');?> <?ob_start();?> <?$APPLICATION->IncludeComponent("bitrix:main.include", ".default", array( "COMPONENT_TEMPLATE" => ".default", "PATH" => SITE_DIR."include/left_block/menu.left_menu.php", "AREA_FILE_SHOW" => "file", "AREA_FILE_SUFFIX" => "", "AREA_FILE_RECURSIVE" => "Y", "EDIT_TEMPLATE" => "include_area.php" ), false );?> <?$sMenuContent = ob_get_contents(); ob_end_clean();?> <?endif;?> <?endif;?> <?CAllcorp3::checkRestartBuffer();?>