Commit ddfe454d by Semenenko Timofey

filter part3

1 parent 39db5ad6
Pipeline #2862 for ddfe454d skipped in 0 seconds
......@@ -12,4 +12,4 @@ $APPLICATION->SetTitle("Контакты");
Array(
)
);?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
body {
margin: 0px;
padding: 0px;
background: #f5f5f5;
font-family: 'Segoe UI';
}
ul.resp-tabs-list, p {
margin: 0px;
......@@ -112,15 +107,15 @@ h2.resp-tab-title:last-child {
}
.resp-vtabs li.resp-tab-active {
position: relative;
z-index: 1;
margin-right: -1px !important;
padding: 14px 15px 15px 14px !important;
border-top: 1px solid;
border: 1px solid #fff !important;
border-left: 4px solid #fff !important;
margin-bottom: 4px !important;
border-right: 1px #FFF solid !important;
position: relative;
z-index: 1;
margin-right: -1px !important;
padding: 14px 15px 15px 14px !important;
border-top: 1px solid;
border: 1px solid #fff !important;
border-left: 4px solid #fff !important;
margin-bottom: 4px !important;
border-right: 1px #FFF solid !important;
}
.resp-arrow {
......@@ -130,14 +125,14 @@ border-right: 1px #FFF solid !important;
margin-top: 3px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 12px solid #c1c1c1;
border-top: 12px solid #ffffff;
}
h2.resp-tab-active span.resp-arrow {
border: none;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 12px solid #9B9797;
border-bottom: 12px solid #ffffff;
}
/*-----------Accordion styles-----------*/
......
This diff could not be displayed because it is too large.
......@@ -22,7 +22,7 @@ format('svg');font-weight:normal;font-style:normal;}
.cluster.active_cluster img{display:none;}
.projects_type_wrapper h1{font-size:14px;font-weight:bold;}
.service-item{height:282px;}
.no_search_result_text{margin-top:30px;}
.no_search_result_text{text-align: center;display: inline-block;text-transform: uppercase;text-decoration: none !important;color: #f37e43;font-size: 1rem;line-height: 16px;font-weight: bold;padding-right: 22px;padding-left: 16px;position: relative;vertical-align: middle;margin-top: -6px;margin-top: 80px;}
#previewer_toggle{display:none;}
.projects_listing_ul{margin-top:-75px !important;}
.out_sub_menu > .filter-element > div.filter-element._all{display:none;}
......@@ -97,9 +97,9 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.teaser_text_left h3{font-weight:700;font-size:18px;margin-top:20px;margin-bottom:15px;}
.teaser_text_left_button{text-transform:uppercase;font-size:1.5rem;text-decoration:none;font-weight:bold;background:#f2803c;padding:17px 30px;position:relative;border:0;color:white;font-family:"Open Sans", Arial, sans-serif;cursor:pointer;display:inline-block;margin:0;vertical-align:middle;-webkit-transition:ease-out 0.5s;-o-transition:ease-out 0.5s;transition:ease-out 0.5s;}
.teaser_text_left_button:hover{text-decoration:none;color:#f2803c;background:#fff;}
.out_sub_menu{position:absolute;z-index:100;width:100%;left:0;top: 179px;}
.projects-list{/* margin-top: 150px; */}
.filter._inner-page{display:block;left:50%;bottom:50px;z-index:50;margin-left:-251px;top:50%;margin-top: -10px;}
.out_sub_menu{position:absolute;z-index:100;width:100%;left:0;top: 205px;}
.projects-list{/* margin-top: 93px; */}
.filter._inner-page{display:block;left:50%;bottom:50px;z-index:50;margin-left:-251px;top: 53%;margin-top: -10px;}
.filter._inner-page > .filter-element{height:auto;}
.filter._inner-page .filter-element._type .filter-type{display:inline-block;height:auto;padding:25px 40px;}
.out_sub_menu > .filter-element{display:table;height: 70px;margin:0 auto;text-align:center;width:100%;}
......@@ -193,6 +193,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.main-menu-item-link:before, .main-menu-item-link:after{display:none;}
.main-menu-item{display:block;}
.main-menu-item-link , ._fixed .main-menu-item-link{line-height:45px;}
span.mobile_menu_wrap{width:37px;height:37px;background-image:url(/img/png/logo_y.png);background-size:cover;position:absolute;right:54px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;}
span.mobile_menu_wrap.mobile{width:37px;height:37px;background-image:url(/img/png/logo_y.png);background-size:cover;position:absolute;right:11px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;}
span.mobile_menu_wrap_phone{width:37px;height:37px;background-image:url(/img/svg/Vector.svg);background-size:cover;position:absolute;right:104px;top:18px;-webkit-transition:all 0.4s;transition:all 0.4s;cursor:pointer;}
......@@ -206,7 +207,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.path-current{padding:0 5px;}
.page-head._bigger .path-current{margin-bottom:6px;}
.page-head._mp{overflow:hidden;}
.page-content{/* padding-top: 80px; */px; */}
/* .page-content.mobile{padding-top: 230px;} */
._top .path{padding-top:70px;text-align:center;margin:0;}
.page-head._bigger .path{padding-top:3px;margin:0;text-align:center;}
......@@ -238,16 +239,16 @@ li.additional_list_item{margin-bottom:20px;float:left;}
._top .page-head{height:185px;}
}
@media (max-width:1366px){.project-gallery-item-title-abs{font-size:3rem;line-height:3.3rem;}
@media (max-width:992px){.project-gallery-item-title-abs{font-size:3rem;line-height:3.3rem;}
.project-text > *:first-child{padding-top:30px !important;}
#previewer_toggle{position:absolute;bottom:45%;left:50%;margin-left:-35px;z-index:100;font-weight:bold;font-size:70px;text-shadow:0px 0px 5px rgba(255, 255, 255, 0.39) , 2px 2px 5px rgba(113, 111, 111, 0.52) , -2px -2px 5px rgba(255, 255, 255, 0.52) , 1px 0px 5px rgba(255, 255, 255, 0.22);color:rgb(255, 255, 255);cursor:pointer !important;display:block;}
.previewer .project-gallery-item-title{opacity:0;}
h4.project-gallery-item-title{height:auto;top:auto;bottom:50px;left:0;width:100%;text-shadow:0px 0px 10px #fff , 1px 1px 10px #fff , -1px -1px 10px #fff , -2px 0px 10px #fff;}
.out_sub_menu .filter-element._misc .filter-option{width:33%;vertical-align:middle;}
.contacts-map{margin-top:30px;margin-right:0;height:350px;}
.out_sub_menu .filter-inner-wrap{padding:0 10px;}
.text-teaser{height:auto;padding:20px 10px;}
.teaser_text_left{width:100%;text-align:center;padding:0;margin-bottom:20px;}
.contacts-map{margin-right:0;height:350px;}
.contacts-content{position:static;width:100%;height:auto;}
.contacts-wr .phone{position:static;}
.contacts-wr .phone a{text-align:center;}
......@@ -319,7 +320,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.map-map .path A{top:-9px;left:-20px;}
.project-gallery .project-gallery-item._plan{background-size:contain;}
}
@media (max-width:1024px){.project-gallery-item-title-abs{font-size:2.2rem;line-height:2.5rem;}
@media (max-width:767px){.project-gallery-item-title-abs{font-size:2.2rem;line-height:2.5rem;}
.project-info-link{/* width: 50%; */margin:0;}
.project-info-link-wr{margin-top:0;}
.project-price-order{/* width: 50%; */}
......@@ -341,7 +342,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.out_sub_menu .filter-element._house > div{width:49% !important;height:50% !important;}
.filter._inner-page .filter-element._type .filter-type{padding:25px 0;}
.out_sub_menu .filter-select-item{line-height:1rem;}
.out_sub_menu .filter-inner-wrap{border-bottom:1px solid #B56136;}
.out_sub_menu .filter-inner-wrap{/* border-bottom:1px solid #B56136; */}
.out_sub_menu .filter-element._misc .filter-option{width:100%;padding:0;}
.project-text table *{display:block !important;width:100% !important;font-size:14px;line-height:20px;padding:0 !important;margin:0 !important;}
.project-text table tr td img{margin:15px 0px !important;}
......@@ -362,7 +363,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.form-wider{margin-right:0;}
.form-row-submit-hint{display:block;margin:15px 0 0;}
.project-text > *:first-child{padding-top:0;}
.project{padding-top:130px;}
.project{padding-top:10px;}
.project-reviews{padding:25px 0 25px 0;}
.project-similar-title{font-size:2.5rem;line-height:2.5rem;padding:10px 0 30px 0;}
.project-info-specs-item-value{font-size:16px;padding-right:0;}
......@@ -439,9 +440,15 @@ li.additional_list_item{margin-bottom:20px;float:left;}
}
@media (max-width: 764px) {
.contacts-map{margin-top:30px;margin-right:0;height:350px;}
.owl-carousel, .owl-carousel {
height: 250px;
}
/*a[href^="tel:"] {*/
/*!*text-shadow: 0px 0px 15px #000;*!*/
/*color: inherit;*/
/*cursor: default;*/
/*}*/
.header .fav-link-icon {
position: absolute;
width: 37px;
......
......@@ -2830,30 +2830,6 @@ $.fn.isOnScreen = function(){
/*! carousel transition plugin for Cycle2; version: 20130528 */
(function($) {
"use strict";
......@@ -15854,7 +15830,7 @@ $.validator.addMethod(
var v = App.height() ;
if($('.container').hasClass('_top') && (screen.width < 764)) {
v = 320;
v = App.height();
}else{
v = App.height();
......@@ -15867,6 +15843,27 @@ $.validator.addMethod(
})(jQuery);
(function ($) {
"use strict";
var blocks = $('.js-fulli'), header = $('.header'), min = 250;
function blocksHeightProj() {
var v = App.height() ;
if($('.container').hasClass('_top') && (screen.width < 764)) {
v = 320;
}else{
v = App.height();
}
blocks.height(v < min ? min : v);
}
$(window).on('resize', blocksHeightProj).trigger('resize');
})(jQuery);
(function ($) {
var galleries = $('.js-gallery');
if (!galleries.length) return ;
......
......@@ -66,16 +66,30 @@ $(function(){
$('body').toggleClass('noscroll-body');
});
$('.mobile_menu_wrap_phone').click(function(){
//Hawks 13.01.2017 swipe под меню
$(".mobile_menu_wrap").swipe( {
swipe:function(event, direction, distance, duration, fingerCount, fingerData) {
$(this).find('.main-menu').toggleClass('opened-xs-menu');
$('header.header').toggleClass('opened-menu-header');
$('body').toggleClass('noscroll-body');
},
allowPageScroll:"auto",
});
// $('.mobile_menu_wrap_phone').click(function(){
//
// $(this).find('.main-menu').toggleClass('opened-xs-menu');
//
// $('header.header').toggleClass('opened-menu-header');
//
// $('body').toggleClass('noscroll-body');
//
// });
//слайд тоггл ссылок мобильного меню на мобильных устройствах
$('.main-menu-item a').click(function(){
......@@ -573,6 +587,18 @@ $(".hor_1").on('click' , function(){
});
$(document).on('click', ".mobile_menu_phones",function() {
var x = document.getElementById('myDIV');
x.classList.toggle("mystyle");
$( ".project" ).toggle( "slow" );
// $(this).find(".phone-call").show();
});
<?
//22.06.2017 Hawks
CModule::IncludeModule('nurgush.mobiledetect');
$detect = new Nurgush\MobileDetect\Main();
// Для мобыльных и планшетов
if($detect->isMobile() || $detect->isTablet()){?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");?>
<div class="contacts">
<div class="contacts-wr">
<div class="contacts-map" data-default-center="50,42">
<!-- <?= getBreadCrumbsHtml() ?> -->
<!-- <?= getBreadCrumbsHtml() ?> -->
<a href="#!" class="contacts-map-zoom _in js-zoom-in"></a>
<a href="#!" class="contacts-map-zoom _out js-zoom-out"></a>
<div class="contacts-map-container" id="map"></div>
......@@ -18,9 +11,9 @@ if($detect->isMobile() || $detect->isTablet()){?>
<div class="contacts-content-wr">
<div class="contacts-tabs-head">
<a href="#!" class="contacts-tabs-head-item _active js-tab-toggle" data-id="1">Офисы</a>
<? foreach($arResult['CONTACT_SECTIONS'] as $section) { ?>
<? foreach($arResult['CONTACT_SECTIONS'] as $section) { ?>
<a href="#!" class="contacts-tabs-head-item js-tab-toggle" data-id="<?= $section->ID ?>"><?= $section->NAME ?></a>
<? } ?>
<? } ?>
<div class="phone">
<div class="project js-project">
......@@ -30,9 +23,9 @@ if($detect->isMobile() || $detect->isTablet()){?>
</div>
</div>
<div class="contacts-tabs-body">
<? require 'tab-office.php' ?>
<? require 'tab-office.php' ?>
<? require 'tab-contacts.php' ?>
<? require 'tab-contacts.php' ?>
</div>
</div>
......@@ -41,65 +34,10 @@ if($detect->isMobile() || $detect->isTablet()){?>
</div>
<script>
var mapMarkers = {
<? foreach($arResult['OFFICES'] as $item) { if(!$item->getCoordinates()) continue; ?>
"<?= $item->ID ?>":{"title": "<?= $item->getName() ?>","lat": <?= $item->getLatitude() ?>,"lon": <?= $item->getLongtitude() ?>,"zoom": 15},
<? } ?>
<? foreach($arResult['OFFICES'] as $item) { if(!$item->getCoordinates()) continue; ?>
"<?= $item->ID ?>":{"title": "<?= $item->getName() ?>","lat": <?= $item->getLatitude() ?>,"lon": <?= $item->getLongtitude() ?>,"zoom": 15},
<? } ?>
};
</script>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
<?}else{?>
<div class="page-head" style="background-image: url(/upload/iblock/eb1/page_head.jpg)">
<div class="phone">
<div class="project js-project">
<? include INCLUDE_PATH . 'header-phone.php' ?>
<a href="#order_price" class='phone-call js-order-project'>Заказать звонок</a>
</div>
<?$APPLICATION->IncludeComponent('cpeople:form', 'callback')?>
</div>
<?= getBreadCrumbsHtml() ?>
<?=$APPLICATION->GetProperty('PAGE_HEAD_EXTRA_CONTENT')?>
</div>
<div class="contacts">
<div class="contacts-wr">
<div class="contacts-map" data-default-center="50,42">
<!-- <?= getBreadCrumbsHtml() ?> -->
<a href="#!" class="contacts-map-zoom _in js-zoom-in"></a>
<a href="#!" class="contacts-map-zoom _out js-zoom-out"></a>
<div class="contacts-map-container" id="map"></div>
</div>
<div class="contacts-content">
<div class="contacts-content-wr">
<div class="contacts-tabs-head">
<a href="#!" class="contacts-tabs-head-item _active js-tab-toggle" data-id="1">Офисы</a>
<? foreach($arResult['CONTACT_SECTIONS'] as $section) { ?>
<a href="#!" class="contacts-tabs-head-item js-tab-toggle" data-id="<?= $section->ID ?>"><?= $section->NAME ?></a>
<? } ?>
<div class="phone">
<div class="project js-project">
<a href="#feedback" class='phone-call js-order-project'>Обратная связь</a>
</div>
<?$APPLICATION->IncludeComponent('cpeople:form', 'feedback')?>
</div>
</div>
<div class="contacts-tabs-body">
<? require 'tab-office.php' ?>
<? require 'tab-contacts.php' ?>
</div>
</div>
</div>
</div>
</div>
<script>
var mapMarkers = {
<? foreach($arResult['OFFICES'] as $item) { if(!$item->getCoordinates()) continue; ?>
"<?= $item->ID ?>":{"title": "<?= $item->getName() ?>","lat": <?= $item->getLatitude() ?>,"lon": <?= $item->getLongtitude() ?>,"zoom": 15},
<? } ?>
};
</script>
<?}?>
......@@ -9,7 +9,7 @@ $gallery = $item->getPreviewGallery();
?>
<div class="page-head _project js-full" data-id="<?= $item->ID ?>" style="height: 300px">
<div class="page-head _project js-fulli" data-id="<?= $item->ID ?>" style="height: 300px">
<div class="phone" itemscope itemtype="http://schema.org/Organization">
<span itemprop="name" style="display:none">Stroy House</span>
......
......@@ -67,6 +67,7 @@
<?if($APPLICATION->GetCurPage() != '/') {?> </div>
<? if ($_SERVER['REQUEST_URI'] == '/projects/') { ?>
<style>
.text-content H1 {
margin: 0;
padding: 0;
......@@ -87,11 +88,12 @@
<? if ($_SERVER['REQUEST_URI'] == '/projects/doma-iz-kleenogo-brusa/'){ ?>
<style>
.page-content {
/*padding: 100px 0 30px 0;*/
padding: 23px 0 30px 0;
}
.projects-list {
margin-top: 75px;
margin-top: 93px;
}
.text-content H1 {
margin: 0;
......@@ -99,7 +101,7 @@
}
.static-content {
padding-bottom: 0;
margin-top: 90px;
/*margin-top: 90px;*/
}
@media (max-width: 1000px) {
......@@ -118,11 +120,12 @@
<?}if ($_SERVER['REQUEST_URI'] == '/projects/bani-iz-kleenogo-brusa/'){?>
<style>
.page-content {
/*padding: 100px 0 30px 0;*/
padding: 23px 0 30px 0;
}
.projects-list {
margin-top: 45px;
margin-top: 60px;
}
.text-content H1 {
margin: 0;
......@@ -130,7 +133,7 @@
}
.static-content {
padding-bottom: 0;
margin-top: 60px;
/*margin-top: 80px;*/
}
@media (max-width: 1000px) {
......@@ -152,11 +155,12 @@
<?}if ($_SERVER['REQUEST_URI'] == '/projects/raznye-proekty/'){?>
<style>
.page-content {
/*padding: 100px 0 30px 0;*/
padding: 10px 0 30px 0;
}
.projects-list {
margin-top: 60px;
margin-top: 73px;
}
.text-content H1 {
margin: 0;
......@@ -164,7 +168,7 @@
}
.static-content {
padding-bottom: 0;
margin-top: 60px;
/*margin-top: 60px;*/
}
@media (max-width: 1000px) {
......
<? $projectFilter = \SH\ProjectFilter::getInstance(); ?>
<? if ($_SERVER['REQUEST_URI'] == '/projects/') { ?>
<style>
.page-content {
padding: 85px 0 30px 0;
}
......@@ -24,7 +25,6 @@
}
</style>
<br>
<form class="js-filter form-filter<? if ($arParams['IS_AJAX_FILTER']) { ?> ajax-filter<? } ?>" method="get"
action="/projects/<? if (!empty($arParams['IS_FAVE'])) { ?>fave/<? } ?>" id='search_form_main'>
......@@ -100,6 +100,7 @@
<? if ($_SERVER['REQUEST_URI'] == '/projects/doma-iz-kleenogo-brusa/') { ?>
<style>
.page-content {
padding: 205px 0 30px 0;
}
......@@ -122,7 +123,6 @@
}
</style>
<br>
<form class="js-filter form-filter<? if ($arParams['IS_AJAX_FILTER']) { ?> ajax-filter<? } ?>" method="get"
action="/projects/<? if (!empty($arParams['IS_FAVE'])) { ?>fave/<? } ?>" id='search_form_main'>
......@@ -206,7 +206,6 @@
<li class="filter-element _house _inactive" data-type="house">
Площадь<? if ($APPLICATION->GetCurPage() == '/') { ?><a href="#!"
class="filter-select-title">площадь</a> <? } ?>
1
</li>
<li class="filter-element _house _inactive" data-type="house">
Этажи<? if ($APPLICATION->GetCurPage() == '/') { ?><a href="#!"
......
......@@ -23,14 +23,14 @@ global $APPLICATION;
$detect = new Nurgush\MobileDetect\Main();
// Для мобыльных и планшетов
if($detect->isMobile() || $detect->isTablet()){?>
if($detect->isMobile() && !$detect->isTablet()){?>
<span><a class="menu" href="/company/" >Наша компания</a><a class="menu" href="/projects/">Список проектов</a></span>
<span><a class="menu" href="/services/">Услуги</a><a class="menu" href="/info/lumber/">Полезная информация</a></span>
<span><a class="menu" href="price/design-cost/" ">Цены</a><a class="menu" href="/contacts/">Контакты</a></span>
<? if (isset($_COOKIE['mobile'])) { ?><meta name=viewport content="width=1024, initial-scale=0.1"><? } else { ?><meta name=viewport content="width=device-width, initial-scale=1"><? } ?>
<? if (isset($_COOKIE['mobile']) and $_COOKIE['mobile']=="no") { ?><a class="author" href="" onclick="SetCookie('mobile=yes', 0);">На мобильную версию</a><? }else{ ?> <a class="author" href="" onclick="SetCookie('mobile=no', 30);">На обычную версию</a><? } ?>
<? if (isset($_COOKIE['mobile']) and $_COOKIE['mobile']=="no") { ?><a class="author" href="" onclick="SetCookie('mobile=yes', 0);">На мобильную версию</a><? }else{ ?> <a class="author" href="" onclick="SetCookie('mobile=no', 30);">На полную версию</a><? } ?>
<a class="author">Stroy House</a>
<a class="author">info@s-h.ru</a>
<!-- <a class="author">Россия, Московская область, Истринский район, Веледниково, улица Живописная, дом 25.</a>-->
......@@ -58,7 +58,7 @@ if($detect->isMobile() || $detect->isTablet()){?>
<!--/noindex-->
<div class="author">Сайт срубили — <a href="http://cpeople.ru/">CreativePeople</a></div>
</footer>
<?}else{?>
<?}else if ($detect->isMobile() && !$detect->isTablet()) {?>
<ul class="social-links">
<?/*<li class="social-links-item"><a href="http://twitter.com/stroyhouse" class="social-links-link _tw" target="_blank" rel="nofollow"></a></li>*/?>
<li class="social-links-item"><a href="//www.facebook.com/pages/Derevannye-doma-ot-Stroj-Hauz/161048223937817" class="social-links-link _fb" target="_blank" rel="nofollow"></a></li>
......@@ -71,6 +71,17 @@ if($detect->isMobile() || $detect->isTablet()){?>
<div class="author">Сайт срубили — <a href="http://cpeople.ru/">CreativePeople</a></div>
<div class="copy">© <?= date('Y') ?> ООО «Строй Хауз»</div>
</footer>
<?}else{?>
<ul class="social-links">
<?/*<li class="social-links-item"><a href="http://twitter.com/stroyhouse" class="social-links-link _tw" target="_blank" rel="nofollow"></a></li>*/?>
<li class="social-links-item"><a href="//www.facebook.com/pages/Derevannye-doma-ot-Stroj-Hauz/161048223937817" class="social-links-link _fb" target="_blank" rel="nofollow"></a></li>
<li class="social-links-item"><a href="//vkontakte.ru/club21826597" class="social-links-link _vk" target="_blank" rel="nofollow"></a></li>
<?/*<li class="social-links-item"><a href="//www.odnoklassniki.ru/group/55514216595503" class="social-links-link _ok" target="_blank" rel="nofollow"></a></li>*/?>
<li class="social-links-item"><a href="//www.youtube.com/user/StroyHouse" class="social-links-link _yt" target="_blank" rel="nofollow"></a></li>
<li class="social-links-item"><a href="//instagram.com/stroyhouse/" class="social-links-link _inst"></a></li>
</ul>
<div class="copy">© <?= date('Y') ?> ООО «Строй Хауз»</div>
<?}?>
<?}?>
......@@ -81,6 +92,7 @@ if($detect->isMobile() || $detect->isTablet()){?>
<link rel="stylesheet" type="text/css" href="/css/easy-responsive-tabs.css " />
<!-- Add mousewheel plugin (this is optional) -->
</script>
<script src="/js/jquery-1.9.1.min.js?<?=filemtime(BASE_PATH . '/js/jquery-1.9.1.min.js')?>"></script>
<script src="//maps.googleapis.com/maps/api/js?v=3.exp"></script>
<script src="/js/compiled.js?<?=filemtime(BASE_PATH . '/js/compiled.js')?>" type="text/javascript"></script>
......
......@@ -137,22 +137,16 @@ if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots"
$detect = new Nurgush\MobileDetect\Main();
// Для мобыльных
if($detect->isMobile() && !$detect->isTablet()){?>
<span class='mobile_menu_wrap_phone'>
<?$APPLICATION->IncludeComponent(
"bitrix:menu",
"top_callback_phone",
Array(
"ROOT_MENU_TYPE" => "top",
"MAX_LEVEL" => "2",
"CHILD_MENU_TYPE" => "sub",
"USE_EXT" => "N",
"MENU_CACHE_TYPE" => "Y",
"MENU_CACHE_TIME" => "3600",
"MENU_CACHE_USE_GROUPS" => "N",
"MENU_CACHE_GET_VARS" => Array()
)
);?>
</span>
<div class="mobile_menu_phones"></div>
<div id="myDIV">
<div style="display: none" class="project js-project">
<? include INCLUDE_PATH . 'header-phone.php' ?>
<a href="#order_price" class='phone-call js-order-project'>Заказать звонок</a>
</div>
<?$APPLICATION->IncludeComponent('cpeople:form', 'callback')?>
</div>
<?}else{?>
<?}?>
......@@ -229,6 +223,6 @@ if ($APPLICATION->GetCurPage() == '/projects/online/') echo '<meta name="robots"
global $APPLICATION;
$result = '';
if(!$APPLICATION->GetProperty('HIDE_PAGE_CONTENT')) $result .= '<div class="page-content">';
if(!$APPLICATION->GetProperty('HIDE_CENTRING_WRAP')) $result .= '<div class="centering">';
if(!$APPLICATION->GetProperty('HIDE_CENTRING_WRAP') && (!$_SERVER['REQUEST_URI'] == '/contacts/')) $result .= '<div class="centering">';
return $result;
})?>
\ 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!