programs aggreagations
This commit is contained in:
parent
d65f45e242
commit
67063cc363
@ -19,12 +19,12 @@ $this->setFrameMode(true);
|
||||
});
|
||||
</script>
|
||||
<section id="calc">
|
||||
<input type="hidden" id="FORM_FIELD_PRICE" value=""/>
|
||||
<input type="hidden" id="FORM_FIELD_PREPAID" value=""/>
|
||||
<input type="hidden" id="FORM_FIELD_TERM" value=""/>
|
||||
<input type="hidden" id="FORM_FIELD_REDEMPTION" value=""/>
|
||||
<input type="hidden" id="FORM_FIELD_PRICE" value=""/>
|
||||
<input type="hidden" id="FORM_FIELD_PREPAID" value=""/>
|
||||
<input type="hidden" id="FORM_FIELD_TERM" value=""/>
|
||||
<input type="hidden" id="FORM_FIELD_REDEMPTION" value=""/>
|
||||
<div class="container wide">
|
||||
<h2 class="section_title">Калькулятор расчета лизинга</h2>
|
||||
<h2 class="section_title"><?= !empty($arParams['TITLE']) ? $arParams['TITLE'] : "Калькулятор расчета лизинга"; ?></h2>
|
||||
<div class="calc_body">
|
||||
<div class="calc_settings">
|
||||
<div class="settings_box">
|
||||
|
||||
@ -0,0 +1,78 @@
|
||||
<?
|
||||
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
|
||||
/** @var CBitrixComponent $this */
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @var string $componentPath */
|
||||
/** @var string $componentName */
|
||||
/** @var string $componentTemplate */
|
||||
/** @global CDatabase $DB */
|
||||
/** @global CUser $USER */
|
||||
/** @global CMain $APPLICATION */
|
||||
|
||||
use Bitrix\Main\Context,
|
||||
Bitrix\Main\Type\DateTime,
|
||||
Bitrix\Main\Loader,
|
||||
Bitrix\Iblock;
|
||||
|
||||
if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
||||
{
|
||||
if(CModule::IncludeModule('iblock'))
|
||||
{
|
||||
$arResult = [
|
||||
'SECTIONS' => [],
|
||||
];
|
||||
|
||||
$sort = [ "SORT" => "ASC" ];
|
||||
$filter = [ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID'] ];
|
||||
$options = false;
|
||||
|
||||
$brands_ids = [];
|
||||
|
||||
if(isset($arParams['TYPE']))
|
||||
{
|
||||
$res_filter = CIBlockElement::GetList(
|
||||
[ "SORT" => "ASC" ],
|
||||
[ "ACTIVE" => "Y", "IBLOCK_ID" => IBLOCK_ID_PROGRAMS_AGGREGATION_RULES_SPECIAL, "PROPERTY_VEHICLE_TYPE" => $arParams['TYPE'], "!PROPERTY_VEHICLE_BRAND" => false, ],
|
||||
false, false, ['ID', 'NAME', 'PROPERTY_VEHICLE_BRAND']
|
||||
);
|
||||
while ($element_filter = $res_filter->GetNextElement())
|
||||
{
|
||||
$ar_res_filter = $element_filter->GetFields();
|
||||
array_push($brands_ids, $ar_res_filter['PROPERTY_VEHICLE_BRAND_VALUE']);
|
||||
}
|
||||
}
|
||||
|
||||
if(count($brands_ids) > 0)
|
||||
{
|
||||
$filter['ID'] = $brands_ids;
|
||||
}
|
||||
|
||||
/* $sec_res = CIBlockSection::GetList($sort, $filter, false, [], false);
|
||||
while ($section = $sec_res->GetNext())
|
||||
{
|
||||
if(!empty($section['PICTURE']))
|
||||
{
|
||||
}
|
||||
|
||||
$section['ITEMS'] = [];
|
||||
$filter = array_merge($filter, [ "SECTION_ID" => $section['ID'] ]);
|
||||
*/
|
||||
|
||||
$res = CIBlockElement::GetList($sort, $filter, false, $options);
|
||||
while ($element = $res->GetNextElement())
|
||||
{
|
||||
$ar_res = $element->GetFields();
|
||||
$ar_res['PREVIEW_PICTURE'] = CFile::GetPath($ar_res['PREVIEW_PICTURE']);
|
||||
$arResult['ITEMS'][] = $ar_res;
|
||||
}
|
||||
|
||||
//if(count($section['ITEMS']) > 0)
|
||||
//{
|
||||
// $arResult['SECTIONS'][] = $section;
|
||||
//}
|
||||
// }
|
||||
|
||||
$this->IncludeComponentTemplate();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
<?
|
||||
$MESS ['DEFAULT_NAME'] = "Бренды техники для агрегационных страниц";
|
||||
$MESS ['DEFAULT_DESC'] = "Бренды техники для агрегационных страниц";
|
||||
?>
|
||||
@ -0,0 +1,37 @@
|
||||
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @global CMain $APPLICATION */
|
||||
/** @global CUser $USER */
|
||||
/** @global CDatabase $DB */
|
||||
/** @var CBitrixComponentTemplate $this */
|
||||
/** @var string $templateName */
|
||||
/** @var string $templateFile */
|
||||
/** @var string $templateFolder */
|
||||
/** @var string $componentPath */
|
||||
/** @var CBitrixComponent $component */
|
||||
$this->setFrameMode(true);
|
||||
?>
|
||||
<? if(count($arResult['ITEMS']) > 0): ?>
|
||||
|
||||
<div class="container">
|
||||
<h2 class="h2"><?= $arParams['TITLE']; ?></h2>
|
||||
<div class="logos_list">
|
||||
<? foreach($arResult['ITEMS'] AS $brand): ?>
|
||||
<div class="list_item">
|
||||
<a href="<?= $arParams['PATH']; ?><?= $brand['CODE']; ?>">
|
||||
<img src="<?= $brand['PREVIEW_PICTURE']; ?>" alt="<?= $brand['NAME']; ?>"/>
|
||||
</a>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<?/*?>
|
||||
<div class="list_item other_item">
|
||||
<a href="#">
|
||||
Другие бренды
|
||||
</a>
|
||||
</div>
|
||||
<?*/?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? endif; ?>
|
||||
@ -0,0 +1,46 @@
|
||||
<?
|
||||
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
|
||||
/** @var CBitrixComponent $this */
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @var string $componentPath */
|
||||
/** @var string $componentName */
|
||||
/** @var string $componentTemplate */
|
||||
/** @global CDatabase $DB */
|
||||
/** @global CUser $USER */
|
||||
/** @global CMain $APPLICATION */
|
||||
|
||||
use Bitrix\Main\Context,
|
||||
Bitrix\Main\Type\DateTime,
|
||||
Bitrix\Main\Loader,
|
||||
Bitrix\Iblock;
|
||||
|
||||
if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
||||
{
|
||||
if(CModule::IncludeModule('iblock'))
|
||||
{
|
||||
$arResult = [
|
||||
'OFFERS' => [],
|
||||
];
|
||||
|
||||
$sort = [ "SORT" => "ASC" ];
|
||||
$filter = [ "ACTIVE" => "Y", "IBLOCK_ID" => IBLOCK_ID_SPECIALS, "ID" => $arParams['IDS'] ];
|
||||
$options = false;
|
||||
|
||||
$res = CIBlockElement::GetList($sort, $filter, false, $options);
|
||||
while ($element = $res->GetNextElement())
|
||||
{
|
||||
$ar_res = $element->GetFields();
|
||||
$ar_res['PROPERTIES'] = $element->GetProperties();
|
||||
|
||||
if(isset($ar_res['PREVIEW_PICTURE']))
|
||||
{
|
||||
$ar_res['PREVIEW_PICTURE'] = CFile::GetPath($ar_res['PREVIEW_PICTURE']);
|
||||
}
|
||||
|
||||
$arResult['OFFERS'][] = $ar_res;
|
||||
}
|
||||
|
||||
$this->IncludeComponentTemplate();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
<?
|
||||
$MESS ['DEFAULT_NAME'] = "Спецпредложения для агрегационных страниц";
|
||||
$MESS ['DEFAULT_DESC'] = "Спецпредложения для агрегационных страниц";
|
||||
?>
|
||||
@ -0,0 +1,33 @@
|
||||
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @global CMain $APPLICATION */
|
||||
/** @global CUser $USER */
|
||||
/** @global CDatabase $DB */
|
||||
/** @var CBitrixComponentTemplate $this */
|
||||
/** @var string $templateName */
|
||||
/** @var string $templateFile */
|
||||
/** @var string $templateFolder */
|
||||
/** @var string $componentPath */
|
||||
/** @var CBitrixComponent $component */
|
||||
$this->setFrameMode(true);
|
||||
?>
|
||||
<?/*<h2 class="h2">Спецпредложения и акции на тракторы в лизинг</h2>*/?>
|
||||
<? if(count($arResult['OFFERS']) > 0): ?>
|
||||
|
||||
<div class="container">
|
||||
<h2 class="h2">Популярная специальная техника в лизинг</h2>
|
||||
<div class="special_list">
|
||||
<? foreach($arResult['OFFERS'] AS $offer): ?>
|
||||
<div class="special_item">
|
||||
<a href="<?= $offer['CODE']; ?>">
|
||||
<span class="special_name"><?= $offer['NAME']; ?></span>
|
||||
<img src="<?= $offer['PREVIEW_PICTURE']; ?>" alt="<?= $offer['NAME']; ?>">
|
||||
<span class="speacial_text"><?= $offer['PREVIEW_TEXT']; ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? endif; ?>
|
||||
@ -0,0 +1,86 @@
|
||||
<?
|
||||
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
|
||||
/** @var CBitrixComponent $this */
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @var string $componentPath */
|
||||
/** @var string $componentName */
|
||||
/** @var string $componentTemplate */
|
||||
/** @global CDatabase $DB */
|
||||
/** @global CUser $USER */
|
||||
/** @global CMain $APPLICATION */
|
||||
|
||||
use Bitrix\Main\Context,
|
||||
Bitrix\Main\Type\DateTime,
|
||||
Bitrix\Main\Loader,
|
||||
Bitrix\Iblock;
|
||||
|
||||
if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
||||
{
|
||||
if(CModule::IncludeModule('iblock'))
|
||||
{
|
||||
$arResult = [
|
||||
'SECTIONS' => [],
|
||||
];
|
||||
|
||||
$sort = [ "SORT" => "ASC" ];
|
||||
$filter = [ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID'] ];
|
||||
$options = false;
|
||||
|
||||
$types_ids = [];
|
||||
|
||||
if(isset($arParams['BRAND']))
|
||||
{
|
||||
$res_filter = CIBlockElement::GetList(
|
||||
[ "SORT" => "ASC" ],
|
||||
[ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID_RULES'], "PROPERTY_VEHICLE_BRAND" => $arParams['BRAND'], "!PROPERTY_VEHICLE_TYPE" => false, ],
|
||||
false, false, ['ID', 'NAME', 'PROPERTY_VEHICLE_TYPE']
|
||||
);
|
||||
while ($element_filter = $res_filter->GetNextElement())
|
||||
{
|
||||
$ar_res_filter = $element_filter->GetFields();
|
||||
array_push($types_ids, $ar_res_filter['PROPERTY_VEHICLE_TYPE_VALUE']);
|
||||
}
|
||||
|
||||
//print_r($types_ids);
|
||||
//die();
|
||||
}
|
||||
|
||||
$sec_res = CIBlockSection::GetList($sort, $filter, false, [], false);
|
||||
while ($section = $sec_res->GetNext())
|
||||
{
|
||||
if(!empty($section['PICTURE']))
|
||||
{
|
||||
$section['PICTURE'] = CFile::GetPath($section['PICTURE']);
|
||||
}
|
||||
|
||||
$section['ITEMS'] = [];
|
||||
$filter = array_merge($filter, [ "SECTION_ID" => $section['ID'] ]);
|
||||
|
||||
$res = CIBlockElement::GetList($sort, $filter, false, $options);
|
||||
while ($element = $res->GetNextElement())
|
||||
{
|
||||
$ar_res = $element->GetFields();
|
||||
|
||||
if(isset($arParams['BRAND']))
|
||||
{
|
||||
if(in_array($ar_res['ID'], $types_ids))
|
||||
{
|
||||
$section['ITEMS'][] = $ar_res;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$section['ITEMS'][] = $ar_res;
|
||||
}
|
||||
}
|
||||
|
||||
if(count($section['ITEMS']) > 0)
|
||||
{
|
||||
$arResult['SECTIONS'][] = $section;
|
||||
}
|
||||
}
|
||||
|
||||
$this->IncludeComponentTemplate();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
<?
|
||||
$MESS ['DEFAULT_NAME'] = "Агрегация видов техники";
|
||||
$MESS ['DEFAULT_DESC'] = "Агрегация видов техники";
|
||||
?>
|
||||
@ -0,0 +1,36 @@
|
||||
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @global CMain $APPLICATION */
|
||||
/** @global CUser $USER */
|
||||
/** @global CDatabase $DB */
|
||||
/** @var CBitrixComponentTemplate $this */
|
||||
/** @var string $templateName */
|
||||
/** @var string $templateFile */
|
||||
/** @var string $templateFolder */
|
||||
/** @var string $componentPath */
|
||||
/** @var CBitrixComponent $component */
|
||||
$this->setFrameMode(true);
|
||||
?>
|
||||
<? if(count($arResult['SECTIONS']) > 0): ?>
|
||||
|
||||
<div class="container">
|
||||
<h2 class="h2"><?= $arParams['TITLE']; ?></h2>
|
||||
<div class="types_grid">
|
||||
<? foreach($arResult['SECTIONS'] AS $section): ?>
|
||||
<div class="grid_item">
|
||||
<p class="h2"><?= $section['NAME']; ?></p>
|
||||
<ul>
|
||||
<? foreach($section['ITEMS'] AS $item): ?>
|
||||
<li>
|
||||
<a href="<?= $arParams['PATH']; ?><?= $item['CODE']; ?><?= isset($arParams['BRAND']) ? "/".$arParams['BRAND_SLUG']."/" : ""; ?>"><?= $item['NAME']; ?></a>
|
||||
</li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
<img src="<?= $section['PICTURE']; ?>" alt="<?= $section['NAME']; ?>"/>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? endif; ?>
|
||||
193
local/components/evolution/programs.aggregations/component.php
Normal file
193
local/components/evolution/programs.aggregations/component.php
Normal file
@ -0,0 +1,193 @@
|
||||
<?
|
||||
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
|
||||
/** @var CBitrixComponent $this */
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @var string $componentPath */
|
||||
/** @var string $componentName */
|
||||
/** @var string $componentTemplate */
|
||||
/** @global CDatabase $DB */
|
||||
/** @global CUser $USER */
|
||||
/** @global CMain $APPLICATION */
|
||||
|
||||
use Bitrix\Main\Context,
|
||||
Bitrix\Main\Type\DateTime,
|
||||
Bitrix\Main\Loader,
|
||||
Bitrix\Iblock;
|
||||
|
||||
if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
||||
{
|
||||
if(CModule::IncludeModule('iblock'))
|
||||
{
|
||||
$sort = [ "SORT" => "ASC" ];
|
||||
$filter = [ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID_RULES'], ];
|
||||
$options = false;
|
||||
|
||||
$brand = null;
|
||||
$brand_name = null;
|
||||
$brand_slug = null;
|
||||
|
||||
$type = null;
|
||||
$type_name = null;
|
||||
$type_plural = null;
|
||||
$type_genitive = null;
|
||||
$type_slug = null;
|
||||
|
||||
if(isset($_REQUEST['TYPE']) && isset($_REQUEST['BRAND']))
|
||||
{
|
||||
$res_type = CIBlockElement::GetList(
|
||||
[ "SORT" => "ASC" ],
|
||||
[ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID_PROGRAMS_AGGREGATION'], "CODE" => $_REQUEST['TYPE'], ],
|
||||
false, false
|
||||
);
|
||||
|
||||
while ($element_type = $res_type->GetNextElement())
|
||||
{
|
||||
$ar_res_type = $element_type->GetFields();
|
||||
$ar_res_type['PROPERTIES'] = $element_type->GetProperties();
|
||||
|
||||
$type = $ar_res_type['ID'];
|
||||
$type_name = $ar_res_type['NAME'];
|
||||
$type_plural = $ar_res_type['PROPERTIES']['PLURAL_NAME']['VALUE'];
|
||||
$type_genitive = $ar_res_type['PROPERTIES']['GENITIVE_NAME']['VALUE'];
|
||||
$type_slug = $ar_res_type['CODE'];
|
||||
$type_gender = $ar_res_type['PROPERTIES']['NAME_GENDER']['VALUE_XML_ID'];
|
||||
}
|
||||
|
||||
$res_brand = CIBlockElement::GetList(
|
||||
[ "SORT" => "ASC" ],
|
||||
[ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID_PROGRAMS_AGGREGATION_BRANDS'], "CODE" => $_REQUEST['BRAND'], ],
|
||||
false, false
|
||||
);
|
||||
|
||||
while ($element_brand = $res_brand->GetNextElement())
|
||||
{
|
||||
$ar_res_brand = $element_brand->GetFields();
|
||||
$brand = $ar_res_brand['ID'];
|
||||
$brand_name = $ar_res_brand['NAME'];
|
||||
$brand_slug = $ar_res_brand['CODE'];
|
||||
}
|
||||
}
|
||||
elseif(isset($_REQUEST['CHUNK']))
|
||||
{
|
||||
$res_type = CIBlockElement::GetList(
|
||||
[ "SORT" => "ASC" ],
|
||||
[ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID_PROGRAMS_AGGREGATION'], "CODE" => $_REQUEST['CHUNK'], ],
|
||||
false, false
|
||||
);
|
||||
|
||||
while ($element_type = $res_type->GetNextElement())
|
||||
{
|
||||
$ar_res_type = $element_type->GetFields();
|
||||
$ar_res_type['PROPERTIES'] = $element_type->GetProperties();
|
||||
|
||||
$type = $ar_res_type['ID'];
|
||||
$type_name = $ar_res_type['NAME'];
|
||||
$type_plural = $ar_res_type['PROPERTIES']['PLURAL_NAME']['VALUE'];
|
||||
$type_genitive = $ar_res_type['PROPERTIES']['GENITIVE_NAME']['VALUE'];
|
||||
$type_slug = $ar_res_type['CODE'];
|
||||
$type_gender = $ar_res_type['PROPERTIES']['NAME_GENDER']['VALUE_XML_ID'];
|
||||
}
|
||||
|
||||
$res_brand = CIBlockElement::GetList(
|
||||
[ "SORT" => "ASC" ],
|
||||
[ "ACTIVE" => "Y", "IBLOCK_ID" => $arParams['IBLOCK_ID_PROGRAMS_AGGREGATION_BRANDS'], "CODE" => $_REQUEST['CHUNK'], ],
|
||||
false, false
|
||||
);
|
||||
|
||||
while ($element_brand = $res_brand->GetNextElement())
|
||||
{
|
||||
$ar_res_brand = $element_brand->GetFields();
|
||||
$brand = $ar_res_brand['ID'];
|
||||
$brand_name = $ar_res_brand['NAME'];
|
||||
$brand_slug = $ar_res_brand['CODE'];
|
||||
}
|
||||
}
|
||||
|
||||
if($type !== null)
|
||||
{
|
||||
$filter['PROPERTY_VEHICLE_TYPE'] = $type;
|
||||
}
|
||||
else
|
||||
{
|
||||
$filter['PROPERTY_VEHICLE_TYPE'] = false;
|
||||
}
|
||||
|
||||
if($brand !== null)
|
||||
{
|
||||
$filter['PROPERTY_VEHICLE_BRAND'] = $brand;
|
||||
}
|
||||
else
|
||||
{
|
||||
$filter['PROPERTY_VEHICLE_BRAND'] = false;
|
||||
}
|
||||
|
||||
$res = CIBlockElement::GetList($sort, $filter, false, $options);
|
||||
//print_r($filter);
|
||||
while ($element = $res->GetNextElement())
|
||||
{
|
||||
$ar_res = $element->GetFields();
|
||||
$ar_res['PROPERTIES'] = $element->GetProperties();
|
||||
|
||||
$arResult = $ar_res;
|
||||
$arResult['BANNER'] = CFile::GetPath($ar_res['PREVIEW_PICTURE']);
|
||||
$arResult['DETAIL_PICTURE'] = CFile::GetPath($ar_res['DETAIL_PICTURE']);
|
||||
|
||||
$arResult['BRAND'] = $brand;
|
||||
$arResult['BRAND_NAME'] = $brand_name;
|
||||
$arResult['BRAND_SLUG'] = $brand_slug;
|
||||
|
||||
$arResult['TYPE'] = $type;
|
||||
$arResult['TYPE_PLURAL'] = $type_plural;
|
||||
$arResult['TYPE_GENITIVE'] = $type_genitive;
|
||||
}
|
||||
|
||||
$APPLICATION->AddChainItem($arParams['TITLE'], "/programs/special/");
|
||||
$APPLICATION->SetPageProperty("title", "Лизинг ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." для юридических лиц и ИП в Москве - купить новую ".mb_strtolower($arParams['SHORT_TITLE_ACCUSATIVE'])." в лизинг | Эволюция");
|
||||
$APPLICATION->SetPageProperty("keywords", "Новая ".mb_strtolower($arParams['SHORT_TITLE'])." в лизинг для юридических лиц и ИП в Москве и в других регионах России. Вы можете купить ".mb_strtolower($arParams['SHORT_TITLE_ACCUSATIVE'])." в лизинг от официальных дилеров на выгодных условиях со скидкой. Телефон горячей линии 8 (800) 333-75-75 - звонок по России бесплатный.");
|
||||
$APPLICATION->SetPageProperty("description", "".$arParams['SHORT_TITLE']." в лизинг, лизинг ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." для юридических лиц, лизинг ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." для ип");
|
||||
|
||||
if(empty($arResult['NAME'])) { define('ERROR_404', 'Y'); }
|
||||
else
|
||||
{
|
||||
if($type !== null)
|
||||
{
|
||||
$APPLICATION->SetPageProperty("title", "".$type_plural." в лизинг для юридических лиц и ИП в Москве - купить ".($type_gender === "M" ? "новый" : ($type_gender === "F" ? "новую" : "новые" ))." ".$type_name." в лизинг | Эволюция");
|
||||
$APPLICATION->SetPageProperty("keywords", "Новые ".mb_strtolower($type_plural)." в лизинг для юридических лиц и ИП в Москве и в других регионах России. Вы можете купить ".$type_name." в лизинг от официальных дилеров на выгодных условиях со скидкой. Телефон горячей линии 8 (800) 333-75-75 - звонок по России бесплатный.");
|
||||
$APPLICATION->SetPageProperty("description", "".$type_plural." в лизинг, купить ".$type_name." в лизинг, ".$type_name." в лизинг для юридических лиц, ".$type_name." в лизинг для ип");
|
||||
|
||||
$APPLICATION->AddChainItem($type_name, "/programs/special/".$type_slug."/");
|
||||
if($brand !== null)
|
||||
{
|
||||
$APPLICATION->AddChainItem($brand_name, "/programs/special/".$type_slug."/".$brand_slug."/");
|
||||
|
||||
$APPLICATION->SetPageProperty("title", "".$type_plural." ".$brand_name." в лизинг для юридических лиц и ИП в Москве - купить ".($type_gender === "M" ? "новый" : ($type_gender === "F" ? "новую" : "новые" ))." ".$type_name." ".$brand_name." в лизинг | Эволюция");
|
||||
$APPLICATION->SetPageProperty("keywords", "Новые ".mb_strtolower($type_plural)." ".$brand_name." в лизинг для юридических лиц и ИП в Москве и в других регионах России. Вы можете купить ".$type_name." ".$brand_name." в лизинг от официальных дилеров на выгодных условиях со скидкой. Телефон горячей линии 8 (800) 333-75-75 - звонок по России бесплатный.");
|
||||
$APPLICATION->SetPageProperty("description", "".$type_plural." ".$brand_name." в лизинг, купить ".$type_name." ".$brand_name." в лизинг, ".$type_name." ".$brand_name." в лизинг для юридических лиц, ".$type_name." ".$brand_name." в лизинг для ип");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if($brand !== null)
|
||||
{
|
||||
$APPLICATION->AddChainItem($brand_name, "/programs/special/".$brand_slug."/");
|
||||
|
||||
$APPLICATION->SetPageProperty("title", "".$arParams['SHORT_TITLE']." ".$brand_name." в лизинг для юридических лиц и ИП в Москве - купить новую ".mb_strtolower($arParams['SHORT_TITLE_ACCUSATIVE'])." ".$brand_name." в лизинг | Эволюция");
|
||||
$APPLICATION->SetPageProperty("keywords", "Новая ".mb_strtolower($arParams['SHORT_TITLE'])." ".$brand_name." в лизинг для юридических лиц и ИП в Москве и в других регионах России. Вы можете купить ".mb_strtolower($arParams['SHORT_TITLE_ACCUSATIVE'])." ".$brand_name." в лизинг от официальных дилеров на выгодных условиях со скидкой. Телефон горячей линии 8 (800) 333-75-75 - звонок по России бесплатный.");
|
||||
$APPLICATION->SetPageProperty("description", "".$brand_name." в лизинг, купить ".$brand_name." в лизинг, ".$brand_name." в лизинг для юридических лиц, ".$brand_name." в лизинг для ип, ".mb_strtolower($arParams['SHORT_TITLE'])." ".$brand_name." в лизинг");
|
||||
}
|
||||
}
|
||||
|
||||
$ipropValues = new \Bitrix\Iblock\InheritedProperty\ElementValues($arResult['IBLOCK_ID'], $arResult["ID"]);
|
||||
$meta = $ipropValues->getValues();
|
||||
|
||||
// $APPLICATION->SetPageProperty("title", $meta['ELEMENT_META_TITLE']);
|
||||
// $APPLICATION->SetPageProperty("keywords", $meta['ELEMENT_META_KEYWORDS']);
|
||||
// $APPLICATION->SetPageProperty("description", $meta['ELEMENT_META_DESCRIPTION']);
|
||||
|
||||
// $APPLICATION->AddHeadString('<link rel="canonical" href="'.$ar_res['CANONICAL_PAGE_URL'].'"/>');
|
||||
}
|
||||
|
||||
$this->IncludeComponentTemplate();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
<?
|
||||
$MESS ['DEFAULT_NAME'] = "Агрегационная страница для техники";
|
||||
$MESS ['DEFAULT_DESC'] = "Агрегационная страница для техники";
|
||||
?>
|
||||
@ -0,0 +1,221 @@
|
||||
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
|
||||
/** @var array $arParams */
|
||||
/** @var array $arResult */
|
||||
/** @global CMain $APPLICATION */
|
||||
/** @global CUser $USER */
|
||||
/** @global CDatabase $DB */
|
||||
/** @var CBitrixComponentTemplate $this */
|
||||
/** @var string $templateName */
|
||||
/** @var string $templateFile */
|
||||
/** @var string $templateFolder */
|
||||
/** @var string $componentPath */
|
||||
/** @var CBitrixComponent $component */
|
||||
$this->setFrameMode(true);
|
||||
?>
|
||||
<?
|
||||
$title = $arResult['NAME'];
|
||||
$rules_title = "Условия лизинга ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])."";
|
||||
|
||||
if($arResult['BRAND'] !== null)
|
||||
{
|
||||
if($arResult['TYPE'] !== null)
|
||||
{
|
||||
$title = "<mark>".$arResult['NAME']."</mark> в лизинг для юридических лиц и ИП";
|
||||
$rules_title = "Условия лизинга ".mb_strtolower($arResult['TYPE_GENITIVE'])." ".$arResult['BRAND_NAME'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$title = $arParams['SHORT_TITLE']." <mark>".$arResult['NAME']."</mark> в лизинг для юридических лиц и ИП";
|
||||
$rules_title = "Условия лизинга ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." ".mb_strtolower($arResult['TYPE_GENITIVE']);
|
||||
}
|
||||
}
|
||||
elseif($arResult['TYPE'] !== null)
|
||||
{
|
||||
$title = "<mark>".$arResult['NAME']."</mark> в лизинг для юридических лиц и ИП";
|
||||
$rules_title = "Условия лизинга ".mb_strtolower($arResult['TYPE_GENITIVE']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$title = "<mark>".$arResult['NAME']."</mark> ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." для юридических лиц и ИП";
|
||||
$rules_title = "Условия лизинга ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE']);
|
||||
}
|
||||
?>
|
||||
<section data-page="services">
|
||||
<div class="container">
|
||||
<div class="content_header">
|
||||
<div>
|
||||
<h1 class="section_title"><?= $title; ?></h1>
|
||||
</div>
|
||||
<img src="<?= $arResult['BANNER']; ?>" alt="<?= strip_tags($title); ?>">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<? if(is_array($arResult['PROPERTIES']['BENEFITS']['~VALUE']) && count($arResult['PROPERTIES']['BENEFITS']['~VALUE']) > 0): ?>
|
||||
<section class="gray">
|
||||
<div class="container">
|
||||
<div class="leasing_offers_list leasing_offers_list--no_margin">
|
||||
<? foreach($arResult['PROPERTIES']['BENEFITS']['~VALUE'] AS $benefits): ?>
|
||||
<div class="offer_item no_padding">
|
||||
<?= $benefits['TEXT']; ?>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<? endif; ?>
|
||||
|
||||
<section class="blue">
|
||||
<div class="container">
|
||||
<div class="leasing_offers_list leasing_offers_list--white">
|
||||
<? if(is_array($arResult['PROPERTIES']['POSSIBILITIES']['~VALUE']) && count($arResult['PROPERTIES']['POSSIBILITIES']['~VALUE']) > 0): ?>
|
||||
<? foreach($arResult['PROPERTIES']['POSSIBILITIES']['~VALUE'] AS $possibilities): ?>
|
||||
<div class="offer_item no_padding">
|
||||
<?= $possibilities['TEXT']; ?>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<div class="offer_item no_padding">
|
||||
<a href="#order" class="button">Отправить заявку</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<? if(!empty($arResult['DETAIL_TEXT'])): ?>
|
||||
<? if(isset($arResult['TYPE']) && isset(($arResult['BRAND']))): ?>
|
||||
<section>
|
||||
<div class="container">
|
||||
<h2 class="h2">Преимущества <?= mb_strtolower($arResult['TYPE_GENITIVE']); ?> <?= $arResult['BRAND_NAME']; ?></h2>
|
||||
<div class="content_columns">
|
||||
<div class="column">
|
||||
<?= $arResult['DETAIL_TEXT']; ?>
|
||||
</div>
|
||||
<div class="column">
|
||||
<img src="<?= $arResult['DETAIL_PICTURE']; ?>" alt="<?= $arResult['NAME']; ?>"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<section data-page="aggregation">
|
||||
<?
|
||||
$APPLICATION->IncludeComponent(
|
||||
"evolution:programs.aggregations.offers.list",
|
||||
"",
|
||||
[
|
||||
"IDS" => $arResult['PROPERTIES']['OFFERS']['VALUE'],
|
||||
]
|
||||
);
|
||||
?>
|
||||
|
||||
<? if(isset($arResult['BRAND']) && !isset($arResult['TYPE'])): ?>
|
||||
<?
|
||||
$APPLICATION->IncludeComponent(
|
||||
"evolution:programs.aggregations.types",
|
||||
"",
|
||||
[
|
||||
"IBLOCK_ID" => $arParams['IBLOCK_ID_PROGRAMS_AGGREGATION'],
|
||||
"TITLE" => "Виды ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." ".$arResult['BRAND_NAME']." в лизинг",
|
||||
"IBLOCK_ID_RULES" => $arParams['IBLOCK_ID_RULES'],
|
||||
"BRAND" => $arResult['BRAND'],
|
||||
"BRAND_SLUG" => $arResult['BRAND_SLUG'],
|
||||
"PATH" => "/programs/".$arParams['PATH']."/",
|
||||
]
|
||||
);
|
||||
?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if(is_array($arResult['PROPERTIES']['RULES']['~VALUE']) && count($arResult['PROPERTIES']['RULES']['~VALUE']) > 0): ?>
|
||||
|
||||
<div class="container">
|
||||
<h2 class="h2"><?= $rules_title; ?></h2>
|
||||
<div class="info_list">
|
||||
<? foreach($arResult['PROPERTIES']['RULES']['~VALUE'] AS $rules): ?>
|
||||
<?= $rules['TEXT']; ?>
|
||||
<? endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? endif; ?>
|
||||
|
||||
<?
|
||||
$APPLICATION->IncludeComponent(
|
||||
"evolution:programs.aggregations.types",
|
||||
"",
|
||||
[
|
||||
"IBLOCK_ID" => $arParams['IBLOCK_ID_PROGRAMS_AGGREGATION'],
|
||||
"TITLE" => "Виды ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." в лизинг",
|
||||
"PATH" => "/programs/".$arParams['PATH']."/",
|
||||
]
|
||||
);
|
||||
?>
|
||||
|
||||
<?
|
||||
$APPLICATION->IncludeComponent(
|
||||
"evolution:programs.aggregations.brands.list",
|
||||
"",
|
||||
[
|
||||
"IBLOCK_ID" => $arParams['IBLOCK_ID_PROGRAMS_AGGREGATION_BRANDS'],
|
||||
"TITLE" => isset($arResult['TYPE'])
|
||||
? (isset($arResult['BRAND']) ? "Рекомендуем производителей ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." в лизинг" : "Выберите производителя для просмотра каталога ".mb_strtolower($arResult['TYPE_GENITIVE']))
|
||||
: "Бренды ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." в лизинг",
|
||||
"TYPE" => isset($arResult['BRAND']) ? null : $arResult['TYPE'],
|
||||
"PATH" => "/programs/".$arParams['PATH']."/",
|
||||
]
|
||||
);
|
||||
?>
|
||||
|
||||
<? $APPLICATION->IncludeComponent(
|
||||
"evolution:calculator",
|
||||
"",
|
||||
Array(
|
||||
"car_price" => 2500000,
|
||||
"initial_payment" => 20,
|
||||
"lease_period" => 36,
|
||||
"redemption_payment" => 5,
|
||||
"CAR_PRICE_MIN" => 500000,
|
||||
"CAR_PRICE_MAX" => 30000000,
|
||||
"INITIAL_PAYMENT_MIN" => 5,
|
||||
"INITIAL_PAYMENT_MAX" => 50,
|
||||
"LEASE_PERIOD_MIN" => 13,
|
||||
"LEASE_PERIOD_MAX" => 60,
|
||||
"REDEMPTION_PAYMENT_MIN" => 1,
|
||||
"REDEMPTION_PAYMENT_MAX" => 5,
|
||||
"TITLE" =>
|
||||
isset($arResult['TYPE']) && isset($arResult['BRAND'])
|
||||
? "Калькулятор лизинга ".mb_strtolower($arResult['TYPE_GENITIVE'])." ".$arResult['BRAND_NAME']
|
||||
: (isset($arResult['BRAND'])
|
||||
? "Калькулятор лизинга ".mb_strtolower($arParams['SHORT_TITLE_GENITIVE'])." ".$arResult['BRAND_NAME']
|
||||
: "Калькулятор расчета лизинга"
|
||||
),
|
||||
)
|
||||
); ?>
|
||||
|
||||
<? if(!isset($arResult['TYPE']) || !isset(($arResult['BRAND']))): ?>
|
||||
|
||||
<div class="container">
|
||||
<h2 class="h2">Преимущества работы с компанией “Эволюция”</h2>
|
||||
<div class="content_columns">
|
||||
<div class="column">
|
||||
<p>Таким образом, внедрение современных методик требует определения и уточнения новых предложений! В рамках спецификации современных стандартов, действия представителей оппозиции, инициированные исключительно синтетически, преданы социально-демократической анафеме.</p>
|
||||
<p>Однозначно, ключевые особенности структуры проекта лишь добавляют фракционных разногласий и объективно рассмотрены соответствующими инстанциями. Не следует, однако, забывать, что разбавленное изрядной долей эмпатии, рациональное мышление выявляет срочную потребность дальнейших направлений развития.</p>
|
||||
<p>Однозначно, акционеры крупнейших компаний, вне зависимости от их уровня, должны быть в равной степени предоставлены сами себе. Безусловно, понимание сути ресурсосберегающих технологий однозначно фиксирует необходимость стандартных подходов. Современные технологии достигли такого уровня, что начало повседневной работы по формированию позиции создаёт необходимость включения в производственный план целого ряда внеочередных мероприятий с учётом комплекса благоприятных перспектив.</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<img src="/images/thumb_content.jpg" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? endif; ?>
|
||||
</section>
|
||||
<?
|
||||
$APPLICATION->IncludeComponent(
|
||||
"evolution:form.leasing",
|
||||
"",
|
||||
[],
|
||||
);
|
||||
?>
|
||||
@ -22,6 +22,9 @@ main {
|
||||
main section.gray {
|
||||
background: var(--inactive);
|
||||
}
|
||||
main section.blue {
|
||||
background: var(--blue);
|
||||
}
|
||||
main .title_wrapper {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -1362,18 +1365,28 @@ main .special_list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 80px 0;
|
||||
}
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
main .special_list {
|
||||
gap: 40px 0;
|
||||
}
|
||||
}
|
||||
@media all and (max-width: 1279px) {
|
||||
main .special_list {
|
||||
gap: 30px 0;
|
||||
}
|
||||
}
|
||||
main .special_list .special_item {
|
||||
position: relative;
|
||||
width: calc(50% - 18px);
|
||||
min-width: calc(50% - 18px);
|
||||
margin-bottom: 80px;
|
||||
margin-bottom: 0px;
|
||||
min-height: 310px;
|
||||
}
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
main .special_list .special_item {
|
||||
min-height: 270px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
}
|
||||
main .special_list .special_item a {
|
||||
@ -1485,7 +1498,7 @@ main .special_list .special_item img {
|
||||
main .special_list .special_item {
|
||||
width: calc(50% - 15px);
|
||||
min-width: calc(50% - 15px);
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
main .special_list .special_item a {
|
||||
padding: 30px 0 0 0;
|
||||
@ -3126,23 +3139,47 @@ article #choose_region {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
gap: 0 30px;
|
||||
}
|
||||
.leasing_offers_list .offer_item {
|
||||
width: calc(33.333% - 20px);
|
||||
padding-left: 80px;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.leasing_offers_list .offer_item:not(.no_padding) {
|
||||
padding-left: 80px;
|
||||
}
|
||||
.leasing_offers_list .offer_item p {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.leasing_offers_list .offer_item p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.leasing_offers_list .offer_item .button {
|
||||
width: 100%;
|
||||
max-width: 350px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.leasing_offers_list .offer_item big {
|
||||
color: var(--blue);
|
||||
}
|
||||
.leasing_offers_list .offer_item img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.leasing_offers_list .offer_item ul li:not(:last-child) {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.leasing_offers_list .offer_item big {
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
font-size: 34px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.leasing_offers_list .offer_item big {
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
.leasing_offers_list {
|
||||
margin-top: 35px;
|
||||
@ -3152,15 +3189,14 @@ article #choose_region {
|
||||
.leasing_offers_list {
|
||||
flex-wrap: wrap;
|
||||
margin-top: 50px;
|
||||
gap: 20px 40px;
|
||||
}
|
||||
.leasing_offers_list .offer_item {
|
||||
width: 50%;
|
||||
padding-left: 52px;
|
||||
width: calc(50% - 45px);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.leasing_offers_list .offer_item:last-child {
|
||||
width: auto;
|
||||
margin-top: 30px;
|
||||
.leasing_offers_list .offer_item:not(.no_padding) {
|
||||
padding-left: 52px;
|
||||
}
|
||||
.leasing_offers_list .offer_item img {
|
||||
width: 32px;
|
||||
@ -3178,6 +3214,19 @@ article #choose_region {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.leasing_offers_list--no_margin {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
.leasing_offers_list--white {
|
||||
margin-top: 0;
|
||||
}
|
||||
.leasing_offers_list--white .offer_item {
|
||||
padding-left: 0;
|
||||
color: #fff;
|
||||
}
|
||||
.leasing_offers_list--white .offer_item big {
|
||||
color: #fff;
|
||||
}
|
||||
.catalog_sort {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -6267,3 +6316,248 @@ main .dropdown_blocks_list .dropdown_block .block_body .transaction_detail ul li
|
||||
.chat21-window.chat21-sheet {
|
||||
width: 376px !important;
|
||||
}
|
||||
.content_columns {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0 30px;
|
||||
margin: 10px 0 10px 0;
|
||||
}
|
||||
.content_columns .column {
|
||||
width: 50%;
|
||||
}
|
||||
.content_columns .column p:not(:last-child) {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.content_columns .column img {
|
||||
width: 100%;
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.content_columns {
|
||||
flex-wrap: wrap;
|
||||
gap: 15px 0;
|
||||
}
|
||||
.content_columns .column {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.types_grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 60px 30px;
|
||||
margin: 30px 0;
|
||||
}
|
||||
.types_grid .grid_item {
|
||||
width: calc(50% - 15px);
|
||||
padding: 25px 20px;
|
||||
background: var(--inactive);
|
||||
position: relative;
|
||||
}
|
||||
.types_grid .grid_item .h2 {
|
||||
max-width: 65%;
|
||||
}
|
||||
.types_grid .grid_item ul {
|
||||
column-count: 2;
|
||||
break-inside: avoid;
|
||||
max-width: 65%;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.types_grid .grid_item ul li {
|
||||
margin-bottom: 8px;
|
||||
word-break: break-word;
|
||||
}
|
||||
.types_grid .grid_item ul li a {
|
||||
color: #0C0C0C;
|
||||
}
|
||||
.types_grid .grid_item ul li a:hover {
|
||||
color: var(--blue);
|
||||
}
|
||||
.types_grid .grid_item img {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
@media all and (max-width: 1279px) {
|
||||
.types_grid .grid_item img {
|
||||
height: 65%;
|
||||
top: auto;
|
||||
}
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.types_grid {
|
||||
gap: 20px 0;
|
||||
}
|
||||
.types_grid .grid_item {
|
||||
width: 100%;
|
||||
}
|
||||
.types_grid .grid_item .h2 {
|
||||
max-width: 100%;
|
||||
font-size: 18px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.types_grid .grid_item img {
|
||||
top: auto;
|
||||
height: 55%;
|
||||
}
|
||||
}
|
||||
.logos_list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 30px 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.logos_list .list_item {
|
||||
border: 1px solid var(--inactive);
|
||||
margin: 0px 0px -1px -1px;
|
||||
width: 20%;
|
||||
}
|
||||
@media all and (min-width: 768px) {
|
||||
.logos_list .list_item:nth-child(5n) {
|
||||
border-right: 0;
|
||||
}
|
||||
.logos_list .list_item:nth-child(-n+5) {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.logos_list .list_item {
|
||||
width: 50%;
|
||||
}
|
||||
.logos_list .list_item:nth-child(1),
|
||||
.logos_list .list_item:nth-child(2) {
|
||||
border-top: 0;
|
||||
}
|
||||
.logos_list .list_item:nth-child(2n) {
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
.logos_list .list_item a {
|
||||
padding: 30px 20px;
|
||||
display: block;
|
||||
}
|
||||
.logos_list .list_item a img {
|
||||
display: block;
|
||||
height: 60px;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
margin: auto;
|
||||
}
|
||||
.logos_list .list_item.other_item {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.logos_list .list_item.other_item a {
|
||||
color: var(--blue);
|
||||
background: var(--inactive);
|
||||
font-weight: 600;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.info_list {
|
||||
display: flex;
|
||||
gap: 0 30px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.info_list .list_item {
|
||||
width: 100%;
|
||||
background: var(--green);
|
||||
padding: 24px;
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.info_list .list_item {
|
||||
padding: 15px;
|
||||
}
|
||||
}
|
||||
.info_list .list_item svg,
|
||||
.info_list .list_item img {
|
||||
margin-bottom: 16px;
|
||||
display: block;
|
||||
}
|
||||
@media all and (max-width: 960px) {
|
||||
.info_list .list_item svg,
|
||||
.info_list .list_item img {
|
||||
margin-bottom: 8px;
|
||||
max-width: 38px;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.info_list .list_item p,
|
||||
.info_list .list_item ul {
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
}
|
||||
.info_list .list_item p.h2,
|
||||
.info_list .list_item ul.h2,
|
||||
.info_list .list_item p.h3,
|
||||
.info_list .list_item ul.h3 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
@media all and (max-width: 960px) {
|
||||
.info_list .list_item p,
|
||||
.info_list .list_item ul {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
.info_list .list_item ul li:before {
|
||||
background: #fff;
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.info_list {
|
||||
flex-wrap: wrap;
|
||||
gap: 20px 0;
|
||||
}
|
||||
}
|
||||
.content_header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0 50px;
|
||||
position: relative;
|
||||
}
|
||||
.content_header:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
left: calc(50% - 200px);
|
||||
top: 80px;
|
||||
bottom: 80px;
|
||||
right: -100%;
|
||||
background: var(--inactive);
|
||||
}
|
||||
@media all and (max-width: 1200px) {
|
||||
.content_header:after {
|
||||
top: 15%;
|
||||
bottom: 15%;
|
||||
}
|
||||
}
|
||||
.content_header div,
|
||||
.content_header img {
|
||||
width: 50%;
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.content_header {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.content_header:after {
|
||||
width: 182px;
|
||||
left: auto;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 50px;
|
||||
z-index: -1;
|
||||
}
|
||||
.content_header div,
|
||||
.content_header img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,6 +25,10 @@ main {
|
||||
&.gray {
|
||||
background: var(--inactive);
|
||||
}
|
||||
|
||||
&.blue {
|
||||
background: var(--blue);
|
||||
}
|
||||
}
|
||||
|
||||
.title_wrapper {
|
||||
@ -1238,17 +1242,26 @@ main {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 80px 0;
|
||||
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
gap: 40px 0;
|
||||
}
|
||||
|
||||
@media all and (max-width: 1279px) {
|
||||
gap: 30px 0;
|
||||
}
|
||||
|
||||
|
||||
.special_item {
|
||||
position: relative;
|
||||
width: calc(50% - 18px);
|
||||
min-width: calc(50% - 18px);
|
||||
margin-bottom: 80px;
|
||||
margin-bottom: 0px;
|
||||
min-height: 310px;
|
||||
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
min-height: 270px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
a {
|
||||
@ -1378,7 +1391,7 @@ main {
|
||||
@media all and (max-width: 1279px) {
|
||||
width: calc(50% - 15px);
|
||||
min-width: calc(50% - 15px);
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 0px;
|
||||
|
||||
a {
|
||||
padding: 30px 0 0 0;
|
||||
@ -3355,18 +3368,37 @@ article #choose_region {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
gap: 0 30px;
|
||||
|
||||
.offer_item {
|
||||
width: calc(33.333% - 20px);
|
||||
padding-left: 80px;
|
||||
//width: calc(33.333% - 20px);
|
||||
width: 100%;
|
||||
position: relative;
|
||||
|
||||
&:not(.no_padding) {
|
||||
padding-left: 80px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 15px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 100%;
|
||||
max-width: 350px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
big {
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
//position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
@ -3378,6 +3410,17 @@ article #choose_region {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
big {
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
font-size: 34px;
|
||||
line-height: 1.3;
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
@ -3387,15 +3430,15 @@ article #choose_region {
|
||||
@media all and (max-width: 1279px) {
|
||||
flex-wrap: wrap;
|
||||
margin-top: 50px;
|
||||
gap: 20px 40px;
|
||||
|
||||
.offer_item {
|
||||
width: 50%;
|
||||
padding-left: 52px;
|
||||
width: calc(50% - 45px);
|
||||
|
||||
margin-bottom: 0;
|
||||
|
||||
&:last-child {
|
||||
width: auto;
|
||||
margin-top: 30px;
|
||||
&:not(.no_padding) {
|
||||
padding-left: 52px;
|
||||
}
|
||||
|
||||
img {
|
||||
@ -3417,6 +3460,23 @@ article #choose_region {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--no_margin {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
&--white {
|
||||
margin-top: 0;
|
||||
|
||||
.offer_item {
|
||||
padding-left: 0;
|
||||
color: #fff;
|
||||
|
||||
big {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Сортировка
|
||||
@ -6740,17 +6800,17 @@ main .dropdown_blocks_list .dropdown_block .block_body {
|
||||
}
|
||||
|
||||
#chat21-launcher-button circle {
|
||||
fill: #1c01a9 !important;
|
||||
fill: #1c01a9 !important;
|
||||
}
|
||||
|
||||
#chat21-launcher-button {
|
||||
bottom: -5px !important;
|
||||
bottom: -5px !important;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1279px) {
|
||||
#chat21-launcher-button {
|
||||
bottom: 69px !important;
|
||||
}
|
||||
#chat21-launcher-button {
|
||||
bottom: 69px !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Виджет AutoFaq
|
||||
@ -6768,7 +6828,7 @@ main .dropdown_blocks_list .dropdown_block .block_body {
|
||||
font-family: 'Montserrat', sans-serif !important;
|
||||
}
|
||||
|
||||
.chat21-sheet-header{
|
||||
.chat21-sheet-header {
|
||||
box-shadow: none !important;
|
||||
webkit-box-shadow: none !important;
|
||||
}
|
||||
@ -6778,7 +6838,7 @@ main .dropdown_blocks_list .dropdown_block .block_body {
|
||||
}
|
||||
|
||||
#chat21-launcher-button image {
|
||||
display:none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.chat-21-channels-list-item {
|
||||
@ -6789,19 +6849,297 @@ main .dropdown_blocks_list .dropdown_block .block_body {
|
||||
// Ниже этой линии фикс ширины для публичной части
|
||||
#chat21-launcher-button circle {
|
||||
fill: #1c01a9 !important;
|
||||
}
|
||||
#chat21-launcher-button
|
||||
{
|
||||
bottom: -5px !important;
|
||||
margin-right: -10px !important;
|
||||
}
|
||||
@media screen and (max-width: 1279px) {
|
||||
}
|
||||
|
||||
#chat21-launcher-button {
|
||||
bottom: 69px !important;
|
||||
margin-right: -10px !important;
|
||||
bottom: -5px !important;
|
||||
margin-right: -10px !important;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1279px) {
|
||||
#chat21-launcher-button {
|
||||
bottom: 69px !important;
|
||||
margin-right: -10px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.chat21-window.chat21-sheet {
|
||||
width: 376px !important;
|
||||
}
|
||||
width: 376px !important;
|
||||
}
|
||||
|
||||
// Закончили упражнение с виджетом AutoFaq
|
||||
|
||||
.content_columns {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0 30px;
|
||||
margin: 10px 0 10px 0;
|
||||
|
||||
.column {
|
||||
width: 50%;
|
||||
|
||||
p:not(:last-child) {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
flex-wrap: wrap;
|
||||
gap: 15px 0;
|
||||
|
||||
.column {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.types_grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 60px 30px;
|
||||
margin: 30px 0;
|
||||
|
||||
.grid_item {
|
||||
width: calc(50% - 15px);
|
||||
padding: 25px 20px;
|
||||
background: var(--inactive);
|
||||
position: relative;
|
||||
|
||||
.h2 {
|
||||
max-width: 65%;
|
||||
|
||||
}
|
||||
|
||||
ul {
|
||||
column-count: 2;
|
||||
break-inside: avoid;
|
||||
max-width: 65%;
|
||||
margin-top: 12px;
|
||||
|
||||
li {
|
||||
margin-bottom: 8px;
|
||||
word-break: break-word;
|
||||
|
||||
a {
|
||||
color: #0C0C0C;
|
||||
|
||||
&:hover {
|
||||
color: var(--blue);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
|
||||
@media all and (max-width: 1279px) {
|
||||
height: 65%;
|
||||
top: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
gap: 20px 0;
|
||||
|
||||
.grid_item {
|
||||
width: 100%;
|
||||
|
||||
.h2 {
|
||||
max-width: 100%;
|
||||
font-size: 18px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
img {
|
||||
top: auto;
|
||||
height: 55%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.logos_list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 30px 0;
|
||||
overflow: hidden;
|
||||
|
||||
.list_item {
|
||||
border: 1px solid var(--inactive);
|
||||
margin: 0px 0px -1px -1px;
|
||||
width: 20%;
|
||||
|
||||
@media all and (min-width: 768px) {
|
||||
&:nth-child(5n) {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
&:nth-child(-n+5) {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
width: 50%;
|
||||
|
||||
&:nth-child(1),
|
||||
&:nth-child(2) {
|
||||
border-top: 0;
|
||||
;
|
||||
}
|
||||
|
||||
&:nth-child(2n) {
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 30px 20px;
|
||||
display: block;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
height: 60px;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&.other_item {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
a {
|
||||
color: var(--blue);
|
||||
background: var(--inactive);
|
||||
font-weight: 600;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info_list {
|
||||
display: flex;
|
||||
gap: 0 30px;
|
||||
margin-bottom: 0px;
|
||||
|
||||
.list_item {
|
||||
width: 100%;
|
||||
background: var(--green);
|
||||
padding: 24px;
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
|
||||
svg, img {
|
||||
margin-bottom: 16px;
|
||||
display: block;
|
||||
|
||||
@media all and (max-width: 960px) {
|
||||
margin-bottom: 8px;
|
||||
max-width: 38px;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
p,
|
||||
ul {
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
|
||||
&.h2,
|
||||
&.h3 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
@media all and (max-width: 960px) {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
li:before {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
flex-wrap: wrap;
|
||||
gap: 20px 0;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.content_header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0 50px;
|
||||
position: relative;
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
left: calc(50% - 200px);
|
||||
top: 80px;
|
||||
bottom: 80px;
|
||||
right: -100%;
|
||||
background: var(--inactive);
|
||||
|
||||
@media all and (max-width: 1200px) {
|
||||
top: 15%;
|
||||
bottom: 15%;
|
||||
}
|
||||
}
|
||||
|
||||
div,
|
||||
img {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
flex-wrap: wrap;
|
||||
|
||||
&:after {
|
||||
width: 182px;
|
||||
left: auto;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 50px;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
div,
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -155,7 +155,7 @@ body {
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
.container {
|
||||
padding-top: 45px;
|
||||
padding-bottom: 85px;
|
||||
padding-bottom: 45px;
|
||||
}
|
||||
}
|
||||
@media all and (max-width: 960px) {
|
||||
@ -491,23 +491,29 @@ body {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
h1 {
|
||||
h1,
|
||||
.h1 {
|
||||
font-size: 32px;
|
||||
line-height: 40px;
|
||||
font-weight: 700;
|
||||
}
|
||||
h2 {
|
||||
h2,
|
||||
.h2 {
|
||||
font-size: 24px;
|
||||
line-height: 28px;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 25px;
|
||||
font-weight: 700;
|
||||
}
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
h2 {
|
||||
h2,
|
||||
.h2 {
|
||||
font-size: 22px;
|
||||
line-height: 26px;
|
||||
}
|
||||
}
|
||||
h2.model {
|
||||
h2.model,
|
||||
.h2.model {
|
||||
font-size: 26px;
|
||||
line-height: 35px;
|
||||
color: var(--text_not_active);
|
||||
@ -515,30 +521,38 @@ h2.model {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
h2.model {
|
||||
h2.model,
|
||||
.h2.model {
|
||||
font-size: 19px;
|
||||
line-height: 26px;
|
||||
}
|
||||
}
|
||||
h2:first-child {
|
||||
h2:first-child,
|
||||
.h2:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
h3 {
|
||||
h3,
|
||||
.h3 {
|
||||
font-size: 17px;
|
||||
line-height: 24px;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 10px;
|
||||
font-weight: 700;
|
||||
}
|
||||
h3:first-child {
|
||||
h3:first-child,
|
||||
.h3:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
h4 {
|
||||
h4,
|
||||
.h4 {
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 10px;
|
||||
font-weight: 700;
|
||||
}
|
||||
h4:first-child {
|
||||
h4:first-child,
|
||||
.h4:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.secondary {
|
||||
@ -573,17 +587,20 @@ div {
|
||||
clear: both;
|
||||
}
|
||||
@media all and (max-width: 1279px) {
|
||||
h2 {
|
||||
h2,
|
||||
.h2 {
|
||||
font-size: 20px;
|
||||
line-height: 24px;
|
||||
}
|
||||
}
|
||||
@media all and (max-width: 736px) {
|
||||
h1 {
|
||||
h1,
|
||||
.h1 {
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
}
|
||||
h2 {
|
||||
h2,
|
||||
.h2 {
|
||||
font-size: 20px;
|
||||
line-height: 24px;
|
||||
}
|
||||
@ -926,7 +943,7 @@ section[data-page][data-page="catalog"] .container .catalog_list:before {
|
||||
left: 30px;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
width: calc(33.333% + 13px);
|
||||
width: calc(33.333% + 12px);
|
||||
top: 40px;
|
||||
bottom: -200px;
|
||||
}
|
||||
@ -1198,6 +1215,17 @@ section[data-page][data-page="special"] + #order .container:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
[data-page="aggregation"] .container {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
[data-page="aggregation"] #calc {
|
||||
padding-top: 80px;
|
||||
}
|
||||
@media all and (max-width: 960px) {
|
||||
[data-page="aggregation"] #calc {
|
||||
padding-top: 40px;
|
||||
}
|
||||
}
|
||||
#main_slider {
|
||||
position: relative;
|
||||
}
|
||||
@ -1374,3 +1402,17 @@ section[data-page][data-page="special"] + #order .container:after {
|
||||
right: 0px !important;
|
||||
top: 0px !important;
|
||||
}
|
||||
.spacer {
|
||||
height: 60px;
|
||||
width: 100%;
|
||||
}
|
||||
@media all and (max-width: 767px) {
|
||||
.spacer {
|
||||
height: 25px;
|
||||
}
|
||||
}
|
||||
mark {
|
||||
background: var(--blue);
|
||||
color: #fff;
|
||||
padding: 2px 18px;
|
||||
}
|
||||
|
||||
@ -115,7 +115,7 @@ body {
|
||||
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
padding-top: 45px;
|
||||
padding-bottom: 85px;
|
||||
padding-bottom: 45px;
|
||||
}
|
||||
|
||||
@media all and (max-width: 960px) {
|
||||
@ -450,16 +450,18 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
h1, .h1 {
|
||||
font-size: 32px;
|
||||
line-height: 40px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
h2 {
|
||||
h2, .h2 {
|
||||
font-size: 24px;
|
||||
line-height: 28px;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 25px;
|
||||
font-weight: 700;
|
||||
|
||||
@media all and (max-width: 1600px) and (min-width: 1280px) {
|
||||
font-size: 22px;
|
||||
@ -484,22 +486,24 @@ h2 {
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
h3, .h3 {
|
||||
font-size: 17px;
|
||||
line-height: 24px;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 10px;
|
||||
font-weight: 700;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
h4, .h4 {
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 10px;
|
||||
font-weight: 700;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
@ -546,19 +550,19 @@ div {
|
||||
}
|
||||
|
||||
@media all and (max-width: 1279px) {
|
||||
h2 {
|
||||
h2, .h2 {
|
||||
font-size: 20px;
|
||||
line-height: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 736px) {
|
||||
h1 {
|
||||
h1, .h1 {
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
h2, .h2 {
|
||||
font-size: 20px;
|
||||
line-height: 24px;
|
||||
}
|
||||
@ -780,7 +784,7 @@ section[data-page] {
|
||||
left: 30px;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
width: calc(33.333% + 13px);
|
||||
width: calc(33.333% + 12px);
|
||||
top: 40px;
|
||||
bottom: -200px;
|
||||
}
|
||||
@ -848,6 +852,7 @@ section[data-page] {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&[data-page="position"] {
|
||||
.container:before {
|
||||
border-right: 0 !important;
|
||||
@ -992,6 +997,22 @@ section[data-page] {
|
||||
}
|
||||
}
|
||||
|
||||
&[data-page="aggregation"] {
|
||||
|
||||
.container {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
#calc {
|
||||
padding-top: 80px;
|
||||
|
||||
@media all and (max-width: 960px) {
|
||||
padding-top: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#main_slider {
|
||||
position: relative;
|
||||
|
||||
@ -1186,3 +1207,18 @@ section[data-page] {
|
||||
right: 0px !important;
|
||||
top: 0px !important;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
height: 60px;
|
||||
width: 100%;
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
height: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
mark {
|
||||
background: var(--blue);
|
||||
color: #fff;
|
||||
padding: 2px 18px;
|
||||
}
|
||||
31
programs/cargo/index.php
Normal file
31
programs/cargo/index.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?
|
||||
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
|
||||
$APPLICATION->SetTitle("Сервисы");
|
||||
$APPLICATION->AddHeadString('<link rel="canonical" href="https://'.SITE_SERVER_NAME.'/services/"/>');
|
||||
?>
|
||||
<?
|
||||
$APPLICATION->IncludeComponent("bitrix:breadcrumb", "evolution", Array(
|
||||
"PATH" => "", // Путь, для которого будет построена навигационная цепочка (по умолчанию, текущий путь)
|
||||
"SITE_ID" => "s1", // Cайт (устанавливается в случае многосайтовой версии, когда DOCUMENT_ROOT у сайтов разный)
|
||||
"START_FROM" => "0", // Номер пункта, начиная с которого будет построена навигационная цепочка
|
||||
),
|
||||
false
|
||||
);
|
||||
?>
|
||||
<?
|
||||
$APPLICATION->IncludeComponent(
|
||||
"evolution:programs.aggregations",
|
||||
"",
|
||||
[
|
||||
"TITLE" => "Грузовая техника",
|
||||
"SHORT_TITLE" => "Грузовая техника",
|
||||
"SHORT_TITLE_GENITIVE" => "Грузовой техники",
|
||||
"SHORT_TITLE_ACCUSATIVE" => "Грузовую технику",
|
||||
"IBLOCK_ID_RULES" => IBLOCK_ID_PROGRAMS_AGGREGATION_RULES_CARGO,
|
||||
"IBLOCK_ID_PROGRAMS_AGGREGATION" => IBLOCK_ID_PROGRAMS_AGGREGATION_CARGO,
|
||||
"IBLOCK_ID_PROGRAMS_AGGREGATION_BRANDS" => IBLOCK_ID_PROGRAMS_AGGREGATION_BRANDS_CARGO,
|
||||
"PATH" => "cargo",
|
||||
]
|
||||
);
|
||||
?>
|
||||
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
|
||||
31
programs/special/index.php
Normal file
31
programs/special/index.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?
|
||||
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
|
||||
$APPLICATION->SetTitle("Сервисы");
|
||||
$APPLICATION->AddHeadString('<link rel="canonical" href="https://'.SITE_SERVER_NAME.'/services/"/>');
|
||||
?>
|
||||
<?
|
||||
$APPLICATION->IncludeComponent("bitrix:breadcrumb", "evolution", Array(
|
||||
"PATH" => "", // Путь, для которого будет построена навигационная цепочка (по умолчанию, текущий путь)
|
||||
"SITE_ID" => "s1", // Cайт (устанавливается в случае многосайтовой версии, когда DOCUMENT_ROOT у сайтов разный)
|
||||
"START_FROM" => "0", // Номер пункта, начиная с которого будет построена навигационная цепочка
|
||||
),
|
||||
false
|
||||
);
|
||||
?>
|
||||
<?
|
||||
$APPLICATION->IncludeComponent(
|
||||
"evolution:programs.aggregations",
|
||||
"",
|
||||
[
|
||||
"TITLE" => "Специальная техника",
|
||||
"SHORT_TITLE" => "Спецтехника",
|
||||
"SHORT_TITLE_GENITIVE" => "Спецтехники",
|
||||
"SHORT_TITLE_ACCUSATIVE" => "Спецтехнику",
|
||||
"IBLOCK_ID_RULES" => IBLOCK_ID_PROGRAMS_AGGREGATION_RULES_SPECIAL,
|
||||
"IBLOCK_ID_PROGRAMS_AGGREGATION" => IBLOCK_ID_PROGRAMS_AGGREGATION_SPECIAL,
|
||||
"IBLOCK_ID_PROGRAMS_AGGREGATION_BRANDS" => IBLOCK_ID_PROGRAMS_AGGREGATION_BRANDS_SPECIAL,
|
||||
"PATH" => "special",
|
||||
]
|
||||
);
|
||||
?>
|
||||
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
|
||||
206
urlrewrite.php
206
urlrewrite.php
@ -1,38 +1,96 @@
|
||||
<?php
|
||||
$arUrlRewrite=array (
|
||||
0 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/api/([A-Za-z0-9]+)/([A-Za-z0-9]+)/([A-Za-z0-9]+)/([A-Za-z0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PARAM_1=$1&PARAM_2=$2&PARAM_3=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/api/index.php',
|
||||
'SORT' => 1,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/api/([A-Za-z0-9]+)/([A-Za-z0-9]+)/([A-Za-z0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PARAM_1=$1&PARAM_2=$2&PARAM_3=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/api/index.php',
|
||||
'SORT' => 2,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/api/([A-Za-z0-9]+)/([A-Za-z0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PARAM_1=$1&PARAM_2=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/api/index.php',
|
||||
'SORT' => 3,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/api/([A-Za-z0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PARAM_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/api/index.php',
|
||||
'SORT' => 4,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'CONDITION' => '#^/programs/special/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'TYPE=$1&BRAND=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/special/index.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/special/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'CHUNK=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/special/index.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/special/\\??.*$#',
|
||||
'RULE' => '',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/special/index.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/cargo/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'TYPE=$1&BRAND=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/cargo/index.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/cargo/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'CHUNK=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/cargo/index.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/cargo/\\??.*$#',
|
||||
'RULE' => '',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/cargo/index.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/taxi/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=lizing-taksi&BRAND=$1&PAGEN_1=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/custom.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/taxi/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=lizing-taksi&BRAND=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/custom.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/taxi/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=lizing-taksi',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/custom.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
array (
|
||||
'CONDITION' => '#^/programs/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=$1&BRAND=$2&MODEL=$3&PAGEN_1=$4',
|
||||
@ -40,39 +98,34 @@ $arUrlRewrite=array (
|
||||
'PATH' => '/programs/entry.php',
|
||||
'SORT' => 5,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/programs/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=$1&BRAND=$2&PAGEN_1=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/entry.php',
|
||||
'SORT' => 6,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/programs/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=$1&PAGEN_1=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/entry.php',
|
||||
'SORT' => 7,
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/programs/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=$1&BRAND=$2&MODEL=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/entry.php',
|
||||
'SORT' => 8,
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/programs/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=$1&BRAND=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/programs/entry.php',
|
||||
'SORT' => 9,
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'CONDITION' => '#^/programs/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'PROGRAM=$1',
|
||||
@ -80,312 +133,273 @@ $arUrlRewrite=array (
|
||||
'PATH' => '/programs/entry.php',
|
||||
'SORT' => 10,
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/electric-car/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'ENGINE_FUEL=электричество&BRAND=$1&MODEL=$2&PAGEN_1=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 11,
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'BRAND=$1&MODEL=$2&PAGEN_1=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 11,
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/used/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'BRAND=$1&MODEL=$2&PAGEN_1=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/used/index.php',
|
||||
'SORT' => 11,
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/dvigatel-([a-zA-Z0-9_-]+)/(|\\?(.+))$#',
|
||||
'RULE' => 'TYPE=engine_fuel&ENGINE_FUEL_SLUG=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/landing.php',
|
||||
'SORT' => 11,
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/kuzov-([a-zA-Z0-9_-]+)/(|\\?(.+))$#',
|
||||
'RULE' => 'TYPE=body&BODY_SLUG=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/landing.php',
|
||||
'SORT' => 11,
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/electric-car/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'ENGINE_FUEL=электричество&BRAND=$1&PAGEN_1=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 12,
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'BRAND=$1&PAGEN_1=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 12,
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/used/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'BRAND=$1&PAGEN_1=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/used/index.php',
|
||||
'SORT' => 12,
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/electric-car/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'ENGINE_FUEL=электричество&BRAND=$1&MODEL=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 13,
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'BRAND=$1&MODEL=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 13,
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/used/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'BRAND=$1&MODEL=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/used/index.php',
|
||||
'SORT' => 13,
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/electric-car/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'ENGINE_FUEL=электричество&PAGEN_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 14,
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PAGEN_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 14,
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/used/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PAGEN_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/used/index.php',
|
||||
'SORT' => 14,
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/electric-car/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'ENGINE_FUEL=электричество&BRAND=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 15,
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'BRAND=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 15,
|
||||
),
|
||||
28 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/used/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'BRAND=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/used/index.php',
|
||||
'SORT' => 15,
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/catalog/electric-car/#',
|
||||
'RULE' => 'ENGINE_FUEL=электричество',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/index.php',
|
||||
'SORT' => 15,
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/car/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'OFFER=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/catalog/position.php',
|
||||
'SORT' => 16,
|
||||
),
|
||||
29 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/izt/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'OFFER=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/used/position.php',
|
||||
'SORT' => 16,
|
||||
),
|
||||
30 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/about/career/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PAGEN_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/about/career/index.php',
|
||||
'SORT' => 20,
|
||||
),
|
||||
31 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/about/career/vacancy-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'ID=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/about/career/vacancy.php',
|
||||
'SORT' => 21,
|
||||
),
|
||||
32 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/about/news/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PAGEN_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/about/news/index.php',
|
||||
'SORT' => 30,
|
||||
),
|
||||
33 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/search/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PAGEN_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/search/index.php',
|
||||
'SORT' => 30,
|
||||
),
|
||||
34 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/about/news/([a-zA-Z0-9_-]+)\\??.*$#',
|
||||
'RULE' => 'CODE=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/about/news/detail.php',
|
||||
'SORT' => 31,
|
||||
),
|
||||
35 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/services/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'CODE=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/services/entry.php',
|
||||
'SORT' => 40,
|
||||
),
|
||||
36 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/special/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'OFFER=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/special/offer.php',
|
||||
'SORT' => 50,
|
||||
),
|
||||
37 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/revocation/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'PAGEN_1=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/about/revocation/index.php',
|
||||
'SORT' => 60,
|
||||
),
|
||||
38 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/revocation/\\??.*$#',
|
||||
'RULE' => '',
|
||||
'ID' => '',
|
||||
'PATH' => '/about/revocation/index.php',
|
||||
'SORT' => 70,
|
||||
),
|
||||
41 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/regions/([a-zA-Z0-9_-]+)/dvigatel-([a-zA-Z0-9_-]+)/(|\\?(.+))$#',
|
||||
'RULE' => 'TYPE=engine_fuel®ION=$1&ENGINE_FUEL_SLUG=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/regions/landing.php',
|
||||
'SORT' => 80,
|
||||
),
|
||||
40 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/regions/([a-zA-Z0-9_-]+)/kuzov-([a-zA-Z0-9_-]+)/(|\\?(.+))$#',
|
||||
'RULE' => 'TYPE=body®ION=$1&BODY_SLUG=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/regions/landing.php',
|
||||
'SORT' => 80,
|
||||
),
|
||||
39 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/general-terms/\\??.*$#',
|
||||
'RULE' => '',
|
||||
'ID' => '',
|
||||
'PATH' => '/about/rules/index.php',
|
||||
'SORT' => 80,
|
||||
),
|
||||
42 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/regions/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'REGION=$1&BRAND=$2&MODEL=$3&PAGEN_1=$4',
|
||||
'ID' => '',
|
||||
'PATH' => '/regions/region.php',
|
||||
'SORT' => 81,
|
||||
),
|
||||
43 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/regions/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'REGION=$1&BRAND=$2&MODEL=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/regions/region.php',
|
||||
'SORT' => 82,
|
||||
),
|
||||
44 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/regions/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/page-([0-9]+)/\\??.*$#',
|
||||
'RULE' => 'REGION=$1&BRAND=$2&PAGEN_1=$3',
|
||||
'ID' => '',
|
||||
'PATH' => '/regions/region.php',
|
||||
'SORT' => 83,
|
||||
),
|
||||
45 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/regions/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/\\??.*$#',
|
||||
'RULE' => 'REGION=$1&BRAND=$2',
|
||||
'ID' => '',
|
||||
'PATH' => '/regions/region.php',
|
||||
'SORT' => 84,
|
||||
),
|
||||
46 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/regions/([a-zA-Z0-9_-]+)/(\\?(.*))?$#',
|
||||
'RULE' => 'REGION=$1',
|
||||
'ID' => '',
|
||||
'PATH' => '/regions/region.php',
|
||||
'SORT' => 85,
|
||||
),
|
||||
47 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^\\/?\\/mobileapp/jn\\/(.*)\\/.*#',
|
||||
'RULE' => 'componentName=$1',
|
||||
'ID' => NULL,
|
||||
'PATH' => '/bitrix/services/mobileapp/jn.php',
|
||||
'SORT' => 90,
|
||||
),
|
||||
48 =>
|
||||
array (
|
||||
array (
|
||||
'CONDITION' => '#^/rest/#',
|
||||
'RULE' => '',
|
||||
'ID' => NULL,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user