structure changes: move bitrix components to .default template, add 404 handler and template
192
.htaccess
@ -13,6 +13,198 @@ ErrorDocument 404 /404.php
|
|||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
Options +FollowSymLinks
|
Options +FollowSymLinks
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
Redirect 301 /news /about/news
|
||||||
|
Redirect 301 /offers /about/news
|
||||||
|
Redirect 301 /insurance /services/strakhovanie
|
||||||
|
Redirect 301 /kontakty /about/contacts
|
||||||
|
Redirect 301 /vacancy /about/career
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=263$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/evolyutsiya-avtolizinga/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=265$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/lk-evolyutsiya-za-3-mesyatsa-zapustila-sistemu-dlya-zaklyucheniya-lizingovykh-sdelok-/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=266$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/skolko-nuzhno-vremeni-chtoby-postroit-lizingovuyu-kompaniyu-s-nulya/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=264$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/evolyutsiya-skoro/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1135$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/sankt-peterburg-i-ryazan/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1151$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/vzaimodeystvie-s-partnerami/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1156$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/realizatsiya-strategii-razvitiya/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1157$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/rasshiryaya-gorizonty/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1158$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/dalshe-na-yug/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1161$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/volga-volga-i-ural/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1163$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/lizingovaya-kompaniya-evolyutsiya-zapustila-programmu-lizinga-spetstekhniki/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1164$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/pokorili-don-i-dotyanulis-do-baykala/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1166$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/iz-avtomobilnogo-serdtsa-rossii-v-stavropolskie-stepi/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1167$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/ronyaem-tseny-na-strakhovanie-bmw/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1168$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/uskoryaemsya/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1169$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/pozdravlyaem-s-prazdnikom-vesny-i-truda-i-s-dnyem-pobedy/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1170$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/krasnoyarsk/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1175$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/perm/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1176$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/spetsialnoe-predlozhenie-na-kommercheskie-avtomobili-ford-transit/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1174$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/novyy-audi-q5-sportback-v-lizing/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1173$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/novyy-haval-jolion-v-lizing/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1177$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/lipetsk/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1178$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/zapusk-programmy-finansirovaniya-mototekhniki/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1181$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/novyy-bmw-4-serii-gran-coupe-dostupen-dlya-zakaza-v-rossii/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1180$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/novye-bmw-x3-i-bmw-x4-startuyut-na-rossiyskom-rynke/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1182$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/lizing-s-dostavkoy/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1183$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/v-rossii-nachalis-prodazhi-novogo-pikapa-great-wall-poer/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1185$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/strakhovanie-s-komfortom/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1186$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/toyota-obyavila-tseny-na-novyy-land-cruiser-300-v-rossii/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1187$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/ekspansiya-na-vostok/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1188$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/novyy-chevrolet-tahoe-startuet-na-rossiyskom-rynke/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1189$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/novyy-cadillac-escalade-dostupen-v-rossii/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1191$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/odin-god-evolyutsii/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1193$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/cheboksary-i-kemerovo/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1194$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/novorossiysk/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1195$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/stremitelnyy-vzlyet/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1196$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/zayavka-na-lizing-pryamo-iz-1s/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1197$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/lizingovaya-kompaniya-evolyutsiya-provela-pervye-sdelki-po-programme-klyuch-v-klyuch/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1198$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/belgorod-kaluga-i-kaliningrad/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1199$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/sdlg-finance/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1201$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/harley-davidson-finance/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1202$ [NC]
|
||||||
|
RewriteRule ^news-detail/$ https://evoleasing.ru/about/news/fox-trailer-lizing/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1200$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/harley-davidson-finance/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1153$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/legendarnyy-i-prevoskhodnyy-land-rover/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1143$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/kollektsiya-skidok-bmw-v-lizing/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1203$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/sdlg-finance/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1204$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/mitsubishi-fuso/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1140$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/spetsialnoe-predlozhenie-na-avtomobili-volvo/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1172$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/spetspredlozhenie-na-kommercheskie-avtomobili-ford-transit/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1155$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/roskoshnye-skidki-na-mercedes-benz/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1138$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/vygoda-pri-pokupke-v-lizing-avtomobiley-skoda/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1147$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/cadillac-dlya-tekh-kto-smeet/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1142$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/kia-v-lizing-so-skidkoy/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1145$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/vdokhnovenie-bezgranichno-s-mini/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1190$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/spetspredlozhenie-na-avtomobili-uaz/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1148$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/spetsialnoe-predlozhenie-na-avtomobili-genesis/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1165$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/skidki-na-avtomobili-renault/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1144$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/skidki-na-populyarnye-modeli-hyundai/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1146$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/legendarnye-vnedorozhniki-mitsubishi-so-skidkoy/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1171$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/vygodnoe-predlozhenie-na-avtomobili-gaz/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1184$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/bonum-aktsiya-ot-zavoda-pri-pokupke-v-lizing/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
|
RewriteCond %{QUERY_STRING} ^ID=1192$ [NC]
|
||||||
|
RewriteRule ^offer-detail/$ https://evoleasing.ru/special/harley-davidson-finance/fox-trailer-lizing/? [R=301,NE,NC,L]
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-l
|
RewriteCond %{REQUEST_FILENAME} !-l
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
|||||||
4
404.php
@ -1,6 +1,8 @@
|
|||||||
<?
|
<?
|
||||||
|
header("HTTP/1.0 404 Not Found");
|
||||||
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
|
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
|
||||||
$APPLICATION->SetTitle("Ошибка 404");
|
$APPLICATION->SetTitle("Ошибка 404 - страница не найдена");
|
||||||
|
$APPLICATION->SetPageProperty("title", "Ошибка 404 - страница не найдена");
|
||||||
?>
|
?>
|
||||||
<section>
|
<section>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@ -22,6 +22,7 @@ $ORIGINS = [
|
|||||||
'https://lk-evo.quickcode.ru',
|
'https://lk-evo.quickcode.ru',
|
||||||
'https://wow.evoleasing.ru',
|
'https://wow.evoleasing.ru',
|
||||||
'https://www.evoleasing.ru',
|
'https://www.evoleasing.ru',
|
||||||
|
'https://evoleasing.ru',
|
||||||
'http://lk.evoleasing.ru',
|
'http://lk.evoleasing.ru',
|
||||||
'https://lk.evoleasing.ru',
|
'https://lk.evoleasing.ru',
|
||||||
];
|
];
|
||||||
@ -612,7 +613,7 @@ switch($PARAM_1)
|
|||||||
"name" => $REQ['FORM_FIELD_FIO'],
|
"name" => $REQ['FORM_FIELD_FIO'],
|
||||||
"phone" => $REQ['FORM_FIELD_PHONE'],
|
"phone" => $REQ['FORM_FIELD_PHONE'],
|
||||||
"email" => $REQ['FORM_FIELD_EMAIL'],
|
"email" => $REQ['FORM_FIELD_EMAIL'],
|
||||||
"email" => $REQ['FORM_FIELD_COMPANY'],
|
"org_title" => $REQ['FORM_FIELD_COMPANY'],
|
||||||
"brand" => $REQ['FORM_FIELD_BRAND'],
|
"brand" => $REQ['FORM_FIELD_BRAND'],
|
||||||
"model" => $REQ['FORM_FIELD_MODEL'],
|
"model" => $REQ['FORM_FIELD_MODEL'],
|
||||||
"modification" => $REQ['FORM_FIELD_MODIFICATION'],
|
"modification" => $REQ['FORM_FIELD_MODIFICATION'],
|
||||||
|
|||||||
@ -33,4 +33,17 @@ function get_related_array($iblock_id, $ids)
|
|||||||
return $ar_res;
|
return $ar_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AddEventHandler("main", "OnEpilog", "OnEpilogHandler", 1);
|
||||||
|
function OnEpilogHandler()
|
||||||
|
{
|
||||||
|
if (defined('ERROR_404') && ERROR_404 == 'Y')
|
||||||
|
{
|
||||||
|
global $APPLICATION;
|
||||||
|
$APPLICATION->RestartBuffer();
|
||||||
|
include $_SERVER['DOCUMENT_ROOT'].'/local/templates/404/header.php';
|
||||||
|
include $_SERVER['DOCUMENT_ROOT'].'/404.php';
|
||||||
|
include $_SERVER['DOCUMENT_ROOT'].'/local/templates/404/footer.php';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
3
general-terms/.section.php
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<?
|
||||||
|
$sSectionName="general-terms";
|
||||||
|
?>
|
||||||
17
general-terms/index.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?
|
||||||
|
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
|
||||||
|
$APPLICATION->SetTitle("Эволюция автолизинга: Общие условия договора лизинга");
|
||||||
|
?>
|
||||||
|
<?
|
||||||
|
$APPLICATION->IncludeComponent(
|
||||||
|
"evolution:about.rules",
|
||||||
|
"",
|
||||||
|
Array()
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
<?$APPLICATION->IncludeComponent(
|
||||||
|
"evolution:form.leasing",
|
||||||
|
"",
|
||||||
|
Array()
|
||||||
|
);?>
|
||||||
|
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
|
||||||
@ -1,7 +1,7 @@
|
|||||||
$(function()
|
$(function()
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
$.get("https://wow.evoleasing.ru/api/regions/",
|
$.get("/api/regions/",
|
||||||
{
|
{
|
||||||
params: {},
|
params: {},
|
||||||
}, function(response)
|
}, function(response)
|
||||||
|
|||||||
@ -36,6 +36,7 @@ if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
|||||||
$arResult = $ar_res;
|
$arResult = $ar_res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print "<!--[".$arResult['NAME']."]-->";
|
||||||
if(empty($arResult['NAME'])) { define('ERROR_404', 'Y'); }
|
if(empty($arResult['NAME'])) { define('ERROR_404', 'Y'); }
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -18,7 +18,7 @@ use Bitrix\Main\Context,
|
|||||||
if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
||||||
{
|
{
|
||||||
$arResult = [];
|
$arResult = [];
|
||||||
$arResult['CALCULATION'] = (array) json_decode(file_get_contents("https://wow.evoleasing.ru/api/calculation/"
|
$arResult['CALCULATION'] = (array) json_decode(file_get_contents("https://evoleasing.ru/api/calculation/"
|
||||||
."?car_price=".$arParams['car_price']
|
."?car_price=".$arParams['car_price']
|
||||||
."&initial_payment=".$arParams['initial_payment']
|
."&initial_payment=".$arParams['initial_payment']
|
||||||
."&lease_period=".$arParams['lease_period']
|
."&lease_period=".$arParams['lease_period']
|
||||||
|
|||||||
@ -25,7 +25,7 @@ function calculate(param, value)
|
|||||||
$("#FORM_FIELD_TERM").val(calculation.lease_period);
|
$("#FORM_FIELD_TERM").val(calculation.lease_period);
|
||||||
$("#FORM_FIELD_REDEMPTION").val(calculation.redemption_payment);
|
$("#FORM_FIELD_REDEMPTION").val(calculation.redemption_payment);
|
||||||
|
|
||||||
$.post("https://wow.evoleasing.ru/api/calculation/",
|
$.post("/api/calculation/",
|
||||||
{
|
{
|
||||||
car_price: calculation.car_price,
|
car_price: calculation.car_price,
|
||||||
initial_payment: calculation.initial_payment,
|
initial_payment: calculation.initial_payment,
|
||||||
|
|||||||
@ -36,7 +36,7 @@ if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
|||||||
|
|
||||||
$arParams['car_price'] = $ar_res['PROPERTIES']['PRICE']['VALUE'];
|
$arParams['car_price'] = $ar_res['PROPERTIES']['PRICE']['VALUE'];
|
||||||
|
|
||||||
$ar_res['CALCULATION'] = (array) json_decode(file_get_contents("https://wow.evoleasing.ru/api/calculation/"
|
$ar_res['CALCULATION'] = (array) json_decode(file_get_contents("https://evoleasing.ru/api/calculation/"
|
||||||
."?car_price=".$arParams['car_price']
|
."?car_price=".$arParams['car_price']
|
||||||
."&initial_payment=".$arParams['initial_payment']
|
."&initial_payment=".$arParams['initial_payment']
|
||||||
."&lease_period=".$arParams['lease_period']
|
."&lease_period=".$arParams['lease_period']
|
||||||
|
|||||||
@ -28,7 +28,7 @@ function calculate(param, value)
|
|||||||
$("#FORM_FIELD_TERM").val(calculation.lease_period);
|
$("#FORM_FIELD_TERM").val(calculation.lease_period);
|
||||||
$("#FORM_FIELD_REDEMPTION").val(calculation.redemption_payment);
|
$("#FORM_FIELD_REDEMPTION").val(calculation.redemption_payment);
|
||||||
|
|
||||||
$.post("https://wow.evoleasing.ru/api/calculation/",
|
$.post("/api/calculation/",
|
||||||
{
|
{
|
||||||
car_price: calculation.car_price,
|
car_price: calculation.car_price,
|
||||||
initial_payment: calculation.initial_payment,
|
initial_payment: calculation.initial_payment,
|
||||||
|
|||||||
@ -27,7 +27,7 @@ function updateCounter(parameters)
|
|||||||
if(parameters[i] !== undefined) { params[i] = parameters[i]; }
|
if(parameters[i] !== undefined) { params[i] = parameters[i]; }
|
||||||
}
|
}
|
||||||
|
|
||||||
$.get("https://wow.evoleasing.ru/api/catalog/count/", params, function(response)
|
$.get("/api/catalog/count/", params, function(response)
|
||||||
{
|
{
|
||||||
$("#catalog_filter_spinner").hide();
|
$("#catalog_filter_spinner").hide();
|
||||||
$("#catalog_filter_search_button_counter").text("Показать "+response.total+" вариантов").show();
|
$("#catalog_filter_search_button_counter").text("Показать "+response.total+" вариантов").show();
|
||||||
@ -36,7 +36,7 @@ function updateCounter(parameters)
|
|||||||
|
|
||||||
function loadModels(uid)
|
function loadModels(uid)
|
||||||
{
|
{
|
||||||
$.post("https://wow.evoleasing.ru/api/catalog/models/",
|
$.post("/api/catalog/models/",
|
||||||
{
|
{
|
||||||
BRAND_UID: uid
|
BRAND_UID: uid
|
||||||
}, function(response)
|
}, function(response)
|
||||||
@ -92,7 +92,7 @@ function loadModels(uid)
|
|||||||
|
|
||||||
$(function()
|
$(function()
|
||||||
{
|
{
|
||||||
$.get("https://wow.evoleasing.ru/api/catalog/brands/",
|
$.get("/api/catalog/brands/",
|
||||||
{
|
{
|
||||||
params: {},
|
params: {},
|
||||||
}, function(response)
|
}, function(response)
|
||||||
@ -267,7 +267,7 @@ $(function()
|
|||||||
$("#catalog_small_filter").addClass("hidden");
|
$("#catalog_small_filter").addClass("hidden");
|
||||||
});
|
});
|
||||||
|
|
||||||
$.get("https://wow.evoleasing.ru/api/catalog/parameters/",
|
$.get("/api/catalog/parameters/",
|
||||||
{
|
{
|
||||||
params: {},
|
params: {},
|
||||||
}, function(response)
|
}, function(response)
|
||||||
|
|||||||
@ -26,7 +26,7 @@ function updateCounter(parameters)
|
|||||||
if(parameters[i] !== undefined) { params[i] = parameters[i]; }
|
if(parameters[i] !== undefined) { params[i] = parameters[i]; }
|
||||||
}
|
}
|
||||||
|
|
||||||
$.get("https://wow.evoleasing.ru/api/catalog/count/", params, function(response)
|
$.get("/api/catalog/count/", params, function(response)
|
||||||
{
|
{
|
||||||
$("#catalog_filter_spinner").hide();
|
$("#catalog_filter_spinner").hide();
|
||||||
$("#catalog_filter_search_button_counter").text("Показать "+response.total+" вариантов").show();
|
$("#catalog_filter_search_button_counter").text("Показать "+response.total+" вариантов").show();
|
||||||
@ -36,7 +36,7 @@ function updateCounter(parameters)
|
|||||||
|
|
||||||
function loadModels(uid)
|
function loadModels(uid)
|
||||||
{
|
{
|
||||||
$.post("https://wow.evoleasing.ru/api/catalog/models/",
|
$.post("/api/catalog/models/",
|
||||||
{
|
{
|
||||||
BRAND_UID: uid
|
BRAND_UID: uid
|
||||||
}, function(response)
|
}, function(response)
|
||||||
@ -98,7 +98,7 @@ function loadModels(uid)
|
|||||||
function loadModifications(uid)
|
function loadModifications(uid)
|
||||||
{
|
{
|
||||||
console.log("loadModifications", uid);
|
console.log("loadModifications", uid);
|
||||||
$.post("https://wow.evoleasing.ru/api/catalog/modifications/",
|
$.post("/api/catalog/modifications/",
|
||||||
{
|
{
|
||||||
MODEL_UID: uid
|
MODEL_UID: uid
|
||||||
}, function(response)
|
}, function(response)
|
||||||
@ -138,7 +138,7 @@ function loadModifications(uid)
|
|||||||
|
|
||||||
$(function()
|
$(function()
|
||||||
{
|
{
|
||||||
$.get("https://wow.evoleasing.ru/api/catalog/brands/",
|
$.get("/api/catalog/brands/",
|
||||||
{
|
{
|
||||||
params: {},
|
params: {},
|
||||||
}, function(response)
|
}, function(response)
|
||||||
@ -356,7 +356,7 @@ $(function()
|
|||||||
$("#catalog_small_filter").addClass("hidden");
|
$("#catalog_small_filter").addClass("hidden");
|
||||||
});
|
});
|
||||||
|
|
||||||
$.get("https://wow.evoleasing.ru/api/catalog/parameters/",
|
$.get("/api/catalog/parameters/",
|
||||||
{
|
{
|
||||||
params: {},
|
params: {},
|
||||||
}, function(response)
|
}, function(response)
|
||||||
|
|||||||
@ -6,13 +6,13 @@ function form_leasing_request_submit()
|
|||||||
formData.append("form", "FORM_LEASING_REQUESTS");
|
formData.append("form", "FORM_LEASING_REQUESTS");
|
||||||
formData.append("FORM_FIELD_PAGE_NAME", document.title);
|
formData.append("FORM_FIELD_PAGE_NAME", document.title);
|
||||||
formData.append("FORM_FIELD_PAGE_URL", window.location.href);
|
formData.append("FORM_FIELD_PAGE_URL", window.location.href);
|
||||||
formData.append("FORM_FIELD_BRAND", $("#FORM_FIELD_BRAND").val());
|
formData.append("FORM_FIELD_BRAND", $("#FORM_FIELD_BRAND").val() ? $("#FORM_FIELD_BRAND").val() : "");
|
||||||
formData.append("FORM_FIELD_MODEL", $("#FORM_FIELD_MODEL").val());
|
formData.append("FORM_FIELD_MODEL", $("#FORM_FIELD_MODEL").val() ? $("#FORM_FIELD_MODEL").val() : "");
|
||||||
formData.append("FORM_FIELD_MODIFICATION", $("#FORM_FIELD_MODIFICATION").val());
|
formData.append("FORM_FIELD_MODIFICATION", $("#FORM_FIELD_MODIFICATION").val() ? $("#FORM_FIELD_MODIFICATION").val() : "");
|
||||||
formData.append("FORM_FIELD_PRICE", $("#FORM_FIELD_PRICE").val());
|
formData.append("FORM_FIELD_PRICE", $("#FORM_FIELD_PRICE").val() ? $("#FORM_FIELD_PRICE").val() : "");
|
||||||
formData.append("FORM_FIELD_PREPAID", $("#FORM_FIELD_PREPAID").val());
|
formData.append("FORM_FIELD_PREPAID", $("#FORM_FIELD_PREPAID").val() ? $("#FORM_FIELD_PREPAID").val() : "");
|
||||||
formData.append("FORM_FIELD_TERM", $("#FORM_FIELD_TERM").val());
|
formData.append("FORM_FIELD_TERM", $("#FORM_FIELD_TERM").val() ? $("#FORM_FIELD_TERM").val() : "");
|
||||||
formData.append("FORM_FIELD_REDEMPTION", $("#FORM_FIELD_REDEMPTION").val());
|
formData.append("FORM_FIELD_REDEMPTION", $("#FORM_FIELD_REDEMPTION").val() ? $("#FORM_FIELD_REDEMPTION").val() : "");
|
||||||
|
|
||||||
$.ajax(
|
$.ajax(
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
var faq_item_index = 1;
|
var faq_section_index = 0;
|
||||||
|
var faq_item_index = 0;
|
||||||
|
|
||||||
$(function()
|
$(function()
|
||||||
{
|
{
|
||||||
@ -38,4 +39,16 @@ $(function()
|
|||||||
$("#faq_search_form_clear_button").css("display", "none");
|
$("#faq_search_form_clear_button").css("display", "none");
|
||||||
//$("#faq_search_form_search_button").attr("disabled", "disabled");
|
//$("#faq_search_form_search_button").attr("disabled", "disabled");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".faq_section_button").on("click", function()
|
||||||
|
{
|
||||||
|
|
||||||
|
let section = $(this).data('section');
|
||||||
|
faq_section_index = section;
|
||||||
|
|
||||||
|
$(".faq_section_button").removeClass("active");
|
||||||
|
$(".faq_section_button_"+section).addClass("active");
|
||||||
|
$(".faq_items_list").css("display", "none");
|
||||||
|
$(".faq_items_list_"+section).css("display", "block");
|
||||||
|
});
|
||||||
});
|
});
|
||||||
@ -12,18 +12,16 @@
|
|||||||
/** @var CBitrixComponent $component */
|
/** @var CBitrixComponent $component */
|
||||||
$this->setFrameMode(true);
|
$this->setFrameMode(true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section data-page="about">
|
<section data-page="about">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1 class="section_title">Часто задаваемые вопросы</h1>
|
<h1 class="section_title">Часто задаваемые вопросы</h1>
|
||||||
|
|
||||||
<div class="aside_container about">
|
<div class="aside_container about">
|
||||||
<aside>
|
<aside>
|
||||||
<ul class="aside_nav">
|
<ul class="aside_nav">
|
||||||
<? $c = 0; ?>
|
<? $c = 0; ?>
|
||||||
<? foreach($arResult['SECTIONS'] AS $section): ?>
|
<? foreach($arResult['SECTIONS'] AS $section): ?>
|
||||||
<li>
|
<li>
|
||||||
<a class="<?= $c === 0 ? "active" : ""; ?>" style="cursor: pointer;" data-section="<?= $c; ?>"><?= $section['NAME']; ?></a>
|
<a class="<?= $c === 0 ? "active" : ""; ?> faq_section_button faq_section_button_<?= $c; ?>" style="cursor: pointer;" data-section="<?= $c; ?>"><?= $section['NAME']; ?></a>
|
||||||
</li>
|
</li>
|
||||||
<? $c++; ?>
|
<? $c++; ?>
|
||||||
<? endforeach; ?>
|
<? endforeach; ?>
|
||||||
@ -33,26 +31,25 @@ $this->setFrameMode(true);
|
|||||||
*/?>
|
*/?>
|
||||||
</aside>
|
</aside>
|
||||||
<article>
|
<article>
|
||||||
<div class="search_form faq_search">
|
<div class="search_form faq_search">
|
||||||
<form method="GET" action="/programs/faq/" id="faq_search_form">
|
<form method="GET" action="/programs/faq/" id="faq_search_form">
|
||||||
<div class="form_field single">
|
<div class="form_field single">
|
||||||
<input id="faq_search_form_field" type="search" name="search" placeholder="Поиск" value="<?= $arResult['SEARCH']; ?>" />
|
<input id="faq_search_form_field" type="search" name="search" placeholder="Поиск" value="<?= $arResult['SEARCH']; ?>" />
|
||||||
<button id="faq_search_form_clear_button" class="clear" style="display:<?= !empty($arResult['SEARCH']) ? "block" : "none"; ?>;"></button>
|
<button id="faq_search_form_clear_button" class="clear" style="display:<?= !empty($arResult['SEARCH']) ? "block" : "none"; ?>;"></button>
|
||||||
</div>
|
</div>
|
||||||
<button id="faq_search_form_search_button" class="button primary" >Поиск</button>
|
<button id="faq_search_form_search_button" class="button primary" >Поиск</button>
|
||||||
<?/*
|
<?/*
|
||||||
<?= !empty($arResult['SEARCH']) ? "" : "disabled='disabled'"; ?>
|
<?= !empty($arResult['SEARCH']) ? "" : "disabled='disabled'"; ?>
|
||||||
*/?>
|
*/?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<? $c = 0; ?>
|
<? $c = 0; ?>
|
||||||
<? foreach($arResult['SECTIONS'] AS $section): ?>
|
<? foreach($arResult['SECTIONS'] AS $section): ?>
|
||||||
<div class="dropdown_blocks_list" id="section_<?= $c; ?>" style="display: <?= $c === 0 ? "block" : "none"; ?>">
|
<div class="dropdown_blocks_list faq_items_list faq_items_list_<?= $c; ?>" style="display: <?= $c === 0 ? "block" : "none"; ?>">
|
||||||
<? $e = 0; ?>
|
<? $e = 0; ?>
|
||||||
<? foreach($section['ITEMS'] AS $entry): ?>
|
<? foreach($section['ITEMS'] AS $entry): ?>
|
||||||
<div class="dropdown_block <?= $e === 0 ? "open" : "" ?>">
|
<div class="dropdown_block <?= $e === 0 ? "open" : "" ?>">
|
||||||
<div class="block_header faq_item_title" data-id="<?= $c; ?>">
|
<div class="block_header faq_item_title" data-id="<?= $e; ?>">
|
||||||
<p><?= $entry['NAME']; ?></p>
|
<p><?= $entry['NAME']; ?></p>
|
||||||
<button class="block_toggle"></button>
|
<button class="block_toggle"></button>
|
||||||
</div>
|
</div>
|
||||||
@ -63,6 +60,7 @@ $this->setFrameMode(true);
|
|||||||
<? $e++; ?>
|
<? $e++; ?>
|
||||||
<? endforeach; ?>
|
<? endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
|
<? $c++; ?>
|
||||||
<? endforeach; ?>
|
<? endforeach; ?>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
|
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
|
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 351 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 640 B |
|
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 334 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 49 B After Width: | Height: | Size: 49 B |
|
Before Width: | Height: | Size: 49 B After Width: | Height: | Size: 49 B |
8
local/templates/404/description.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?
|
||||||
|
$arTemplate = array (
|
||||||
|
'NAME' => 'Evolution 404',
|
||||||
|
'DESCRIPTION' => '',
|
||||||
|
'SORT' => '',
|
||||||
|
'TYPE' => '',
|
||||||
|
);
|
||||||
|
?>
|
||||||
76
local/templates/404/footer.php
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
<?
|
||||||
|
if(defined("B_PROLOG_INCLUDED") && B_PROLOG_INCLUDED===true)
|
||||||
|
{
|
||||||
|
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
<ul class="column">
|
||||||
|
<li><b>Программы</b></li>
|
||||||
|
<?$APPLICATION->IncludeComponent(
|
||||||
|
"evolution:leasing.programs.list",
|
||||||
|
"footer",
|
||||||
|
Array()
|
||||||
|
);?>
|
||||||
|
</ul>
|
||||||
|
<ul class="column">
|
||||||
|
<li><b>Каталог техники</b></li>
|
||||||
|
<li><a href="/catalog/">Легковые</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="column">
|
||||||
|
<li><b>О компании</b></li>
|
||||||
|
<li><a href="/about/news/">Новости</a></li>
|
||||||
|
<li><a href="/about/career/">Карьера</a></li>
|
||||||
|
<li><a href="/about/contacts/">Контакты</a></li>
|
||||||
|
<li><a href="/about/requisites/">Реквизиты</a></li>
|
||||||
|
<li><a href="/revocation/">Отзыв доверенностей</a></li>
|
||||||
|
</ul>
|
||||||
|
<div class="column">
|
||||||
|
<div>
|
||||||
|
<a href="mailto:buy@evoleasing.ru">buy@evoleasing.ru</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a href="tel:88003337575">8 800 333 75 75</a>
|
||||||
|
</div>
|
||||||
|
<div class="socials">
|
||||||
|
<a href="https://www.instagram.com/evoleasing/" target="_blank" rel="nofollow noopener">
|
||||||
|
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path
|
||||||
|
d="M16.0003 4.36377C12.8401 4.36377 12.4435 4.37759 11.2023 4.43407C9.9636 4.4908 9.11805 4.68692 8.37819 4.97468C7.61288 5.27189 6.96369 5.66947 6.31692 6.3165C5.66967 6.96328 5.2721 7.6125 4.97393 8.37759C4.68545 9.11771 4.4891 9.96353 4.43334 11.2018C4.37783 12.443 4.36328 12.8399 4.36328 16.0001C4.36328 19.1604 4.37734 19.5558 4.43358 20.797C4.49055 22.0358 4.68667 22.8813 4.97417 23.6212C5.27162 24.3866 5.66918 25.0358 6.31619 25.6826C6.96272 26.3298 7.61191 26.7284 8.37673 27.0256C9.11708 27.3133 9.96287 27.5095 11.2014 27.5662C12.4426 27.6227 12.8389 27.6365 15.9988 27.6365C19.1592 27.6365 19.5546 27.6227 20.7958 27.5662C22.0345 27.5095 22.881 27.3133 23.6214 27.0256C24.3864 26.7284 25.0347 26.3298 25.6812 25.6826C26.3284 25.0358 26.726 24.3866 27.0242 23.6215C27.3102 22.8813 27.5066 22.0355 27.5648 20.7972C27.6205 19.556 27.6351 19.1604 27.6351 16.0001C27.6351 12.8399 27.6205 12.4433 27.5648 11.2021C27.5066 9.96328 27.3102 9.11771 27.0242 8.37783C26.726 7.6125 26.3284 6.96328 25.6812 6.3165C25.0339 5.66922 24.3867 5.27165 23.6206 4.97468C22.8788 4.68692 22.0328 4.4908 20.7941 4.43407C19.5529 4.37759 19.1577 4.36377 15.9966 4.36377H16.0003ZM14.9564 6.46074C15.2662 6.46025 15.6119 6.46074 16.0003 6.46074C19.1071 6.46074 19.4753 6.47189 20.7022 6.52765C21.8367 6.57953 22.4524 6.7691 22.8626 6.92838C23.4056 7.13928 23.7928 7.39141 24.1998 7.79868C24.607 8.20595 24.8591 8.59383 25.0705 9.13686C25.2298 9.54656 25.4196 10.1623 25.4712 11.2969C25.527 12.5235 25.5391 12.892 25.5391 15.9975C25.5391 19.1029 25.527 19.4714 25.4712 20.6981C25.4194 21.8326 25.2298 22.4484 25.0705 22.8581C24.8596 23.4011 24.607 23.7878 24.1998 24.1948C23.7925 24.6021 23.4059 24.8542 22.8626 25.0651C22.4529 25.2251 21.8367 25.4142 20.7022 25.4661C19.4755 25.5218 19.1071 25.5339 16.0003 25.5339C12.8932 25.5339 12.525 25.5218 11.2983 25.4661C10.1638 25.4137 9.54809 25.2241 9.13768 25.0649C8.59467 24.8539 8.2068 24.6018 7.79954 24.1946C7.39228 23.7873 7.14017 23.4004 6.92878 22.8571C6.76951 22.4474 6.5797 21.8316 6.52806 20.6971C6.47231 19.4704 6.46116 19.1019 6.46116 15.9946C6.46116 12.8872 6.47231 12.5206 6.52806 11.294C6.57994 10.1594 6.76951 9.54365 6.92878 9.13347C7.13968 8.59044 7.39228 8.20256 7.79954 7.79528C8.2068 7.38801 8.59467 7.13589 9.13768 6.9245C9.54785 6.7645 10.1638 6.57541 11.2983 6.52328C12.3718 6.4748 12.7878 6.46025 14.9564 6.45783V6.46074ZM22.2115 8.39286C21.4406 8.39286 20.8151 9.01759 20.8151 9.78874C20.8151 10.5596 21.4406 11.1851 22.2115 11.1851C22.9824 11.1851 23.6078 10.5596 23.6078 9.78874C23.6078 9.01783 22.9824 8.39237 22.2115 8.39237V8.39286ZM16.0003 10.0244C12.7002 10.0244 10.0247 12.7 10.0247 16.0001C10.0247 19.3003 12.7002 21.9747 16.0003 21.9747C19.3003 21.9747 21.9749 19.3003 21.9749 16.0001C21.9749 12.7 19.3 10.0244 16 10.0244H16.0003ZM16.0003 12.1213C18.1423 12.1213 19.8789 13.8578 19.8789 16.0001C19.8789 18.1422 18.1423 19.8789 16.0003 19.8789C13.858 19.8789 12.1216 18.1422 12.1216 16.0001C12.1216 13.8578 13.858 12.1213 16.0003 12.1213Z"
|
||||||
|
fill="#8E94A7" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="https://www.facebook.com/evoleasing" target="_blank" rel="nofollow noopener">
|
||||||
|
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M4 16C4 21.9333 8.33333 26.8667 14 27.8667L14.0669 27.8132C14.0446 27.8088 14.0223 27.8045 14 27.8V19.3333H11V16H14V13.3333C14 10.3333 15.9333 8.66667 18.6667 8.66667C19.5333 8.66667 20.4667 8.8 21.3333 8.93333V12H19.8C18.3333 12 18 12.7333 18 13.6667V16H21.2L20.6667 19.3333H18V27.8C17.9777 27.8045 17.9554 27.8088 17.9331 27.8132L18 27.8667C23.6667 26.8667 28 21.9333 28 16C28 9.4 22.6 4 16 4C9.4 4 4 9.4 4 16Z"
|
||||||
|
fill="#8E94A7" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="https://vk.com/evoleasing" target="_blank" rel="nofollow noopener">
|
||||||
|
<svg data-name="Layer 21" height="32" id="Layer_21" viewBox="0 0 24 24" width="32" xmlns="http://www.w3.org/2000/svg"><path fill="#8E94A7" d="M21.54736,7H18.25688a.74281.74281,0,0,0-.65452.39156s-1.31237,2.41693-1.73392,3.231C14.73438,12.8125,14,12.125,14,11.10863V7.60417A1.10417,1.10417,0,0,0,12.89583,6.5h-2.474a1.9818,1.9818,0,0,0-1.751.8125s1.25626-.20312,1.25626,1.48958c0,.41974.02162,1.62723.04132,2.64a.72943.72943,0,0,1-1.273.50431,21.54029,21.54029,0,0,1-2.4982-4.54359A.69314.69314,0,0,0,5.5668,7C4.8532,7,3.42522,7,2.57719,7a.508.508,0,0,0-.47969.68481C3.00529,10.17487,6.91576,18,11.37917,18h1.87865A.74219.74219,0,0,0,14,17.25781V16.12342a.7293.7293,0,0,1,1.22868-.5315l2.24861,2.1127A1.08911,1.08911,0,0,0,18.223,18h2.95281c1.42415,0,1.42415-.98824.64768-1.75294-.54645-.53817-2.51832-2.61663-2.51832-2.61663A1.01862,1.01862,0,0,1,19.2268,12.307c.63737-.83876,1.67988-2.21175,2.122-2.79993C21.95313,8.70313,23.04688,7,21.54736,7Z"/></svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p>© ООО "ЛК Эволюция"</p>
|
||||||
|
<div>
|
||||||
|
<a href="/upload/docs/personal_date_policy.pdf" target="_blank">Обработка персональных данных</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a href="/about/rules/">Общие условия договора лизинга</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<div id="cookie">
|
||||||
|
<button class="close" area-label="Закрыть"></button>
|
||||||
|
<p>Мы <a href="/cookies/">используем cookies</a> для улучшения использования сайта.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
|
<script src="https://unpkg.com/embla-carousel/embla-carousel.umd.js"></script>
|
||||||
|
<script src="/local/templates/evolution/js/rangeslider.min.js"></script>
|
||||||
|
<script src="/local/templates/evolution/js/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
78
local/templates/404/header.php
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
|
||||||
|
IncludeTemplateLangFile(__FILE__);
|
||||||
|
?>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<? CJSCore::Init(array("jquery3")); ?>
|
||||||
|
<!-- Google Tag Manager -->
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-W9PFQ4P');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
|
<? $APPLICATION->SetAdditionalCSS("/local/templates/evolution/css/style.css"); ?>
|
||||||
|
<? $APPLICATION->AddHeadScript('https://unpkg.com/react@17/umd/react.development.js'); ?>
|
||||||
|
<? $APPLICATION->AddHeadScript('https://unpkg.com/react-dom@17/umd/react-dom.development.js'); ?>
|
||||||
|
<? $APPLICATION->AddHeadScript('https://unpkg.com/babel-standalone@6/babel.min.js'); ?>
|
||||||
|
|
||||||
|
<!--<script src="" crossorigin></script>-->
|
||||||
|
<!--<script src="" crossorigin></script>-->
|
||||||
|
<!--<script src=""></script>-->
|
||||||
|
|
||||||
|
<? $APPLICATION->ShowHead(); ?>
|
||||||
|
<title><? $APPLICATION->ShowTitle(); ?></title>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" />
|
||||||
|
<meta name="msapplication-TileColor" content="#1C01A9" />
|
||||||
|
<meta name="msapplication-TileImage" content="/favicon/favicon_144.png" />
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
||||||
|
|
||||||
|
<link rel="icon" type="image/png" href="/favicon/favicon-16.png" sizes="16x16" />
|
||||||
|
<link rel="icon" type="image/png" href="/favicon/favicon-32.png" sizes="32x32" />
|
||||||
|
<link rel="icon" type="image/png" href="/favicon/favicon_96.png" sizes="96x96" />
|
||||||
|
|
||||||
|
<link rel="apple-touch-icon" sizes="57x57" href="/favicon/favicon_57.png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="/favicon/favicon_72.png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="144x144" href="/favicon/favicon_144.png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="64x64" href="/favicon/favicon_64.png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="120x120" href="/favicon/favicon_120.png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="/favicon/favicon_72.png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="152x152" href="/favicon/favicon_152.png" />
|
||||||
|
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:image" content="/favicon/favicon_152.png" />
|
||||||
|
<meta property="og:description" content="" />
|
||||||
|
|
||||||
|
<meta name="theme-color" content="#1C01A9" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W9PFQ4P"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
|
<header>
|
||||||
|
<? $APPLICATION->IncludeComponent("bitrix:menu", "evolution", Array(
|
||||||
|
"ALLOW_MULTI_SELECT" => "N", // Разрешить несколько активных пунктов одновременно
|
||||||
|
"CHILD_MENU_TYPE" => "left", // Тип меню для остальных уровней
|
||||||
|
"DELAY" => "N", // Откладывать выполнение шаблона меню
|
||||||
|
"MAX_LEVEL" => "1", // Уровень вложенности меню
|
||||||
|
"MENU_CACHE_GET_VARS" => array( // Значимые переменные запроса
|
||||||
|
0 => "",
|
||||||
|
),
|
||||||
|
"MENU_CACHE_TIME" => "3600", // Время кеширования (сек.)
|
||||||
|
"MENU_CACHE_TYPE" => "N", // Тип кеширования
|
||||||
|
"MENU_CACHE_USE_GROUPS" => "Y", // Учитывать права доступа
|
||||||
|
"ROOT_MENU_TYPE" => "top", // Тип меню для первого уровня
|
||||||
|
"USE_EXT" => "N", // Подключать файлы с именами вида .тип_меню.menu_ext.php
|
||||||
|
),
|
||||||
|
false
|
||||||
|
); ?>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<!--<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF">-->
|
||||||
|
<? $APPLICATION->ShowPanel(); ?>
|
||||||
@ -2751,7 +2751,6 @@ article #choose_region {
|
|||||||
|
|
||||||
.popover p {
|
.popover p {
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
margin-right: 25px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover .arrow {
|
.popover .arrow {
|
||||||
|
|||||||
@ -75,13 +75,4 @@ IncludeTemplateLangFile(__FILE__);
|
|||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<!--<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF">-->
|
<!--<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF">-->
|
||||||
<? $APPLICATION->ShowPanel(); ?>
|
<? $APPLICATION->ShowPanel(); ?>
|
||||||
<?if($USER->IsAdmin()):?>
|
|
||||||
<div style="border:red solid 1px">
|
|
||||||
<form action="/bitrix/admin/site_edit.php" method="GET">
|
|
||||||
<input type="hidden" name="LID" value="<?=SITE_ID?>" />
|
|
||||||
<p><font style="color:red"><?echo GetMessage("DEF_TEMPLATE_NF")?> </font></p>
|
|
||||||
<input type="submit" name="set_template" value="<?echo GetMessage("DEF_TEMPLATE_NF_SET")?>" />
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<?endif?>
|
|
||||||
72
robots.txt
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
User-Agent: * # правила для всех роботов
|
||||||
|
Disallow: /cgi-bin # папка на хостинге
|
||||||
|
Disallow: /bitrix/ # папка с системными файлами битрикса
|
||||||
|
Disallow: *bitrix_*= # GET-запросы битрикса
|
||||||
|
Disallow: /local/ # папка с системными файлами битрикса
|
||||||
|
Disallow: /*index.php$ # дубли страниц index.php
|
||||||
|
Disallow: /auth/ # авторизация
|
||||||
|
Disallow: *auth= # авторизация
|
||||||
|
Disallow: /personal/ # личный кабинет
|
||||||
|
Disallow: *register= # регистрация
|
||||||
|
Disallow: *forgot_password= # забыли пароль
|
||||||
|
Disallow: *change_password= # изменить пароль
|
||||||
|
Disallow: *login= # логин
|
||||||
|
Disallow: *logout= # выход
|
||||||
|
Disallow: */search/ # поиск
|
||||||
|
Disallow: *action= # действия
|
||||||
|
Disallow: *print= # печать
|
||||||
|
Disallow: *?new=Y # новая страница
|
||||||
|
Disallow: *?edit= # редактирование
|
||||||
|
Disallow: *?preview= # предпросмотр
|
||||||
|
Disallow: *backurl= # трекбеки
|
||||||
|
Disallow: *back_url= # трекбеки
|
||||||
|
Disallow: *back_url_admin= # трекбеки
|
||||||
|
Disallow: *captcha # каптча
|
||||||
|
Disallow: */feed # все фиды
|
||||||
|
Disallow: */rss # rss фид
|
||||||
|
Disallow: *?FILTER*= # здесь и ниже различные популярные параметры фильтров
|
||||||
|
Disallow: *?ei=
|
||||||
|
Disallow: *?p=
|
||||||
|
Disallow: *?q=
|
||||||
|
Disallow: *?tags=
|
||||||
|
Disallow: *B_ORDER=
|
||||||
|
Disallow: *BRAND=
|
||||||
|
Disallow: *CLEAR_CACHE=
|
||||||
|
Disallow: *ELEMENT_ID=
|
||||||
|
Disallow: *price_from=
|
||||||
|
Disallow: *price_to=
|
||||||
|
Disallow: *PROPERTY_TYPE=
|
||||||
|
Disallow: *PROPERTY_WIDTH=
|
||||||
|
Disallow: *PROPERTY_HEIGHT=
|
||||||
|
Disallow: *PROPERTY_DIA=
|
||||||
|
Disallow: *PROPERTY_OPENING_COUNT=
|
||||||
|
Disallow: *PROPERTY_SELL_TYPE=
|
||||||
|
Disallow: *PROPERTY_MAIN_TYPE=
|
||||||
|
Disallow: *PROPERTY_PRICE[*]=
|
||||||
|
Disallow: *S_LAST=
|
||||||
|
Disallow: *SECTION_ID=
|
||||||
|
Disallow: *SECTION[*]=
|
||||||
|
Disallow: *SHOWALL=
|
||||||
|
Disallow: *SHOW_ALL=
|
||||||
|
Disallow: *SHOWBY=
|
||||||
|
Disallow: *SORT=
|
||||||
|
Disallow: *SPHRASE_ID=
|
||||||
|
Disallow: *TYPE=
|
||||||
|
Disallow: *utm*= # ссылки с utm-метками
|
||||||
|
Disallow: *openstat= # ссылки с метками openstat
|
||||||
|
Disallow: *from= # ссылки с метками from
|
||||||
|
Disallow: /test/
|
||||||
|
Disallow: /temp/
|
||||||
|
Disallow: /evo/*
|
||||||
|
Allow: */upload/ # открываем папку с файлами uploads
|
||||||
|
Allow: /bitrix/*.js # здесь и далее открываем для индексации скрипты
|
||||||
|
Allow: /bitrix/*.css
|
||||||
|
Allow: /local/*.js
|
||||||
|
Allow: /local/*.css
|
||||||
|
Allow: /local/*.jpg
|
||||||
|
Allow: /local/*.jpeg
|
||||||
|
Allow: /local/*.png
|
||||||
|
Allow: /local/*.gif
|
||||||
|
# Укажите один или несколько файлов Sitemap
|
||||||
|
Sitemap: https://evoleasing.ru/sitemap.xml
|
||||||
|
Host: https://evoleasing.ru
|
||||||