Merge branch 'master' into development

Conflicts:
	local/templates/evolution/css/components/style.css
	local/templates/evolution/css/main/style.css
	local/templates/evolution/css/main/style.less
This commit is contained in:
merelendor 2022-07-26 08:25:59 +03:00
commit 1ed8b34b1d
46 changed files with 6610 additions and 248 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ robots.txt
sitemap*
.xml
.htsecure
cron/yasprav.log
local/yasprav.log

View File

@ -164,7 +164,7 @@ ErrorDocument 404 /404.php
RewriteRule ^offer-detail/$ https://www.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://www.evoleasing.ru/special/harley-davidson-finance/spetspredlozhenie-na-kommercheskie-avtomobili-ford-transit/? [R=301,NE,NC,L]
RewriteRule ^offer-detail/$ https://www.evoleasing.ru/catalog/ford/transit/? [R=301,NE,NC,L]
RewriteCond %{QUERY_STRING} ^ID=1155$ [NC]
RewriteRule ^offer-detail/$ https://www.evoleasing.ru/special/harley-davidson-finance/roskoshnye-skidki-na-mercedes-benz/? [R=301,NE,NC,L]

View File

@ -9,28 +9,28 @@ $aMenuLinks = Array(
),
Array(
"Спецпредложения",
"/special",
"/special/",
Array(),
Array(),
""
),
Array(
"Сервисы",
"/services",
"/services/",
Array(),
Array(),
""
),
Array(
"Каталог автомобилей",
"/catalog",
"/catalog/",
Array(),
Array(),
""
),
Array(
"О компании",
"/about",
"/about/",
Array(),
Array(),
""

View File

@ -90,6 +90,30 @@ function checkRequestIsLocal()
return false;
}
function checkRecaptchaRequest($token, $ipAddress)
{
$c = curl_init();
curl_setopt($c, CURLOPT_URL, "https://www.google.com/recaptcha/api/siteverify");
curl_setopt($c, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($c, CURLOPT_TIMEOUT, 30);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, [
"secret" => RECAPTCHA_SECRET_KEY,
"response" => $token,
"remoteip" => $ipAddress,
]);
$response = curl_exec($c) or die(curl_error($c));
curl_close($c);
$response_decoded = json_decode($response, true);
return $response_decoded['success'];
}
if($_SERVER['REMOTE_USER'] && strpos($_SERVER['REMOTE_USER'], "Bearer") > -1)
{
$token = str_replace("Bearer ", "", $_SERVER['REMOTE_USER']);
@ -592,201 +616,209 @@ switch($PARAM_1)
{
$ipAddress = GeoIp\Manager::getRealIp();
$result = GeoIp\Manager::getDataResult($ipAddress, "ru");
$_REQUEST['FORM_FIELD_REGION'] = $result->getGeoData()->regionName.", ".$result->getGeoData()->cityName;
$error = "";
$arr = Array();
$form_errors = Array();
$arParams['request'] = $_REQUEST;
$attach = false;
$form_code = trim($_REQUEST['form']);
$form = CForm::GetBySID($form_code);
$form = $form->Fetch();
$formQuestions = Array();
$formAnswers = Array();
$sort = "s_sort";
$order = "asc";
$filtered = false;
$resFormQuestions = CFormField::GetList($form['ID'], "N", $$sort, $$order, Array(), $$filtered);
while($arFormQuestion = $resFormQuestions->Fetch())
if(checkRecaptchaRequest($_REQUEST['recaptcha_token'], $ipAddress))
{
$rsAnswers = CFormAnswer::GetList($arFormQuestion['ID'], $$sort, $$order, Array(), $$filtered);
$arAnswer = $rsAnswers->Fetch();
$_REQUEST['FORM_FIELD_REGION'] = $result->getGeoData()->regionName.", ".$result->getGeoData()->cityName;
$arFormQuestion['ANSWER'] = $arAnswer;
$formQuestions[] = $arFormQuestion;
}
$error = "";
$form_errors = Array();
$arParams['request'] = $_REQUEST;
$attach = false;
$c = 1;
foreach($formQuestions AS $fq)
{
if($fq['REQUIRED'] == "Y")
$form_code = trim($_REQUEST['form']);
$form = CForm::GetBySID($form_code);
$form = $form->Fetch();
$formQuestions = Array();
$formAnswers = Array();
$sort = "s_sort";
$order = "asc";
$filtered = false;
$resFormQuestions = CFormField::GetList($form['ID'], "N", $$sort, $$order, Array(), $$filtered);
while($arFormQuestion = $resFormQuestions->Fetch())
{
if($_REQUEST[$fq['SID']] == "" && $fq['ANSWER']['FIELD_TYPE'] != "file")
$rsAnswers = CFormAnswer::GetList($arFormQuestion['ID'], $$sort, $$order, Array(), $$filtered);
$arAnswer = $rsAnswers->Fetch();
$arFormQuestion['ANSWER'] = $arAnswer;
$formQuestions[] = $arFormQuestion;
}
$c = 1;
foreach($formQuestions AS $fq)
{
if($fq['REQUIRED'] == "Y")
{
array_push($form_errors, $fq['SID']);
}
if($fq['ANSWER']['FIELD_TYPE'] == "email")
{
if(!filter_var($_REQUEST[$fq['SID']], FILTER_VALIDATE_EMAIL))
if($_REQUEST[$fq['SID']] == "" && $fq['ANSWER']['FIELD_TYPE'] != "file")
{
array_push($form_errors, $fq['SID']);
}
}
}
if($fq['ANSWER']['FIELD_TYPE'] == "file")
{
if(is_array($_FILES[$fq['SID']]))
{
if(CFormValidator::Execute(
array("PARAMS" => Array("EXT" => "doc,docx,rtf,pdf,txt,jpg,jpeg,png,gif,bmp"),"NAME" => "file_type"),
array(),
array(),
array($_FILES[$fq['SID']])
))
if($fq['ANSWER']['FIELD_TYPE'] == "email")
{
$formAnswers["form_".$fq['ANSWER']['FIELD_TYPE']."_".$fq['ANSWER']['ID']] = $_FILES[$fq['SID']];
$attach = true;
if(!filter_var($_REQUEST[$fq['SID']], FILTER_VALIDATE_EMAIL))
{
array_push($form_errors, $fq['SID']);
}
}
}
if($fq['ANSWER']['FIELD_TYPE'] == "file")
{
if(is_array($_FILES[$fq['SID']]))
{
if(CFormValidator::Execute(
array("PARAMS" => Array("EXT" => "doc,docx,rtf,pdf,txt,jpg,jpeg,png,gif,bmp"),"NAME" => "file_type"),
array(),
array(),
array($_FILES[$fq['SID']])
))
{
$formAnswers["form_".$fq['ANSWER']['FIELD_TYPE']."_".$fq['ANSWER']['ID']] = $_FILES[$fq['SID']];
$attach = true;
}
else
{
array_push($form_errors, $fq['SID']);
}
}
else
{
array_push($form_errors, $fq['SID']);
}
}
else
{
if($fq['REQUIRED'] == "Y")
{
array_push($form_errors, $fq['SID']);
}
}
}
else
{
if(strpos($fq['TITLE'], "utm_") > -1)
{
$formAnswers["form_".$fq['ANSWER']['FIELD_TYPE']."_".$fq['ANSWER']['ID']] = $_COOKIE[strtolower($fq['TITLE'])];
}
else
{
$formAnswers["form_".$fq['ANSWER']['FIELD_TYPE']."_".$fq['ANSWER']['ID']] = $_REQUEST[$fq['SID']];
}
}
$arr['q'][] = $fq;
$c++;
}
if(!empty($_SESSION[$_REQUEST['form']."_CAPTCHA"]))
{
if($_SESSION[$_REQUEST['form'].'_CAPTCHA'] != $_REQUEST[$_REQUEST['form'].'_CAPTCHA'])
{
array_push($form_errors, $_REQUEST['form'].'_CAPTCHA');
}
}
$arr['FILES'] = $_FILES;
if(count($form_errors) == 0)
{
if($RESULT_ID = CFormResult::Add($form['ID'], $formAnswers))
{
$arr['status'] = "complete";
if($attach || array_key_exists("FORM_FILLING", $_REQUEST))
{
if($attach)
{
$arAnswer = CFormResult::GetDataByID($RESULT_ID, Array(), $arResult, $arAnswer2);
$fields = Array();
$attached_files = Array();
foreach($arAnswer AS $k => $v)
if($fq['REQUIRED'] == "Y")
{
$fields[$k] = $v[0]['USER_TEXT'];
if($v[0]['USER_FILE_ID'] != NULL)
{
array_push($attached_files, $v[0]['USER_FILE_ID']);
}
array_push($form_errors, $fq['SID']);
}
}
}
else
{
if(strpos($fq['TITLE'], "utm_") > -1)
{
$formAnswers["form_".$fq['ANSWER']['FIELD_TYPE']."_".$fq['ANSWER']['ID']] = $_COOKIE[strtolower($fq['TITLE'])];
}
else
{
$formAnswers["form_".$fq['ANSWER']['FIELD_TYPE']."_".$fq['ANSWER']['ID']] = $_REQUEST[$fq['SID']];
}
}
$post_event_name = "FORM_FILLING_".$_REQUEST['form'];
$arr['q'][] = $fq;
CEvent::Send($post_event_name, "s1", $fields, "N", "", $attached_files);
$c++;
}
if(!empty($_SESSION[$_REQUEST['form']."_CAPTCHA"]))
{
if($_SESSION[$_REQUEST['form'].'_CAPTCHA'] != $_REQUEST[$_REQUEST['form'].'_CAPTCHA'])
{
array_push($form_errors, $_REQUEST['form'].'_CAPTCHA');
}
}
$arr['FILES'] = $_FILES;
if(count($form_errors) == 0)
{
if($RESULT_ID = CFormResult::Add($form['ID'], $formAnswers))
{
$arr['status'] = "complete";
if($attach || array_key_exists("FORM_FILLING", $_REQUEST))
{
if($attach)
{
$arAnswer = CFormResult::GetDataByID($RESULT_ID, Array(), $arResult, $arAnswer2);
$fields = Array();
$attached_files = Array();
foreach($arAnswer AS $k => $v)
{
$fields[$k] = $v[0]['USER_TEXT'];
if($v[0]['USER_FILE_ID'] != NULL)
{
array_push($attached_files, $v[0]['USER_FILE_ID']);
}
}
$post_event_name = "FORM_FILLING_".$_REQUEST['form'];
CEvent::Send($post_event_name, "s1", $fields, "N", "", $attached_files);
}
else
{
CFormResult::Mail($RESULT_ID);
}
}
else
{
CFormResult::Mail($RESULT_ID);
}
if($form_code === "FORM_LEASING_REQUESTS")
{
$url = API_HOST."/site/RequestFromSite";
$payload = json_encode([
"region" => $_REQUEST['FORM_FIELD_REGION'],
"name" => $REQ['FORM_FIELD_FIO'],
"phone" => $REQ['FORM_FIELD_PHONE'],
"email" => $REQ['FORM_FIELD_EMAIL'],
"org_title" => $REQ['FORM_FIELD_COMPANY'],
"brand" => $REQ['FORM_FIELD_BRAND'],
"model" => $REQ['FORM_FIELD_MODEL'],
"modification" => $REQ['FORM_FIELD_MODIFICATION'],
"price" => (int) $REQ['FORM_FIELD_PRICE'],
"prepaid" => (int) $REQ['FORM_FIELD_PREPAID'],
"term" => (int) $REQ['FORM_FIELD_TERM'],
"redemption" => (int) $REQ['FORM_FIELD_REDEMPTION'],
"utm_source" => $_COOKIE['utm_source'],
"utm_medium" => $_COOKIE['utm_medium'],
"utm_campaign" => $_COOKIE['utm_campaign'],
"utm_term" => $_COOKIE['utm_term'],
"utm_content" => $_COOKIE['utm_content'],
"page_url" => $REQ['FORM_FIELD_PAGE_URL'],
"page_name" => $REQ['FORM_FIELD_PAGE_NAME'],
]);
$c = curl_init();
curl_setopt($c, CURLOPT_URL, API_HOST."/site/RequestFromSite");
curl_setopt($c, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($c, CURLOPT_TIMEOUT, 30);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, $payload);
curl_setopt($c, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
$response = curl_exec($c);
curl_close($c);
}
}
else
{
CFormResult::Mail($RESULT_ID);
}
//HERE
if($form_code === "FORM_LEASING_REQUESTS")
{
$url = API_HOST."/site/RequestFromSite";
$payload = json_encode([
"region" => $_REQUEST['FORM_FIELD_REGION'],
"name" => $REQ['FORM_FIELD_FIO'],
"phone" => $REQ['FORM_FIELD_PHONE'],
"email" => $REQ['FORM_FIELD_EMAIL'],
"org_title" => $REQ['FORM_FIELD_COMPANY'],
"brand" => $REQ['FORM_FIELD_BRAND'],
"model" => $REQ['FORM_FIELD_MODEL'],
"modification" => $REQ['FORM_FIELD_MODIFICATION'],
"price" => (int) $REQ['FORM_FIELD_PRICE'],
"prepaid" => (int) $REQ['FORM_FIELD_PREPAID'],
"term" => (int) $REQ['FORM_FIELD_TERM'],
"redemption" => (int) $REQ['FORM_FIELD_REDEMPTION'],
"utm_source" => $_COOKIE['utm_source'],
"utm_medium" => $_COOKIE['utm_medium'],
"utm_campaign" => $_COOKIE['utm_campaign'],
"utm_term" => $_COOKIE['utm_term'],
"utm_content" => $_COOKIE['utm_content'],
"page_url" => $REQ['FORM_FIELD_PAGE_URL'],
"page_name" => $REQ['FORM_FIELD_PAGE_NAME'],
]);
$c = curl_init();
curl_setopt($c, CURLOPT_URL, API_HOST."/site/RequestFromSite");
curl_setopt($c, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($c, CURLOPT_TIMEOUT, 30);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, $payload);
curl_setopt($c, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
$response = curl_exec($c);
curl_close($c);
$arr['status'] = "error";
global $strError;
$arr['message'] = $strError;
}
}
else
{
$arr['status'] = "error";
global $strError;
$arr['message'] = $strError;
$arr['errors'] = $form_errors;
}
$arr['request'] = $_REQUEST;
$arr['answers'] = $formAnswers;
}
else
{
$arr['status'] = "error";
$arr['errors'] = $form_errors;
$arr['message'] = "recaptcha_error";
}
$arr['request'] = $_REQUEST;
$arr['answers'] = $formAnswers;
print json_encode($arr);
die();

3
boston/.section.php Normal file
View File

@ -0,0 +1,3 @@
<?
$sSectionName="Boston Auto";
?>

BIN
boston/boston.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

64
boston/index.php Normal file
View File

@ -0,0 +1,64 @@
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Эволюция автолизинга: Вместе с Boston Auto");
?>
<style>
.offer_item_boston {
width: calc(33.333% - 20px);
padding-bottom: 30px;
position: relative;
}
.offer_item_bostom img{
position: absolute;
top: 0;
left: 0;
}
</style>
<section data-page="about">
<section class="gray">
<div class="container">
<h2>Вместе с <span style="color: #e31e25;">Boston Auto</span></h2>
<div class="leasing_offers_list">
<div class="offer_item_boston">
<img src="/boston/boston.jpg" alt="">
</div>
<div class="offer_item">
<img src="/images/leasing/icon-1.svg" alt="">
<p>
<b>Параметры финансирования</b>
</p>
<ul class="custom-dots">
<li><b>Аванс от 5%</b></li>
<li>Срок <b>от 13 до 60 месяцев</b></li>
<li>Решение в день обращения</li>
</ul> </div>
<div class="offer_item">
<img src="/images/leasing/icon-2.svg" alt="">
<p>
<b>Финансовые преимущества</b>
</p>
<ul class="custom-dots">
<li>Возврат <b>20% НДС</b> от стоимости автомобиля</li>
<li>Включение в расходы лизинговых платежей</li>
<li>Любые графики под Ваши цели</li>
</ul> </div>
</div></div>
</section>
<article>
<?$APPLICATION->IncludeComponent(
"evolution:form.leasing.nomail",
"",
Array()
);?>
</article>
</section>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>

2
cron/.htaccess Normal file
View File

@ -0,0 +1,2 @@
order deny,allow
deny from all

3
cron/.section.php Normal file
View File

@ -0,0 +1,3 @@
<?
$sSectionName="cron";
?>

1
cron/yasprav.log Normal file
View File

@ -0,0 +1 @@
<pre>1 => MO1</pre><pre>2 => SP1</pre><pre>3 => BN1</pre><pre>4 => BG1</pre><pre>5 => VL1</pre><pre>6 => VR1</pre><pre>7 => EK1</pre><pre>8 => IR1</pre><pre>9 => KZ1</pre><pre>10 => KG1</pre><pre>11 => KL1</pre><pre>12 => KM1</pre><pre>13 => KR1</pre><pre>14 => KS2</pre><pre>15 => KS1</pre><pre>16 => LP1</pre><pre>17 => NC1</pre><pre>18 => NN1</pre><pre>19 => NV1</pre><pre>20 => NR1</pre><pre>21 => NS1</pre><pre>22 => OM1</pre><pre>23 => OR1</pre><pre>24 => PR1</pre><pre>25 => RD1</pre><pre>26 => RZ1</pre><pre>27 => SM1</pre><pre>28 => SR1</pre><pre>29 => SC1</pre><pre>30 => SK1</pre><pre>31 => ST1</pre><pre>32 => SG1</pre><pre>33 => TL1</pre><pre>34 => TM1</pre><pre>35 => UF1</pre><pre>36 => CB1</pre><pre>37 => CL1</pre><pre>38 => YR1</pre><pre></pre><pre></pre>Ok! Сохранено по <a href='https://www.evoleasing.ru/upload/docs/yasprav.xml'>ссылке!</a> 24.06.2022

78
cron/yasprav.php Normal file
View File

@ -0,0 +1,78 @@
<?
$_SERVER['DOCUMENT_ROOT'] = '/home/bitrix/www/'; // на один уровень выше, чем /cron/
define('NO_KEEP_STATISTIC', true);
define('NOT_CHECK_PERMISSIONS',true);
define('SITE_ID', 's1');
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
require($DOCUMENT_ROOT.'/bitrix/modules/main/include/prolog_before.php');
?>
<?
$xmlbody = '<?xml version="1.0" encoding="UTF-8"?><companies>';
$i = 0;
$today = date("d.m.Y");
CModule::IncludeModule("iblock");
$arSelect = Array("ID", "NAME", "PROPERTY_PHONE", "PROPERTY_PHONE_CENTRAL","PROPERTY_ADDRESS","PROPERTY_HOURS","PROPERTY_GEO", "PROPERTY_YAADRESS1","PROPERTY_YAADRESS2","PROPERTY_YADATA","PROPERTY_YAID",);
$arFilter = Array("IBLOCK_ID"=>5, "ACTIVE"=>"Y");
$res = CIBlockElement::GetList(Array("SORT"=>"ASC"), $arFilter, false, Array("nPageSize"=>333), $arSelect);
while($ob = $res->GetNextElement())
{
$arFields = $ob->GetFields();
$geo = explode(",", $arFields["PROPERTY_GEO_VALUE"]);
$xmlbody .= '<company>
<company-id>'.$arFields["PROPERTY_YAID_VALUE"].'</company-id>
<name lang="ru">Эволюция Автолизинга</name>
<shortname lang="ru">ЛК Эволюция</shortname>
<address lang="ru">'.$arFields["PROPERTY_YAADRESS1_VALUE"].'</address>
<country lang="ru">Россия</country>
<address-add lang="ru">'.$arFields["PROPERTY_YAADRESS2_VALUE"].'</address-add>
<phone>
<number>'.$arFields["PROPERTY_PHONE_VALUE"].'</number>
<info>Горячая линия</info>
<type>phone</type>
</phone>
<email>buy@evoleasing.ru</email>
<url>https://evoleasing.ru</url>
<add-url>https://www.instagram.com/evoleasing/</add-url>
<add-url>https://www.facebook.com/evoleasing</add-url>
<add-url>https://vk.com/evoleasing</add-url>
<info-page>https://evoleasing.ru/about/contacts/</info-page>
<working-time lang="ru">пн-пт 9:00-18:00</working-time>
<rubric-id>184105576</rubric-id>
<inn>9724016636</inn>
<ogrn>1207700245037</ogrn>
<actualization-date>'.$today.'</actualization-date>
<photos>
<photo url="https://evoleasing.ru/upload/img/logo.png" alt="Лого Эволюция Автолизинга" type="LOGO"></photo>
</photos>
<coordinates>
<lon>'.$geo[1].'</lon>
<lat>'.$geo[0].'</lat>
</coordinates>
</company>
';
?><pre><?
$i++;
print_r($i." => ".$arFields["PROPERTY_YAID_VALUE"]);
?></pre><?
}
?><pre><?
//print_r($arFields);
?></pre><?
$xmlbody .= '</companies>';
?><pre><?//print_r($xmlbody);?></pre><?
$file = $DOCUMENT_ROOT . "/upload/docs/yasprav.xml";
$handle = fopen($file, "w+");//Открываем для записи в конец.
if (!$handle) {
echo "Oшибка: файл не создался-".$text;
} else {
fputs ($handle, $xmlbody);
fclose($handle);
echo "Ok! Сохранено по <a href='https://www.evoleasing.ru/upload/docs/yasprav.xml'>ссылке!</a> ".$today;
}
?>
<?require($DOCUMENT_ROOT.'/bitrix/modules/main/include/epilog_after.php');?>

3
favicon/.section.php Normal file
View File

@ -0,0 +1,3 @@
<?
$sSectionName="favicon";
?>

BIN
favicon/favicon-16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
favicon/favicon-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
favicon/favicon_96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

3
finlab/.section.php Normal file
View File

@ -0,0 +1,3 @@
<?
$sSectionName="finlab";
?>

56
finlab/index.php Normal file
View File

@ -0,0 +1,56 @@
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Эволюция автолизинга: finlab");
?><section data-page="about">
<section class="gray">
<div class="container">
<h2>Лизинговые предложения</h2>
<div class="leasing_offers_list">
<div class="offer_item">
<img src="/images/leasing/icon-1.svg" alt="">
<p>
<b>Параметры финансирования</b>
</p>
<ul class="custom-dots">
<li><b>Аванс от 0%</b></li>
<li>Срок <b>от 12 до 60 месяцев</b></li>
<li>Решение в день обращения</li>
</ul> </div>
<div class="offer_item">
<img src="/images/leasing/icon-2.svg" alt="">
<p>
<b>Финансовые преимущества</b>
</p>
<ul class="custom-dots">
<li>Возврат <b>20% НДС</b> от стоимости автомобиля</li>
<li>Включение в расходы лизинговых платежей</li>
<li>Любые графики под Ваши цели</li>
</ul> </div>
<div class="offer_item">
<img src="/images/leasing/icon-3.svg" alt="">
<p>
<b>Условия</b>
</p>
<ul class="custom-dots">
<li>Вам <b>от 3 месяцев</b></li>
<li>Без залога</li>
<li>Минимум документов</li>
</ul> </div>
</div>
</div>
</section>
<article>
<?$APPLICATION->IncludeComponent(
"evolution:form.leasing.nomail",
"",
Array()
);?>
</article>
</section>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>

View File

@ -0,0 +1,18 @@
<?
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;
$this->includeComponentTemplate();

View File

@ -0,0 +1,138 @@
var leasing_form_submitting = false;
function check_errors()
{
var valid = true;
if(!$("#FORM_FIELD_FIO").val())
{
valid = false;
$("#FORM_FIELD_FIO_wrapper").addClass("error").attr("data-error", "Необходимо указать Ваши ФИО");
}
if(!$("#FORM_FIELD_PHONE").val())
{
valid = false;
$("#FORM_FIELD_PHONE_wrapper").addClass("error").attr("data-error", "Необходимо указать номер Вашего телефона");
}
if(!$("#FORM_FIELD_EMAIL").val())
{
valid = false;
$("#FORM_FIELD_EMAIL_wrapper").addClass("error").attr("data-error", "Необходимо указать Ваш адрес E-mail");
}
else
{
if(!is_email($("#FORM_FIELD_EMAIL").val()))
{
valid = false;
$("#FORM_FIELD_EMAIL_wrapper").addClass("error").attr("data-error", "Пожалуйста, укажите правильный адрес E-mail");
}
}
return valid;
}
function form_leasing_request_submit()
{
var accept = $("#policy").is(':checked');
if(!leasing_form_submitting && accept)
{
if(check_errors())
{
leasing_form_submitting = true;
$("#send_button_text").css("display", "none");
$("#send_button_spinner").css("display", "block");
$("#form_leasing_request").find("input").removeClass("error");
var formData = new FormData($("#form_leasing_request")[0]);
formData.append("form", "FORM_LEASING_REQUESTS");
formData.append("FORM_FIELD_PAGE_NAME", document.title);
formData.append("FORM_FIELD_PAGE_URL", window.location.href);
formData.append("FORM_FIELD_BRAND", $("#FORM_FIELD_BRAND").val() ? $("#FORM_FIELD_BRAND").val() : "");
formData.append("FORM_FIELD_MODEL", $("#FORM_FIELD_MODEL").val() ? $("#FORM_FIELD_MODEL").val() : "");
formData.append("FORM_FIELD_MODIFICATION", $("#FORM_FIELD_MODIFICATION").val() ? $("#FORM_FIELD_MODIFICATION").val() : "");
formData.append("FORM_FIELD_PRICE", $("#FORM_FIELD_PRICE").val() ? $("#FORM_FIELD_PRICE").val() : "");
formData.append("FORM_FIELD_PREPAID", $("#FORM_FIELD_PREPAID").val() ? $("#FORM_FIELD_PREPAID").val() : "");
formData.append("FORM_FIELD_TERM", $("#FORM_FIELD_TERM").val() ? $("#FORM_FIELD_TERM").val() : "");
formData.append("FORM_FIELD_REDEMPTION", $("#FORM_FIELD_REDEMPTION").val() ? $("#FORM_FIELD_REDEMPTION").val() : "");
grecaptcha.ready(function()
{
grecaptcha.execute($("meta[name=recaptcha_site_key]").attr("content"), { action: 'submit' }).then(function(token)
{
formData.append("recaptcha_token", token);
$.ajax(
{
url: "/api/forms/", type: 'POST', success: function(response)
{
if(response.status === "complete")
{
$("#form_leasing_info").css("display", "none");
$("#form_leasing_process").css("display","none");
$("#form_leasing_success").css("display","flex");
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
leasing_form_submitting = false;
}
else if(response.status === "error")
{
for(var i in response.errors)
{
$("#form_leasing_request").find("*[name="+response.errors[i]+"]").addClass("error");
}
if(response.message === "recaptcha_error")
{
$("#form_leasing_info").css("display", "none");
$("#form_leasing_process").css("display","none");
$("#form_leasing_fail").css("display","flex").parent().css("backgroundColor", "#2C2D2E");
}
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
leasing_form_submitting = false;
}
}, data: formData,
dataType: "json",
cache: false, contentType: false, processData: false
});
});
});
}
}
}
$(function()
{
$("#form_leasing_request").find("input").on("keypress", function()
{
$(this).parent().removeClass("error").attr("data-error", null);
});
$("#form_leasing_send_button").on("click", function()
{
form_leasing_request_submit();
});
$("#form_leasing_request").on("submit", function(event)
{
event.preventDefault();
form_leasing_request_submit();
});
$("#policy").on("change", function()
{
if($(this).is(':checked'))
{
$("#leasing_send_button").attr("disabled", false);
}
else
{
$("#leasing_send_button").attr("disabled", true);
}
});
});

View File

@ -0,0 +1,94 @@
<?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);
?>
<style type="text/css">
@keyframes send_button_spinner_animation {
0% { transform: translate(-50%,-50%) rotate(0deg); }
100% { transform: translate(-50%,-50%) rotate(360deg); }
}
.send_button_spinner_animation div {
position: absolute;
width: 65px;
height: 65px;
border: 5px solid #1c01a9;
border-top-color: transparent;
border-radius: 50%;
}
.send_button_spinner_animation div {
animation: send_button_spinner_animation 1s linear infinite;
top: 50px;
left: 50px
}
#send_button_spinner {
width: 28px;
height: 28px;
display: inline-block;
overflow: hidden;
background: none;
}
.send_button_spinner_animation {
width: 100%;
height: 100%;
position: relative;
transform: translateZ(0) scale(0.28);
backface-visibility: hidden;
transform-origin: 0 0; /* see note above */
}
.send_button_spinner_animation div { box-sizing: content-box; }
</style>
<section id="order">
<div class="container">
<h2 class="section_title">Купить в лизинг?</h2>
<div class="order_form">
<div class="order_email">
<p><b>Заполните форму</b> и наш менеджер в ближайшее время свяжется с Вами</p>
</div>
<form id="form_leasing_request">
<div id="form_leasing_process">
<div class="form_field" id="FORM_FIELD_FIO_wrapper">
<input type="text" id="FORM_FIELD_FIO" name="FORM_FIELD_FIO" value="" placeholder="Имя *"/>
</div>
<div class="form_field" id="FORM_FIELD_PHONE_wrapper">
<input type="tel" id="FORM_FIELD_PHONE" name="FORM_FIELD_PHONE" value="" placeholder="Телефон *"/>
</div>
<div class="form_field" id="FORM_FIELD_EMAIL_wrapper">
<input type="text" id="FORM_FIELD_EMAIL" name="FORM_FIELD_EMAIL" value="" placeholder="E-mail *"/>
</div>
<div class="form_field" id="FORM_FIELD_COMPANY_wrapper">
<input type="text" id="FORM_FIELD_COMPANY" name="FORM_FIELD_COMPANY" value="" placeholder="Организация" />
</div>
<div class="policy">
<input type="checkbox" name="policy" id="policy" hidden checked/>
<label for="policy">Даю свое согласие на обработку &nbsp;<u class="personal_data_link" id="personal_data_link">моих персональных данных</u></label>
</div>
<button type="submit" class="button" id="leasing_send_button" style="width:110px; display: flex; justify-content: center;">
<div id="send_button_spinner" style="display:none;">
<div class="send_button_spinner_animation">
<div></div>
</div>
</div>
<span id="send_button_text" style="display:block;">Отправить</span>
</button>
</div>
<div id="form_leasing_success" style="min-height: 400px; align-items: center; justify-content: center; display: none;">
<p style="color: #fff; font-size: 24px; line-height: 34px;">Благодарим Вас за обращение, наши специалисты свяжутся с Вами в ближайшее время.</p>
</div>
<div id="form_leasing_fail" style="background-color: #2C2D2E; min-height: 400px; align-items: center; justify-content: center; display: none;">
<p style="color: #fff; font-size: 24px; line-height: 34px;">Сожалеем, запросы, отправляемые с Вашего устройства похожи на автоматические. Пожалуйста, воспользуйтесь другим браузером/подключением или попробуйте позднее.</p>
</div>
<div id="form_leasing_info" style="position:absolute; left:10px; bottom:9px; font-size: 9px; color: #FFF; opacity: 0.5; line-height:11px;">защита от спама reCAPTCHA<br><a href="https://policies.google.com/privacy" target="_blank" style="font-size: 9px; color: #FFF; text-decoration:underline;">Конфиденциальность</a> - <a href="https://policies.google.com/terms" target="_blank" style="font-size: 9px; color: #FFF; text-decoration:underline;">Условия использования</a>
</form>
</div>
</div>
</section>

View File

@ -56,32 +56,51 @@ function form_leasing_request_submit()
formData.append("FORM_FIELD_TERM", $("#FORM_FIELD_TERM").val() ? $("#FORM_FIELD_TERM").val() : "");
formData.append("FORM_FIELD_REDEMPTION", $("#FORM_FIELD_REDEMPTION").val() ? $("#FORM_FIELD_REDEMPTION").val() : "");
$.ajax(
grecaptcha.ready(function()
{
url: "/api/forms/", type: 'POST', success: function(response)
grecaptcha.execute($("meta[name=recaptcha_site_key]").attr("content"), { action: 'submit' }).then(function(token)
{
if(response.status == "complete")
{
$("#form_leasing_process").css("display","none");
$("#form_leasing_success").css("display","flex");
formData.append("recaptcha_token", token);
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
leasing_form_submitting = false;
}
else if(response.status == "error")
$.ajax(
{
for(var i in response.errors)
url: "/api/forms/", type: 'POST', success: function(response)
{
$("#form_leasing_request").find("*[name="+response.errors[i]+"]").addClass("error");
if(response.status === "complete")
{
$("#form_leasing_info").css("display", "none");
$("#form_leasing_process").css("display","none");
$("#form_leasing_success").css("display","flex");
leasing_form_submitting = false;
}
}
}, data: formData,
dataType: "json",
cache: false, contentType: false, processData: false
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
leasing_form_submitting = false;
}
else if(response.status === "error")
{
for(var i in response.errors)
{
$("#form_leasing_request").find("*[name="+response.errors[i]+"]").addClass("error");
}
if(response.message === "recaptcha_error")
{
$("#form_leasing_info").css("display", "none");
$("#form_leasing_process").css("display","none");
$("#form_leasing_fail").css("display","flex").parent().css("backgroundColor", "#2C2D2E");
}
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
leasing_form_submitting = false;
}
}, data: formData,
dataType: "json",
cache: false, contentType: false, processData: false
});
});
});
}
}

View File

@ -55,7 +55,7 @@ $this->setFrameMode(true);
<p>Напишите на <a href="mailto:buy@evoleasing.ru">buy@evoleasing.ru</a> или заполните форму</p>
</div>
<form id="form_leasing_request">
<div id="form_leasing_process">
<div id="form_leasing_process" style="position:relative;">
<div class="form_field" id="FORM_FIELD_FIO_wrapper">
<input type="text" id="FORM_FIELD_FIO" name="FORM_FIELD_FIO" value="" placeholder="Имя *"/>
</div>
@ -84,6 +84,10 @@ $this->setFrameMode(true);
<div id="form_leasing_success" style="min-height: 400px; align-items: center; justify-content: center; display: none;">
<p style="color: #fff; font-size: 24px; line-height: 34px;">Благодарим Вас за обращение, наши специалисты свяжутся с Вами в ближайшее время.</p>
</div>
<div id="form_leasing_fail" style="background-color: #2C2D2E; min-height: 400px; align-items: center; justify-content: center; display: none;">
<p style="color: #fff; font-size: 24px; line-height: 34px;">Сожалеем, запросы, отправляемые с Вашего устройства похожи на автоматические. Пожалуйста, воспользуйтесь другим браузером/подключением или попробуйте позднее.</p>
</div>
<div id="form_leasing_info" style="position:absolute; left:10px; bottom:9px; font-size: 9px; color: #FFF; opacity: 0.5; line-height:11px;">защита от спама reCAPTCHA<br><a href="https://policies.google.com/privacy" target="_blank" style="font-size: 9px; color: #FFF; text-decoration:underline;">Конфиденциальность</a> - <a href="https://policies.google.com/terms" target="_blank" style="font-size: 9px; color: #FFF; text-decoration:underline;">Условия использования</a>
</form>
</div>
</div>

View File

@ -59,32 +59,51 @@ function form_vacancy_submit()
formData.append("FORM_FIELD_PAGE_NAME", document.title);
formData.append("FORM_FIELD_PAGE_URL", window.location.href);
$.ajax(
grecaptcha.ready(function()
{
url: "/api/forms/", type: 'POST', success: function(response)
grecaptcha.execute($("meta[name=recaptcha_site_key]").attr("content"), { action: 'submit' }).then(function(token)
{
if(response.status == "complete")
{
$("#form_vacancy_process").css("display","none");
$("#form_vacancy_success").css("display","flex");
formData.append("recaptcha_token", token);
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
vacancy_form_submitting = false;
}
else if(response.status == "error")
$.ajax(
{
for(var i in response.errors)
url: "/api/forms/", type: 'POST', success: function(response)
{
$("#form_vacancy").find("*[name="+response.errors[i]+"]").addClass("error");
if(response.status === "complete")
{
$("#form_vacancy_info").css("display", "none");
$("#form_vacancy_process").css("display","none");
$("#form_vacancy_success").css("display","flex");
vacancy_form_submitting = false;
}
}
}, data: formData,
dataType: "json",
cache: false, contentType: false, processData: false
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
vacancy_form_submitting = false;
}
else if(response.status === "error")
{
for(var i in response.errors)
{
$("#form_vacancy").find("*[name="+response.errors[i]+"]").addClass("error");
}
if(response.message === "recaptcha_error")
{
$("#form_vacancy_info").css("display", "none");
$("#form_vacancy_process").css("display","none");
$("#form_vacancy_fail").css("display","flex").parent().css("backgroundColor", "#2C2D2E");
}
$("#send_button_text").css("display", "block");
$("#send_button_spinner").css("display", "none");
vacancy_form_submitting = false;
}
}, data: formData,
dataType: "json",
cache: false, contentType: false, processData: false
});
});
});
}
}

View File

@ -52,7 +52,7 @@ $this->setFrameMode(true);
<h2 class="section_title">Хотите к нам?</h2>
<div class="order_form">
<div class="order_email">
<p>Напишите на <a href="mailto:buy@evoleasing.ru">hr@evoleasing.ru</a> или заполните форму</p>
<p>Напишите на <a href="mailto:hr@evoleasing.ru">hr@evoleasing.ru</a> или заполните форму</p>
</div>
<form id="form_vacancy">
<div id="form_vacancy_process">
@ -101,6 +101,10 @@ $this->setFrameMode(true);
<div id="form_vacancy_success" style="min-height: 400px; align-items: center; justify-content: center; display: none;">
<p style="color: #fff; font-size: 24px; line-height: 34px;">Благодарим Вас за обращение, наши специалисты свяжутся с Вами в ближайшее время.</p>
</div>
<div id="form_vacancy_fail" style="background-color: #2C2D2E; min-height: 400px; align-items: center; justify-content: center; display: none;">
<p style="color: #fff; font-size: 24px; line-height: 34px;">Сожалеем, запросы, отправляемые с Вашего устройства похожи на автоматические. Пожалуйста, воспользуйтесь другим браузером/подключением или попробуйте позднее.</p>
</div>
<div id="form_vacancy_info" style="position:absolute; left:10px; bottom:9px; font-size: 9px; color: #FFF; opacity: 0.5; line-height:11px;">защита от спама reCAPTCHA<br><a href="https://policies.google.com/privacy" target="_blank" style="font-size: 9px; color: #FFF; text-decoration:underline;">Конфиденциальность</a> - <a href="https://policies.google.com/terms" target="_blank" style="font-size: 9px; color: #FFF; text-decoration:underline;">Условия использования</a>
</form>
</div>
</div>

View File

@ -16,7 +16,7 @@ $this->setFrameMode(true);
<ul>
<li>
<a href="/special/" class="<?= strpos($_SERVER['REQUEST_URI'], "/special") > -1 ? "active" : ""; ?>">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M18.75 5.25L5.25 18.75" stroke="#1C01A9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.125 9.75C8.57475 9.75 9.75 8.57475 9.75 7.125C9.75 5.67525 8.57475 4.5 7.125 4.5C5.67525 4.5 4.5 5.67525 4.5 7.125C4.5 8.57475 5.67525 9.75 7.125 9.75Z" stroke="#1C01A9" stroke-width="2" stroke-miterlimit="10"/>
<path d="M16.875 19.5C18.3247 19.5 19.5 18.3247 19.5 16.875C19.5 15.4253 18.3247 14.25 16.875 14.25C15.4253 14.25 14.25 15.4253 14.25 16.875C14.25 18.3247 15.4253 19.5 16.875 19.5Z" stroke="#1C01A9" stroke-width="2" stroke-miterlimit="10"/>
@ -26,7 +26,7 @@ $this->setFrameMode(true);
</li>
<li>
<a href="#order">
<svg width="18" height="20" viewBox="0 0 18 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="18" height="20" viewBox="0 0 18 20" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M15.7502 19H2.24951C2.0506 19 1.85983 18.921 1.71918 18.7803C1.57853 18.6397 1.49951 18.4489 1.49951 18.25V1.75C1.49951 1.55109 1.57853 1.36032 1.71918 1.21967C1.85983 1.07902 2.0506 1 2.24951 1H11.2502L16.5002 6.25V18.25C16.5002 18.3485 16.4808 18.446 16.4432 18.537C16.4055 18.628 16.3502 18.7107 16.2806 18.7803C16.2109 18.85 16.1283 18.9052 16.0373 18.9429C15.9463 18.9806 15.8487 19 15.7502 19Z" stroke="#8E94A7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>Заявка на лизинг</span>
@ -34,7 +34,7 @@ $this->setFrameMode(true);
</li>
<li>
<a href="/about/contacts/" class="<?= strpos($_SERVER['REQUEST_URI'], "/about/contacts") > -1 ? "active" : ""; ?>">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M14.9453 3.75C16.2167 4.09194 17.376 4.76196 18.307 5.69294C19.238 6.62392 19.908 7.78319 20.2499 9.05462" stroke="#8E94A7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14.1689 6.64844C14.9318 6.8536 15.6274 7.25561 16.186 7.8142C16.7445 8.37279 17.1466 9.06835 17.3517 9.83121" stroke="#8E94A7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.66965 11.7024C9.44762 13.2929 10.7369 14.5763 12.3309 15.347C12.4475 15.4023 12.5765 15.4262 12.7052 15.4165C12.8339 15.4067 12.9579 15.3636 13.0648 15.2915L15.4119 13.7264C15.5157 13.6572 15.6352 13.6149 15.7594 13.6035C15.8837 13.5921 16.0088 13.6119 16.1235 13.661L20.5144 15.5428C20.6636 15.6062 20.7881 15.7163 20.8693 15.8566C20.9504 15.9969 20.9838 16.1598 20.9643 16.3207C20.8255 17.4067 20.2956 18.4049 19.4739 19.1283C18.6521 19.8518 17.5948 20.2509 16.5 20.2509C13.1185 20.2509 9.87548 18.9076 7.48439 16.5166C5.0933 14.1255 3.75 10.8825 3.75 7.50095C3.75006 6.40611 4.14918 5.34883 4.87264 4.52708C5.5961 3.70533 6.59428 3.17545 7.68028 3.03667C7.84117 3.0172 8.00403 3.05054 8.14432 3.13167C8.28461 3.21281 8.39473 3.33734 8.4581 3.4865L10.3416 7.8813C10.3903 7.99497 10.4101 8.11893 10.3994 8.24214C10.3886 8.36534 10.3475 8.48397 10.2798 8.58745L8.72011 10.9705C8.64912 11.0778 8.60716 11.2015 8.59831 11.3298C8.58947 11.4581 8.61405 11.5864 8.66965 11.7024V11.7024Z" stroke="#8E94A7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
@ -44,7 +44,7 @@ $this->setFrameMode(true);
</li>
<li>
<a href="https://lk.evoleasing.ru/">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M12 15C15.3137 15 18 12.3137 18 9C18 5.68629 15.3137 3 12 3C8.68629 3 6 5.68629 6 9C6 12.3137 8.68629 15 12 15Z" stroke="#8E94A7" stroke-width="2" stroke-miterlimit="10"/>
<path d="M2.90527 20.2491C3.82736 18.6531 5.15322 17.3278 6.74966 16.4064C8.34611 15.485 10.1569 15 12.0002 15C13.8434 15 15.6542 15.4851 17.2506 16.4065C18.8471 17.3279 20.1729 18.6533 21.0949 20.2493" stroke="#8E94A7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

View File

@ -21,12 +21,12 @@ $this->setFrameMode(true);
</div>
<div class="right news_arrows">
<button class="prev">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M7 11L1 6L6.25 1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<button class="next">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M1 1L7 6L1.75 11" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>

View File

@ -29,12 +29,12 @@ $this->setFrameMode(true);
<? if(count($arResult['BANNERS']) > 2): ?>
<div class="special_arrows">
<button class="prev">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M7 11L1 6L6.25 1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<button class="next">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M1 1L7 6L1.75 11" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>

View File

@ -42,12 +42,12 @@ $this->setFrameMode(true);
</div>
<div class="right leasing_arrows">
<button class="prev">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M7 11L1 6L6.25 1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<button class="next">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="https://www.w3.org/2000/svg">
<path d="M1 1L7 6L1.75 11" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>

View File

@ -21,7 +21,7 @@ for($index = 0; $index < $itemSize; $index++)
if($arResult[$index]["LINK"] <> "" && $index != $itemSize-1)
{
$strReturn .= '
<div class="bx-breadcrumb-item" id="bx_breadcrumb_'.$index.'" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<div class="bx-breadcrumb-item" id="bx_breadcrumb_'.$index.'" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
'.$arrow.'
<a href="'.$arResult[$index]["LINK"].'" title="'.$title.'" itemprop="item">
<span itemprop="name">'.$title.'</span>
@ -64,7 +64,7 @@ if(!is_array($css) || !in_array("/bitrix/css/main/font-awesome.css", $css))
$strReturn .= '<link href="'.CUtil::GetAdditionalFileURL("/bitrix/css/main/font-awesome.css").'" type="text/css" rel="stylesheet" />'."\n";
}
$strReturn .= '<div class="bx-breadcrumb" itemprop="http://schema.org/breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">';
$strReturn .= '<div class="bx-breadcrumb" itemprop="https://schema.org/breadcrumb" itemscope itemtype="https://schema.org/BreadcrumbList">';
$itemSize = count($arResult);
for($index = 0; $index < $itemSize; $index++)
@ -75,7 +75,7 @@ for($index = 0; $index < $itemSize; $index++)
if($arResult[$index]["LINK"] <> "" && $index != $itemSize-1)
{
$strReturn .= '
<div class="bx-breadcrumb-item" id="bx_breadcrumb_'.$index.'" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<div class="bx-breadcrumb-item" id="bx_breadcrumb_'.$index.'" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
'.$arrow.'
<a href="'.$arResult[$index]["LINK"].'" title="'.$title.'" itemprop="item">
<span itemprop="name">'.$title.'</span>

View File

@ -9,11 +9,11 @@ $icon_url_template = "<script>\n".
"{\n".
"function fbs_click(url, title) \n".
"{ \n".
"window.open('http://www.facebook.com/share.php?u='+encodeURIComponent(url)+'&t='+encodeURIComponent(title),'sharer','toolbar=0,status=0,width=626,height=436'); \n".
"window.open('https://www.facebook.com/share.php?u='+encodeURIComponent(url)+'&t='+encodeURIComponent(title),'sharer','toolbar=0,status=0,width=626,height=436'); \n".
"return false; \n".
"} \n".
"}\n".
"</script>\n".
"<a href=\"http://www.facebook.com/share.php?u=#PAGE_URL#&t=#PAGE_TITLE#\" onclick=\"return fbs_click('#PAGE_URL#', '#PAGE_TITLE#');\" target=\"_blank\" class=\"facebook\" title=\"".$title."\"></a>\n";
"<a href=\"https://www.facebook.com/share.php?u=#PAGE_URL#&t=#PAGE_TITLE#\" onclick=\"return fbs_click('#PAGE_URL#', '#PAGE_TITLE#');\" target=\"_blank\" class=\"facebook\" title=\"".$title."\"></a>\n";
$sort = 100;
?>

View File

@ -9,11 +9,11 @@ $icon_url_template = "<script>\n".
"{\n".
"function lj_click(url, title) \n".
"{ \n".
"window.open('http://www.livejournal.com/update.bml?event='+encodeURIComponent(url)+'&subject='+encodeURIComponent(title),'sharer','toolbar=0,status=0,resizable=1,scrollbars=1,width=700,height=436'); \n".
"window.open('https://www.livejournal.com/update.bml?event='+encodeURIComponent(url)+'&subject='+encodeURIComponent(title),'sharer','toolbar=0,status=0,resizable=1,scrollbars=1,width=700,height=436'); \n".
"return false; \n".
"} \n".
"}\n".
"</script>\n".
"<a href=\"http://www.livejournal.com/update.bml?event=#PAGE_URL#&subject=#PAGE_TITLE#\" onclick=\"return lj_click('#PAGE_URL#', '#PAGE_TITLE#');\" target=\"_blank\" class=\"lj\" title=\"".$title."\"></a>\n";
"<a href=\"https://www.livejournal.com/update.bml?event=#PAGE_URL#&subject=#PAGE_TITLE#\" onclick=\"return lj_click('#PAGE_URL#', '#PAGE_TITLE#');\" target=\"_blank\" class=\"lj\" title=\"".$title."\"></a>\n";
$sort = 500;
?>

View File

@ -9,11 +9,11 @@ $icon_url_template = "<script>\n".
"{\n".
"function mailru_click(url) \n".
"{ \n".
"window.open('http://connect.mail.ru/share?share_url='+encodeURIComponent(url),'sharer','toolbar=0,status=0,resizable=1,scrollbars=1,width=626,height=436'); \n".
"window.open('https://connect.mail.ru/share?share_url='+encodeURIComponent(url),'sharer','toolbar=0,status=0,resizable=1,scrollbars=1,width=626,height=436'); \n".
"return false; \n".
"} \n".
"}\n".
"</script>\n".
"<a href=\"http://connect.mail.ru/share?share_url=#PAGE_URL#\" onclick=\"return mailru_click('#PAGE_URL#');\" target=\"_blank\" class=\"mailru\" title=\"".$title."\"></a>\n";
"<a href=\"https://connect.mail.ru/share?share_url=#PAGE_URL#\" onclick=\"return mailru_click('#PAGE_URL#');\" target=\"_blank\" class=\"mailru\" title=\"".$title."\"></a>\n";
$sort = 600;
?>

View File

@ -19,7 +19,7 @@ if (
"{\n".
"function twitter_click_".$arResult["COUNTER"]."(longUrl) \n".
"{ \n".
"BX.loadScript('http://bit.ly/javascript-api.js?version=latest&login=".$arParams["SHORTEN_URL_LOGIN"]."&apiKey=".$arParams["SHORTEN_URL_KEY"]."',\n".
"BX.loadScript('https://bit.ly/javascript-api.js?version=latest&login=".$arParams["SHORTEN_URL_LOGIN"]."&apiKey=".$arParams["SHORTEN_URL_KEY"]."',\n".
"function () \n".
"{\n".
"BitlyClient.shorten(longUrl, '__get_shorten_url_twitter_".$arResult["COUNTER"]."');\n".
@ -41,10 +41,10 @@ if (
"{\n".
"shortUrl = first_result.shortUrl.toString();\n".
"}\n".
"window.open('http://twitter.com/home/?status='+encodeURIComponent(shortUrl)+encodeURIComponent(' #PAGE_TITLE#'),'sharer','toolbar=0,status=0,width=726,height=436'); \n".
"window.open('https://twitter.com/home/?status='+encodeURIComponent(shortUrl)+encodeURIComponent(' #PAGE_TITLE#'),'sharer','toolbar=0,status=0,width=726,height=436'); \n".
"}\n".
"</script>\n".
"<a href=\"http://twitter.com/home/?status=#PAGE_URL#+#PAGE_TITLE_ORIG#\" onclick=\"return twitter_click_".$arResult["COUNTER"]."('#PAGE_URL#');\" target=\"_blank\" class=\"twitter\" title=\"".$title."\"></a>\n";
"<a href=\"https://twitter.com/home/?status=#PAGE_URL#+#PAGE_TITLE_ORIG#\" onclick=\"return twitter_click_".$arResult["COUNTER"]."('#PAGE_URL#');\" target=\"_blank\" class=\"twitter\" title=\"".$title."\"></a>\n";
}
else
{
@ -53,12 +53,12 @@ else
"{\n".
"function twitter_click_".$arResult["COUNTER"]."(longUrl) \n".
"{ \n".
"window.open('http://twitter.com/home/?status='+encodeURIComponent(longUrl)+encodeURIComponent(' #PAGE_TITLE#'),'sharer','toolbar=0,status=0,width=726,height=436'); \n".
"window.open('https://twitter.com/home/?status='+encodeURIComponent(longUrl)+encodeURIComponent(' #PAGE_TITLE#'),'sharer','toolbar=0,status=0,width=726,height=436'); \n".
"return false; \n".
"} \n".
"}\n".
"</script>\n".
"<a href=\"http://twitter.com/home/?status=#PAGE_URL#+#PAGE_TITLE_ORIG#\" onclick=\"return twitter_click_".$arResult["COUNTER"]."('#PAGE_URL#');\" target=\"_blank\" class=\"twitter\" title=\"".$title."\"></a>\n";
"<a href=\"https://twitter.com/home/?status=#PAGE_URL#+#PAGE_TITLE_ORIG#\" onclick=\"return twitter_click_".$arResult["COUNTER"]."('#PAGE_URL#');\" target=\"_blank\" class=\"twitter\" title=\"".$title."\"></a>\n";
}
$sort = 200;

View File

@ -9,11 +9,11 @@ $icon_url_template = "<script>\n".
"{\n".
"function vk_click(url) \n".
"{ \n".
"window.open('http://vkontakte.ru/share.php?url='+encodeURIComponent(url),'sharer','toolbar=0,status=0,width=626,height=436'); \n".
"window.open('https://vkontakte.ru/share.php?url='+encodeURIComponent(url),'sharer','toolbar=0,status=0,width=626,height=436'); \n".
"return false; \n".
"} \n".
"}\n".
"</script>\n".
"<a href=\"http://vkontakte.ru/share.php?url=#PAGE_URL#\" onclick=\"return vk_click('#PAGE_URL#');\" target=\"_blank\" class=\"vk\" title=\"".$title."\"></a>\n";
"<a href=\"https://vkontakte.ru/share.php?url=#PAGE_URL#\" onclick=\"return vk_click('#PAGE_URL#');\" target=\"_blank\" class=\"vk\" title=\"".$title."\"></a>\n";
$sort = 400;
?>

View File

@ -1,18 +1,18 @@
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<div class="socials">
<a href="http://www.facebook.com/share.php?u=<?= $arParams['PAGE_URL']; ?>&t=<?= $arParams['PAGE_TITLE']; ?>" onclick="return fbs_click('<?= $arParams['PAGE_URL']; ?>', '<?= $arParams['PAGE_TITLE']; ?>');" target="_blank" title="Facebook">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<!--<a href="https://www.facebook.com/share.php?u=<?= $arParams['PAGE_URL']; ?>&t=<?= $arParams['PAGE_TITLE']; ?>" onclick="return fbs_click('<?= $arParams['PAGE_URL']; ?>', '<?= $arParams['PAGE_TITLE']; ?>');" target="_blank" title="Facebook">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="https://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0ZM26.5016 25.0542V38.1115H21.0991V25.0547H18.4V20.5551H21.0991V17.8536C21.0991 14.1828 22.6231 12 26.9532 12H30.5581V16.5001H28.3048C26.6192 16.5001 26.5077 17.1289 26.5077 18.3025L26.5016 20.5546H30.5836L30.1059 25.0542H26.5016Z" fill="black"/>
</svg>
</a>
<a href="http://vkontakte.ru/share.php?url=<?= $arParams['PAGE_URL']; ?>" onclick="return vk_click('<?= $arParams['PAGE_URL']; ?>');" target="_blank" title="ВКонтакте">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
</a>-->
<a href="https://vkontakte.ru/share.php?url=<?= $arParams['PAGE_URL']; ?>" onclick="return vk_click('<?= $arParams['PAGE_URL']; ?>');" target="_blank" title="ВКонтакте">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="https://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0ZM25.9541 31.5762C25.7175 31.8257 25.2555 31.8761 25.2555 31.8761H23.7254C23.7254 31.8761 20.3497 32.0752 17.376 29.037C14.1331 25.7222 11.2695 19.1455 11.2695 19.1455C11.2695 19.1455 11.1043 18.7141 11.2833 18.5064C11.4849 18.2717 12.0346 18.2569 12.0346 18.2569L15.6919 18.2336C15.6919 18.2336 16.0363 18.2889 16.2829 18.4671C16.487 18.6146 16.601 18.8887 16.601 18.8887C16.601 18.8887 17.192 20.3562 17.9745 21.6835C19.5033 24.2756 20.2145 24.8422 20.7329 24.5644C21.4892 24.1601 21.2625 20.9006 21.2625 20.9006C21.2625 20.9006 21.2763 19.7183 20.8819 19.191C20.5764 18.783 20.0004 18.6637 19.7462 18.6306C19.5396 18.6035 19.8777 18.134 20.3159 17.9239C20.9745 17.608 22.1365 17.5896 23.51 17.6031C24.5806 17.6141 24.8886 17.6793 25.3068 17.7788C26.2774 18.0087 26.2471 18.7455 26.1817 20.3357C26.1621 20.8113 26.1394 21.3631 26.1394 22.0006C26.1394 22.1439 26.1352 22.2966 26.1308 22.4537C26.1081 23.2683 26.0821 24.2012 26.629 24.5485C26.9095 24.7254 27.5944 24.5743 29.3085 21.7179C30.1211 20.3635 30.7296 18.7719 30.7296 18.7719C30.7296 18.7719 30.8636 18.488 31.0702 18.3663C31.2818 18.2422 31.5673 18.2803 31.5673 18.2803L35.4162 18.2569C35.4162 18.2569 36.5732 18.1205 36.7597 18.6343C36.9563 19.1713 36.3278 20.4274 34.7551 22.4849C33.2633 24.4371 32.5374 25.1558 32.604 25.7915C32.6527 26.256 33.1246 26.6761 34.0302 27.5006C35.9205 29.2235 36.4273 30.1299 36.549 30.3477C36.5591 30.3657 36.5665 30.379 36.5719 30.3877C37.4196 31.7679 35.6316 31.8761 35.6316 31.8761L32.2121 31.9228C32.2121 31.9228 31.4784 32.0654 30.5118 31.414C30.0054 31.073 29.5106 30.5162 29.0394 29.9858C28.3196 29.1758 27.6548 28.4276 27.0873 28.6043C26.1344 28.9018 26.1632 30.9162 26.1632 30.9162C26.1632 30.9162 26.1707 31.3476 25.9541 31.5762Z" fill="black"/>
</svg>
</a>
<?/*
<a href="#">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="https://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0ZM18.7233 11.2773C20.0886 11.2152 20.5249 11.2 24.0012 11.2H23.9972C27.4746 11.2 27.9092 11.2152 29.2746 11.2773C30.6373 11.3397 31.5679 11.5555 32.384 11.872C33.2266 12.1987 33.9386 12.636 34.6506 13.348C35.3627 14.0595 35.8 14.7736 36.128 15.6155C36.4427 16.4294 36.6587 17.3595 36.7227 18.7222C36.784 20.0876 36.8 20.5238 36.8 24.0001C36.8 27.4764 36.784 27.9116 36.7227 29.277C36.6587 30.6391 36.4427 31.5695 36.128 32.3837C35.8 33.2253 35.3627 33.9394 34.6506 34.6509C33.9394 35.3629 33.2264 35.8013 32.3848 36.1283C31.5703 36.4448 30.6391 36.6605 29.2765 36.7229C27.9111 36.7851 27.4762 36.8003 23.9996 36.8003C20.5236 36.8003 20.0876 36.7851 18.7222 36.7229C17.3598 36.6605 16.4294 36.4448 15.615 36.1283C14.7736 35.8013 14.0595 35.3629 13.3483 34.6509C12.6365 33.9394 12.1992 33.2253 11.872 32.3834C11.5557 31.5695 11.34 30.6394 11.2773 29.2767C11.2155 27.9114 11.2 27.4764 11.2 24.0001C11.2 20.5238 11.216 20.0873 11.2771 18.7219C11.3384 17.3598 11.5544 16.4294 11.8717 15.6152C12.1997 14.7736 12.6371 14.0595 13.3491 13.348C14.0606 12.6363 14.7747 12.1989 15.6166 11.872C16.4305 11.5555 17.3606 11.3397 18.7233 11.2773Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.853 13.5066C23.0759 13.5063 23.3158 13.5064 23.5746 13.5065L24.0013 13.5066C27.4189 13.5066 27.824 13.5189 29.1736 13.5802C30.4216 13.6373 31.0989 13.8458 31.5501 14.021C32.1475 14.253 32.5733 14.5304 33.0211 14.9784C33.4691 15.4264 33.7464 15.853 33.979 16.4504C34.1542 16.9011 34.363 17.5784 34.4198 18.8264C34.4811 20.1758 34.4944 20.5811 34.4944 23.9971C34.4944 27.4132 34.4811 27.8185 34.4198 29.1678C34.3627 30.4159 34.1542 31.0932 33.979 31.5439C33.747 32.1412 33.4691 32.5665 33.0211 33.0143C32.5731 33.4623 32.1477 33.7396 31.5501 33.9716C31.0995 34.1476 30.4216 34.3556 29.1736 34.4127C27.8242 34.474 27.4189 34.4874 24.0013 34.4874C20.5834 34.4874 20.1783 34.474 18.8289 34.4127C17.5809 34.3551 16.9036 34.1466 16.4521 33.9714C15.8548 33.7394 15.4281 33.462 14.9801 33.014C14.5321 32.566 14.2548 32.1404 14.0222 31.5428C13.847 31.0921 13.6382 30.4148 13.5814 29.1668C13.5201 27.8174 13.5078 27.4121 13.5078 23.9939C13.5078 20.5758 13.5201 20.1726 13.5814 18.8232C13.6385 17.5752 13.847 16.8979 14.0222 16.4466C14.2542 15.8493 14.5321 15.4226 14.9801 14.9746C15.4281 14.5266 15.8548 14.2493 16.4521 14.0168C16.9033 13.8408 17.5809 13.6328 18.8289 13.5754C20.0097 13.5221 20.4674 13.5061 22.853 13.5034V13.5066ZM30.8339 15.632C29.9859 15.632 29.2978 16.3192 29.2978 17.1675C29.2978 18.0155 29.9859 18.7035 30.8339 18.7035C31.6819 18.7035 32.3699 18.0155 32.3699 17.1675C32.3699 16.3194 31.6819 15.6314 30.8339 15.6314V15.632ZM17.4279 24.0001C17.4279 20.37 20.3709 17.4268 24.001 17.4267C27.6312 17.4267 30.5736 20.3699 30.5736 24.0001C30.5736 27.6302 27.6314 30.5721 24.0013 30.5721C20.3711 30.5721 17.4279 27.6302 17.4279 24.0001Z" fill="black"/>
<path d="M24.0011 19.7334C26.3574 19.7334 28.2678 21.6436 28.2678 24.0001C28.2678 26.3564 26.3574 28.2668 24.0011 28.2668C21.6445 28.2668 19.7344 26.3564 19.7344 24.0001C19.7344 21.6436 21.6445 19.7334 24.0011 19.7334Z" fill="black"/>

View File

@ -36,21 +36,21 @@
</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">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="https://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">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="https://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>
<svg data-name="Layer 21" height="32" id="Layer_21" viewBox="0 0 24 24" width="32" xmlns="https://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>

File diff suppressed because one or more lines are too long

View File

@ -26,7 +26,7 @@
}
&:before {
content: "<";
content: ">";
display: inline-block;
margin: 0 4px;
}

File diff suppressed because one or more lines are too long

View File

@ -3883,6 +3883,7 @@ main .dropdown_blocks_list .dropdown_block .block_body {
}
}
.grecaptcha-badge { visibility: hidden; }
// About
#about_banner {

View File

@ -44,22 +44,27 @@
<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">
<!--<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="https://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">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="https://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://t.me/evoleasingru" target="_blank" rel="nofollow noopener">
<svg width="32" height="32" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" version="1.1" xml:space="preserve"><style type="text/css">
.st117{fill:#1B92D1;}
</style><g id="Layer_1"></g><g id="Layer_2"><g><path class="st117" d="M88.723,12.142C76.419,17.238,23.661,39.091,9.084,45.047c-9.776,3.815-4.053,7.392-4.053,7.392 s8.345,2.861,15.499,5.007c7.153,2.146,10.968-0.238,10.968-0.238l33.62-22.652c11.922-8.107,9.061-1.431,6.199,1.431 c-6.199,6.2-16.452,15.975-25.036,23.844c-3.815,3.338-1.908,6.199-0.238,7.63c6.199,5.246,23.129,15.976,24.082,16.691 c5.037,3.566,14.945,8.699,16.452-2.146c0,0,5.961-37.435,5.961-37.435c1.908-12.637,3.815-24.321,4.053-27.659 C97.307,8.804,88.723,12.142,88.723,12.142z"></path></g></g></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>
<svg data-name="Layer 21" height="32" id="Layer_21" viewBox="0 0 24 24" width="32" xmlns="https://www.w3.org/2000/svg"><path fill="#0077FF" 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>
@ -76,9 +81,9 @@
<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="https://www.google.com/recaptcha/api.js?render=<?= RECAPTCHA_SITE_KEY; ?>"></script>
<script src="/local/templates/evolution/js/rangeslider.min.js"></script>
<script src="/local/templates/evolution/js/main.js"></script>
</body>

View File

@ -49,6 +49,7 @@ IncludeTemplateLangFile(__FILE__);
<meta property="og:description" content="" />
<meta name="theme-color" content="#1C01A9" />
<meta name="recaptcha_site_key" content="<?= RECAPTCHA_SITE_KEY; ?>" />
</head>
<body>
<!-- Google Tag Manager (noscript) -->

1
local/yasprav.log Normal file
View File

@ -0,0 +1 @@
PHP Fatal error: require(): Failed opening required '/bitrix/header.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/bitrix/www/local/yasprav.php on line 3

74
local/yasprav.php Normal file
View File

@ -0,0 +1,74 @@
<?#!/usr/bin/php -q
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Для яндекс справочника");
?>
<?
$xmlbody = '<?xml version="1.0" encoding="UTF-8"?><companies>';
$i = 0;
$today = date("d.m.Y");
CModule::IncludeModule("iblock");
$arSelect = Array("ID", "NAME", "PROPERTY_PHONE", "PROPERTY_PHONE_CENTRAL","PROPERTY_ADDRESS","PROPERTY_HOURS","PROPERTY_GEO", "PROPERTY_YAADRESS1","PROPERTY_YAADRESS2","PROPERTY_YADATA","PROPERTY_YAID",);
$arFilter = Array("IBLOCK_ID"=>5, "ACTIVE"=>"Y");
$res = CIBlockElement::GetList(Array("SORT"=>"ASC"), $arFilter, false, Array("nPageSize"=>333), $arSelect);
while($ob = $res->GetNextElement())
{
$arFields = $ob->GetFields();
$geo = explode(",", $arFields["PROPERTY_GEO_VALUE"]);
$xmlbody .= '<company>
<company-id>'.$arFields["PROPERTY_YAID_VALUE"].'</company-id>
<name lang="ru">Эволюция Автолизинга</name>
<shortname lang="ru">ЛК Эволюция</shortname>
<address lang="ru">'.$arFields["PROPERTY_YAADRESS1_VALUE"].'</address>
<country lang="ru">Россия</country>
<address-add lang="ru">'.$arFields["PROPERTY_YAADRESS2_VALUE"].'</address-add>
<phone>
<number>'.$arFields["PROPERTY_PHONE_VALUE"].'</number>
<info>Горячая линия</info>
<type>phone</type>
</phone>
<email>buy@evoleasing.ru</email>
<url>https://www.evoleasing.ru</url>
<add-url>https://www.instagram.com/evoleasing/</add-url>
<add-url>https://www.facebook.com/evoleasing</add-url>
<add-url>https://vk.com/evoleasing</add-url>
<info-page>https://www.evoleasing.ru/about/contacts/</info-page>
<working-time lang="ru">пн-пт 9:00-18:00</working-time>
<rubric-id>184105576</rubric-id>
<inn>9724016636</inn>
<ogrn>1207700245037</ogrn>
<actualization-date>'.$today.'</actualization-date>
<photos>
<photo url="https://www.evoleasing.ru/upload/img/logo.png" alt="Лого Эволюция Автолизинга" type="LOGO"></photo>
</photos>
<coordinates>
<lon>'.$geo[1].'</lon>
<lat>'.$geo[0].'</lat>
</coordinates>
</company>
';
?><pre><?
$i++;
print_r($i." => ".$arFields["PROPERTY_YAID_VALUE"]);
?></pre><?
}
?><pre><?
//print_r($arFields);
?></pre><?
$xmlbody .= '</companies>';
?><pre><?//print_r($xmlbody);?></pre><?
$file = $_SERVER["DOCUMENT_ROOT"] . "/upload/docs/yasprav.xml";
$handle = fopen($file, "w+");//Открываем для записи в конец.
if (!$handle) {
echo "Oшибка: файл не создался-".$text;
} else {
fputs ($handle, $xmlbody);
fclose($handle);
echo "Ok! Сохранено по <a href='https://www.evoleasing.ru/upload/docs/yasprav.xml'>ссылке!</a> ".$today;
}
?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>

View File

@ -0,0 +1,6 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>Verification: 6ebbafb7eae584f1</body>
</html>