Commit 76e5981d by Semenenko Timofey

regard local to repo fix

1 parent b9b3128d
Pipeline #2810 for 76e5981d skipped in 0 seconds
<?regard
<?
global $APPLICATION;
global $USER;
?><!DOCTYPE html>
......@@ -17,49 +17,49 @@ global $USER;
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-W9G6NXM');</script>
<!-- End Google Tag Manager -->
<script>if (screen.width>768) document.write('<link rel="stylesheet" href="/css/main.css?<?=filemtime(BASE_PATH . '/css/main.css')?>" id="pre_load">');</script>
<script src="/js/modernizr.js" type="text/javascript" async></script>
<?
// if($USER && $USER->IsAdmin()) {
// $APPLICATION->ShowHead();
// } else {
$APPLICATION->ShowMeta('keywords', false, true);
$APPLICATION->ShowMeta('description', false, true);
// }
if(!isProduction()) echo '<meta name="robots" content="none">';
if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots" content="none">';
?>
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/img/fav/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/fav/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/fav/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/img/fav/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/img/fav/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/img/fav/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/img/fav/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/img/fav/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/img/fav/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="/img/fav/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/img/fav/favicon-128.png" sizes="128x128" />
<meta name="application-name" content="Stroy House"/>
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="/img/fav/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="/img/fav/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="/img/fav/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="/img/fav/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="/img/fav/mstile-310x310.png" />
<!-- Facebook Pixel Code -->
<script>
})(window,document,'script','dataLayer','GTM-W9G6NXM');</script>
<!-- End Google Tag Manager -->
<script>if (screen.width>768) document.write('<link rel="stylesheet" href="/css/main.css?<?=filemtime(BASE_PATH . '/css/main.css')?>" id="pre_load">');</script>
<script src="/js/modernizr.js" type="text/javascript" async></script>
<?
// if($USER && $USER->IsAdmin()) {
// $APPLICATION->ShowHead();
// } else {
$APPLICATION->ShowMeta('keywords', false, true);
$APPLICATION->ShowMeta('description', false, true);
// }
if(!isProduction()) echo '<meta name="robots" content="none">';
if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots" content="none">';
?>
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/img/fav/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/fav/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/fav/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/img/fav/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/img/fav/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/img/fav/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/img/fav/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/img/fav/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/img/fav/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="/img/fav/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/img/fav/favicon-128.png" sizes="128x128" />
<meta name="application-name" content="Stroy House"/>
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="/img/fav/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="/img/fav/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="/img/fav/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="/img/fav/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="/img/fav/mstile-310x310.png" />
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
......@@ -107,11 +107,11 @@ global $USER;
</span>
</form>
<?
//26.04.2017 Hawks
//26.04.2017 Hawks
CModule::IncludeModule('nurgush.mobiledetect');
$detect = new Nurgush\MobileDetect\Main();
// Для мобыльных
// Для мобыльных
if($detect->isMobile() && !$detect->isTablet()){?>
......@@ -175,10 +175,10 @@ global $USER;
<? return ob_get_clean();
}); ?>
<?$APPLICATION->AddBufferContent(function() {
<?$APPLICATION->AddBufferContent(function() {
global $APPLICATION;
$result = '';
if(!$APPLICATION->GetProperty('HIDE_PAGE_CONTENT')) $result .= '<div class="page-content">';
if(!$APPLICATION->GetProperty('HIDE_CENTRING_WRAP')) $result .= '<div class="centering">';
return $result;
})?>
\ No newline at end of file
})?>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!