diff --git a/about/.left.menu_ext.php b/about/.left.menu_ext.php index 4eb7273..cb0554a 100644 --- a/about/.left.menu_ext.php +++ b/about/.left.menu_ext.php @@ -1,5 +1,12 @@ \ No newline at end of file +require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); +$APPLICATION->SetTitle("О Компании"); +?> +
+
+
+
+
+

О компании

+
+
+
+
+
+ IncludeComponent( + "evolution:about.highlights", + "", + Array( + "TOP" => "ТОП 10", + "DEALS" => "< 10 млн", + "CONTRACTS" => "200 000+", + "CITIES" => "35", + "PERIOD" => "10 лет", + "DIVISIONS" => "51", + "CLIENTS" => "200 000+", + ) + ); + ?> +
+
+ IncludeComponent("bitrix:menu", "evolution.left.menu", 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" => "left", // Тип меню для первого уровня + "USE_EXT" => "Y", // Подключать файлы с именами вида .тип_меню.menu_ext.php + ), + false + );?> +
+ IncludeComponent( + "evolution:about.roadmap", + "", + Array( + "PRESENTATION_URL" => "/upload/presentation.pdf", + ) + ); + ?> + IncludeComponent( + "evolution:about.leaders", + "", + Array() + ); + ?> +
+
+
+
+IncludeComponent( + "evolution:form.leasing", + "", + Array() + ); +?> + \ No newline at end of file diff --git a/api/index.php b/api/index.php index f2fd852..1775fcd 100644 --- a/api/index.php +++ b/api/index.php @@ -536,6 +536,31 @@ switch($PARAM_1) } break; + case "announcements": + { + if(CModule::IncludeModule('iblock')) + { + $announcements = []; + $announcements_res = CIBlockElement::GetList(["SORT" => "ASC"], ["ACTIVE" => "Y", "IBLOCK_ID" => 24], false, []); + while ($announcements_ob_element = $announcements_res->GetNextElement()) + { + $announcements_ar_res = $announcements_ob_element->GetFields(); + $announcements_ar_res['PROPERTIES'] = $announcements_ob_element->GetProperties(); + + $announcements[] = [ + "title" => $announcements_ar_res['NAME'], + "content" => $announcements_ar_res['PREVIEW_TEXT'], + "url" => !empty($announcements_ar_res['PROPERTIES']['URL']['VALUE']) ? $announcements_ar_res['PROPERTIES']['URL']['VALUE'] : null, + ]; + } + + print json_encode([ + "announcements" => $announcements, + ]); + } + } + break; + case "regions": { if(CModule::IncludeModule('iblock')) diff --git a/catalog/index.php b/catalog/index.php index f327968..1ec3d07 100644 --- a/catalog/index.php +++ b/catalog/index.php @@ -25,6 +25,7 @@ $APPLICATION->SetTitle("Каталог"); ) ); ?> + IncludeComponent( "evolution:form.leasing", diff --git a/images/about/bottom-1.png b/images/about/bottom-1.png new file mode 100644 index 0000000..2059cad Binary files /dev/null and b/images/about/bottom-1.png differ diff --git a/images/about/bottom-2.png b/images/about/bottom-2.png new file mode 100644 index 0000000..64acb75 Binary files /dev/null and b/images/about/bottom-2.png differ diff --git a/images/about/bottom-3.png b/images/about/bottom-3.png new file mode 100644 index 0000000..5f9a6bd Binary files /dev/null and b/images/about/bottom-3.png differ diff --git a/images/about/line-left.png b/images/about/line-left.png new file mode 100644 index 0000000..3b6a900 Binary files /dev/null and b/images/about/line-left.png differ diff --git a/images/about/line-right.png b/images/about/line-right.png new file mode 100644 index 0000000..aac9f13 Binary files /dev/null and b/images/about/line-right.png differ diff --git a/images/about/top-2.png b/images/about/top-2.png new file mode 100644 index 0000000..0b4562e Binary files /dev/null and b/images/about/top-2.png differ diff --git a/images/about/top.png b/images/about/top.png new file mode 100644 index 0000000..526feb5 Binary files /dev/null and b/images/about/top.png differ diff --git a/images/man.png b/images/man.png new file mode 100644 index 0000000..f6537cf Binary files /dev/null and b/images/man.png differ diff --git a/local/components/evolution/about.highlights/.description.php b/local/components/evolution/about.highlights/.description.php new file mode 100644 index 0000000..a20bdf3 --- /dev/null +++ b/local/components/evolution/about.highlights/.description.php @@ -0,0 +1,8 @@ + GetMessage("DEFAULT_NAME"), + "DESCRIPTION" => GetMessage("DEFAULT_DESC"), +); +?> \ No newline at end of file diff --git a/local/components/evolution/about.highlights/component.php b/local/components/evolution/about.highlights/component.php new file mode 100644 index 0000000..96e37c2 --- /dev/null +++ b/local/components/evolution/about.highlights/component.php @@ -0,0 +1,18 @@ +includeComponentTemplate(); \ No newline at end of file diff --git a/local/components/evolution/about.highlights/lang/ru/.description.php b/local/components/evolution/about.highlights/lang/ru/.description.php new file mode 100644 index 0000000..2972caa --- /dev/null +++ b/local/components/evolution/about.highlights/lang/ru/.description.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/local/components/evolution/about.highlights/lang/ru/.parameters.php b/local/components/evolution/about.highlights/lang/ru/.parameters.php new file mode 100644 index 0000000..96b1970 --- /dev/null +++ b/local/components/evolution/about.highlights/lang/ru/.parameters.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/local/components/evolution/about.highlights/templates/.default/style.css b/local/components/evolution/about.highlights/templates/.default/style.css new file mode 100644 index 0000000..e69de29 diff --git a/local/components/evolution/about.highlights/templates/.default/template.php b/local/components/evolution/about.highlights/templates/.default/template.php new file mode 100644 index 0000000..2076a1d --- /dev/null +++ b/local/components/evolution/about.highlights/templates/.default/template.php @@ -0,0 +1,159 @@ +setFrameMode(true); +?> +
+
+
+ + + + + + + + + + + + +

Универсальная автолизинговая компания с огромным опытом

+
+
+
+
+ + + +

+

по России по лизингу легковых автомобилей по рэнкингу Эксперт РА по результатам 9 месяцев 2021 года

+
+
+
+
+
+ + + + + + + + + + +

+

+

Объем сделок

+
+
+
+
+

+

Договоров лизинга

+
+
+
+
+
+
+ + + + + + +

+

Городов России от Калининграда до Иркутска

+
+
+
+
+

+

Средний срок работы ключевых сотрудников в лизинге

+
+
+
+
+
+
+ + + + +

+

Подразделение

+
+
+
+
+ + + + +

+

Довольных клиентов

+
+
+
+
\ No newline at end of file diff --git a/local/components/evolution/about.leaders/.description.php b/local/components/evolution/about.leaders/.description.php new file mode 100644 index 0000000..a20bdf3 --- /dev/null +++ b/local/components/evolution/about.leaders/.description.php @@ -0,0 +1,8 @@ + GetMessage("DEFAULT_NAME"), + "DESCRIPTION" => GetMessage("DEFAULT_DESC"), +); +?> \ No newline at end of file diff --git a/local/components/evolution/about.leaders/component.php b/local/components/evolution/about.leaders/component.php new file mode 100644 index 0000000..0a2b17c --- /dev/null +++ b/local/components/evolution/about.leaders/component.php @@ -0,0 +1,45 @@ +StartResultCache(60*60*24, md5(var_export($_POST, true)))) +{ + if(CModule::IncludeModule('iblock')) + { + $arResult = []; + $sort = Array("SORT" => "ASC", "NAME" => "ASC"); + $filter = Array("ACTIVE" => "Y", "IBLOCK_ID" => 23); + $options = Array("nPageSize" => 1000); + + $res = CIBlockElement::GetList($sort, $filter, false, $options); + $arResult = ['LEADERS' => []]; + + while ($obElement = $res->GetNextElement()) + { + $ar_res = $obElement->GetFields(); + $ar_res['PROPERTIES'] = $obElement->GetProperties(); + + if(isset($ar_res['PREVIEW_PICTURE'])) + { + $ar_res['PREVIEW_PICTURE'] = CFile::GetPath($ar_res['PREVIEW_PICTURE']); + } + + $arResult['LEADERS'][] = $ar_res; + } + + $this->IncludeComponentTemplate(); + } +} \ No newline at end of file diff --git a/local/components/evolution/about.leaders/lang/ru/.description.php b/local/components/evolution/about.leaders/lang/ru/.description.php new file mode 100644 index 0000000..7f350c3 --- /dev/null +++ b/local/components/evolution/about.leaders/lang/ru/.description.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/local/components/evolution/about.leaders/templates/.default/style.css b/local/components/evolution/about.leaders/templates/.default/style.css new file mode 100644 index 0000000..e69de29 diff --git a/local/components/evolution/about.leaders/templates/.default/template.php b/local/components/evolution/about.leaders/templates/.default/template.php new file mode 100644 index 0000000..55e49a7 --- /dev/null +++ b/local/components/evolution/about.leaders/templates/.default/template.php @@ -0,0 +1,24 @@ +setFrameMode(true); +?> +

Руководство

+
+ +
+ <?= $leader['NAME']; ?> +

+

+
+ +
\ No newline at end of file diff --git a/local/components/evolution/about.roadmap/.description.php b/local/components/evolution/about.roadmap/.description.php new file mode 100644 index 0000000..a20bdf3 --- /dev/null +++ b/local/components/evolution/about.roadmap/.description.php @@ -0,0 +1,8 @@ + GetMessage("DEFAULT_NAME"), + "DESCRIPTION" => GetMessage("DEFAULT_DESC"), +); +?> \ No newline at end of file diff --git a/local/components/evolution/about.roadmap/component.php b/local/components/evolution/about.roadmap/component.php new file mode 100644 index 0000000..fab34e4 --- /dev/null +++ b/local/components/evolution/about.roadmap/component.php @@ -0,0 +1,45 @@ +StartResultCache(60*60*24, md5(var_export($_POST, true)))) +{ + if(CModule::IncludeModule('iblock')) + { + $arResult = []; + $sort = Array("PROPERTY_YEAR" => "DESC", "SORT" => "DESC",); + $filter = Array("ACTIVE" => "Y", "IBLOCK_ID" => 22); + $options = Array("nPageSize" => 1000); + + $res = CIBlockElement::GetList($sort, $filter, false, $options); + $arResult = ['YEARS' => []]; + + while ($obElement = $res->GetNextElement()) + { + $ar_res = $obElement->GetFields(); + $ar_res['PROPERTIES'] = $obElement->GetProperties(); + + if(!isset($arResult['YEARS'][$ar_res['PROPERTY_YEAR_VALUE']])) + { + $arResult['YEARS'][$ar_res['PROPERTY_YEAR_VALUE']] = []; + } + + array_push($arResult['YEARS'][$ar_res['PROPERTY_YEAR_VALUE']], $ar_res); + } + + $this->IncludeComponentTemplate(); + } +} \ No newline at end of file diff --git a/local/components/evolution/about.roadmap/lang/ru/.description.php b/local/components/evolution/about.roadmap/lang/ru/.description.php new file mode 100644 index 0000000..d78f8b6 --- /dev/null +++ b/local/components/evolution/about.roadmap/lang/ru/.description.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/local/components/evolution/about.roadmap/lang/ru/.parameters.php b/local/components/evolution/about.roadmap/lang/ru/.parameters.php new file mode 100644 index 0000000..891df91 --- /dev/null +++ b/local/components/evolution/about.roadmap/lang/ru/.parameters.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/local/components/evolution/about.roadmap/templates/.default/style.css b/local/components/evolution/about.roadmap/templates/.default/style.css new file mode 100644 index 0000000..e69de29 diff --git a/local/components/evolution/about.roadmap/templates/.default/template.php b/local/components/evolution/about.roadmap/templates/.default/template.php new file mode 100644 index 0000000..779d9f0 --- /dev/null +++ b/local/components/evolution/about.roadmap/templates/.default/template.php @@ -0,0 +1,133 @@ +setFrameMode(true); +?> +
+

Эволюция – самая динамично развивающаяся автолизинговая компания России. Благодаря огромному опыту в лизинге и лучшим практикам на рынке, за год работы вошли в Топ 10 лизинговых компаний». Возможно, что-то ещё.

+
+
+

+ Уникальный + путь развития +

+ + Скачать презентацию + +
+
+ $periods): ?> +
+
+ +
+

+

+
+ +
+ + +
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+
+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Декабрь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+
+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+
+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+

Январь

+

Эволюция – самая динамично развивающаяся автолизинговая...

+
+
+ */?> + \ No newline at end of file diff --git a/local/components/evolution/catalog.position/templates/.default/template.php b/local/components/evolution/catalog.position/templates/.default/template.php index acae19d..9ea38fa 100644 --- a/local/components/evolution/catalog.position/templates/.default/template.php +++ b/local/components/evolution/catalog.position/templates/.default/template.php @@ -36,9 +36,11 @@ $this->setFrameMode(true);
<?= $arResult['NAME']; ?> +
+

Ключевые характеристики

-
    +
    • Год:
    • КПП:
    • Привод:
    • @@ -48,76 +50,16 @@ $this->setFrameMode(true);
    • Топливо:
-
-
-
-
-
-
-

Стоимость авто

-

- - ₽ - - -

- -
- -
-

млн

-

млн

-
-
-

Первоначальный взнос

-

%

-
- -
-

%

-

%

-
-
-

Срок договора

-

мес.

-
- -
-

мес.

-

мес.

-
-
-

Выкупной платеж

-

%

-
- -
-

%

-

%

-
-
-
-
-

Ежемесячный платеж

-

-
-
-

Экономия по налогу на прибыль (до)

-

-
-
-

НДС к возмещению из бюджета (до)

-

-
- -
-
+ +
+

Оформите автомбиль Audi A3 в лизинг на выгодных условиях

+

+ Цена + 2 300 250₽ +

+ + +
@@ -274,6 +216,133 @@ $this->setFrameMode(true); ?>
-
+ +
+
+

Калькулятор расчета лизинга

+
+
+

Стоимость авто

+

+ + ₽ + + +

+ +
+ +
+

млн

+

млн

+
+
+

Первоначальный взнос

+

%

+
+ +
+

%

+

%

+
+
+

Срок договора

+

мес.

+
+ +
+

мес.

+

мес.

+
+
+

Выкупной платеж

+

%

+
+ +
+

%

+

%

+
+
+
+
+

Ежемесячный платеж

+

+
+
+

Экономия по налогу на прибыль (до)

+

+
+
+

НДС к возмещению из бюджета (до)

+

+
+ +
+
+
+ + +
+
+

Другие модели Audi A3 Sedan

+ Показать все +
+ + + + + +
+ +
+
+

Рекомендуемые модели Audi для вас

+ Показать все +
+ + + + + + +
+
\ No newline at end of file diff --git a/local/components/evolution/catalog/templates/.default/template.php b/local/components/evolution/catalog/templates/.default/template.php index be04a87..405ed96 100644 --- a/local/components/evolution/catalog/templates/.default/template.php +++ b/local/components/evolution/catalog/templates/.default/template.php @@ -15,100 +15,286 @@ $this->setFrameMode(true);
-

Каталог автомобилей

-
- - -
-

СКИДКИ ДО 1,5% + СПЕЦТАРИФ НА КАСКО

-
    -
  • Скидки до 1,5% при покупке
  • -
  • Land Rover в лизинг
  • +
    +
    +

    Каталог автомобилей

    +
    + + +
    +

    СКИДКИ ДО 1,5% + СПЕЦТАРИФ НА КАСКО

    +
      +
    • Скидки до 1,5% при покупке
    • +
    • Land Rover в лизинг
    • +
    • Специальный тариф на каско
    • +
    + + +
    + +
    "> +
    +
    +
    + +
    +
    + +
    + + +
    +
    +
    +
    "> +
    + IncludeComponent( + "evolution:form.catalog.filter", + "", + Array( + "SELECTED" => $arResult['SELECTED'], + "PATH" => $arParams['PATH'], + "SORTING" => true, + "PROGRAM" => $arParams['PROGRAM'], + "SCROLL" => $arResult['SCROLL'], + ) + ); ?> +
    +
    + IncludeComponent( + "evolution:catalog.sort", + "", + Array( + "SORT" => $arParams['SORT'], + "FILTER" => $arResult['FILTER_SMALL'], + ) + ); ?> + 0): ?> +
    + +
    + + <?= $arItem['PROPERTIES']['BRAND']['RELATED']['NAME']; ?> <?= $arItem['PROPERTIES']['MODEL']['RELATED']['NAME']; ?> <?= $arItem['PROPERTIES']['BODY']['VALUE']; ?> +

    +

    + + , , л.с. +

    +
      +
    • +

      Ежемесячный платёж (от)

      +

      р.

      +
    • +
    • +

      Стоимость автомобиля (от)

      +

      р.

      +
    • +
    • +

      Экономия по налогу на прибыль (до)

      +

      р.

      +
    • +
    • +

      НДС к возмещению из бюджета (до)

      +

      р.

      +
    • +
    + +

    +
    + +
    + + +
    +

    Рекомендуемые модели Audi для вас

    + + + + + + + + + + + + + + + + + + + + +
    + +
    +

    Седаны в лизинг

    + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    + + +
    + + +
\ No newline at end of file diff --git a/local/templates/.default/components/bitrix/menu/evolution/template.php b/local/templates/.default/components/bitrix/menu/evolution/template.php index 449d831..d8f96ef 100644 --- a/local/templates/.default/components/bitrix/menu/evolution/template.php +++ b/local/templates/.default/components/bitrix/menu/evolution/template.php @@ -4,7 +4,17 @@ +
+ +