Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <? if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
- $curPage = $APPLICATION->GetCurPage(true);
- ?>
- <!DOCTYPE html>
- <html class="no-js">
- <head>
- <? $APPLICATION->ShowHead(); ?>
- <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width">
- <title><? $APPLICATION->ShowTitle(false); ?></title>
- <?
- CUtil::InitJSCore(array('jquery', 'window', 'popup', 'ajax', 'date'));
- ?>
- <!-- 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-54VJR8C');</script>
- <!-- End Google Tag Manager -->
- <?
- $APPLICATION->IncludeComponent("bitrix:main.include", "", Array(
- "AREA_FILE_SHOW" => "file",
- "PATH" => "/_include/for_all_pages.php",
- "AREA_FILE_SUFFIX" => "inc",
- "AREA_FILE_RECURSIVE" => "N",
- "EDIT_TEMPLATE" => ""
- )
- );
- ?>
- <!--[if lt IE 9]>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.js"></script>
- <script>window.html5 || document.write('<script src="'+ window.site_static + '/vendor/html5shiv.min.js"><\/script>')</script>
- <![endif]-->
- <style>body{opacity: 0;visibility: hidden; transition: opacity 0.2s linear;}</style>
- <link rel="stylesheet" href="/css/responsive.css">
- </head>
- <body>
- <!-- Google Tag Manager (noscript) -->
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-54VJR8C"
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- <!-- End Google Tag Manager (noscript) -->
- <!-- Yandex.Metrika counter -->
- <?
- global $USER;
- if ($USER->IsAuthorized()) {
- $yAuth = 'Авторизованный пользователь';
- } else {
- $yAuth = 'Неавторизованный пользователь';
- };
- ?>
- <script type="text/javascript" >
- (function (d, w, c) {
- (w[c] = w[c] || []).push(function() {
- try {
- w.yaCounter50192866 = new Ya.Metrika2({
- id:50192866,
- params: {
- auth_user: "<?=$yAuth?>"
- },
- clickmap:true,
- trackLinks:true,
- accurateTrackBounce:true,
- webvisor:true,
- ecommerce:true
- });
- } catch(e) { }
- });
- var n = d.getElementsByTagName("script")[0],
- s = d.createElement("script"),
- f = function () { n.parentNode.insertBefore(s, n); };
- s.type = "text/javascript";
- s.async = true;
- s.src = "https://mc.yandex.ru/metrika/tag.js";
- if (w.opera == "[object Opera]") {
- d.addEventListener("DOMContentLoaded", f, false);
- } else { f(); }
- })(document, window, "yandex_metrika_callbacks2");
- </script>
- <script type="text/javascript">
- window.dataLayer = window.dataLayer || [];
- </script>
- <noscript><div><img src="https://mc.yandex.ru/watch/50192866" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
- <!-- /Yandex.Metrika counter -->
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-30561509-2"></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
- gtag('config', 'UA-30561509-2');
- </script>
- <!-- /Global site tag (gtag.js) - Google Analytics -->
- <div id="fb-root"></div>
- <script>
- (function(d, s, id)
- {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s);
- js.id = id;
- js.src = "//connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v2.10&appId=1896550274000085";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));
- </script>
- <div id="panel">
- <? $APPLICATION->ShowPanel(); ?>
- </div>
- <div class="layout-wrapper">
- <!--[if lt IE 8]>
- <p class="browserupgrade">Вы используете <strong>устаревший</strong> браузер. Пожалуйста <a href="http://browsehappy.com/">обновите ваш браузер</a> для лучшей навигации по интернету.</p>
- <![endif]-->
- <?
- $APPLICATION->IncludeComponent("bitrix:main.include", "", Array(
- "AREA_FILE_SHOW" => "file",
- "PATH" => "/_include/header.php",
- "AREA_FILE_SUFFIX" => "inc",
- "AREA_FILE_RECURSIVE" => "N",
- "EDIT_TEMPLATE" => ""
- )
- );
- ?>
- <main class="layout-main <?=$APPLICATION->ShowProperty('LAYOUT_CLASS');?>">
- <? if($curPage != SITE_DIR."index.php" && HEADER_SHOW): ?>
- <div class="container container--full container--gray <?=$APPLICATION->ShowProperty('BREADCRUMB_CLASS');?>">
- <div class="container">
- <ol class="breadcrumb">
- <? $APPLICATION->IncludeComponent("bitrix:breadcrumb", "breadcrumb", Array(
- "START_FROM" => "0",
- "PATH" => "",
- "SITE_ID" => "s1"
- )
- ); ?>
- </ol>
- </div>
- </div>
- <div class="page-header page-header--color-bg <? $APPLICATION->ShowProperty("HEADER_CLASS") ?> <?=$APPLICATION->ShowProperty("HEADER_CLASS_IMAGE")?>" style="background-image: url('<? $APPLICATION->ShowProperty("HEADER_BACKGROUND") ?>');">
- <div class="container">
- <? if($APPLICATION->GetProperty('NO_SHOW_HEADER_TEXT') !== true): ?>
- <div class="page-header__title <? $APPLICATION->ShowProperty("HEADER_TITLE_CLASS") ?>"><? $APPLICATION->ShowTitle(false); ?></div>
- <div class="page-header__subtitle <? $APPLICATION->ShowProperty("HEADER_SUBTITLE_CLASS") ?>"><? $APPLICATION->ShowProperty("HEADER_SUBTITLE") ?></div>
- <div class="page-header__text <? $APPLICATION->ShowProperty("HEADER_TEXT_CLASS") ?>"><? $APPLICATION->ShowProperty("HEADER_TEXT") ?></div>
- <? endif; ?>
- <? if($APPLICATION->GetProperty('HEADER_SUBSCRIBE_BLOCK')): ?>
- <div class="page-header__subscribe">
- <form action=""sortBy>
- <div class="page-header__form-group">
- <input class="page-header__form-control" type="text" name="email" value="" placeholder="Ваш e-mail">
- </div>
- <div class="page-header__subscribe-submit">
- <button class="btn btn-subscribe" type="submit">подписаться</button>
- </div>
- </form>
- <div class="page-header__socials">
- <a href="#" class="social social--lg social--light"><i class="icon icon-vk"></i></a>
- <a href="#" class="social social--lg social--light"><i class="icon icon-instagram"></i></a>
- <a href="#" class="social social--lg social--light"><i class="icon icon-fb"></i></a>
- <a href="#" class="social social--lg social--light"><i class="icon icon-ok"></i></a>
- <a href="#" class="social social--lg social--light"><i class="icon icon-twitter"></i></a>
- <a href="#" class="social social--lg social--light"><i class="icon icon-youtube"></i></a>
- </div>
- </div>
- <? endif; ?>
- <?
- if (($APPLICATION->GetCurPage(false) != '/about/quality-control/'
- && !preg_match('/\/investors\//',$APPLICATION->GetCurPage(false)))
- || (preg_match('/\/investors\//',$APPLICATION->GetCurPage(false)) && $USER->IsAdmin())){
- $APPLICATION->IncludeComponent("bitrix:menu", "submenu", Array(
- "ROOT_MENU_TYPE" => "submenu",
- "MAX_LEVEL" => "1",
- "CHILD_MENU_TYPE" => "",
- "USE_EXT" => "Y",
- "DELAY" => "N",
- "ALLOW_MULTI_SELECT" => "N",
- "MENU_CACHE_TYPE" => "N",
- "MENU_CACHE_TIME" => "3600",
- "MENU_CACHE_USE_GROUPS" => "N",
- "MENU_CACHE_GET_VARS" => "",
- "CACHE_SELECTED_ITEMS" => "N",
- )
- );
- }
- ?>
- </div>
- </div>
- <? endif; ?>
- <?php if (array_search($APPLICATION->GetCurPage(), \Air\Site\Helper::getAccessDeniedFiles()) !== false) {?>
- <div class="container">
- <? } ?>
- <? if (preg_match('/\/investors\//',$APPLICATION->GetCurPage(false))) {
- if (!$USER->IsAdmin()) {
- CHTTP::SetStatus("404 Not Found");
- @define("ERROR_404","Y");
- include $_SERVER['DOCUMENT_ROOT'] . '/404.php';
- }
- } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement