template.php
3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this->setFrameMode(true);
?>
<? if($arResult['PROPERTIES']['INFOTEXT_ONE']['VALUE']): ?>
<div class="wrapper black-background">
<section class="section cover-security black-background">
<div class="cover-security__img">
<img class="cover-security__img_color" src="<?= CFile::GetPath($arResult["PROPERTIES"]["DETAIL_IMAGE"]['VALUE']); ?>" alt=""/>
<img class="cover-security__img_black" src="<?= CFile::GetPath($arResult["PROPERTIES"]["DETAIL_IMAGE"]['VALUE']); ?>" alt=""/>
</div>
<div class="container cover-security__container">
<div class="cover-security__head">
<h1 class="h1 cover-security__title fade-in">
<?= $arResult['PROPERTIES']['H1_TITLE']['~VALUE']['TEXT']?>
</h1>
<div class="red-line cover-security__lines cover-security__line fade-in"></div>
<button class="button button_style_red cover-security__btn fade-in popup-form-open" type="button"
data-subject="Заявка с обложки ИБ">Оставить заявку
</button>
</div>
<ul class="cover-security__cards">
<?foreach ($arResult['PROPERTIES']['MAIN_POINTS']['VALUE'] as $point): ?>
<li class="cover-security__card fade-in">
<div class="cover-security__card-line"></div>
<div class="fact cover-security__card-text"><?= $point ?></div>
</li>
<?endforeach;?>
</ul>
</div>
</section>
<section class="section services-security black-background">
<div class="container services-security__container">
<h2 class="h2 services-security__title fade-in"><?= $arResult['PROPERTIES']['H2_TITLE']['~VALUE']['TEXT'] ?></h2>
<div class="services-security__info">
<?= $arResult['PROPERTIES']['INFOTEXT_ONE']['~VALUE']['TEXT'] ?>
</div>
</div>
</section>
</div>
<?else:?>
<section class="section decisions">
<div class="container decisions__container">
<h2 class="h2 decisions__title fade-in">Страница не заполнена</h2>
</div>
</section>
<?endif;?>
<?if($arResult['PROPERTIES']['INFOTEXT_TWO']['VALUE']): ?>
<section class="section decisions">
<div class="container decisions__container"><h2 class="h2 decisions__title fade-in"><?= $arResult['PROPERTIES']['H2_TITLE_TWO']['~VALUE']['TEXT'] ?></h2>
<?= $arResult['PROPERTIES']['INFOTEXT_TWO']['~VALUE']['TEXT'] ?>
</div>
</section>
<?endif;?>
<?if($arResult['PROPERTIES']['TEXT_THREE']['VALUE']): ?>
<section class="section solutions black-background">
<?= $arResult['PROPERTIES']['TEXT_THREE']['~VALUE']['TEXT'] ?>
</section>
<?endif;?>
<?if($arResult['PROPERTIES']['TEXT_FOUR']['VALUE']): ?>
<section class="section import-security">
<?= $arResult['PROPERTIES']['TEXT_FOUR']['~VALUE']['TEXT'] ?>
</section>
<?endif;?>
<?if($arResult['PROPERTIES']['TEXT_FIVE']['VALUE']): ?>
<section class="section support-security">
<?= $arResult['PROPERTIES']['TEXT_FIVE']['~VALUE']['TEXT'] ?>
</section>
<?endif;?>
<?if($arResult['PROPERTIES']['TEXT_SIX']['VALUE']): ?>
<section class="section our-solutions black-background">
<?= $arResult['PROPERTIES']['TEXT_SIX']['~VALUE']['TEXT'] ?>
</section>
<?endif;?>
<?if($arResult['PROPERTIES']['TEXT_SEVEN']['VALUE']): ?>
<section class="section cases black-background">
<?= $arResult['PROPERTIES']['TEXT_SEVEN']['~VALUE']['TEXT'] ?>
</section>
<?endif;?>
<?if($arResult['PROPERTIES']['TEXT_EIGHT']['VALUE']): ?>
<section class="section about-security black-background">
<?= $arResult['PROPERTIES']['TEXT_EIGHT']['~VALUE']['TEXT'] ?>
</section>
<?endif;?>