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
6bdb489c
Commit
6bdb489c
authored
Dec 16, 2024
by
Владимир Акимов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Послдение правки страниц
parent
a10e615d
Changes
33
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
925 additions
and
643 deletions
+925
-643
.top.menu.php
.top.menu.php
+2
-2
index.php
akimov/index.php
+17
-4
partner_form.php
include/form/partner_form.php
+5
-2
product_form.php
include/form/product_form.php
+36
-6
solutions_form.php
include/form/solutions_form.php
+8
-4
support_form.php
include/form/support_form.php
+3
-2
about-form.php
local/ajax/about-form.php
+26
-0
event-form.php
local/ajax/event-form.php
+2
-2
product-form.php
local/ajax/product-form.php
+2
-2
.styles.php
local/templates/newudv/.styles.php
+16
-0
slugify.BXX9LTqL.js
local/templates/newudv/assets/slugify.BXX9LTqL.js
+1
-0
template.php
.../templates/newudv/components/bitrix/menu/top/template.php
+1
-1
template.php
...wudv/components/bitrix/news.list/banner_main/template.php
+1
-1
template.php
...wudv/components/bitrix/news.list/events_tags/template.php
+27
-3
template.php
...newudv/components/bitrix/news.list/news_tags/template.php
+2
-16
template.php
...v/components/bitrix/news.list/research_links/template.php
+2
-3
result_modifier.php
...nents/bitrix/news.list/research_press/result_modifier.php
+4
-1
template.php
...v/components/bitrix/news.list/research_press/template.php
+7
-4
result_modifier.php
...ws/events/bitrix/news.detail/.default/result_modifier.php
+30
-1
template.php
...trix/news/events/bitrix/news.detail/.default/template.php
+70
-43
template.php
...bitrix/news/events/bitrix/news.list/.default/template.php
+3
-5
result_modifier.php
...news/news/bitrix/news.detail/.default/result_modifier.php
+39
-0
template.php
...bitrix/news/news/bitrix/news.detail/.default/template.php
+256
-457
result_modifier.php
...x/news/news/bitrix/news.list/.default/result_modifier.php
+29
-14
template.php
...s/bitrix/news/news/bitrix/news.list/.default/template.php
+41
-9
template.php
...ix/news/products/bitrix/news.detail/.default/template.php
+11
-5
template.php
...x/news/solutions/bitrix/news.detail/.default/template.php
+15
-12
template.php
...omponents/bitrix/system.pagenavigation/round/template.php
+4
-2
custom.css
local/templates/newudv/css/custom.css
+5
-1
footer.php
local/templates/newudv/footer.php
+10
-7
header.php
local/templates/newudv/header.php
+21
-16
script.js
local/templates/newudv/js/script.js
+210
-18
styles.css
local/templates/newudv/styles.css
+19
-0
No files found.
.top.menu.php
View file @
6bdb489c
...
...
@@ -8,8 +8,8 @@ $aMenuLinks = Array(
""
),
Array
(
"
Новости"
,
SITE_DIR
.
"/about/
news/"
,
"
Блог"
,
SITE_DIR
.
"/about/
blog/"
,
Array
(),
Array
(),
""
...
...
akimov/index.php
View file @
6bdb489c
<?
require
(
$_SERVER
[
"DOCUMENT_ROOT"
]
.
"/bitrix/header.php"
);
$APPLICATION
->
SetTitle
(
"Новый раздел"
);
$fields
=
fields
(
504
);
echo
"<pre>"
;
print_r
(
$fields
);
echo
"</pre>"
;
$arItems
=
[];
$arSelect
=
array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PROPERTY_ICON"
,
"PROPERTY_LINK"
);
$iblockId
=
78
;
$arFilter
=
array
(
"IBLOCK_ID"
=>
$iblockId
,
"ACTIVE"
=>
"Y"
);
$res
=
CIBlockElement
::
GetList
(
array
(
"SORT"
=>
"ASC"
),
$arFilter
,
false
,
false
,
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arFields
=
$ob
->
GetFields
();
echo
"<pre>"
;
print_r
(
$arFields
);
echo
"</pre>"
;
$arItem
[
'ICON'
]
=
CFile
::
GetPath
(
$arFields
[
"PROPERTY_ICON_VALUE"
]);
$arItem
[
'LINK'
]
=
$arFields
[
"PROPERTY_LINK_VALUE"
];
$arItems
[]
=
$arItem
;
}
?>
...
...
include/form/partner_form.php
View file @
6bdb489c
...
...
@@ -8,7 +8,7 @@ $arFilter = Array(
"ID"
=>
480
);
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
);
//IBLOCK_ID и ID
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
,
"PROPERTY_BOOK"
);
//IBLOCK_ID и ID
// обязательно должны быть
// указаны,
...
...
@@ -19,6 +19,8 @@ while($ob = $res->GetNextElement()) {
$title
=
$arItem
[
'~PROPERTY_TITLE_VALUE'
][
'TEXT'
];
$text
=
$arItem
[
'PREVIEW_TEXT'
];
$tag
=
$arItem
[
'PROPERTY_TAG_VALUE'
];
$book
=
$arItem
[
'PROPERTY_BOOK_VALUE'
];
...
...
@@ -64,7 +66,8 @@ id="write-to-us-form">
<div
class=
"write-to-us-form__form"
data-form-validate
data-callback=
"request"
data-button-disabled
>
<form
action=
"#"
id=
"event-form"
novalidate=
""
>
<input
type=
"hidden"
name=
"url"
value=
"
<?=
$APPLICATION
->
GetCurDir
()
?>
"
>
<input
type=
"hidden"
name=
"listid"
value=
"82"
>
<input
type=
"hidden"
name=
"listid"
value=
"
<?=
$book
?>
"
>
<div
class=
"write-to-us-form__fields"
>
<div
class=
"custom-input write-to-us-form__field write-to-us-form__field--wide"
data-validate-type=
"text"
data-required=
""
data-message-base=
"Введите имя"
data-message-extra=
"Введите корректное имя"
data-message-succes=
""
data-input-focus=
""
>
<label>
...
...
include/form/product_form.php
View file @
6bdb489c
<?
// заголовки
\CModule
::
IncludeModule
(
"iblock"
);
$IblockId
=
71
;
// инфоблок
$arFilter
=
Array
(
"IBLOCK_ID"
=>
$IblockId
,
"ACTIVE"
=>
"Y"
,
"ID"
=>
523
);
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
,
"PROPERTY_BOOK"
);
//IBLOCK_ID и ID
// обязательно должны быть
// указаны,
$res
=
CIBlockElement
::
GetList
(
Array
(),
$arFilter
,
false
,
array
(
'nTopCount'
=>
1
),
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arItem
=
$ob
->
GetFields
();
$title
=
$arItem
[
'~PROPERTY_TITLE_VALUE'
][
'TEXT'
];
$text
=
$arItem
[
'PREVIEW_TEXT'
];
$tag
=
$arItem
[
'PROPERTY_TAG_VALUE'
];
$book
=
$arItem
[
'PROPERTY_BOOK_VALUE'
];
}
?>
<section
class=
"page-section page-section--p-b"
id=
"demo"
>
<div
class=
"write-to-us-form"
>
<div
class=
"container write-to-us-form__container"
>
...
...
@@ -30,20 +60,20 @@
</div>
<div
class=
"section-title write-to-us-form__title"
>
<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"
style=
"--word-total: 7; --line-total: 2;"
>
закажите персональную демонстрацию продукта
</h2>
<p
class=
"section-title__badge"
>
<?=
$tag
?>
</p>
<h2
data-animate=
"title"
class=
"title title--h2 section-title__title words lines
splitting"
>
<?=
$title
?>
</h2>
</div>
</div>
<p
class=
"write-to-us-form__description"
>
Ответим в рабочие дни с 9:00 до 18:00 по Москве
</p>
<p
class=
"write-to-us-form__description"
>
<?=
$text
?>
</p>
</div>
<div
class=
"write-to-us-form__form"
data-form-validate=
""
data-callback=
"request"
data-button-disabled=
""
>
<form
action=
"#"
id=
"product-form"
novalidate=
""
>
<input
type=
"hidden"
name=
"url"
value=
"
<?=
$APPLICATION
->
GetCurDir
()
?>
"
>
<input
type=
"hidden"
name=
"listid"
value=
"
82
"
>
<div
class=
"write-to-us-form__fields"
>
<input
type=
"hidden"
name=
"listid"
value=
"
<?=
$book
?>
"
>
<div
class=
"write-to-us-form__fields"
>
<div
class=
"custom-input write-to-us-form__field write-to-us-form__field--wide"
data-validate-type=
"text"
data-required=
""
data-message-base=
"Введите имя"
data-message-extra=
"Введите корректное имя"
data-message-succes=
""
data-input-focus=
""
>
...
...
include/form/solutions_form.php
View file @
6bdb489c
...
...
@@ -5,10 +5,11 @@ $IblockId=71;// инфоблок
$arFilter
=
Array
(
"IBLOCK_ID"
=>
$IblockId
,
"ACTIVE"
=>
"Y"
,
"ID"
=>
45
7
"ID"
=>
50
7
);
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
);
//IBLOCK_ID и ID обязательно должны быть
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
,
"PROPERTY_BOOK"
);
//IBLOCK_ID и ID
// обязательно должны быть
// указаны,
$res
=
CIBlockElement
::
GetList
(
Array
(),
$arFilter
,
false
,
array
(
'nTopCount'
=>
1
),
$arSelect
);
...
...
@@ -17,6 +18,8 @@ $arItem = $ob->GetFields();
$title
=
$arItem
[
'~PROPERTY_TITLE_VALUE'
][
'TEXT'
];
$text
=
$arItem
[
'PREVIEW_TEXT'
];
$tag
=
$arItem
[
'PROPERTY_TAG_VALUE'
];
$book
=
$arItem
[
'PROPERTY_BOOK_VALUE'
];
}
...
...
@@ -55,7 +58,7 @@ $arItem = $ob->GetFields();
</div>
<div
class=
"section-title write-to-us-form__title"
>
<div
class=
"section-title__wrap"
>
<p
class=
"section-title__badge"
>
оставьте заявку
</p>
<p
class=
"section-title__badge"
>
<?=
$tag
?>
</p>
<h2
data-animate=
"title"
class=
"title title--h2 section-title__title words lines splitting
is-show"
>
<?=
$title
?>
</h2>
...
...
@@ -67,6 +70,7 @@ $arItem = $ob->GetFields();
<div
class=
"write-to-us-form__form"
data-form-validate=
""
data-callback=
"request"
data-button-disabled=
""
>
<form
action=
"#"
id=
"event-form"
novalidate=
""
>
<input
type=
"hidden"
name=
"listid"
value=
"
<?=
$book
?>
"
>
<div
class=
"write-to-us-form__fields"
>
<div
class=
"custom-input write-to-us-form__field write-to-us-form__field--wide"
data-validate-type=
"text"
data-required=
""
data-message-base=
"Введите имя"
...
...
@@ -92,7 +96,7 @@ $arItem = $ob->GetFields();
data-message-base=
"Введите номер телефона"
data-message-extra=
"Не корректный номер"
data-message-succes=
""
data-input-focus=
""
data-phone-length=
"18"
>
<label>
<input
type=
"tel"
name=
"
email
"
maxlength=
"256"
>
<input
type=
"tel"
name=
"
phone
"
maxlength=
"256"
>
<span
class=
"custom-input__label"
>
Номер телефона
</span>
</label>
...
...
include/form/support_form.php
View file @
6bdb489c
...
...
@@ -8,7 +8,7 @@ $arFilter = Array(
"ID"
=>
479
);
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
);
//IBLOCK_ID и ID
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
,
"PROPERTY_BOOK"
);
//IBLOCK_ID и ID
// обязательно должны быть
// указаны,
...
...
@@ -19,6 +19,7 @@ while($ob = $res->GetNextElement()) {
$title
=
$arItem
[
'~PROPERTY_TITLE_VALUE'
][
'TEXT'
];
$text
=
$arItem
[
'PREVIEW_TEXT'
];
$tag
=
$arItem
[
'PROPERTY_TAG_VALUE'
];
$book
=
$arItem
[
'PROPERTY_BOOK_VALUE'
];
...
...
@@ -64,7 +65,7 @@ id="write-to-us-form">
<div
class=
"write-to-us-form__form"
data-form-validate
data-callback=
"request"
data-button-disabled
>
<form
action=
"#"
id=
"event-form"
novalidate=
""
>
<input
type=
"hidden"
name=
"url"
value=
"
<?=
$APPLICATION
->
GetCurDir
()
?>
"
>
<input
type=
"hidden"
name=
"listid"
value=
"
82
"
>
<input
type=
"hidden"
name=
"listid"
value=
"
<?=
$book
?>
"
>
<div
class=
"write-to-us-form__fields"
>
<div
class=
"custom-input write-to-us-form__field write-to-us-form__field--wide"
data-validate-type=
"text"
data-required=
""
data-message-base=
"Введите имя"
data-message-extra=
"Введите корректное имя"
data-message-succes=
""
data-input-focus=
""
>
<label>
...
...
local/ajax/about-form.php
0 → 100644
View file @
6bdb489c
<?
require_once
(
$_SERVER
[
"DOCUMENT_ROOT"
]
.
"/bitrix/modules/main/include/prolog_before.php"
);
use
Bitrix\Main\Mail\Event
;
if
(
$_POST
[
'name'
]){
if
(
$_POST
[
'listid'
]){
$listId
=
(
int
)
$_POST
[
'listid'
];
}
else
$listId
=
82
;
echo
sendUnicender
(
$_POST
[
'name'
],
$_POST
[
'phone'
],
$_POST
[
'email'
],
$listId
);
// Event::send(array(
// "EVENT_NAME" => "FORM_SEND",
// "LID" => "s1",
// "C_FIELDS" => array(
// "NAME" => $_POST['name'],
// "EMAIL" => $_POST['email'],
// "PHONE" => $_POST['phone'],
// "URL" => $_POST['url'],
// "COMMENT" => $_POST['comment'],
// ),
// ));
}
?>
local/ajax/event-form.php
View file @
6bdb489c
...
...
@@ -4,8 +4,8 @@ use Bitrix\Main\Mail\Event;
if
(
$_POST
[
'name'
]){
if
(
$_POST
[
'list'
]){
$listId
=
(
int
)
$_POST
[
'list'
];
if
(
$_POST
[
'list
id
'
]){
$listId
=
(
int
)
$_POST
[
'list
id
'
];
}
else
$listId
=
82
;
echo
sendUnicender
(
$_POST
[
'name'
],
$_POST
[
'phone'
],
$_POST
[
'email'
],
$listId
);
Event
::
send
(
array
(
...
...
local/ajax/product-form.php
View file @
6bdb489c
...
...
@@ -4,8 +4,8 @@ use Bitrix\Main\Mail\Event;
if
(
$_POST
[
'name'
]){
if
(
$_POST
[
'list'
]){
$listId
=
(
int
)
$_POST
[
'list'
];
if
(
$_POST
[
'list
id
'
]){
$listId
=
(
int
)
$_POST
[
'list
id
'
];
}
else
$listId
=
82
;
echo
sendUnicender
(
$_POST
[
'name'
],
$_POST
[
'phone'
],
$_POST
[
'email'
],
$listId
);
Event
::
send
(
array
(
...
...
local/templates/newudv/.styles.php
0 → 100644
View file @
6bdb489c
<?
return
array
(
''
=>
array
(
'tag'
=>
'blockquote'
,
'title'
=>
'Цитата'
,
'html'
=>
'<blockquote>Цитата</blockquote>'
,
),
'article__content'
=>
array
(
'tag'
=>
'article'
,
'title'
=>
'Статьи'
,
'html'
=>
'<article class="article__content" id="key">Статьи</article>'
,
),
);
?>
\ No newline at end of file
local/templates/newudv/assets/slugify.BXX9LTqL.js
0 → 100644
View file @
6bdb489c
import
{
g
as
m
,
c
as
y
}
from
"../scripts.js"
;
var
c
=
{
exports
:{}};(
function
(
u
,
g
){(
function
(
i
,
s
,
n
){
u
.
exports
=
n
(),
u
.
exports
.
default
=
n
()})(
"slugify"
,
y
,
function
(){
var
i
=
JSON
.
parse
(
`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`
),
s
=
JSON
.
parse
(
'{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}'
);
function
n
(
o
,
e
){
if
(
typeof
o
!=
"string"
)
throw
new
Error
(
"slugify: string argument expected"
);
e
=
typeof
e
==
"string"
?{
replacement
:
e
}:
e
||
{};
var
h
=
s
[
e
.
locale
]
||
{},
l
=
e
.
replacement
===
void
0
?
"-"
:
e
.
replacement
,
d
=
e
.
trim
===
void
0
?
!
0
:
e
.
trim
,
a
=
o
.
normalize
().
split
(
""
).
reduce
(
function
(
f
,
t
){
var
r
=
h
[
t
];
return
r
===
void
0
&&
(
r
=
i
[
t
]),
r
===
void
0
&&
(
r
=
t
),
r
===
l
&&
(
r
=
" "
),
f
+
r
.
replace
(
e
.
remove
||
/
[^\w\s
$*_+~.()'"!
\-
:@
]
+/g
,
""
)},
""
);
return
e
.
strict
&&
(
a
=
a
.
replace
(
/
[^
A-Za-z0-9
\s]
/g
,
""
)),
d
&&
(
a
=
a
.
trim
()),
a
=
a
.
replace
(
/
\s
+/g
,
l
),
e
.
lower
&&
(
a
=
a
.
toLowerCase
()),
a
}
return
n
.
extend
=
function
(
o
){
Object
.
assign
(
i
,
o
)},
n
})})(
c
);
var
p
=
c
.
exports
;
const
E
=
m
(
p
),
O
=
Object
.
freeze
(
Object
.
defineProperty
({
__proto__
:
null
,
default
:
E
},
Symbol
.
toStringTag
,{
value
:
"Module"
}));
export
{
O
as
s
};
local/templates/newudv/components/bitrix/menu/top/template.php
View file @
6bdb489c
...
...
@@ -3,7 +3,7 @@
<?
$texts
=
[];
$texts
[]
=
"Ключевая информация о компании"
;
$texts
[]
=
"
Все события и анонсы мероприятий
"
;
$texts
[]
=
"
Узнайте больше об автоматизации безопасности
"
;
$texts
[]
=
"Будущие и прошедшие мероприятия"
;
$texts
[]
=
"Основные направления нашей работы"
;
$texts
[]
=
"Адреса и телефоны для связи"
;
...
...
local/templates/newudv/components/bitrix/news.list/banner_main/template.php
View file @
6bdb489c
...
...
@@ -66,7 +66,7 @@ $this->setFrameMode(true);
<div
class=
"hero__title-description-wrap"
>
<h1
class=
"title title--h1 hero__title"
>
<?=
$arItem
[
"PREVIEW_TEXT"
]
?>
</h1>
<p
class=
"hero__text"
>
<?=
$arItem
[
"DETAIL_TEXT"
]
?>
</p>
<a
href=
"#"
class=
"button button--size-m hero__btn-cta"
><span
class=
"button__text"
>
отправить запрос
</span><span
<a
href=
"#
write-to-us-form
"
class=
"button button--size-m hero__btn-cta"
><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"
>
...
...
local/templates/newudv/components/bitrix/news.list/events_tags/template.php
View file @
6bdb489c
...
...
@@ -11,6 +11,23 @@
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this
->
setFrameMode
(
true
);
if
(
$_GET
[
'line'
]){
?>
<style>
.events__list
li
{
display
:
none
;
}
.events__list
li
[
data-hash
=
"
<?=
$_GET
[
'line'
]
?>
"
]
{
display
:
block
;
}
.events__bottom
{
display
:
none
;
}
</style>
<?php
}
?>
<div
id=
"page"
>
...
...
@@ -35,10 +52,10 @@ $this->setFrameMode(true);
<p
class=
"tag-text__text"
>
<?=
$soontop
?>
</p>
</div>
</div>
<div
class=
"article-card__image"
>
<?
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'
]
?>
"
...
...
@@ -51,8 +68,8 @@ $this->setFrameMode(true);
alt=
"
<?=
$arItem
[
'NAME'
]
?>
"
width=
"148"
height=
"101"
loading=
"lazy"
>
</picture>
</div>
<?
}
?>
</div>
<h2
class=
"title article-card__title"
>
<?=
$arItem
[
'NAME'
]
?>
</h2>
<div
class=
"article-card__text"
>
<p>
<?=
$arItem
[
'PREVIEW_TEXT'
]
?>
</p>
...
...
@@ -91,8 +108,15 @@ $this->setFrameMode(true);
$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'
)));
if
(
$arItem
[
'PROPERTIES'
][
"LINE"
][
"VALUE"
]
==
"онлайн"
){
$hash
=
"online"
;
}
elseif
(
$arItem
[
'PROPERTIES'
][
"LINE"
][
"VALUE"
]
==
"оффлайн"
)
{
$hash
=
"offline"
;
}
else
{
$hash
=
""
;
}
?>
<li
class=
"events__item"
id=
"
<?=
$this
->
GetEditAreaId
(
$arItem
[
'ID'
]);
?>
"
>
<li
data-hash=
"
<?=
$hash
?>
"
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"
>
...
...
local/templates/newudv/components/bitrix/news.list/news_tags/template.php
View file @
6bdb489c
...
...
@@ -11,21 +11,7 @@
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this
->
setFrameMode
(
true
);
if
(
$_GET
[
'hash'
]){
$hash
=
\Cutil
::
translit
((
string
)
$_GET
[
'hash'
],
"ru"
,[
"replace_space"
=>
"-"
,
"replace_other"
=>
"-"
]);
?>
<style>
.news__list
li
{
display
:
none
;
}
.news__list
li
[
data-hash
=
"
<?=
$hash
?>
"
]
{
display
:
block
;
}
</style>
<?php
}
?>
...
...
@@ -83,8 +69,8 @@ if ($_GET['hash']){
<use
xlink:href=
"#ai:local:icon-clock"
></use>
</svg>
<?=
$arItem
[
'PROPERTIES'
][
"TIME"
][
"VALUE"
]
?>
минут
</span>
<?=
minut
(
$arItem
[
'PROPERTIES'
][
"TIME"
][
"VALUE"
])
?>
</span>
</div>
</div>
...
...
local/templates/newudv/components/bitrix/news.list/research_links/template.php
View file @
6bdb489c
...
...
@@ -78,9 +78,8 @@ $this->setFrameMode(true);
</div>
<h3
class=
"link-card__title"
>
<?=
$arItem
[
'NAME'
]
?>
</h3>
<p
class=
"link-card__text"
>
<?=
$arItem
[
'PREVIEW_TEXT'
]
?>
</p>
<a
href=
"
<?=
$arItem
[
'PROPERTIES'
][
'LINK'
][
'VALUE'
]
?>
"
class=
"button button--size-xl-m
button--transparent
link-card__btn"
><span
class=
"button__text"
>
перейти на сайт
</span><span
class=
"button__icon"
>
<a
target=
"_blank"
href=
"
<?=
$arItem
[
'PROPERTIES'
][
'LINK'
][
'VALUE'
]
?>
"
class=
"button button--size-xl-m
button--transparent link-card__btn"
><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>
...
...
local/templates/newudv/components/bitrix/news.list/research_press/result_modifier.php
View file @
6bdb489c
...
...
@@ -11,12 +11,15 @@ $arFilter = Array(
"ID"
=>
371
);
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_IMG"
,
"PROPERTY_TAG"
);
//IBLOCK_ID и ID
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_IMG"
,
"PROPERTY_TAG"
,
"PROPERTY_LINK"
,
"PROPERTY_BTN_TEXT"
);
//IBLOCK_ID и ID
$res
=
CIBlockElement
::
GetList
(
Array
(),
$arFilter
,
false
,
array
(
'nTopCount'
=>
1
),
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arItem
=
$ob
->
GetFields
();
$arResult
[
'NAME'
]
=
$arItem
[
'~PROPERTY_TITLE_VALUE'
][
'TEXT'
];
$arResult
[
'TAG'
]
=
$arItem
[
'PROPERTY_TAG_VALUE'
];
$arResult
[
'LINK'
]
=
$arItem
[
'PROPERTY_LINK_VALUE'
];
$arResult
[
'BTN_TEXT'
]
=
$arItem
[
'PROPERTY_BTN_TEXT_VALUE'
];
}
local/templates/newudv/components/bitrix/news.list/research_press/template.php
View file @
6bdb489c
...
...
@@ -31,11 +31,14 @@ $this->setFrameMode(true);
</div>
</div>
<a
target=
"_blank"
href=
"/about/news/?hash=пресс-релизы#page"
<a
target=
"_blank"
href=
"
<?=
$arResult
[
'LINK'
]
?>
"
data-da-max=
".other-news__list-wrap, 767, last"
class=
"button button--size-xl-m button--solid-white other-news__button"
><span
class=
"button__text"
>
все пресс-релизы
</span></a></div>
class=
"button button--size-xl-m button--solid-white other-news__button"
>
<span
class=
"button__text"
>
<?=
$arResult
[
'BTN_TEXT'
]
?>
</span>
</a>
</div>
<div
class=
"other-news__list-wrap swiper swiper-backface-hidden"
data-other-news-slider=
"container"
>
<ul
class=
"other-news__list swiper-wrapper"
>
<?
foreach
(
$arResult
[
'ITEMS'
]
as
$k
=>
$arItem
)
{
?>
...
...
local/templates/newudv/components/bitrix/news/events/bitrix/news.detail/.default/result_modifier.php
View file @
6bdb489c
...
...
@@ -69,7 +69,7 @@ if (!empty($arResult['PROPERTIES']['PROGRAMM']['VALUE'])) {
//спикеры и учатстнки
$iblockId
=
5
0
;
$iblockId
=
8
0
;
if
(
!
empty
(
$arResult
[
'PROPERTIES'
][
'SPIKERS'
][
'VALUE'
]))
{
$arResult
[
'SPIKERS'
]
=
[];
...
...
@@ -89,3 +89,32 @@ if (!empty($arResult['PROPERTIES']['SPIKERS']['VALUE'])) {
}
}
// формы для онлайн и оффлайн мероприятий
$IblockId
=
71
;
// инфоблок
if
(
$arResult
[
'PROPERTIES'
][
'LINE'
][
'VALUE'
]
==
"онлайн"
){
$id
=
516
;
}
else
$id
=
517
;
$arFilter
=
Array
(
"IBLOCK_ID"
=>
$IblockId
,
"ACTIVE"
=>
"Y"
,
"ID"
=>
$id
);
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
);
//IBLOCK_ID и ID
// обязательно должны быть
// указаны,
$res
=
CIBlockElement
::
GetList
(
Array
(),
$arFilter
,
false
,
array
(
'nTopCount'
=>
1
),
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arItem
=
$ob
->
GetFields
();
$arResult
[
'FORM_TITLE'
]
=
$arItem
[
'~PROPERTY_TITLE_VALUE'
][
'TEXT'
];
$arResult
[
'FORM_TEXT'
]
=
$arItem
[
'PREVIEW_TEXT'
];
$arResult
[
'FORM_TAG'
]
=
$arItem
[
'PROPERTY_TAG_VALUE'
];
}
local/templates/newudv/components/bitrix/news/events/bitrix/news.detail/.default/template.php
View file @
6bdb489c
This diff is collapsed.
Click to expand it.
local/templates/newudv/components/bitrix/news/events/bitrix/news.list/.default/template.php
View file @
6bdb489c
...
...
@@ -76,7 +76,7 @@ $this->setFrameMode(true);
</li>
<li
class=
"article-controls__item swiper-slide"
data-tabs-controls-slider=
"slide"
>
<a
class=
"line-link"
href=
"?line=7
#page"
>
<a
class=
"line-link"
data-name=
"online"
href=
"?line=online
#page"
>
<button
class=
"article-controls__btn"
data-articles=
"eco"
>
<span
class=
"article-controls__icon"
>
<svg
width=
"0.93em"
height=
"1em"
viewBox=
"0 0 12 13"
data-icon=
"icon-right"
>
...
...
@@ -90,7 +90,7 @@ $this->setFrameMode(true);
</a>
</li>
<li
class=
"article-controls__item swiper-slide"
data-tabs-controls-slider=
"slide"
>
<a
class=
"line-link"
href=
"?line=8
#page"
>
<a
class=
"line-link"
data-name=
"offline"
href=
"?line=offline
#page"
>
<button
class=
"article-controls__btn"
data-articles=
"eco"
>
<span
class=
"article-controls__icon"
>
<svg
width=
"0.93em"
height=
"1em"
viewBox=
"0 0 12 13"
data-icon=
"icon-right"
>
...
...
@@ -125,9 +125,7 @@ $this->setFrameMode(true);
</form>
</div>
</div>
<?
if
(
$_GET
[
'line'
]){
$GLOBALS
[
'arrFilter'
]
=
array
(
'PROPERTY_LINE'
=>
$_GET
[
'line'
]);
}
<?
if
(
$_GET
[
'search'
]){
$GLOBALS
[
'arrFilter'
]
=
array
(
'?NAME'
=>
$_GET
[
'search'
]);
}
...
...
local/templates/newudv/components/bitrix/news/news/bitrix/news.detail/.default/result_modifier.php
View file @
6bdb489c
...
...
@@ -29,3 +29,42 @@ while($ob = $res->GetNextElement()) {
}
// фотогалерея
if
((
!
empty
(
$arResult
[
'PROPERTIES'
][
'PHOTOS'
][
'VALUE'
]))
&&
(
str_contains
(
$arResult
[
'DETAIL_TEXT'
],
'PHOTOGALLERY'
)))
{
$photocontent
=
'<div class="article__image-col article__image-col--50-50">
<div class="article__image-col-wrap swiper" data-content-image-slider="container">
<div class="article__swiper-wrapper swiper-wrapper">'
;
foreach
(
$arResult
[
'PROPERTIES'
][
'PHOTOS'
][
'VALUE'
]
as
$k
=>
$item
)
{
if
(
$k
>
1
)
break
;
$arSelect
=
array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_PICTURE"
,
"PROPERTY_IMG_1921"
,
"PROPERTY_IMG"
,
"PROPERTY_IMG_768"
,
"PROPERTY_IMG_767"
);
$arFilter
=
array
(
"IBLOCK_ID"
=>
$iblockId
,
"ID"
=>
$item
);
$res
=
CIBlockElement
::
GetList
(
array
(
"SORT"
=>
"ASC"
),
$arFilter
,
false
,
false
,
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arFields
=
$ob
->
GetFields
();
$img
=
CFile
::
GetPath
(
$arFields
[
'PROPERTY_IMG_VALUE'
]);
$img1921
=
CFile
::
GetPath
(
$arFields
[
'PROPERTY_IMG_1921_VALUE'
]);
$img768
=
CFile
::
GetPath
(
$arFields
[
'PROPERTY_IMG_768_VALUE'
]);
$img767
=
CFile
::
GetPath
(
$arFields
[
'PROPERTY_IMG_767_VALUE'
]);
$photocontent
.=
'<figure class="swiper-slide">
<picture>
<source media="(min-width: 1921px)" srcset="'
.
$img1921
.
'" type="image/webp">
<source media="(min-width: 768px)" srcset="'
.
$img768
.
'" type="image/webp">
<source media="(max-width: 767px)" srcset="'
.
$img767
.
'" type="image/webp">
<img src="'
.
$img
.
'" srcset="'
.
$img
.
'" alt="Картинка" width="801" height="818" loading="lazy">
</picture>
<figcaption>'
.
$arFields
[
'NAME'
]
.
'</figcaption>
</figure>'
;
}
}
$photocontent
.=
'
</div>
</div>
</div>'
;
$arResult
[
'DETAIL_TEXT'
]
=
str_replace
(
"PHOTOGALLERY"
,
$photocontent
,
$arResult
[
'DETAIL_TEXT'
]);
}
local/templates/newudv/components/bitrix/news/news/bitrix/news.detail/.default/template.php
View file @
6bdb489c
This diff is collapsed.
Click to expand it.
local/templates/newudv/components/bitrix/news/news/bitrix/news.list/.default/result_modifier.php
View file @
6bdb489c
<?
if
(
!
defined
(
'B_PROLOG_INCLUDED'
)
||
B_PROLOG_INCLUDED
!==
true
)
die
();
if
(
!
empty
(
$arResult
[
"ITEMS"
]))
{
$arResult
[
'MAIN'
]
=
[];
...
...
@@ -21,20 +20,9 @@ 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
[
'MAIN'
]
=
$arResult
[
'ITEMS'
][
0
];
unset
(
$arResult
[
'ITEMS'
][
0
]);
}
//хештеги
$arResult
[
'HASHTAGS'
]
=
[];
$arFilter
=
Array
(
...
...
@@ -71,6 +59,33 @@ while($ob = $res->GetNextElement()) {
$arResult
[
'TITLE'
]
=
$arItem
;
}
// поля подписка на рассылку
$IblockId
=
71
;
// инфоблок
$arFilter
=
Array
(
"IBLOCK_ID"
=>
$IblockId
,
"ACTIVE"
=>
"Y"
,
"ID"
=>
525
);
$arSelect
=
Array
(
"ID"
,
"IBLOCK_ID"
,
"NAME"
,
"PREVIEW_TEXT"
,
"PROPERTY_TITLE"
,
"PROPERTY_TAG"
,
"PROPERTY_BOOK"
);
//IBLOCK_ID и ID
$res
=
CIBlockElement
::
GetList
(
Array
(),
$arFilter
,
false
,
array
(
'nTopCount'
=>
1
),
$arSelect
);
while
(
$ob
=
$res
->
GetNextElement
())
{
$arItem
=
$ob
->
GetFields
();
$arResult
[
'SUBSCRIBE-TITLE'
]
=
$arItem
[
'~PROPERTY_TITLE_VALUE'
][
'TEXT'
];
$arResult
[
'SUBSCRIBE-TEXT'
]
=
$arItem
[
'PREVIEW_TEXT'
];
$arResult
[
'SUBSCRIBE-BOOK'
]
=
$arItem
[
'PROPERTY_BOOK_VALUE'
];
}
...
...
local/templates/newudv/components/bitrix/news/news/bitrix/news.list/.default/template.php
View file @
6bdb489c
...
...
@@ -14,6 +14,32 @@ $this->setFrameMode(true);
if
(
empty
(
$arResult
[
"ITEMS"
]))
{
return
;
}
if
(
$arResult
[
'MAIN'
][
'PROPERTIES'
][
"HASHTAG"
][
"VALUE"
]){
$hash
=
\Cutil
::
translit
((
string
)
$arResult
[
'MAIN'
][
'PROPERTIES'
][
"HASHTAG"
][
"VALUE"
],
"ru"
,[
"replace_space"
=>
"-"
,
"replace_other"
=>
"-"
]);
}
else
$hash
=
""
;
if
(
$_GET
[
'hash'
]){
$hash1
=
\Cutil
::
translit
((
string
)
$_GET
[
'hash'
],
"ru"
,[
"replace_space"
=>
"-"
,
"replace_other"
=>
"-"
]);
?>
<style>
@media
(
max-width
:
767px
)
{
.news__top-news
{
display
:
none
;
}
.news__top-news
[
data-hash
=
"
<?=
$hash1
?>
"
]
{
display
:
block
;
}
}
</style>
<?php
}
?>
<div
class=
"container container--pt-header container--mb"
>
...
...
@@ -54,12 +80,13 @@ if (empty($arResult["ITEMS"])) {
echo
$arResult
[
'TITLE'
][
'PREVIEW_TEXT'
];
}
else
{
?>
UDV Group предоставляет единый портфель решений для
защиты технологических сетей,
корпоративного сегмента и
автоматизации в
области объектовой безопасности.
корпоративного сегм
инутм
ента и
автоматизации в
области объектовой безопасности.
<?
}
?>
</div>
<div
class=
"news__top-news"
>
<div
class=
"news__top-news"
data-hash-mobile=
"
<?=
$hash
?>
"
>
<div
class=
"article-card news__top-news-card article-card--big"
>
<a
class=
"article-card__inner"
href=
"
<?=
$arResult
[
'MAIN'
][
'DETAIL_PAGE_URL'
]
?>
"
>
<a
data-hash-mobile=
"
<?=
$hash
?>
"
class=
"article-card__inner"
href=
"
<?=
$arResult
[
'MAIN'
][
'DETAIL_PAGE_URL'
]
?>
"
>
<?
if
(
$arResult
[
'MAIN'
][
'PREVIEW_PICTURE'
][
'SRC'
])
{
?>
<div
class=
"article-card__image"
>
<picture>
...
...
@@ -98,7 +125,7 @@ if (empty($arResult["ITEMS"])) {
xlink:href=
"#ai:local:icon-clock"
></use>
</svg>
<?=
$arResult
[
'MAIN'
][
'PROPERTIES'
][
"TIME"
][
"VALUE"
]
?>
минут
<?=
minut
(
$arResult
[
'MAIN'
][
'PROPERTIES'
][
"TIME"
][
"VALUE"
])
?>
</span>
</div>
...
...
@@ -149,13 +176,13 @@ if (empty($arResult["ITEMS"])) {
</div>
</div>
<div
class=
"subscribe-form__inner"
>
<h3
class=
"title subscribe-form__title"
>
Подпишитесь
<br>
на
нашу рассылку
</h3>
<p
class=
"subscribe-form__description"
>
Будьте в курсе самых важных событий UDV
Group.
</p>
<h3
class=
"title subscribe-form__title"
>
<?=
$arResult
[
'SUBSCRIBE-TITLE'
]
?>
</h3>
<p
class=
"subscribe-form__description"
>
<?=
$arResult
[
'SUBSCRIBE-TEXT'
]
?>
</p>
</div>
<div
class=
"subscribe-form__form"
data-form-validate=
""
data-callback=
"subscribe"
data-button-disabled=
""
>
<form
action=
"#"
id=
"news-form"
novalidate=
""
>
<input
type=
"hidden"
name=
"listid"
value=
"
<?=
$arResult
[
'SUBSCRIBE-BOOK'
]
?>
"
>
<div
class=
"subscribe-form__fields"
>
<div
class=
"custom-input subscribe-form__field"
data-validate-type=
"email"
data-required=
""
data-message-base=
"Заполните поле"
...
...
@@ -216,7 +243,7 @@ if (empty($arResult["ITEMS"])) {
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"
>
<a
class=
"all-link"
href=
"
/about/news/
#page2"
>
<a
class=
"all-link"
href=
"#page2"
>
<button
class=
"article-controls__btn
<?=
(
!
$_GET
[
'hash'
])
?
'is-active'
:
''
?>
"
data-articles=
"all"
>
<span
class=
"article-controls__icon"
>
...
...
@@ -241,7 +268,7 @@ if (empty($arResult["ITEMS"])) {
?>
<li
class=
"article-controls__item swiper-slide "
data-tabs-controls-slider=
"slide"
>
<a
class=
"hash-link"
data-name=
"
<?=
$hash
?>
"
href=
"?hash=
<?=
trim
(
$item
)
?>
#page"
>
?>
#page
2
"
>
<button
class=
"article-controls__btn
<?=
(
$_GET
[
'hash'
]
==
trim
(
$item
))
?
'is-active'
:
''
?>
"
data-articles=
"eco"
>
<span
class=
"article-controls__icon"
>
...
...
@@ -262,6 +289,11 @@ if (empty($arResult["ITEMS"])) {
</div>
<?
$GLOBALS
[
'arrFilter'
]
=
array
(
'!ID'
=>
$arResult
[
'MAIN'
][
'ID'
]);
if
(
$_GET
[
'hash'
]){
$GLOBALS
[
'arrFilter'
][
'PROPERTY_HASHTAG'
]
=
$_GET
[
'hash'
];
}
$APPLICATION
->
IncludeComponent
(
"bitrix:news.list"
,
"news_tags"
,
...
...
local/templates/newudv/components/bitrix/news/products/bitrix/news.detail/.default/template.php
View file @
6bdb489c
...
...
@@ -72,6 +72,9 @@ if ($adv767=="") {
$faqimg
=
CFile
::
GetPath
(
$arResult
[
"PROPERTIES"
][
'BG_FAQ'
][
"VALUE"
]);
$navIcon
=
CFile
::
GetPath
(
$arResult
[
'PROPERTIES'
][
'NAV_ICON'
][
'VALUE'
]);
if
(
$faqimg
==
""
)
{
$faqimg
=
SITE_TEMPLATE_PATH
.
"/images/bg/bg-faq-cta.png"
;
}
...
...
@@ -249,9 +252,9 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
<div
class=
"product-header__line"
></div>
<div
class=
"product-header__inner"
data-product-header=
"inner"
>
<div
class=
"product-header__icon product-header__icon--data"
>
<?
if
(
is_array
(
$arResult
[
'PROPERTIES'
][
'NAV_ICON'
][
'~VALUE'
])){
echo
$arResult
[
'PROPERTIES'
][
'NAV_ICON'
][
'~VALUE'
][
'TEXT'
];
}
else
{
?>
<?
if
(
$navIcon
){
?>
<img
src=
"
<?=
$navIcon
?>
"
alt=
"Картинка"
width=
"32"
height=
"32"
loading=
"lazy"
>
<?
}
else
{
?>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 32 32"
data-icon=
"icon-data-pk"
>
<symbol
id=
"ai:local:icon-data-pk"
><g
fill=
"none"
stroke-width=
"1.5"
><path
stroke=
"#0B2027"
stroke-linecap=
"round"
stroke-linejoin=
"round"
d=
"M16.102 29.334a2.424 2.424 0 0 1-2.424-2.425V26.8a1.999 1.999 0 0 0-1.31-1.83 2 2 0 0 0-2.205.4l-.073.073a2.427 2.427 0 1 1-3.43-3.43l.072-.073a2 2 0 0 0 .4-2.206 2 2 0 0 0-1.83-1.213h-.206a2.424 2.424 0 1 1 0-4.848h.11a2 2 0 0 0 1.83-1.309 2 2 0 0 0-.4-2.206l-.073-.073a2.425 2.425 0 1 1 3.43-3.43l.073.073a2 2 0 0 0 2.206.4h.097a2 2 0 0 0 1.212-1.83V5.09a2.424 2.424 0 0 1 2.424-2.424"
></path><path
stroke=
"#00D29D"
d=
"M19.146 16a3.546 3.546 0 1 1-7.093 0 3.546 3.546 0 0 1 7.092 0Z"
></path><circle
cx=
"27.416"
cy=
"16.001"
r=
"2.472"
stroke=
"#00D29D"
></circle><circle
cx=
"25.259"
cy=
"6.334"
r=
"2.472"
stroke=
"#00D29D"
></circle><circle
cx=
"25.259"
cy=
"25.668"
r=
"2.472"
stroke=
"#00D29D"
></circle><path
stroke=
"#00D29D"
stroke-linecap=
"round"
d=
"m18.818 12.778 4.297-4.297m-4.297 10.741 4.297 4.297M18.818 16h6.445"
></path></g></symbol><use
xlink:href=
"#ai:local:icon-data-pk"
></use>
</svg>
...
...
@@ -837,8 +840,11 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
</svg>
</button>
<div
class=
"materials__media-text-wrap"
>
<h3
class=
"title materials__media-title"
>
<?=
$arResult
[
'NAME'
]
?>
</h3>
<p
class=
"materials__media-text"
>
Презентация продукта
</p>
<h3
class=
"title materials__media-title"
>
<?=
$arResult
[
'PROPERTIES'
][
'PREZENT_H3_VIDEO'
][
'VALUE'
]
?>
</h3>
<?
if
(
is_array
(
$arResult
[
'PROPERTIES'
][
'PREZENT_TEXT_VIDEO'
][
'~VALUE'
])){
?>
<p
class=
"materials__media-text"
>
<?=
$arResult
[
'PROPERTIES'
][
'PREZENT_TEXT_VIDEO'
][
'~VALUE'
][
'TEXT'
]
?>
</p>
<?
}
?>
</div>
</div>
</div>
...
...
local/templates/newudv/components/bitrix/news/solutions/bitrix/news.detail/.default/template.php
View file @
6bdb489c
...
...
@@ -240,16 +240,19 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
<div
class=
"number-element"
data-da-max=
".capability__main, 767, last"
>
<div
class=
"number-element__inner"
>
<div
class=
"number-element__top"
>
<span
class=
"number-element__icon
<?=
(
$arResult
[
'PROPERTIES'
][
'REMONT_ARROW'
][
'VALUE_ENUM_ID'
]
==
21
)
?
'up'
:
''
?>
"
>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 51 51"
data-icon=
"icon-arrow-down"
>
<symbol
id=
"ai:local:icon-arrow-down"
><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.5"
d=
"M25.5 40.375v-29.75M14.875 29.75 25.5 40.375M36.125 29.75 25.5 40.375"
></path></symbol><use
xlink:href=
"#ai:local:icon-arrow-down"
></use>
</svg>
</span>
<p
class=
"number-element__value"
>
<?=
$arResult
[
'PROPERTIES'
][
'REMONT_NUMBER'
][
'VALUE'
]
?>
%
</p>
<span
class=
"number-element__icon
<?=
(
$arResult
[
'PROPERTIES'
][
'REMONT_ARROW'
][
'VALUE_ENUM_ID'
]
==
21
)
?
'up'
:
''
?>
"
>
<?
if
(
$arResult
[
'PROPERTIES'
][
'REMONT_ARROW'
][
'VALUE_ENUM_ID'
]){
?>
<svg
width=
"1em"
height=
"1em"
viewBox=
"0 0 51 51"
data-icon=
"icon-arrow-down"
>
<symbol
id=
"ai:local:icon-arrow-down"
><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"1.5"
d=
"M25.5 40.375v-29.75M14.875 29.75 25.5 40.375M36.125 29.75 25.5 40.375"
></path></symbol><use
xlink:href=
"#ai:local:icon-arrow-down"
></use>
</svg>
<?
}
?>
</span>
<p
class=
"number-element__value"
>
<?=
$arResult
[
'PROPERTIES'
][
'REMONT_NUMBER'
][
'VALUE'
]
?>
</p>
<?
if
(
$remontIcon
){
?>
<span
class=
"number-element__image"
>
<img
src=
"
<?=
$remontIcon
?>
"
alt=
"Картинка"
width=
"51"
height=
"51"
...
...
@@ -327,8 +330,8 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
$btnWrite
=
$arResult
[
'PROPERTIES'
][
'BTN_WRITE'
][
'VALUE'
];
}
else
$btnWrite
=
"связаться снами"
;
if
(
$arResult
[
'PROPERTIES'
][
'
BTN
_WRITE'
][
'VALUE'
]){
$btnLink
=
$arResult
[
'PROPERTIES'
][
'
BTN_LINK
'
][
'VALUE'
];
if
(
$arResult
[
'PROPERTIES'
][
'
LINK
_WRITE'
][
'VALUE'
]){
$btnLink
=
$arResult
[
'PROPERTIES'
][
'
LINK_WRITE
'
][
'VALUE'
];
}
else
$btnLink
=
"#write-to-us-form"
;
?>
...
...
local/templates/newudv/components/bitrix/system.pagenavigation/round/template.php
View file @
6bdb489c
...
...
@@ -116,7 +116,8 @@ if ($APPLICATION->GetCurDir()=="/about/events/"){
<
li
class
="
pagination__item
"><a class="
pagination__link
" href="
<?=
$arResult
[
"sUrlPath"
]
?>
?
<?=
$strNavQueryString
?>
PAGEN_
<?=
$arResult
[
"NavNum"
]
?>
=
<?=
(
$arResult
[
"NavPageNomer"
]
-
1
)
?>
">
<span>
<?
echo
GetMessage
(
"round_nav_back"
)
?>
</span></a></li>
<?
else
:?>
<
a
class
="
pagination__link
" href="
<?=
$arResult
[
"sUrlPath"
]
?><?=
$strNavQueryStringFull
?>
">
<span>
<?
echo
GetMessage
(
"round_nav_back"
)
?>
</span></a></li>
<
a
class
="
pagination__link
4343434
" href="
<?=
$arResult
[
"sUrlPath"
]
?><?=
$strNavQueryStringFull
?>
">
<span
>
<?
echo
GetMessage
(
"round_nav_back"
)
?>
</span></a></li>
<?
endif
?>
<li
class=
"pagination__item"
><a
class=
"pagination__link"
href=
"
<?=
$arResult
[
"sUrlPath"
]
?><?=
$strNavQueryStringFull
?>
"
><span>
1
</span></a></li>
...
...
@@ -143,7 +144,8 @@ if ($APPLICATION->GetCurDir()=="/about/events/"){
<?
if
(
$arResult
[
"NavPageCount"
]
>
1
)
:?>
<
li
class
="
pagination__item
"><a class="
pagination__link
" href="
<?=
$arResult
[
"sUrlPath"
]
?>
?
<?=
$strNavQueryString
?>
PAGEN_
<?=
$arResult
[
"NavNum"
]
?>
=
<?=
$arResult
[
"NavPageCount"
]
?>
">
<span>
<?=
$arResult
[
"NavPageCount"
]
?>
</span></a></li>
<?
endif
?>
<a
class=
"pagination__link"
href=
"
<?=
$arResult
[
"sUrlPath"
]
?>
?
<?=
$strNavQueryString
?>
PAGEN_
<?=
$arResult
[
"NavNum"
]
?>
=
<?=
(
$arResult
[
"NavPageNomer"
]
+
1
)
?>
"
><span>
<?
echo
GetMessage
(
"round_nav_forward"
)
?>
</span></a></li>
<a
class=
"pagination__link pagination-last"
href=
"
<?=
$arResult
[
"sUrlPath"
]
?>
?
<?=
$strNavQueryString
?>
PAGEN_
<?=
$arResult
[
"NavNum"
]
?>
=
<?=
(
$arResult
[
"NavPageNomer"
]
+
1
)
?>
"
><span>
<?
echo
GetMessage
(
"round_nav_forward"
)
?>
</span></a></li>
<?
else
:?>
<?
if
(
$arResult
[
"NavPageCount"
]
>
1
)
:?>
<
li
class
="
pagination__item
"><span class="
pagination__link
pagination__link
--
current
"><?=
$arResult["NavPageCount"]
?></span></li>
...
...
local/templates/newudv/css/custom.css
View file @
6bdb489c
...
...
@@ -13,7 +13,7 @@
}
.news
#page2
{
position
:
relative
;
top
:
-
6
0px
;
top
:
-
12
0px
;
height
:
0px
;
}
@media
(
max-width
:
767px
)
{
...
...
@@ -31,5 +31,9 @@
line-height
:
.9rem
;
}
.news
#page2
{
top
:
-505px
;
}
}
\ No newline at end of file
local/templates/newudv/footer.php
View file @
6bdb489c
...
...
@@ -305,10 +305,13 @@
<div
class=
"modal-tell"
>
<h2
class=
"modal-tell__title"
>
Расскажите о себе
</h2>
<?
$fields
=
fields
(
494
);
?>
<?
$fields
=
fields
(
494
);
$book
=
book
();
?>
<div
class=
"modal-tell__form"
data-form-validate
data-callback=
"application"
>
<form
action=
"#"
novalidate
>
<form
action=
"#"
id=
"about-form"
novalidate=
""
>
<input
type=
"hidden"
name=
"listid"
value=
"
<?=
$book
?>
"
>
<div
class=
"modal-tell__fields"
>
<div
class=
"custom-input modal-tell__field custom-input--dark"
data-validate-type=
"text"
data-required
data-message-base=
"
<?=
$fields
[
'HINT_1'
]
?>
"
...
...
@@ -325,7 +328,7 @@
<div
class=
"custom-input modal-tell__field custom-input--dark"
data-validate-type=
"text"
data-required
data-message-base=
"
<?=
$fields
[
'HINT_1'
]
?>
"
data-message-extra=
"
<?=
$fields
[
'HINT_2'
]
?>
"
data-message-succes=
""
data-input-focus
>
<label>
<input
type=
"text"
name=
"
name
"
minlength=
"2"
maxlength=
"20"
/>
<input
type=
"text"
name=
"
family
"
minlength=
"2"
maxlength=
"20"
/>
<span
class=
"custom-input__label"
>
<?=
$fields
[
'NAME'
]
?>
</span>
</label>
...
...
@@ -335,7 +338,7 @@
<div
class=
"custom-input modal-tell__field custom-input--dark"
data-validate-type=
"phone"
data-required
data-message-base=
"
<?=
$fields
[
'HINT_1'
]
?>
"
data-message-extra=
"
<?=
$fields
[
'HINT_2'
]
?>
"
data-message-succes=
""
data-input-focus
>
<label>
<input
type=
"tel"
name=
"
email
"
maxlength=
"256"
/>
<input
type=
"tel"
name=
"
phone
"
maxlength=
"256"
/>
<span
class=
"custom-input__label"
>
<?=
$fields
[
'NAME'
]
?>
</span>
</label>
...
...
@@ -355,7 +358,7 @@
<div
class=
"custom-input modal-tell__field custom-input--dark"
data-validate-type=
"text"
data-required
data-message-base=
"
<?=
$fields
[
'HINT_1'
]
?>
"
data-message-extra=
"
<?=
$fields
[
'HINT_2'
]
?>
"
data-message-succes=
""
data-input-focus
>
<label>
<input
type=
"text"
name=
"
name
"
minlength=
"2"
maxlength=
"20"
/>
<input
type=
"text"
name=
"
vakansy
"
minlength=
"2"
maxlength=
"20"
/>
<span
class=
"custom-input__label"
>
<?=
$fields
[
'NAME'
]
?>
</span>
</label>
...
...
@@ -365,7 +368,7 @@
<div
class=
"custom-input modal-tell__field custom-input--dark"
data-validate-type=
"text"
data-message-base=
"
<?=
$fields
[
'HINT_1'
]
?>
"
data-message-extra=
"
<?=
$fields
[
'HINT_2'
]
?>
"
data-message-succes=
""
data-input-focus
>
<label>
<input
type=
"text"
name=
"
name
"
minlength=
"2"
maxlength=
"256"
/>
<input
type=
"text"
name=
"
zp
"
minlength=
"2"
maxlength=
"256"
/>
<span
class=
"custom-input__label"
>
<?=
$fields
[
'NAME'
]
?>
</span>
</label>
...
...
@@ -376,7 +379,7 @@
custom-input--dark"
data-validate-type=
"text"
data-message-base=
"
<?=
$fields
[
'HINT_1'
]
?>
"
data-message-extra=
"
<?=
$fields
[
'HINT_2'
]
?>
"
data-message-succes=
""
data-input-focus
>
<label>
<input
type=
"text"
name=
"
na
me"
minlength=
"2"
maxlength=
"256"
/>
<input
type=
"text"
name=
"
rezu
me"
minlength=
"2"
maxlength=
"256"
/>
<span
class=
"custom-input__label"
>
<?=
$fields
[
'NAME'
]
?>
</span>
</label>
...
...
local/templates/newudv/header.php
View file @
6bdb489c
...
...
@@ -274,14 +274,12 @@ $assets = Asset::getInstance();
</button>
</div>
<div
class=
"main-nav__submenu-list-wrap"
>
<?
$products
=
ProductMenu
(
11
);
foreach
(
$products
as
$k
=>
$product
)
:
<?
$products
=
ProductMenu1
(
11
);
?>
<div
class=
"main-nav__submenu-column"
>
<span
class=
"main-nav__submenu-list-title"
>
<?=
$product
[
'NAME'
]
?>
</span
>
<!-- <span class="main-nav__submenu-list-title">-->
<?
//=$product['NAME']?><!--</span>--
>
<
ul
class
="
main
-
nav__submenu
-
list
">
<?
foreach
(
$product
[
'ITEMS'
]
as
$item
)
:?>
<? foreach (
$product
s['ITEMS']
as
$k
=>
$item
):?>
<li class="
main
-
nav__submenu
-
item
">
<a class="
main
-
nav__submenu
-
link
" href="
<?=
$item
[
'DETAIL_PAGE_URL'
]
?>
"
data-close-menu>
...
...
@@ -299,12 +297,10 @@ $assets = Asset::getInstance();
<span
class=
"main-nav__submenu-link-description"
>
<?=
$item
[
'PROPERTY_MP_PREVIEW_TEXT_VALUE'
][
'TEXT'
]
?>
</span>
</a>
</li>
<?
endforeach
;
?>
<?
if
(
$k
==
2
){
?>
<li
class=
"main-nav__submenu-item main-nav__submenu-item--all"
>
<a
class=
"main-nav__submenu-link"
href=
"/products/"
data-close-menu=
""
>
<?
if
(
$k
+
1
==
count
(
$products
[
'ITEMS'
])){
?>
<li
class=
"main-nav__submenu-item main-nav__submenu-item--all"
>
<a
class=
"main-nav__submenu-link"
href=
"/products/"
data-close-menu=
""
>
<span
class=
"main-nav__submenu-link-text"
>
Все продукты
<span
class=
"main-nav__submenu-link-icon"
>
...
...
@@ -315,14 +311,23 @@ $assets = Asset::getInstance();
</svg>
</span>
</span>
<span
class=
"main-nav__submenu-link-description"
></span>
</a>
</li>
<?
}
?>
<span
class=
"main-nav__submenu-link-description"
></span>
</a>
</li>
<?
}
?>
<?
if
(
$k
>
0
&&
(
$k
+
1
)
%
4
==
0
){
?>
</ul>
</div>
<div
class=
"main-nav__submenu-column"
>
<ul
class=
"main-nav__submenu-list"
>
<?
}
?>
<?
endforeach
;
?>
</ul>
</div>
<?
endforeach
;
?>
</div>
</div>
...
...
local/templates/newudv/js/script.js
View file @
6bdb489c
This diff is collapsed.
Click to expand it.
local/templates/newudv/styles.css
0 → 100644
View file @
6bdb489c
blockquote
{
position
:
relative
;
margin
:
0
0
3.75rem
;
padding
:
3rem
8.125rem
3rem
3rem
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
-webkit-box-orient
:
vertical
;
-webkit-box-direction
:
normal
;
-ms-flex-direction
:
column
;
flex-direction
:
column
;
gap
:
2rem
;
}
blockquote
:last-child
{
margin-bottom
:
0
;
}
.article__content
{
}
\ No newline at end of file
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