Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
udvgroup.na4u.ru
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Акимов Владимир
udvgroup.na4u.ru
Commits
b92ef61e
Commit
b92ef61e
authored
Oct 07, 2024
by
Владимир Акимов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Хабовая страница мероприятий
parent
a82fbd7b
Changes
27
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
1075 additions
and
427 deletions
+1075
-427
index.php
about/events/index.php
+110
-0
template.php
...wudv/components/bitrix/breadcrumb/breadcrumb/template.php
+7
-3
result_modifier.php
...mponents/bitrix/news.list/banner_main/result_modifier.php
+1
-1
template.php
...wudv/components/bitrix/news.list/banner_main/template.php
+11
-6
.parameters.php
...v/components/bitrix/news.list/events_tags/.parameters.php
+25
-0
.parameters.php
...ents/bitrix/news.list/events_tags/lang/en/.parameters.php
+6
-0
template.php
...ponents/bitrix/news.list/events_tags/lang/en/template.php
+3
-0
.parameters.php
...ents/bitrix/news.list/events_tags/lang/ru/.parameters.php
+6
-0
template.php
...ponents/bitrix/news.list/events_tags/lang/ru/template.php
+3
-0
template.php
...wudv/components/bitrix/news.list/events_tags/template.php
+139
-0
template.php
...newudv/components/bitrix/news.list/news_tags/template.php
+2
-2
result_modifier.php
...news/events/bitrix/news.list/.default/result_modifier.php
+0
-34
template.php
...bitrix/news/events/bitrix/news.list/.default/template.php
+129
-282
news.php
...tes/newudv/components/bitrix/news/events/lang/en/news.php
+3
-0
search.php
...s/newudv/components/bitrix/news/events/lang/en/search.php
+3
-0
section.php
.../newudv/components/bitrix/news/events/lang/en/section.php
+3
-0
news.php
...tes/newudv/components/bitrix/news/events/lang/ru/news.php
+3
-0
search.php
...s/newudv/components/bitrix/news/events/lang/ru/search.php
+3
-0
section.php
.../newudv/components/bitrix/news/events/lang/ru/section.php
+3
-0
news.php
...l/templates/newudv/components/bitrix/news/events/news.php
+75
-0
section.php
...emplates/newudv/components/bitrix/news/events/section.php
+102
-0
template.php
...s/bitrix/news/news/bitrix/news.list/.default/template.php
+1
-30
template.php
...trix/news/products/bitrix/news.list/.default/template.php
+312
-65
template.php
...omponents/bitrix/system.pagenavigation/round/template.php
+9
-2
custom.css
local/templates/newudv/css/custom.css
+5
-0
header.php
local/templates/newudv/header.php
+1
-1
script.js
local/templates/newudv/js/script.js
+110
-1
No files found.
about/events/index.php
0 → 100644
View file @
b92ef61e
<?
require
(
$_SERVER
[
"DOCUMENT_ROOT"
]
.
"/bitrix/header.php"
);
$APPLICATION
->
SetPageProperty
(
"TITLE"
,
"Мероприятия - UDV Group"
);
$APPLICATION
->
SetPageProperty
(
"description"
,
""
);
$APPLICATION
->
SetTitle
(
"news"
);
?>
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:news"
,
"events"
,
array
(
"ADD_ELEMENT_CHAIN"
=>
"N"
,
"ADD_SECTIONS_CHAIN"
=>
"N"
,
"AJAX_MODE"
=>
"N"
,
"AJAX_OPTION_ADDITIONAL"
=>
""
,
"AJAX_OPTION_HISTORY"
=>
"N"
,
"AJAX_OPTION_JUMP"
=>
"N"
,
"AJAX_OPTION_STYLE"
=>
"N"
,
"BROWSER_TITLE"
=>
"-"
,
"CACHE_FILTER"
=>
"N"
,
"CACHE_GROUPS"
=>
"Y"
,
"CACHE_TIME"
=>
"36000000"
,
"CACHE_TYPE"
=>
"N"
,
"CHECK_DATES"
=>
"Y"
,
"DETAIL_ACTIVE_DATE_FORMAT"
=>
"j F Y"
,
"DETAIL_DISPLAY_BOTTOM_PAGER"
=>
"Y"
,
"DETAIL_DISPLAY_TOP_PAGER"
=>
"N"
,
"DETAIL_FIELD_CODE"
=>
array
(
0
=>
"NAME"
,
1
=>
"PREVIEW_TEXT"
,
2
=>
"PREVIEW_PICTURE"
,
3
=>
"DETAIL_TEXT"
,
4
=>
"DETAIL_PICTURE"
,
5
=>
""
,
),
"DETAIL_PAGER_SHOW_ALL"
=>
"Y"
,
"DETAIL_PAGER_TEMPLATE"
=>
""
,
"DETAIL_PAGER_TITLE"
=>
"Страница"
,
"DETAIL_PROPERTY_CODE"
=>
array
(
0
=>
"DATE"
,
1
=>
"TIME"
,
2
=>
"MAIN"
,
3
=>
""
,
),
"DETAIL_SET_CANONICAL_URL"
=>
"N"
,
"DISPLAY_BOTTOM_PAGER"
=>
"Y"
,
"DISPLAY_DATE"
=>
"Y"
,
"DISPLAY_NAME"
=>
"Y"
,
"DISPLAY_PICTURE"
=>
"Y"
,
"DISPLAY_PREVIEW_TEXT"
=>
"Y"
,
"DISPLAY_TOP_PAGER"
=>
"N"
,
"FILE_404"
=>
""
,
"HIDE_LINK_WHEN_NO_DETAIL"
=>
"N"
,
"IBLOCK_ID"
=>
"23"
,
"IBLOCK_TYPE"
=>
"about"
,
"INCLUDE_IBLOCK_INTO_CHAIN"
=>
"N"
,
"LIST_ACTIVE_DATE_FORMAT"
=>
"j F Y"
,
"LIST_FIELD_CODE"
=>
array
(
0
=>
"NAME"
,
1
=>
"PREVIEW_TEXT"
,
2
=>
"PREVIEW_PICTURE"
,
3
=>
"DETAIL_TEXT"
,
4
=>
"DETAIL_PICTURE"
,
5
=>
""
,
),
"LIST_PROPERTY_CODE"
=>
array
(
0
=>
"DATE"
,
1
=>
"HASHTAG"
,
),
"MESSAGE_404"
=>
""
,
"META_DESCRIPTION"
=>
"-"
,
"META_KEYWORDS"
=>
"-"
,
"NEWS_COUNT"
=>
"11"
,
"PAGER_BASE_LINK_ENABLE"
=>
"N"
,
"PAGER_DESC_NUMBERING"
=>
"N"
,
"PAGER_DESC_NUMBERING_CACHE_TIME"
=>
"36000"
,
"PAGER_SHOW_ALL"
=>
"N"
,
"PAGER_SHOW_ALWAYS"
=>
"N"
,
"PAGER_TEMPLATE"
=>
"round"
,
"PAGER_TITLE"
=>
"Новости"
,
"PREVIEW_TRUNCATE_LEN"
=>
""
,
"SEF_FOLDER"
=>
"/about/events/"
,
"SEF_MODE"
=>
"Y"
,
"SET_LAST_MODIFIED"
=>
"N"
,
"SET_STATUS_404"
=>
"Y"
,
"SET_TITLE"
=>
"Y"
,
"SHOW_404"
=>
"Y"
,
"SORT_BY1"
=>
"PROPERTY_DATE"
,
"SORT_BY2"
=>
"SORT"
,
"SORT_ORDER1"
=>
"DESC"
,
"SORT_ORDER2"
=>
"ASC"
,
"STRICT_SECTION_CHECK"
=>
"N"
,
"USE_CATEGORIES"
=>
"N"
,
"USE_FILTER"
=>
"N"
,
"USE_PERMISSIONS"
=>
"N"
,
"USE_RATING"
=>
"N"
,
"USE_REVIEW"
=>
"N"
,
"USE_RSS"
=>
"N"
,
"USE_SEARCH"
=>
"N"
,
"USE_SHARE"
=>
"N"
,
"COMPONENT_TEMPLATE"
=>
"news"
,
"SEF_URL_TEMPLATES"
=>
array
(
"news"
=>
""
,
"section"
=>
""
,
"detail"
=>
"#ELEMENT_CODE#/"
,
)
),
false
);
?>
<?
require
(
$_SERVER
[
"DOCUMENT_ROOT"
]
.
"/bitrix/footer.php"
);
?>
local/templates/newudv/components/bitrix/breadcrumb/breadcrumb/template.php
View file @
b92ef61e
...
@@ -14,7 +14,10 @@ if(empty($arResult))
...
@@ -14,7 +14,10 @@ if(empty($arResult))
$strReturn
=
''
;
$strReturn
=
''
;
//we can't use $APPLICATION->SetAdditionalCSS() here because we are inside the buffered function GetNavChain()
//we can't use $APPLICATION->SetAdditionalCSS() here because we are inside the buffered function GetNavChain()
$strReturn
.=
'<div class="container container--pt-header container--mb"><div class="breadcrumbs breadcrumbs--pl"> <ol class="breadcrumbs__list">'
;
if
(
strpos
(
$APPLICATION
->
GetCurDir
(),
"products"
)){
$strReturn
.=
'<div class="breadcrumbs hero__breadcrumbs"><ol class="breadcrumbs__list">'
;
}
else
$strReturn
.=
'<div class="container container--pt-header container--mb"><div class="breadcrumbs breadcrumbs--pl"> <ol class="breadcrumbs__list">'
;
$itemSize
=
count
(
$arResult
);
$itemSize
=
count
(
$arResult
);
for
(
$index
=
0
;
$index
<
$itemSize
;
$index
++
)
for
(
$index
=
0
;
$index
<
$itemSize
;
$index
++
)
...
@@ -44,8 +47,9 @@ for($index = 0; $index < $itemSize; $index++)
...
@@ -44,8 +47,9 @@ for($index = 0; $index < $itemSize; $index++)
'
;
'
;
}
}
}
}
if
(
strpos
(
$APPLICATION
->
GetCurDir
(),
"products"
)){
$strReturn
.=
'</ol></div></div>'
;
$strReturn
.=
'</ol></div>'
;
}
else
$strReturn
.=
'</ol></div></div>'
;
return
$strReturn
;
return
$strReturn
;
?>
?>
local/templates/newudv/components/bitrix/news.list/banner_main/result_modifier.php
View file @
b92ef61e
...
@@ -10,7 +10,7 @@ $iblockId = 20 ;
...
@@ -10,7 +10,7 @@ $iblockId = 20 ;
$arResult
[
'SPECIALS'
]
=
[];
$arResult
[
'SPECIALS'
]
=
[];
$arSelect
=
array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PROPERTY_LINK"
);
//IBLOCK_ID и ID обязательно должны быть
$arSelect
=
array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PROPERTY_LINK"
);
//IBLOCK_ID и ID обязательно должны быть
$arFilter
=
array
(
"IBLOCK_ID"
=>
$iblockId
,
"ACTIVE"
=>
"Y"
);
$arFilter
=
array
(
"IBLOCK_ID"
=>
$iblockId
,
"ACTIVE"
=>
"Y"
);
$res
=
CIBlockElement
::
GetList
(
array
(),
$arFilter
,
false
,
false
,
$arSelect
);
$res
=
CIBlockElement
::
GetList
(
array
(
"SORT"
=>
"ASC"
),
$arFilter
,
false
,
false
,
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
while
(
$ob
=
$res
->
GetNextElement
())
{
$arFields
=
$ob
->
GetFields
();
$arFields
=
$ob
->
GetFields
();
$arResult
[
'SPECIALS'
][]
=
$arFields
;
$arResult
[
'SPECIALS'
][]
=
$arFields
;
...
...
local/templates/newudv/components/bitrix/news.list/banner_main/template.php
View file @
b92ef61e
...
@@ -20,21 +20,26 @@ $this->setFrameMode(true);
...
@@ -20,21 +20,26 @@ $this->setFrameMode(true);
$this
->
AddEditAction
(
$arItem
[
'ID'
],
$arItem
[
'EDIT_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_EDIT"
));
$this
->
AddEditAction
(
$arItem
[
'ID'
],
$arItem
[
'EDIT_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_EDIT"
));
$this
->
AddDeleteAction
(
$arItem
[
'ID'
],
$arItem
[
'DELETE_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_DELETE"
),
array
(
"CONFIRM"
=>
GetMessage
(
'CT_BNL_ELEMENT_DELETE_CONFIRM'
)));
$this
->
AddDeleteAction
(
$arItem
[
'ID'
],
$arItem
[
'DELETE_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_DELETE"
),
array
(
"CONFIRM"
=>
GetMessage
(
'CT_BNL_ELEMENT_DELETE_CONFIRM'
)));
?>
?>
<?
$img1921
=
CFile
::
GetPath
(
$arItem
[
"PROPERTIES"
][
'BG_1921'
][
"VALUE"
]);
$img768
=
CFile
::
GetPath
(
$arItem
[
"PROPERTIES"
][
'BG_768'
][
"VALUE"
]);
$img767
=
CFile
::
GetPath
(
$arItem
[
"PROPERTIES"
][
'BG_767'
][
"VALUE"
]);
?>
<div
class=
"hero__inner"
id=
"
<?=
$this
->
GetEditAreaId
(
$arItem
[
'ID'
]);
?>
"
>
<div
class=
"hero__inner"
id=
"
<?=
$this
->
GetEditAreaId
(
$arItem
[
'ID'
]);
?>
"
>
<div
class=
"hero__bg"
>
<div
class=
"hero__bg"
>
<div
class=
"hero__bg-gradient"
>
<div
class=
"hero__bg-gradient"
>
<picture>
<picture>
<source
media=
"(min-width: 1921px)"
<source
media=
"(min-width: 1921px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main-d.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main-xl@2x.webp 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main-xl@3x.webp 3x
"
srcset=
"
<?=
$img1921
?>
"
type=
"image/webp"
>
type=
"image/webp"
>
<source
media=
"(min-width: 768px)"
<source
media=
"(min-width: 768px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main-d.webp,
<?=
SITE_TEMPLATE_PATH
?>
/bg/bg-hero-main-d@2x.webp 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main-d@3x.webp 3x
"
srcset=
"
<?=
$img768
?>
"
type=
"image/webp"
>
type=
"image/webp"
>
<source
media=
"(max-width: 767px)"
<source
media=
"(max-width: 767px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main@2x.webp 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main@3x.webp 3x
"
srcset=
"
<?=
$img767
?>
"
type=
"image/webp"
>
type=
"image/webp"
>
<img
src=
"
<?=
$arItem
[
"PREVIEW_PICTURE"
][
"SRC"
]
?>
"
<img
src=
"
<?=
$arItem
[
"PREVIEW_PICTURE"
][
"SRC"
]
?>
"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main@2x.png 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-hero-main@3x.png 3x
"
srcset=
"
<?=
$arItem
[
"PREVIEW_PICTURE"
][
"SRC"
]
?>
"
alt=
"Изображение"
width=
"1512"
height=
"744"
loading=
"lazy"
>
alt=
"Изображение"
width=
"1512"
height=
"744"
loading=
"lazy"
>
</picture>
</picture>
...
@@ -50,10 +55,10 @@ $this->setFrameMode(true);
...
@@ -50,10 +55,10 @@ $this->setFrameMode(true);
<div
class=
"hero__img"
data-animate=
"hero-image-d-index"
>
<div
class=
"hero__img"
data-animate=
"hero-image-d-index"
>
<picture>
<picture>
<source
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/hero/hero-main.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/hero/hero-main@2x.webp 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/hero/hero-main@3x.webp 3x
"
<source
srcset=
"
<?=
$arItem
[
"DETAIL_PICTURE"
][
"SRC"
]
?>
"
type=
"image/webp"
>
type=
"image/webp"
>
<img
src=
"
<?=
$arItem
[
"DETAIL_PICTURE"
][
"SRC"
]
?>
"
<img
src=
"
<?=
$arItem
[
"DETAIL_PICTURE"
][
"SRC"
]
?>
"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/hero/hero-main@2x.png 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/hero/hero-main@3x.png 3x
"
srcset=
"
<?=
$arItem
[
"DETAIL_PICTURE"
][
"SRC"
]
?>
"
alt=
"Изображение"
width=
"825"
height=
"740"
loading=
"lazy"
>
alt=
"Изображение"
width=
"825"
height=
"740"
loading=
"lazy"
>
</picture>
</picture>
</div>
</div>
...
...
local/templates/newudv/components/bitrix/news.list/events_tags/.parameters.php
0 → 100644
View file @
b92ef61e
<?php
if
(
!
defined
(
"B_PROLOG_INCLUDED"
)
||
B_PROLOG_INCLUDED
!==
true
)
die
();
$arTemplateParameters
=
array
(
"DISPLAY_DATE"
=>
Array
(
"NAME"
=>
GetMessage
(
"T_IBLOCK_DESC_NEWS_DATE"
),
"TYPE"
=>
"CHECKBOX"
,
"DEFAULT"
=>
"Y"
,
),
"DISPLAY_NAME"
=>
Array
(
"NAME"
=>
GetMessage
(
"T_IBLOCK_DESC_NEWS_NAME"
),
"TYPE"
=>
"CHECKBOX"
,
"DEFAULT"
=>
"Y"
,
),
"DISPLAY_PICTURE"
=>
Array
(
"NAME"
=>
GetMessage
(
"T_IBLOCK_DESC_NEWS_PICTURE"
),
"TYPE"
=>
"CHECKBOX"
,
"DEFAULT"
=>
"Y"
,
),
"DISPLAY_PREVIEW_TEXT"
=>
Array
(
"NAME"
=>
GetMessage
(
"T_IBLOCK_DESC_NEWS_TEXT"
),
"TYPE"
=>
"CHECKBOX"
,
"DEFAULT"
=>
"Y"
,
),
);
local/templates/newudv/components/bitrix/news.list/events_tags/lang/en/.parameters.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'T_IBLOCK_DESC_NEWS_DATE'
]
=
"Display element date"
;
$MESS
[
'T_IBLOCK_DESC_NEWS_NAME'
]
=
"Display element title"
;
$MESS
[
'T_IBLOCK_DESC_NEWS_PICTURE'
]
=
"Display element preview picture"
;
$MESS
[
'T_IBLOCK_DESC_NEWS_TEXT'
]
=
"Display element preview text"
;
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news.list/events_tags/lang/en/template.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
"CT_BNL_ELEMENT_DELETE_CONFIRM"
]
=
"All the information linked to this record will be deleted. Continue anyway?"
;
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news.list/events_tags/lang/ru/.parameters.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'T_IBLOCK_DESC_NEWS_DATE'
]
=
"Выводить дату элемента"
;
$MESS
[
'T_IBLOCK_DESC_NEWS_NAME'
]
=
"Выводить название элемента"
;
$MESS
[
'T_IBLOCK_DESC_NEWS_PICTURE'
]
=
"Выводить изображение для анонса"
;
$MESS
[
'T_IBLOCK_DESC_NEWS_TEXT'
]
=
"Выводить текст анонса"
;
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news.list/events_tags/lang/ru/template.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
"CT_BNL_ELEMENT_DELETE_CONFIRM"
]
=
"Будет удалена вся информация, связанная с этой записью. Продолжить?"
;
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news.list/events_tags/template.php
0 → 100644
View file @
b92ef61e
<?
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
);
?>
<div
id=
"page"
>
<div
class=
"events-list"
>
<div
class=
"events__top-events"
>
<?php
foreach
(
$arResult
[
"ITEMS"
]
as
$k
=>
$arItem
)
{
if
(
$k
>
1
)
break
;
$imgSrcMob
=
CFile
::
GetPath
(
$arItem
[
"PROPERTIES"
][
'PREVIEW_PICTURE_MOB'
][
'VALUE'
]);
$this
->
AddEditAction
(
$arItem
[
'ID'
],
$arItem
[
'EDIT_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_EDIT"
));
$this
->
AddDeleteAction
(
$arItem
[
'ID'
],
$arItem
[
'DELETE_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_DELETE"
),
array
(
"CONFIRM"
=>
GetMessage
(
'CT_BNL_ELEMENT_DELETE_CONFIRM'
)));
?>
<div
class=
"article-card events__top-events-card article-card--top-events"
>
<a
class=
"article-card__inner"
href=
"#"
>
<div
class=
"article-card__status"
>
<div
class=
"tag-text tag-text--green tag-text--top-events"
>
<p
class=
"tag-text__text"
>
<?=
soon
(
$arItem
[
'PROPERTIES'
][
"DATE"
][
"VALUE"
])
?>
</p>
</div>
</div>
<?
if
(
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
])
{
$imgSrcMob
=
CFile
::
GetPath
(
$arItem
[
'PROPERTIES'
][
'PREVIEW_PICTURE_MOB'
][
'VALUE'
]);
?>
<div
class=
"article-card__image"
>
<picture>
<source
media=
"(min-width: 768px)"
srcset=
"
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
"
type=
"image/webp"
>
<source
media=
"(max-width: 767px)"
srcset=
"
<?=
$imgSrcMob
?>
,
<?=
$imgSrcMob
?>
,
<?=
$imgSrcMob
?>
"
type=
"image/webp"
>
<img
src=
"
<?=
$arItem
[
'PREVIEW_PICTURE'
][
"SRC"
]
?>
"
srcset=
"
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
"
alt=
"
<?=
$arItem
[
'NAME'
]
?>
"
width=
"148"
height=
"101"
loading=
"lazy"
>
</picture>
</div>
<?
}
?>
<h2
class=
"title article-card__title"
>
<?=
$arItem
[
'NAME'
]
?>
</h2>
<div
class=
"article-card__text"
>
<p>
<?=
$arItem
[
'PREVIEW_TEXT'
]
?>
</p>
</div>
<div
class=
"item-info item-info--top-events"
>
<div
class=
"item-info__wrap"
>
<p
class=
"item-info__category"
>
<?=
$arItem
[
'PROPERTIES'
][
'LINE'
][
'VALUE'
]
?>
</p>
<time
class=
"item-info__date item-info__date--hot"
datetime=
"2024-08-25"
>
<svg
width=
"0.95em"
height=
"1em"
viewBox=
"0 0 18 19"
data-icon=
"icon-flame"
>
<symbol
id=
"ai:local:icon-flame"
>
<path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.4"
d=
"M9 9.5c1.5-2.22 0-5.25-.75-6C8.25 5.779 6.92 7.056 6 8c-.92.945-1.5 2.43-1.5 3.75a4.5 4.5 0 1 0 9 0c0-1.149-.792-2.955-1.5-3.75-1.34 2.25-2.093 2.25-3 1.5Z"
></path>
</symbol>
<use
xlink:href=
"#ai:local:icon-flame"
></use>
</svg>
<?=
rusdate
(
$arItem
[
'PROPERTIES'
][
"DATE"
][
"VALUE"
])
?>
</time>
</div>
</div>
</a>
</div>
<?
}
?>
</div>
<ul
class=
"events__list is-show-half"
>
<?php
foreach
(
$arResult
[
"ITEMS"
]
as
$k
=>
$arItem
)
:
if
(
$k
<
2
)
continue
;
$imgSrcMob
=
CFile
::
GetPath
(
$arItem
[
"PROPERTIES"
][
'PREVIEW_PICTURE_MOB'
][
'VALUE'
]);
$this
->
AddEditAction
(
$arItem
[
'ID'
],
$arItem
[
'EDIT_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_EDIT"
));
$this
->
AddDeleteAction
(
$arItem
[
'ID'
],
$arItem
[
'DELETE_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_DELETE"
),
array
(
"CONFIRM"
=>
GetMessage
(
'CT_BNL_ELEMENT_DELETE_CONFIRM'
)));
?>
<li
class=
"events__item"
id=
"
<?=
$this
->
GetEditAreaId
(
$arItem
[
'ID'
]);
?>
"
>
<div
class=
"article-card article-card--events-list"
>
<a
class=
"article-card__inner"
href=
"
<?=
$arItem
[
'DETAIL_PAGE_URL'
]
?>
"
>
<div
class=
"article-card__status"
>
<div
class=
"tag-text tag-text--green tag-text--events-list"
>
<p
class=
"tag-text__text"
>
<?=
soon
(
$arItem
[
'PROPERTIES'
][
"DATE"
][
"VALUE"
])
?>
</p>
</div>
</div>
<?
if
(
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]){
$imgSrcMob
=
CFile
::
GetPath
(
$arItem
[
'PROPERTIES'
][
'PREVIEW_PICTURE_MOB'
][
'VALUE'
]);
?>
<div
class=
"article-card__image"
>
<picture>
<source
media=
"(min-width: 768px)"
srcset=
"
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
"
type=
"image/webp"
>
<source
media=
"(max-width: 767px)"
srcset=
"
<?=
$imgSrcMob
?>
,
<?=
$imgSrcMob
?>
,
<?=
$imgSrcMob
?>
"
type=
"image/webp"
>
<img
src=
"
<?=
$arItem
[
'PREVIEW_PICTURE'
][
"SRC"
]
?>
"
srcset=
"
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]
?>
"
alt=
"
<?=
$arItem
[
'NAME'
]
?>
"
width=
"148"
height=
"101"
loading=
"lazy"
>
</picture>
</div>
<?
}
?>
<h2
class=
"title article-card__title"
>
<?=
$arItem
[
'NAME'
]
?>
</h2>
<div
class=
"article-card__text"
>
<p>
<?=
$arItem
[
'PREVIEW_TEXT'
]
?>
</p>
</div>
<div
class=
"item-info item-info--events-list"
>
<div
class=
"item-info__wrap"
>
<p
class=
"item-info__category"
>
<?=
$arItem
[
'PROPERTIES'
][
'LINE'
][
'VALUE'
]
?>
</p>
<time
class=
"item-info__date"
datetime=
"
<?=
$arItem
[
'PROPERTIES'
][
"DATE"
][
"VALUE"
]
?>
"
>
<?=
explode
(
' '
,
$arItem
[
'PROPERTIES'
][
"DATE"
][
"VALUE"
])[
0
]
?>
</time>
</div>
</div>
</a>
</div>
</li>
<?
endforeach
;
?>
</ul>
</div>
</div>
<?php
if
(
$arParams
[
"DISPLAY_BOTTOM_PAGER"
])
{
?>
<?=
$arResult
[
"NAV_STRING"
]
?>
<?php
}
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news.list/news_tags/template.php
View file @
b92ef61e
...
@@ -26,7 +26,7 @@ $this->setFrameMode(true);
...
@@ -26,7 +26,7 @@ $this->setFrameMode(true);
<div
class=
"article-card"
>
<div
class=
"article-card"
>
<a
class=
"article-card__inner"
href=
"
<?=
$arItem
[
'DETAIL_PAGE_URL'
]
?>
"
>
<a
class=
"article-card__inner"
href=
"
<?=
$arItem
[
'DETAIL_PAGE_URL'
]
?>
"
>
<?
if
(
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]){
<?
if
(
$arItem
[
'PREVIEW_PICTURE'
][
'SRC'
]){
$imgSrcMob
=
C
$imgSrcMob
=
C
File
::
GetPath
(
$arItem
[
'PROPERTIES'
][
'PREVIEW_PICTURE_MOB'
][
'VALUE'
]);
?>
?>
<div
class=
"article-card__image"
>
<div
class=
"article-card__image"
>
<picture>
<picture>
...
@@ -64,7 +64,7 @@ $this->setFrameMode(true);
...
@@ -64,7 +64,7 @@ $this->setFrameMode(true);
<use
xlink:href=
"#ai:local:icon-clock"
></use>
<use
xlink:href=
"#ai:local:icon-clock"
></use>
</svg>
</svg>
5
минут
<?=
$arItem
[
'PROPERTIES'
][
"TIME"
][
"VALUE"
]
?>
минут
</span>
</span>
</div>
</div>
...
...
local/templates/newudv/components/bitrix/news/events/bitrix/news.list/.default/result_modifier.php
View file @
b92ef61e
...
@@ -20,40 +20,6 @@ if (!empty($arResult["ITEMS"])) {
...
@@ -20,40 +20,6 @@ if (!empty($arResult["ITEMS"])) {
}
}
}
}
//главная новость
$arFilter
=
Array
(
"IBLOCK_ID"
=>
$arParams
[
'IBLOCK_ID'
],
"ACTIVE"
=>
"Y"
,
"PROPERTY_MAIN"
=>
"Y"
);
$res
=
CIBlockElement
::
GetList
(
Array
(),
$arFilter
,
false
,
false
,
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arItem
=
$ob
->
GetFields
();
$arItem
[
'PREVIEW_PICTURE'
]
=
CFile
::
GetFileArray
(
$arItem
[
'PREVIEW_PICTURE'
]);
$arItem
[
'PROPERTIES'
]
=
$ob
->
GetProperties
();
$arResult
[
'MAIN'
]
=
$arItem
;
}
//хештеги
$arResult
[
'HASHTAGS'
]
=
[];
$arFilter
=
Array
(
"IBLOCK_ID"
=>
$arParams
[
'IBLOCK_ID'
],
"ACTIVE"
=>
"Y"
,
);
$res
=
CIBlockElement
::
GetList
(
Array
(),
$arFilter
,
false
,
false
,
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arItem
=
$ob
->
GetFields
();
$arItem
[
'PROPERTIES'
]
=
$ob
->
GetProperties
();
if
(
$arItem
[
'PROPERTIES'
][
'HASHTAG'
][
'VALUE'
]
!=
""
)
{
$arResult
[
'HASHTAGS'
][]
=
$arItem
[
'PROPERTIES'
][
'HASHTAG'
][
'VALUE'
];
}
}
...
...
local/templates/newudv/components/bitrix/news/events/bitrix/news.list/.default/template.php
View file @
b92ef61e
...
@@ -11,250 +11,98 @@
...
@@ -11,250 +11,98 @@
/** @var string $componentPath */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
/** @var CBitrixComponent $component */
$this
->
setFrameMode
(
true
);
$this
->
setFrameMode
(
true
);
if
(
empty
(
$arResult
[
"ITEMS"
]))
{
return
;
}
?>
<div
class=
"page-section page-section--no-pt page-section--pb-mobile"
>
<div
class=
"news"
>
<div
class=
"container"
>
<div
class=
"news__inner"
>
<div
class=
"news__header"
>
<h1
class=
"title news__title"
>
новости UDV Group
</h1>
<p>
UDV Group предоставляет единый портфель решений для
защиты технологических сетей,
корпоративного сегмента и
автоматизации в
области объектовой безопасности.
</p>
</div>
<div
class=
"news__top-news"
>
<div
class=
"article-card news__top-news-card article-card--big"
>
<a
class=
"article-card__inner"
href=
"
<?=
$arResult
[
'MAIN'
][
'DETAIL_PAGE_URL'
]
?>
"
>
<?
if
(
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
])
{
?>
<div
class=
"article-card__image"
>
<picture>
<source
media=
"(min-width: 768px)"
srcset=
"
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
"
type=
"image/webp"
>
<source
media=
"(max-width: 767px)"
srcset=
"
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
"
type=
"image/webp"
>
<img
src=
"
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
"SRC"
]
?>
"
srcset=
"
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
,
<?=
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
]
?>
"
alt=
"
<?=
$arResult
[
'MAIN'
][
'NAME'
]
?>
"
width=
"1572"
height=
"836"
loading=
"lazy"
>
</picture>
</div>
<?
}
?>
<h2
class=
"title article-card__title"
>
<?=
$arResult
[
'MAIN'
][
'NAME'
]
?>
</h2>
<div
class=
"article-card__text"
>
<p>
<?=
$arResult
[
'MAIN'
][
'PREVIEW_TEXT'
]
?>
</p>
</div>
<div
class=
"item-info item-info--small"
>
<div
class=
"item-info__wrap"
>
<p
class=
"item-info__category"
>
<?=
$arResult
[
'MAIN'
][
'PROPERTIES'
][
'HASHTAG'
][
'VALUE'
]
?>
</p>
<time
class=
"item-info__date"
datetime=
"
<?=
$arResult
[
'MAIN'
][
'PROPERTIES'
][
"DATE"
][
"VALUE"
]
?>
"
>
<?=
explode
(
' '
,
$arResult
[
'MAIN'
][
'PROPERTIES'
][
"DATE"
][
"VALUE"
])[
0
]
?>
</time>
<span
class=
"item-info__readtime"
>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 20 20"
data-icon=
"icon-clock"
>
<symbol
id=
"ai:local:icon-clock"
><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.2"
d=
"M10 5.833V10l2.5 2.5M2.5 10a7.5 7.5 0 1 0 15 0 7.5 7.5 0 0 0-15 0Z"
></path></symbol><use
xlink:href=
"#ai:local:icon-clock"
></use>
</svg>
<?=
$arResult
[
'MAIN'
][
'PROPERTIES'
][
"TIME"
][
"VALUE"
]
?>
минут
</span>
</div>
</div>
</a>
</div>
<div
class=
"subscribe-form news__top-news-form subscribe-form--blog"
data-da-max=
".news__inner, 767, last"
>
<div
class=
"subscribe-form__image"
>
<picture>
<source
media=
"(min-width: 768px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail-xl.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail-xl@2x.webp 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail-xl@3x.webp 3x"
type=
"image/webp"
>
<source
media=
"(max-width: 767px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail@2x.webp 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail@3x.webp 3x"
type=
"image/webp"
>
<img
src=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail.png"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail@2x.png 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/subscribe-form/metal-mail@3x.png 3x"
alt=
"Изображение."
width=
"474"
height=
"474"
loading=
"lazy"
>
</picture>
</div>
<div
class=
"subscribe-form__bg"
>
<div
class=
"subscribe-form__bg-gradient"
>
<picture>
<source
media=
"(min-width: 1921px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog-xl.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog-xl@2x.webp 2x, ./images/bg/bg-subscription-form-blog-xl@3x.webp 3x"
type=
"image/webp"
>
<source
media=
"(min-width: 768px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog-d.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog-d@2x.webp 2x, ./images/bg/bg-subscription-form-blog-d@3x.webp 3x"
type=
"image/webp"
>
<source
media=
"(max-width: 767px)"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog.webp,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog@2x.webp 2x, ./images/bg/bg-subscription-form-blog@3x.webp 3x"
type=
"image/webp"
>
<img
src=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog.png"
srcset=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog@2x.png 2x,
<?=
SITE_TEMPLATE_PATH
?>
/images/bg/bg-subscription-form-blog@3x.png 3x"
alt=
"Изображение."
width=
"779"
height=
"836"
loading=
"lazy"
>
</picture>
</div>
<div
class=
"subscribe-form__bg-pixels"
data-pixels=
"subscribe-form"
data-pixels-qty=
"30"
>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
</div>
</div>
<div
class=
"subscribe-form__inner"
>
<h3
class=
"title subscribe-form__title"
>
Подпишитесь
<br>
на
нашу рассылку
</h3>
<p
class=
"subscribe-form__description"
>
Будьте в курсе самых важных событий UDV Group.
</p>
</div>
<div
class=
"subscribe-form__form"
data-form-validate=
""
data-callback=
"subscribe"
data-button-disabled=
""
>
<form
action=
"#"
novalidate=
""
>
<div
class=
"subscribe-form__fields"
>
<div
class=
"custom-input subscribe-form__field"
data-validate-type=
"email"
data-required=
""
data-message-base=
"заполните поле"
data-message-extra=
"введите корректный e-mail адрес"
data-message-succes=
""
data-input-focus=
""
>
<label>
<input
name=
"email"
maxlength=
"256"
>
<span
class=
"custom-input__label"
>
Ваша электронная почта
</span>
</label>
?>
</div>
<div
class=
"page-section page-section--no-pt"
>
<button
type=
"submit"
class=
"button button--solid-green subscribe-form__btn is-disabled"
><span
class=
"button__text"
>
отправить
</span><span
class=
"button__icon"
>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 20 20"
data-icon=
"icon-arrow-up-right"
>
<use
xlink:href=
"#ai:local:icon-arrow-up-right"
></use>
<div
class=
"events"
>
<div
class=
"container"
>
</svg>
<div
class=
"events__inner"
>
</span></button>
<div
class=
"events__header"
>
<h1
class=
"title events__title"
>
мероприятия UDV
Group
</h1>
<p>
UDV Group предлагает множество мероприятий в
онлайн и
оффлайн форматах. Посетить мероприятия может любой желающий
</p>
</div>
</div>
<div
class=
"custom-toggle subscribe-form__toggle"
<div
class=
"events__article-controls-wrap"
>
data-message-base=
"Согласитесь с политикой конфиденциальности"
<div
class=
"article-controls swiper events__article-controls article-controls--horizontal"
data-tabs-controls-slider=
"container"
>
data-validate-type=
"checkbox"
>
<ul
class=
"article-controls__list swiper-wrapper"
data-tabs-controls-slider=
"wrapper"
>
<label>
<li
class=
"article-controls__item swiper-slide"
data-tabs-controls-slider=
"slide"
>
<input
type=
"checkbox"
required=
""
>
<a
href=
"/about/events/"
>
<button
class=
"article-controls__btn is-active"
data-articles=
"all"
>
<span
class=
"custom-toggle__icon"
>
<span
class=
"article-controls__icon"
>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 12 12"
data-icon=
"icon-check"
>
<svg
width=
"0.93em"
height=
"1em"
viewBox=
"0 0 12 13"
data-icon=
"icon-right"
>
<use
xlink:href=
"#ai:local:icon-check"
></use>
</svg>
</span>
<span
class=
"custom-toggle__label"
>
<span
class=
"custom-toggle__label-text"
>
Я согласен с
<a
href=
"#"
>
Политикой конфиденциальности
</a></span>
<span
class=
"custom-toggle__label-icon"
>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 20 20"
data-icon=
"icon-arrow-up-right"
>
<use
xlink:href=
"#ai:local:icon-arrow-up
-right"
></use>
<symbol
id=
"ai:local:icon-right"
><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-miterlimit=
"10"
d=
"M7.215 3.465 10.25 6.5 7.215 9.535M1.75 6.5h8.415"
></path></symbol><use
xlink:href=
"#ai:local:icon
-right"
></use>
</svg>
</svg>
</span>
</span>
<span
class=
"article-controls__text"
>
все мероприятия
</span>
</button>
</a>
</li>
</span>
</label>
</div>
</form>
</div>
</div>
</div>
<div
class=
"news__article-controls-wrap"
>
<div
class=
"article-controls swiper news__article-controls article-controls--news"
data-tabs-controls-slider=
"container"
data-da-max=
".news__inner, 767, 1"
>
<ul
class=
"article-controls__list swiper-wrapper"
data-tabs-controls-slider=
"wrapper"
>
<li
class=
"article-controls__item swiper-slide"
data-tabs-controls-slider=
"slide"
>
<li
class=
"article-controls__item swiper-slide"
data-tabs-controls-slider=
"slide"
>
<a
href=
"/about/news/#page"
>
<a
class=
"line-link"
href=
"?line=7#page"
>
<button
class=
"article-controls__btn
<?=
(
!
$_GET
[
'hash'
])
?
'is-active'
:
''
?>
"
<button
class=
"article-controls__btn"
data-articles=
"eco"
>
data-articles=
"all"
>
<span
class=
"article-controls__icon"
>
<span
class=
"article-controls__icon"
>
<svg
width=
"0.93em"
height=
"1em"
viewBox=
"0 0 12 13"
data-icon=
"icon-right"
>
<svg
width=
"0.93em"
height=
"1em"
viewBox=
"0 0 12 13"
data-icon=
"icon-right"
>
<symbol
id=
"ai:local:icon-right"
><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
<use
xlink:href=
"#ai:local:icon-right"
></use>
stroke-linejoin=
"round"
stroke-miterlimit=
"10"
d=
"M7.215 3.465 10.25 6.5 7.215 9.535M1.75 6.5h8.415"
></path></symbol><use
xlink:href=
"#ai:local:icon-right"
></use>
</svg>
</svg>
</span>
</span>
<span
class=
"article-controls__text"
>
все статьи
</span>
<span
class=
"article-controls__text"
>
онлайн
</span>
</button>
</button>
</a>
</a>
</li>
</li>
<?
foreach
(
$arResult
[
'HASHTAGS'
]
as
$item
){
?>
<li
class=
"article-controls__item swiper-slide"
data-tabs-controls-slider=
"slide"
>
<li
class=
"article-controls__item swiper-slide "
data-tabs-controls-slider=
"slide"
>
<a
class=
"line-link"
href=
"?line=8#page"
>
<a
class=
"hash-link"
href=
"?hash=
<?=
trim
(
$item
)
?>
#page"
>
<button
class=
"article-controls__btn"
data-articles=
"eco"
>
<button
class=
"article-controls__btn
<?=
(
$_GET
[
'hash'
]
==
trim
(
$item
))
?
'is-active'
:
''
?>
"
data-articles=
"eco"
>
<span
class=
"article-controls__icon"
>
<span
class=
"article-controls__icon"
>
<svg
width=
"0.93em"
height=
"1em"
viewBox=
"0 0 12 13"
data-icon=
"icon-right"
>
<svg
width=
"0.93em"
height=
"1em"
viewBox=
"0 0 12 13"
data-icon=
"icon-right"
>
<use
xlink:href=
"#ai:local:icon-right"
></use>
<use
xlink:href=
"#ai:local:icon-right"
></use>
</svg>
</svg>
</span>
</span>
<span
class=
"article-controls__text"
>
<?=
$item
?>
</span>
<span
class=
"article-controls__text"
>
оффлайн
</span>
</button>
</button>
</a>
</a>
</li>
</li>
<?
}
?>
</ul>
</ul>
</div>
</div>
</div>
<div
class=
"events__search-form"
>
<form
action=
""
>
<div
class=
"custom-input"
data-input-focus=
""
>
<label>
<input
type=
"search"
class=
"search"
name=
"search"
value=
"
<?=
$_GET
[
'search'
]
?>
"
>
<span
class=
"custom-input__label"
>
Поиск по названию мероприятия
</span>
</label>
<span
class=
"custom-input__icon"
>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 20 20"
data-icon=
"icon-search"
>
<symbol
id=
"ai:local:icon-search"
><path
fill=
"none"
stroke=
"#0B2027"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.5"
d=
"m17.5 17.5-5-5m-10-4.167a5.834 5.834 0 1 0 11.667 0 5.834 5.834 0 0 0-11.667 0Z"
></path></symbol><use
xlink:href=
"#ai:local:icon-search"
></use>
</svg>
</span>
<?
if
(
$_GET
[
'hash'
]){
</div>
$GLOBALS
[
'arrFilter'
]
=
array
(
'PROPERTY_HASHTAG'
=>
$_GET
[
'hash'
]);
<button
type=
"submit"
class=
"visually-hidden"
>
поиск
</button>
</form>
</div>
</div>
<?
if
(
$_GET
[
'line'
]){
$GLOBALS
[
'arrFilter'
]
=
array
(
'PROPERTY_LINE'
=>
$_GET
[
'line'
]);
}
if
(
$_GET
[
'search'
]){
$GLOBALS
[
'arrFilter'
]
=
array
(
'?NAME'
=>
$_GET
[
'search'
]);
}
}
$APPLICATION
->
IncludeComponent
(
$APPLICATION
->
IncludeComponent
(
"bitrix:news.list"
,
"bitrix:news.list"
,
"new
s_tags"
,
"event
s_tags"
,
array
(
array
(
"USE_FILTER"
=>
"Y"
,
"USE_FILTER"
=>
"Y"
,
"IBLOCK_TYPE"
=>
$arParams
[
"IBLOCK_TYPE"
],
"IBLOCK_TYPE"
=>
$arParams
[
"IBLOCK_TYPE"
],
...
@@ -313,13 +161,12 @@ if (empty($arResult["ITEMS"])) {
...
@@ -313,13 +161,12 @@ if (empty($arResult["ITEMS"])) {
),
),
$component
$component
);
?>
);
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:main.include"
,
""
,
array
(
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:main.include"
,
""
,
array
(
"AREA_FILE_SHOW"
=>
"file"
,
// Показывать включаемую область
"AREA_FILE_SHOW"
=>
"file"
,
// Показывать включаемую область
...
...
local/templates/newudv/components/bitrix/news/events/lang/en/news.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'SEARCH_LABEL'
]
=
"Search:"
;
?>
local/templates/newudv/components/bitrix/news/events/lang/en/search.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'T_NEWS_DETAIL_BACK'
]
=
"Back to the list"
;
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news/events/lang/en/section.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'SEARCH_LABEL'
]
=
"Search:"
;
?>
local/templates/newudv/components/bitrix/news/events/lang/ru/news.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'SEARCH_LABEL'
]
=
"Поиск:"
;
?>
local/templates/newudv/components/bitrix/news/events/lang/ru/search.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'T_NEWS_DETAIL_BACK'
]
=
"Возврат к списку"
;
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news/events/lang/ru/section.php
0 → 100644
View file @
b92ef61e
<?
$MESS
[
'SEARCH_LABEL'
]
=
"Поиск:"
;
?>
local/templates/newudv/components/bitrix/news/events/news.php
0 → 100644
View file @
b92ef61e
<?php
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
);
?>
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:news.list"
,
""
,
array
(
"IBLOCK_TYPE"
=>
$arParams
[
"IBLOCK_TYPE"
],
"IBLOCK_ID"
=>
$arParams
[
"IBLOCK_ID"
],
"NEWS_COUNT"
=>
$arParams
[
"NEWS_COUNT"
],
"SORT_BY1"
=>
$arParams
[
"SORT_BY1"
],
"SORT_ORDER1"
=>
$arParams
[
"SORT_ORDER1"
],
"SORT_BY2"
=>
$arParams
[
"SORT_BY2"
],
"SORT_ORDER2"
=>
$arParams
[
"SORT_ORDER2"
],
"FIELD_CODE"
=>
$arParams
[
"LIST_FIELD_CODE"
],
"PROPERTY_CODE"
=>
$arParams
[
"LIST_PROPERTY_CODE"
],
"SET_TITLE"
=>
$arParams
[
"SET_TITLE"
],
"SET_LAST_MODIFIED"
=>
$arParams
[
"SET_LAST_MODIFIED"
],
"MESSAGE_404"
=>
$arParams
[
"MESSAGE_404"
],
"SET_STATUS_404"
=>
$arParams
[
"SET_STATUS_404"
],
"SHOW_404"
=>
$arParams
[
"SHOW_404"
],
"FILE_404"
=>
$arParams
[
"FILE_404"
],
"INCLUDE_IBLOCK_INTO_CHAIN"
=>
$arParams
[
"INCLUDE_IBLOCK_INTO_CHAIN"
],
"ADD_SECTIONS_CHAIN"
=>
$arParams
[
"ADD_SECTIONS_CHAIN"
],
"CACHE_TYPE"
=>
$arParams
[
"CACHE_TYPE"
],
"CACHE_TIME"
=>
$arParams
[
"CACHE_TIME"
],
"CACHE_FILTER"
=>
$arParams
[
"CACHE_FILTER"
],
"CACHE_GROUPS"
=>
$arParams
[
"CACHE_GROUPS"
],
"DISPLAY_TOP_PAGER"
=>
$arParams
[
"DISPLAY_TOP_PAGER"
],
"DISPLAY_BOTTOM_PAGER"
=>
$arParams
[
"DISPLAY_BOTTOM_PAGER"
],
"PAGER_TITLE"
=>
$arParams
[
"PAGER_TITLE"
],
"PAGER_TEMPLATE"
=>
$arParams
[
"PAGER_TEMPLATE"
],
"PAGER_SHOW_ALWAYS"
=>
$arParams
[
"PAGER_SHOW_ALWAYS"
],
"PAGER_DESC_NUMBERING"
=>
$arParams
[
"PAGER_DESC_NUMBERING"
],
"PAGER_DESC_NUMBERING_CACHE_TIME"
=>
$arParams
[
"PAGER_DESC_NUMBERING_CACHE_TIME"
],
"PAGER_SHOW_ALL"
=>
$arParams
[
"PAGER_SHOW_ALL"
],
"PAGER_BASE_LINK_ENABLE"
=>
$arParams
[
"PAGER_BASE_LINK_ENABLE"
],
"PAGER_BASE_LINK"
=>
$arParams
[
"PAGER_BASE_LINK"
],
"PAGER_PARAMS_NAME"
=>
$arParams
[
"PAGER_PARAMS_NAME"
],
"DISPLAY_DATE"
=>
$arParams
[
"DISPLAY_DATE"
],
"DISPLAY_NAME"
=>
"Y"
,
"DISPLAY_PICTURE"
=>
$arParams
[
"DISPLAY_PICTURE"
],
"DISPLAY_PREVIEW_TEXT"
=>
$arParams
[
"DISPLAY_PREVIEW_TEXT"
],
"PREVIEW_TRUNCATE_LEN"
=>
$arParams
[
"PREVIEW_TRUNCATE_LEN"
],
"ACTIVE_DATE_FORMAT"
=>
$arParams
[
"LIST_ACTIVE_DATE_FORMAT"
],
"USE_PERMISSIONS"
=>
$arParams
[
"USE_PERMISSIONS"
],
"GROUP_PERMISSIONS"
=>
$arParams
[
"GROUP_PERMISSIONS"
],
"FILTER_NAME"
=>
$arParams
[
"FILTER_NAME"
],
"HIDE_LINK_WHEN_NO_DETAIL"
=>
$arParams
[
"HIDE_LINK_WHEN_NO_DETAIL"
],
"CHECK_DATES"
=>
$arParams
[
"CHECK_DATES"
],
"STRICT_SECTION_CHECK"
=>
$arParams
[
"STRICT_SECTION_CHECK"
],
"PARENT_SECTION"
=>
$arResult
[
"VARIABLES"
][
"SECTION_ID"
],
"PARENT_SECTION_CODE"
=>
$arResult
[
"VARIABLES"
][
"SECTION_CODE"
],
"DETAIL_URL"
=>
$arResult
[
"FOLDER"
]
.
$arResult
[
"URL_TEMPLATES"
][
"detail"
],
"SECTION_URL"
=>
$arResult
[
"FOLDER"
]
.
$arResult
[
"URL_TEMPLATES"
][
"section"
],
"IBLOCK_URL"
=>
$arResult
[
"FOLDER"
]
.
$arResult
[
"URL_TEMPLATES"
][
"news"
],
),
$component
);
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news/events/section.php
0 → 100644
View file @
b92ef61e
<?php
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
);
?>
<!-- Breadcrumb -->
<div
class=
"bg-half-100 breadcrumb bg-gray-700 pb-50"
style=
"background: none;"
>
<video
class=
"bg-video"
playsinline
autoplay
muted
loop
>
<source
src=
"
<?=
SITE_TEMPLATE_PATH
?>
/images/v2.mp4"
type=
'video/mp4'
>
</video>
<!-- container -->
<div
class=
"container"
>
<!-- row -->
<div
class=
"row "
>
<!-- /col -->
<div
class=
"col-lg-12"
>
<div
class=
"title-heading text-start"
>
<nav
aria-label=
"breadcrumb"
class=
"d-inline-block mb-30"
>
<ul
class=
"breadcrumb-item-content mb-0"
>
<li
class=
"breadcrumb-item"
><a
href=
"/"
>
Главная
</a></li>
<li
class=
"breadcrumb-item active"
aria-current=
"page"
>
Новости
</li>
</ul>
</nav>
<h3>
Новости
</h3>
</div>
</div>
<!-- /col -->
</div>
<!-- /row -->
</div>
<!-- /container -->
</div>
<!-- /Breadcrumb -->
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:news.list"
,
""
,
array
(
"IBLOCK_TYPE"
=>
$arParams
[
"IBLOCK_TYPE"
],
"IBLOCK_ID"
=>
$arParams
[
"IBLOCK_ID"
],
"NEWS_COUNT"
=>
$arParams
[
"NEWS_COUNT"
],
"SORT_BY1"
=>
$arParams
[
"SORT_BY1"
],
"SORT_ORDER1"
=>
$arParams
[
"SORT_ORDER1"
],
"SORT_BY2"
=>
$arParams
[
"SORT_BY2"
],
"SORT_ORDER2"
=>
$arParams
[
"SORT_ORDER2"
],
"FIELD_CODE"
=>
$arParams
[
"LIST_FIELD_CODE"
],
"PROPERTY_CODE"
=>
$arParams
[
"LIST_PROPERTY_CODE"
],
"SET_TITLE"
=>
$arParams
[
"SET_TITLE"
],
"SET_LAST_MODIFIED"
=>
$arParams
[
"SET_LAST_MODIFIED"
],
"MESSAGE_404"
=>
$arParams
[
"MESSAGE_404"
],
"SET_STATUS_404"
=>
$arParams
[
"SET_STATUS_404"
],
"SHOW_404"
=>
$arParams
[
"SHOW_404"
],
"FILE_404"
=>
$arParams
[
"FILE_404"
],
"INCLUDE_IBLOCK_INTO_CHAIN"
=>
$arParams
[
"INCLUDE_IBLOCK_INTO_CHAIN"
],
"ADD_SECTIONS_CHAIN"
=>
$arParams
[
"ADD_SECTIONS_CHAIN"
],
"CACHE_TYPE"
=>
$arParams
[
"CACHE_TYPE"
],
"CACHE_TIME"
=>
$arParams
[
"CACHE_TIME"
],
"CACHE_FILTER"
=>
$arParams
[
"CACHE_FILTER"
],
"CACHE_GROUPS"
=>
$arParams
[
"CACHE_GROUPS"
],
"DISPLAY_TOP_PAGER"
=>
$arParams
[
"DISPLAY_TOP_PAGER"
],
"DISPLAY_BOTTOM_PAGER"
=>
$arParams
[
"DISPLAY_BOTTOM_PAGER"
],
"PAGER_TITLE"
=>
$arParams
[
"PAGER_TITLE"
],
"PAGER_TEMPLATE"
=>
$arParams
[
"PAGER_TEMPLATE"
],
"PAGER_SHOW_ALWAYS"
=>
$arParams
[
"PAGER_SHOW_ALWAYS"
],
"PAGER_DESC_NUMBERING"
=>
$arParams
[
"PAGER_DESC_NUMBERING"
],
"PAGER_DESC_NUMBERING_CACHE_TIME"
=>
$arParams
[
"PAGER_DESC_NUMBERING_CACHE_TIME"
],
"PAGER_SHOW_ALL"
=>
$arParams
[
"PAGER_SHOW_ALL"
],
"PAGER_BASE_LINK_ENABLE"
=>
$arParams
[
"PAGER_BASE_LINK_ENABLE"
],
"PAGER_BASE_LINK"
=>
$arParams
[
"PAGER_BASE_LINK"
],
"PAGER_PARAMS_NAME"
=>
$arParams
[
"PAGER_PARAMS_NAME"
],
"DISPLAY_DATE"
=>
$arParams
[
"DISPLAY_DATE"
],
"DISPLAY_NAME"
=>
"Y"
,
"DISPLAY_PICTURE"
=>
$arParams
[
"DISPLAY_PICTURE"
],
"DISPLAY_PREVIEW_TEXT"
=>
$arParams
[
"DISPLAY_PREVIEW_TEXT"
],
"PREVIEW_TRUNCATE_LEN"
=>
$arParams
[
"PREVIEW_TRUNCATE_LEN"
],
"ACTIVE_DATE_FORMAT"
=>
$arParams
[
"LIST_ACTIVE_DATE_FORMAT"
],
"USE_PERMISSIONS"
=>
$arParams
[
"USE_PERMISSIONS"
],
"GROUP_PERMISSIONS"
=>
$arParams
[
"GROUP_PERMISSIONS"
],
"FILTER_NAME"
=>
$arParams
[
"FILTER_NAME"
],
"HIDE_LINK_WHEN_NO_DETAIL"
=>
$arParams
[
"HIDE_LINK_WHEN_NO_DETAIL"
],
"CHECK_DATES"
=>
$arParams
[
"CHECK_DATES"
],
"STRICT_SECTION_CHECK"
=>
$arParams
[
"STRICT_SECTION_CHECK"
],
"PARENT_SECTION"
=>
$arResult
[
"VARIABLES"
][
"SECTION_ID"
],
"PARENT_SECTION_CODE"
=>
$arResult
[
"VARIABLES"
][
"SECTION_CODE"
],
"DETAIL_URL"
=>
$arResult
[
"FOLDER"
]
.
$arResult
[
"URL_TEMPLATES"
][
"detail"
],
"SECTION_URL"
=>
$arResult
[
"FOLDER"
]
.
$arResult
[
"URL_TEMPLATES"
][
"section"
],
"IBLOCK_URL"
=>
$arResult
[
"FOLDER"
]
.
$arResult
[
"URL_TEMPLATES"
][
"news"
],
),
$component
);
?>
\ No newline at end of file
local/templates/newudv/components/bitrix/news/news/bitrix/news.list/.default/template.php
View file @
b92ef61e
...
@@ -112,36 +112,7 @@ if (empty($arResult["ITEMS"])) {
...
@@ -112,36 +112,7 @@ if (empty($arResult["ITEMS"])) {
</div>
</div>
<div
class=
"subscribe-form__bg-pixels"
data-pixels=
"subscribe-form"
data-pixels-qty=
"30"
>
<div
class=
"subscribe-form__bg-pixels"
data-pixels=
"subscribe-form"
data-pixels-qty=
"30"
>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.75;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0.35;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
<div
class=
"pixel"
style=
"opacity: 0;"
></div>
</div>
</div>
</div>
</div>
<div
class=
"subscribe-form__inner"
>
<div
class=
"subscribe-form__inner"
>
...
...
local/templates/newudv/components/bitrix/news/products/bitrix/news.list/.default/template.php
View file @
b92ef61e
...
@@ -11,82 +11,329 @@
...
@@ -11,82 +11,329 @@
/** @var string $componentPath */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
/** @var CBitrixComponent $component */
$this
->
setFrameMode
(
true
);
$this
->
setFrameMode
(
true
);
?>
?>
<?php
if
(
!
empty
(
$arResult
[
"ITEMS"
]))
{
?>
<div
class=
"overflow-hidden faq-area pt-100 pb-100"
>
<div
class=
"page-section page-section--p-t-header"
>
<div
class=
"container"
>
<div
class=
"hero hero--products-hub"
data-animate=
"hero-block"
>
<div
class=
"tab faq-accordion-tab wow fadeInUp animated"
<div
class=
"container container--no-p"
>
style=
"visibility: visible; animation-delay: 0.2s; animation-name: fadeInUp;"
>
<div
class=
"hero__inner"
>
<div
class=
"tab-content"
>
<div
class=
"hero__bg"
>
<div
class=
"tabs-item"
>
<div
class=
"hero__bg-gradient"
>
<div
class=
"tab faq-accordion-tab wow fadeInUp animated"
>
<?
<div
class=
"tab-content"
>
$img1921
=
CFile
::
GetPath
(
$arResult
[
'BANNER'
][
"PROPERTIES"
][
'BG_1921'
][
"VALUE"
]);
<div
class=
"tabs-item"
style=
""
>
$img768
=
CFile
::
GetPath
(
$arResult
[
'BANNER'
][
"PROPERTIES"
][
'BG_768'
][
"VALUE"
]);
<div
class=
"features-area pt-10 pb-75"
>
$img767
=
CFile
::
GetPath
(
$arResult
[
'BANNER'
][
"PROPERTIES"
][
'BG_767'
][
"VALUE"
]);
<!-- Container -->
<div
class=
"container"
>
<!-- row -->
<div
class=
"row justify-content-center"
>
<div
class=
"col-lg-12 col-sm-12 col-md-12"
>
<?php
foreach
(
$arResult
[
"ITEMS"
]
as
$k
=>
$arItem
)
{
?>
<?php
$this
->
AddEditAction
(
$arItem
[
'ID'
],
$arItem
[
'EDIT_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_EDIT"
));
$this
->
AddDeleteAction
(
$arItem
[
'ID'
],
$arItem
[
'DELETE_LINK'
],
CIBlock
::
GetArrayByID
(
$arItem
[
"IBLOCK_ID"
],
"ELEMENT_DELETE"
),
array
(
"CONFIRM"
=>
GetMessage
(
'CT_BNL_ELEMENT_DELETE_CONFIRM'
)));
?>
?>
<div
class=
"features-item features-item--size with-border wow fadeInUp row
<?=
$arItem
[
"CLASS"
]
?>
"
<picture>
id=
"
<?=
$this
->
GetEditAreaId
(
$arItem
[
'ID'
]);
?>
"
>
<source
media=
"(min-width: 1921px)"
<div
class=
"col-lg-3 col-md-4 col-sm-12 flex-column d-flex justify-content-between"
>
srcset=
"
<?=
$img1921
?>
"
<div
class=
"d-flex name mb-20"
>
type=
"image/webp"
>
<div
class=
"icon"
>
<source
media=
"(min-width: 768px)"
<svg
width=
"45"
height=
"46"
viewBox=
"0 0 45 46"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
srcset=
"
<?=
$img768
?>
"
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
type=
"image/webp"
>
d=
"M1.38667 19.1889L18.9656 1.40132C20.8133 -0.467107 23.8357 -0.467107 25.6827 1.40132L43.2616 19.1889C45.1086 21.058 45.1086 24.1161 43.2609 25.9853L25.6819 43.7728C23.835 45.6427 20.8119 45.6427 18.9642 43.7728L1.38524 25.986C-0.461748 24.1168 -0.461748 21.058 1.38524 19.1889H1.38596H1.38667ZM3.13792 20.943L20.7004 3.17258C21.5936 2.26873 23.0569 2.26873 23.95 3.17258L41.5125 20.943C42.4056 21.8468 42.4056 23.3273 41.5118 24.2319L23.9493 42.0009C23.0561 42.9047 21.5936 42.9047 20.6997 42.0009L3.13792 24.2319C2.24408 23.3273 2.24408 21.8468 3.13792 20.943Z"
<source
media=
"(max-width: 767px)"
fill=
"#00C996"
/>
srcset=
"
<?=
$img767
?>
"
<path
type=
"image/webp"
>
d=
"M22.2079 26.7938C22.5187 27.1082 22.6738 27.4355 22.6738 27.777C22.6738 28.1442 22.5316 28.4651 22.2465 28.7401C21.9614 29.0159 21.637 29.1538 21.274 29.1538C20.9375 29.1538 20.6003 29.0095 20.2637 28.7209L13.5767 22.1517C13.1623 21.8109 12.9551 21.4436 12.9551 21.0507C12.9551 20.6041 13.1751 20.1854 13.6153 19.7917L20.3402 13.2626C20.651 12.9217 21.014 12.751 21.4284 12.751C21.7649 12.751 22.0636 12.876 22.3222 13.1247C22.5816 13.3747 22.7116 13.6691 22.7116 14.0092C22.7116 14.3236 22.5559 14.6644 22.2451 15.0317L15.986 21.0106L22.2058 26.7931L22.2072 26.7938H22.2079Z"
<img
src=
"
<?=
$arResult
[
'BANNER'
][
"PREVIEW_PICTURE"
][
"SRC"
]
?>
"
fill=
"#00C996"
/>
srcset=
"
<?=
$arResult
[
'BANNER'
][
"PREVIEW_PICTURE"
][
"SRC"
]
?>
"
<path
alt=
"Изображение"
width=
"1512"
height=
"744"
loading=
"lazy"
>
d=
"M22.4407 30.0621C22.1299 30.3772 21.9741 30.7045 21.9741 31.0446C21.9741 31.4125 22.1163 31.7334 22.4014 32.0077C22.6865 32.2835 23.0102 32.4214 23.3731 32.4214C23.7097 32.4214 24.0469 32.2771 24.3842 31.9877L31.0705 25.42C31.4849 25.0785 31.6928 24.7119 31.6928 24.3189C31.6928 23.8731 31.4727 23.4537 31.0312 23.06L24.3063 16.5301C23.9955 16.1893 23.6325 16.0186 23.2181 16.0186C22.8815 16.0186 22.5829 16.1436 22.325 16.3922C22.0649 16.6409 21.9355 16.936 21.9355 17.2768C21.9355 17.5912 22.0913 17.9327 22.4021 18.2993L28.6612 24.2782L22.4414 30.0607L22.4421 30.0614L22.4407 30.0621Z"
</picture>
fill=
"#00C996"
/>
</svg>
</div>
</div>
<div
class=
"hero__bg-pixels hero__bg-pixels--t-l"
data-pixels=
"hero-solutions-t-l"
data-pixels-qty=
"55"
>
</div>
<div
class=
"hero__bg-pixels hero__bg-pixels--b-r"
data-pixels=
"hero-solutions-b-r"
data-pixels-qty=
"36"
>
</div>
<div
class=
"hero__container"
>
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:breadcrumb"
,
"breadcrumb"
,
array
(
"START_FROM"
=>
"0"
,
"PATH"
=>
""
,
"SITE_ID"
=>
"s1"
)
);
?>
<div
class=
"hero__img"
data-animate=
"hero-image-d-index"
>
<picture>
<source
srcset=
"
<?=
$arResult
[
'BANNER'
][
"DETAIL_PICTURE"
][
"SRC"
]
?>
"
type=
"image/webp"
>
<img
src=
"
<?=
$arResult
[
'BANNER'
][
"DETAIL_PICTURE"
][
"SRC"
]
?>
"
srcset=
"
<?=
$arResult
[
'BANNER'
][
"DETAIL_PICTURE"
][
"SRC"
]
?>
"
alt=
"Изображение"
width=
"825"
height=
"740"
loading=
"lazy"
>
</picture>
</div>
<div
class=
"hero__text-wrap"
>
<div
class=
"hero__title-description-wrap"
>
<h1
class=
"title title--h1 hero__title"
>
<?=
$arResult
[
'BANNER'
][
"PREVIEW_TEXT"
]
?>
</h1>
<p
class=
"hero__text"
>
<?=
$arResult
[
'BANNER'
][
"DETAIL_TEXT"
]
?>
</p>
</div>
</div>
<h3>
<?=
htmlspecialchars_decode
(
$arItem
[
"TITLE"
]);
?>
</h3>
</div>
</div>
<div
class=
"features-content d-sm-none"
data-wow-delay=
"0.2s"
>
<div
class=
"btn-box pt-0 mt-0 "
>
<a
href=
"
<?=
$arItem
[
"DETAIL_PAGE_URL"
]
?>
"
class=
"link-btn"
>
Подробнее
</a>
</div>
</div>
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:breadcrumb"
,
"breadcrumb"
,
array
(
"START_FROM"
=>
"0"
,
"PATH"
=>
""
,
"SITE_ID"
=>
"s1"
)
);
?>
<div
class=
"hero__marquee-wrap"
>
<div
class=
"marquee hero__marquee marquee--hero-main is-init"
>
<ul
class=
"marquee__list"
>
<?php
foreach
(
$arResult
[
'SPECIALS'
]
as
$item
)
:
?>
<li
class=
"marquee__item"
>
<a
target=
"_blank"
href=
"
<?=
$item
[
'PROPERTY_LINK_VALUE'
]
?>
"
>
<?=
$item
[
'NAME'
]
?>
</a>
</li>
<?
endforeach
;
?>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-9 col-md-8 col-sm-12 d-none d-sm-block text-sm-start list"
>
</div>
<?php
if
(
!
empty
(
$arItem
[
"PP_PREVIEW_TEXT"
]))
{
?>
<div
class=
"page-section"
>
<?=
htmlspecialchars_decode
(
$arItem
[
"PP_PREVIEW_TEXT"
]);
?>
<div
class=
"ecosystem"
>
<?php
}
?>
<div
class=
"container"
>
<div
class=
"section-title ecosystem__header"
>
<div
class=
"section-title__wrap"
>
<p
class=
"section-title__badge"
>
экосистема
</p>
<h2
data-animate=
"title"
class=
"title title--h2 section-title__title words lines splitting is-show"
>
используем
комплексный подход
<br>
к защите от киберугроз
</h2>
</div>
<div
class=
"features-content wow fadeInUp"
data-wow-delay=
"0.2s"
>
<div
class=
"btn-box pt-0 mt-0 "
>
<a
href=
"
<?=
$arItem
[
"DETAIL_PAGE_URL"
]
?>
"
class=
"link-btn"
>
Подробнее
</a>
</div>
</div>
<div
class=
"ecosystem__inner"
>
<?
$k
=
1
;
foreach
(
$arResult
[
'SECTIONS'
]
as
$section
){
switch
(
$k
)
{
case
1
:
$class
=
"first"
;
$reverse
=
""
;
$cardsreverse
=
""
;
break
;
case
2
:
$class
=
"second"
;
$reverse
=
"ecosystem__item-header--reverse"
;
$cardsreverse
=
"ecosystem__cards-wrap--reverse"
;
break
;
case
3
:
$class
=
"third"
;
$cardsreverse
=
""
;
$reverse
=
""
;
break
;
}
?>
<div
class=
"ecosystem__item ecosystem__item--
<?=
$class
?>
"
>
<div
class=
"ecosystem__item-header
<?=
$reverse
?>
"
>
<div
class=
"ecosystem__item-title-wrap"
>
<h3
class=
"title title--h3 ecosystem__item-title"
>
<?=
$section
[
'NAME'
]
?>
</h3>
<ul
class=
"ecosystem__item-title-bullets"
data-da-max=
".ecosystem__item--
<?=
$class
?>
.ecosystem__item-progress-wrap, 767, first"
>
<li
class=
"ecosystem__item-title-bullet ecosystem__item-title-bullet--active"
></li>
<li
class=
"ecosystem__item-title-bullet"
></li>
<li
class=
"ecosystem__item-title-bullet"
></li>
</ul>
</div>
<?
if
(
$k
==
1
){
?>
<div
class=
"ecosystem__item-progress-wrap"
>
<div
class=
"ecosystem__item-logo"
>
<svg
width=
"220"
height=
"220"
viewBox=
"0 0 220 220"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<rect
x=
"44"
y=
"44"
width=
"132"
height=
"132"
rx=
"66"
fill=
"white"
></rect>
<rect
x=
"44.5"
y=
"44.5"
width=
"131"
height=
"131"
rx=
"65.5"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
></rect>
<path
d=
"M110.131 118.273C109.787 118.621 109.615 118.984 109.615 119.36C109.615 119.767 109.772 120.122 110.088 120.426C110.403 120.731 110.762 120.884 111.163 120.884C111.536 120.884 111.909 120.724 112.282 120.404L119.683 113.135C120.141 112.757 120.371 112.351 120.371 111.916C120.371 111.423 120.128 110.959 119.639 110.523L112.196 103.296C111.852 102.918 111.45 102.729 110.992 102.729C110.619 102.729 110.289 102.868 110.003 103.143C109.715 103.418 109.572 103.745 109.572 104.122C109.572 104.47 109.745 104.848 110.089 105.254L117.016 111.871L110.132 118.271L110.133 118.272L110.131 118.273Z"
fill=
"#00D29D"
></path>
<path
d=
"M109.872 114.656C110.216 115.004 110.387 115.366 110.387 115.744C110.387 116.15 110.23 116.505 109.914 116.81C109.599 117.115 109.24 117.268 108.838 117.268C108.466 117.268 108.092 117.108 107.72 116.788L100.319 109.518C99.8602 109.141 99.6309 108.734 99.6309 108.299C99.6309 107.805 99.8744 107.342 100.362 106.906L107.805 99.6795C108.149 99.3023 108.55 99.1133 109.009 99.1133C109.381 99.1133 109.712 99.2517 109.998 99.5269C110.285 99.8037 110.429 100.129 110.429 100.506C110.429 100.854 110.257 101.231 109.913 101.638L102.985 108.255L109.869 114.655L109.871 114.656H109.872Z"
fill=
"#00D29D"
></path>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M86.8277 106.238L106.284 86.551C108.329 84.483 111.674 84.483 113.718 86.551L133.174 106.238C135.218 108.307 135.218 111.691 133.173 113.76L113.717 133.447C111.673 135.517 108.327 135.517 106.282 133.447L86.8261 113.761C84.7819 111.692 84.7819 108.307 86.8261 106.238H86.8269H86.8277ZM88.766 108.179L108.204 88.5114C109.192 87.511 110.812 87.511 111.8 88.5114L131.238 108.179C132.227 109.18 132.227 110.818 131.238 111.819L111.8 131.486C110.811 132.486 109.192 132.486 108.203 131.486L88.766 111.819C87.7767 110.818 87.7767 109.18 88.766 108.179Z"
fill=
"#00D29D"
></path>
<circle
cx=
"110"
cy=
"110"
r=
"87.5"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-dasharray=
"4 4"
></circle>
<circle
opacity=
"0.4"
cx=
"110"
cy=
"110"
r=
"109.5"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
></circle>
</svg>
</div>
<div
class=
"ecosystem__point-runner"
style=
"opacity: 1; translate: none; rotate: none; scale: none; transform-origin: 50% 50%; transform: translate3d(198.226px, 1307.56px, 0px);"
>
<svg
width=
"48"
height=
"49"
viewBox=
"0 0 48 49"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
filter=
"url(#filter0_b_4062_79865)"
>
<rect
y=
"0.524414"
width=
"48"
height=
"48"
rx=
"24"
fill=
"#00D29D"
fill-opacity=
"0.06"
></rect>
<circle
cx=
"24"
cy=
"24.5244"
r=
"8"
fill=
"#00D29D"
></circle>
</g>
<defs>
<filter
id=
"filter0_b_4062_79865"
x=
"-21.3333"
y=
"-20.8089"
width=
"90.6667"
height=
"90.6667"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
></feFlood>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"10.6667"
></feGaussianBlur>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_4062_79865"
></feComposite>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_4062_79865"
result=
"shape"
></feBlend>
</filter>
</defs>
</svg>
</div>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--xl ecosystem__item-progress--xl-
<?=
$class
?>
"
>
<svg
width=
"1342"
height=
"103"
viewBox=
"0 0 1342 103"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M1340.5 0.524107L1340.5 65.5242C1340.5 85.4064 1324.38 101.524 1304.5 101.524L0.500003 101.524"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
>
</path>
<path
class=
"line-progress"
d=
"M1340.5 0.524107L1340.5 65.5242C1340.5 85.4064 1324.38 101.524 1304.5 101.524L0.500003 101.524"
stroke-opacity=
"1"
stroke-width=
"2"
stroke=
"url(#line-progress-xl-first)"
stroke-dasharray=
"1425"
stroke-dashoffset=
"1425"
style=
"stroke-dashoffset: 0px;"
>
</path>
<defs>
<linearGradient
id=
"line-progress-xl-first"
y1=
"1342"
y2=
"1"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"white"
></stop>
<stop
offset=
"0.172313"
stop-color=
"#00D29D"
></stop>
<stop
offset=
"0.981552"
stop-color=
"#00D29D"
></stop>
<stop
offset=
"1"
stop-color=
"white"
></stop>
</linearGradient>
</defs>
</svg>
</div>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--desktop ecosystem__item-progress--desktop-
<?=
$class
?>
"
>
<svg
width=
"564"
height=
"102"
viewBox=
"0 0 564 102"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M563 -0.00030695L563 64.9997C563 84.882 546.882 101 527 101L0.498821 100.999"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
>
</path>
<path
class=
"line-progress"
d=
"M563 -0.00030695L563 64.9997C563 84.882 546.882 101 527 101L0.498821 100.999"
stroke-opacity=
"1"
stroke-width=
"2"
stroke=
"url(#line-progress-desktop-first)"
stroke-dasharray=
"648"
stroke-dashoffset=
"648"
style=
"stroke-dashoffset: 648px;"
>
</path>
<defs>
<linearGradient
id=
"line-progress-desktop-first"
y1=
"564"
y2=
"1"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"white"
></stop>
<stop
offset=
"0.132313"
stop-color=
"#00D29D"
></stop>
<stop
offset=
"0.951552"
stop-color=
"#00D29D"
></stop>
<stop
offset=
"1"
stop-color=
"white"
></stop>
</linearGradient>
</defs>
</svg>
</div>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--mobile ecosystem__item-progress--mobile-
<?=
$class
?>
"
>
<svg
width=
"208"
height=
"82"
viewBox=
"0 0 208 82"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M207.385 -7.52993e-05L207.386 45.4428C207.386 65.3252 191.268 81.4431 171.386 81.4431L0.000511339 81.4431"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
>
</path>
<path
class=
"line-progress"
d=
"M207.385 -7.52993e-05L207.386 45.4428C207.386 65.3252 191.268 81.4431 171.386 81.4431L0.000511339 81.4431"
stroke-opacity=
"1"
stroke-width=
"2"
stroke=
"url(#line-progress-mobile-first)"
stroke-dasharray=
"273"
stroke-dashoffset=
"273"
>
</path>
<defs>
<linearGradient
id=
"line-progress-mobile-first"
y1=
"564"
y2=
"1"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"white"
></stop>
<stop
offset=
"0.132313"
stop-color=
"#00D29D"
></stop>
<stop
offset=
"0.951552"
stop-color=
"#00D29D"
></stop>
<stop
offset=
"1"
stop-color=
"white"
></stop>
</linearGradient>
</defs>
</svg>
</div>
</div>
<?
}
elseif
(
$k
==
2
){
?>
<div
class=
"ecosystem__item-progress-wrap"
>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--xl ecosystem__item-progress--xl-second"
>
<svg
width=
"833"
height=
"213"
viewBox=
"0 0 833 213"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M1.67238 -9.31389e-05L1.66927 176C1.66892 195.882 17.7868 212 37.6693 212L832.496 212"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
>
</path>
<path
class=
"line-progress"
d=
"M1.67238 -9.31389e-05L1.66927 176C1.66892 195.882 17.7868 212 37.6693 212L832.496 212"
stroke=
"#00D29D"
stroke-opacity=
"1"
stroke-width=
"2"
stroke-dasharray=
"1027"
stroke-dashoffset=
"1027"
style=
"stroke-dashoffset: 814px;"
>
</path>
</svg>
</div>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--desktop ecosystem__item-progress--desktop-second"
>
<svg
width=
"399"
height=
"172"
viewBox=
"0 0 399 172"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M1.82165 -0.00127648L1.82165 134.999C1.82165 154.881 17.9394 170.999 37.8217 170.999L398.822 170.999"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
>
</path>
<path
class=
"line-progress"
d=
"M1.82165 -0.00127648L1.82165 134.999C1.82165 154.881 17.9394 170.999 37.8217 170.999L398.822 170.999"
stroke=
"#00D29D"
stroke-opacity=
"1"
stroke-width=
"2"
stroke-dasharray=
"552"
stroke-dashoffset=
"552"
style=
"stroke-dashoffset: 552px;"
>
</path>
</svg>
</div>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--mobile ecosystem__item-progress--mobile-second"
>
<svg
width=
"208"
height=
"157"
viewBox=
"0 0 208 157"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M207.387 -7.71451e-05L207.387 120.443C207.387 140.325 191.27 156.443 171.387 156.443L0.00173203 156.443"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
></path>
<path
class=
"line-progress"
d=
"M207.387 -7.71451e-05L207.387 120.443C207.387 140.325 191.27 156.443 171.387 156.443L0.00173203 156.443"
stroke=
"#00D29D"
stroke-width=
"2"
stroke-opacity=
"1"
stroke-dasharray=
"348"
stroke-dashoffset=
"348"
></path>
</svg>
</div>
</div>
<?
}
elseif
(
$k
==
3
){
?>
<div
class=
"ecosystem__item-progress-wrap"
>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--xl ecosystem__item-progress--xl-third"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"1616"
height=
"210"
viewBox=
"0 0 1616 210"
fill=
"none"
>
<path
d=
"M1614.5 -0.000824107L1614.5 172.998C1614.5 192.881 1598.38 208.999 1578.5 208.999L0.00133084 209"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
></path>
<path
class=
"line-progress"
d=
"M1614.5 -0.000824107L1614.5 172.998C1614.5 192.881 1598.38 208.999 1578.5 208.999L0.00133084 209"
stroke=
"#00D29D"
stroke-width=
"2"
stroke-opacity=
"1"
stroke-dasharray=
"1808"
stroke-dashoffset=
"1808"
style=
"stroke-dashoffset: 1808px;"
>
</path>
</svg>
</div>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--desktop ecosystem__item-progress--desktop-third"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"818"
height=
"168"
viewBox=
"0 0 818 168"
fill=
"none"
>
<path
d=
"M817.003 -0.000343667L817 131.001C817 150.883 800.882 167 781 167L-0.00166803 167"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
></path>
<path
class=
"line-progress"
d=
"M817.003 -0.000343667L817 131.001C817 150.883 800.882 167 781 167L-0.00166803 167"
stroke=
"#00D29D"
stroke-width=
"2"
stroke-opacity=
"1"
stroke-dasharray=
"968"
stroke-dashoffset=
"968"
></path>
</svg>
</div>
</div>
<div
class=
"ecosystem__item-progress ecosystem__item-progress--mobile ecosystem__item-progress--mobile-third"
>
<svg
width=
"208"
height=
"157"
viewBox=
"0 0 208 157"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M207.383 -0.000550601L207.384 120.442C207.384 140.325 191.266 156.443 171.384 156.443L-0.00195866 156.443"
stroke=
"#0B2027"
stroke-opacity=
"0.1"
stroke-width=
"2"
></path>
<path
class=
"line-progress"
d=
"M207.383 -0.000550601L207.384 120.442C207.384 140.325 191.266 156.443 171.384 156.443L-0.00195866 156.443"
stroke=
"#00D29D"
stroke-width=
"2"
stroke-opacity=
"1"
stroke-dasharray=
"348"
stroke-dashoffset=
"348"
></path>
</svg>
</div>
</div>
</div>
</div>
<?php
}
?>
<?
}
?>
</div>
</div>
<div
class=
"ecosystem__cards-wrap
<?=
$cardsreverse
?>
"
>
<ul
class=
"ecosystem__cards-list"
>
<?
if
(
!
empty
(
$section
[
'ITEMS'
])){
foreach
(
$section
[
'ITEMS'
]
as
$item
){
$icon
=
CFile
::
GetPath
(
$item
[
'PROPERTY_ICON_VALUE'
]);
?>
<li
class=
"ecosystem__cards-item"
>
<div
class=
"solutions-hubs-scheme-item"
>
<a
class=
"solutions-hubs-scheme-item__link"
href=
"
<?=
$item
[
'DETAIL_PAGE_URL'
]
?>
"
>
<div
class=
"solutions-hubs-scheme-item__header"
>
<h4
class=
"title
solutions-hubs-scheme-item__title"
>
<?=
$item
[
'NAME'
]
?>
</h4>
<?
if
(
$icon
){
?>
<div
class=
"solutions-hubs-scheme-item__icon"
>
<img
src=
"
<?=
$icon
?>
"
alt=
"Картинка"
width=
"32"
height=
"32"
loading=
"lazy"
>
</div>
<?
}
?>
</div>
</div>
<!-- /row -->
<div
class=
"solutions-hubs-scheme-item__descriptions"
>
<?php
if
(
$arParams
[
"DISPLAY_BOTTOM_PAGER"
])
{
?>
<p
class=
"solutions-hubs-scheme-item__text"
>
<?=
$item
[
'PROPERTY_MP_PREVIEW_TEXT_VALUE'
][
'TEXT'
]
?>
</p>
<?=
$arResult
[
"NAV_STRING"
]
?>
<?php
}
?>
</div>
</div>
<!-- /Container -->
<span
class=
"solutions-hubs-scheme-item__shownore-wrap"
>
<span
class=
"solutions-hubs-scheme-item__shownore-text"
>
Подробнее
</span>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 20 20"
data-icon=
"icon-arrow-up-right"
>
<use
xlink:href=
"#ai:local:icon-arrow-up-right"
></use>
</svg>
</span>
</a>
</div>
</div>
</li>
<?
}
}
?>
</ul>
<div
class=
"ecosystem__description-wrap"
>
<div
class=
"tag-text ecosystem__description-tag tag-text--size-small tag-text--bordered"
>
<p
class=
"tag-text__text"
>
ДЛЯ ЧЕГО ПОДОЙДЕТ
</p>
</div>
</div>
<p
class=
"ecosystem__description-title"
>
<?=
$section
[
'UF_TITLE'
]
?>
</p>
<p
class=
"ecosystem__description-text"
>
<?=
$section
[
'DESCRIPTION'
]
?>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<?
$k
++
;
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
}
?>
<?
$APPLICATION
->
IncludeComponent
(
"bitrix:main.include"
,
""
,
array
(
\ No newline at end of file
"AREA_FILE_SHOW"
=>
"file"
,
// Показывать включаемую область
"PATH"
=>
SITE_DIR
.
"include/form/main_form.php"
,
// Путь к файлу области
),
false
);
?>
local/templates/newudv/components/bitrix/system.pagenavigation/round/template.php
View file @
b92ef61e
...
@@ -30,9 +30,16 @@ $colorScheme = $colorSchemes[$arParams["TEMPLATE_THEME"]] ?? "";
...
@@ -30,9 +30,16 @@ $colorScheme = $colorSchemes[$arParams["TEMPLATE_THEME"]] ?? "";
<?
<?
$plus
=
$arResult
[
"NavPageNomer"
]
+
1
;
$plus
=
$arResult
[
"NavPageNomer"
]
+
1
;
$url
=
$arResult
[
"sUrlPathParams"
]
.
"PAGEN_"
.
$arResult
[
"NavNum"
]
.
"="
.
$plus
;
$url
=
$arResult
[
"sUrlPathParams"
]
.
"PAGEN_"
.
$arResult
[
"NavNum"
]
.
"="
.
$plus
;
if
(
$APPLICATION
->
GetCurDir
()
==
"/about/events/"
){
$btnClass
=
"events__btn events__btn--show-more button button--size-xl-s button--solid-white"
;
$pagClass
=
"events__pagination"
;
}
else
{
$btnClass
=
"news__btn news__btn--show-more button button--size-xl-s button--solid-white"
;
$pagClass
=
"news__pagination"
;
}
?>
?>
<div
id=
"pag"
>
<div
id=
"pag"
>
<button
class=
"
news__btn news__btn--show-more button button--size-xl-s button--solid-white
"
<button
class=
"
<?=
$btnClass
?>
"
data-url=
"
<?=
$url
?>
"
><span
data-url=
"
<?=
$url
?>
"
><span
class=
"button__text"
>
показать еще
</span></button>
class=
"button__text"
>
показать еще
</span></button>
</div>
</div>
...
@@ -40,7 +47,7 @@ $colorScheme = $colorSchemes[$arParams["TEMPLATE_THEME"]] ?? "";
...
@@ -40,7 +47,7 @@ $colorScheme = $colorSchemes[$arParams["TEMPLATE_THEME"]] ?? "";
}
}
}
}
?>
?>
<div
class=
"pagination
news__pagination
"
>
<div
class=
"pagination
<?=
$pagClass
?>
"
>
<ul
class=
"pagination__list"
>
<ul
class=
"pagination__list"
>
<?
if
(
$arResult
[
"bDescPageNumbering"
]
===
true
)
:?>
<?
if
(
$arResult
[
"bDescPageNumbering"
]
===
true
)
:?>
...
...
local/templates/newudv/css/custom.css
View file @
b92ef61e
...
@@ -7,3 +7,8 @@
...
@@ -7,3 +7,8 @@
.article-card--big
.article-card__title
{
.article-card--big
.article-card__title
{
line-height
:
1
;
line-height
:
1
;
}
}
@media
(
max-width
:
767px
)
{
.ecosystem__item-title
{
width
:
99%
;
}
}
\ No newline at end of file
local/templates/newudv/header.php
View file @
b92ef61e
...
@@ -425,7 +425,7 @@ $assets = Asset::getInstance();
...
@@ -425,7 +425,7 @@ $assets = Asset::getInstance();
<main>
<main>
<?
<?
if
(
$APPLICATION
->
GetCurDir
()
!=
"/"
)
{
if
(
$APPLICATION
->
GetCurDir
()
!=
"/"
&&
(
!
strpos
(
$APPLICATION
->
GetCurDir
(),
"products"
))
)
{
$APPLICATION
->
IncludeComponent
(
"bitrix:breadcrumb"
,
"breadcrumb"
,
array
(
$APPLICATION
->
IncludeComponent
(
"bitrix:breadcrumb"
,
"breadcrumb"
,
array
(
"START_FROM"
=>
"0"
,
"START_FROM"
=>
"0"
,
"PATH"
=>
""
,
"PATH"
=>
""
,
...
...
local/templates/newudv/js/script.js
View file @
b92ef61e
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
//кнопка показать еще
//кнопка показать еще
для новостей
$
(
document
).
on
(
'click'
,
'.news__btn--show-more'
,
function
(){
$
(
document
).
on
(
'click'
,
'.news__btn--show-more'
,
function
(){
var
targetContainer
=
$
(
'#page'
),
var
targetContainer
=
$
(
'#page'
),
...
@@ -27,6 +27,34 @@ $(document).ready(function(){
...
@@ -27,6 +27,34 @@ $(document).ready(function(){
});
});
//кнопка показать еще для мероприятий
$
(
document
).
on
(
'click'
,
'.events__btn--show-more'
,
function
(){
var
targetContainer
=
$
(
'#page'
),
url
=
$
(
'.events__btn--show-more'
).
attr
(
'data-url'
);
window
.
history
.
replaceState
(
null
,
null
,
url
);
if
(
url
!==
undefined
)
{
$
.
ajax
({
type
:
'GET'
,
url
:
url
,
dataType
:
'html'
,
success
:
function
(
data
){
$
(
'.events__btn--show-more'
).
remove
();
var
elements
=
$
(
data
).
find
(
'.events-list'
),
pagination
=
$
(
data
).
find
(
'.events__btn--show-more'
);
targetContainer
.
append
(
elements
);
$
(
'#pag'
).
append
(
pagination
);
}
});
}
else
$
(
'#pag'
).
hide
();
});
// хештеги
// хештеги
$
(
document
).
on
(
'click'
,
'.hash-link'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'.hash-link'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
...
@@ -65,6 +93,87 @@ $(document).ready(function(){
...
@@ -65,6 +93,87 @@ $(document).ready(function(){
});
});
// онлвйн/оффлайн
$
(
document
).
on
(
'click'
,
'.line-link'
,
function
(
e
){
e
.
preventDefault
();
$
(
".article-controls__item"
).
each
(
function
()
{
$
(
this
).
find
(
'.article-controls__btn'
).
removeClass
(
'is-active'
);
});
$
(
this
).
find
(
'.article-controls__btn'
).
addClass
(
'is-active'
);
$
(
'#pag'
).
hide
();
$
(
'.events__pagination'
).
hide
();
var
targetContainer
=
$
(
'#page'
),
url
=
"/about/events/"
+
$
(
this
).
attr
(
'href'
);
window
.
history
.
replaceState
(
null
,
null
,
url
);
if
(
url
!==
undefined
)
{
targetContainer
.
find
(
'.events-list'
).
detach
();
$
.
ajax
({
type
:
'GET'
,
url
:
url
,
dataType
:
'html'
,
success
:
function
(
data
){
var
elements
=
$
(
data
).
find
(
'.events-list'
);
targetContainer
.
append
(
elements
);
}
});
}
});
// поиск на мерприятих
$
(
'.search'
).
on
(
'input'
,
function
(
e
)
{
let
text
=
$
(
this
).
val
();
console
.
log
(
text
);
if
(
text
.
length
>
2
)
{
$
(
".article-controls__item"
).
each
(
function
()
{
$
(
this
).
find
(
'.article-controls__btn'
).
removeClass
(
'is-active'
);
});
$
(
this
).
find
(
'.article-controls__btn'
).
addClass
(
'is-active'
);
$
(
'#pag'
).
hide
();
$
(
'.events__pagination'
).
hide
();
var
targetContainer
=
$
(
'#page'
),
url
=
"/about/events/?search="
+
text
+
"#page"
;
window
.
history
.
replaceState
(
null
,
null
,
url
);
if
(
url
!==
undefined
)
{
targetContainer
.
find
(
'.events-list'
).
detach
();
$
.
ajax
({
type
:
'GET'
,
url
:
url
,
dataType
:
'html'
,
success
:
function
(
data
)
{
var
elements
=
$
(
data
).
find
(
'.events-list'
);
targetContainer
.
append
(
elements
);
}
});
}
}
});
// копирование ссылки
// копирование ссылки
$
(
document
).
on
(
"click"
,
".site-link"
,
function
()
{
$
(
document
).
on
(
"click"
,
".site-link"
,
function
()
{
$
(
this
).
next
(
'.copy'
).
detach
();
$
(
this
).
next
(
'.copy'
).
detach
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment