Послдение правки страниц

parent a10e615d
...@@ -8,8 +8,8 @@ $aMenuLinks = Array( ...@@ -8,8 +8,8 @@ $aMenuLinks = Array(
"" ""
), ),
Array( Array(
"Новости", "Блог",
SITE_DIR."/about/news/", SITE_DIR."/about/blog/",
Array(), Array(),
Array(), Array(),
"" ""
......
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); <?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Новый раздел"); $APPLICATION->SetTitle("Новый раздел");
$fields = fields(504); $arItems = [];
echo "<pre>"; $arSelect = array(
print_r($fields); "ID", "IBLOCK_ID", "NAME", "PROPERTY_ICON", "PROPERTY_LINK");
echo "</pre>"; $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;
}
?> ?>
......
...@@ -8,7 +8,7 @@ $arFilter = Array( ...@@ -8,7 +8,7 @@ $arFilter = Array(
"ID"=>480 "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()) { ...@@ -19,6 +19,8 @@ while($ob = $res->GetNextElement()) {
$title = $arItem['~PROPERTY_TITLE_VALUE']['TEXT']; $title = $arItem['~PROPERTY_TITLE_VALUE']['TEXT'];
$text = $arItem['PREVIEW_TEXT']; $text = $arItem['PREVIEW_TEXT'];
$tag = $arItem['PROPERTY_TAG_VALUE']; $tag = $arItem['PROPERTY_TAG_VALUE'];
$book=$arItem['PROPERTY_BOOK_VALUE'];
...@@ -64,7 +66,8 @@ id="write-to-us-form"> ...@@ -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> <div class="write-to-us-form__form" data-form-validate data-callback="request" data-button-disabled>
<form action="#" id="event-form" novalidate=""> <form action="#" id="event-form" novalidate="">
<input type="hidden" name="url" value="<?=$APPLICATION->GetCurDir()?>"> <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="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=""> <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> <label>
......
<?// заголовки
\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"> <section class="page-section page-section--p-b" id="demo">
<div class="write-to-us-form"> <div class="write-to-us-form">
<div class="container write-to-us-form__container"> <div class="container write-to-us-form__container">
...@@ -30,20 +60,20 @@ ...@@ -30,20 +60,20 @@
</div> </div>
<div class="section-title write-to-us-form__title"> <div class="section-title write-to-us-form__title">
<div class="section-title__wrap"> <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" <h2 data-animate="title" class="title title--h2 section-title__title words lines
style="--word-total: 7; --line-total: 2;">закажите персональную демонстрацию продукта</h2> splitting"><?=$title?></h2>
</div> </div>
</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>
<div class="write-to-us-form__form" data-form-validate="" data-callback="request" <div class="write-to-us-form__form" data-form-validate="" data-callback="request"
data-button-disabled=""> data-button-disabled="">
<form action="#" id="product-form" novalidate=""> <form action="#" id="product-form" novalidate="">
<input type="hidden" name="url" value="<?=$APPLICATION->GetCurDir()?>"> <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="write-to-us-form__fields">
<div class="custom-input write-to-us-form__field write-to-us-form__field--wide" <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-validate-type="text" data-required="" data-message-base="Введите имя"
data-message-extra="Введите корректное имя" data-message-succes="" data-input-focus=""> data-message-extra="Введите корректное имя" data-message-succes="" data-input-focus="">
......
...@@ -5,10 +5,11 @@ $IblockId=71;// инфоблок ...@@ -5,10 +5,11 @@ $IblockId=71;// инфоблок
$arFilter = Array( $arFilter = Array(
"IBLOCK_ID"=>$IblockId, "IBLOCK_ID"=>$IblockId,
"ACTIVE"=>"Y", "ACTIVE"=>"Y",
"ID"=>457 "ID"=>507
); );
$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); $res = CIBlockElement::GetList(Array(), $arFilter, false,array('nTopCount'=>1), $arSelect);
...@@ -17,6 +18,8 @@ $arItem = $ob->GetFields(); ...@@ -17,6 +18,8 @@ $arItem = $ob->GetFields();
$title = $arItem['~PROPERTY_TITLE_VALUE']['TEXT']; $title = $arItem['~PROPERTY_TITLE_VALUE']['TEXT'];
$text = $arItem['PREVIEW_TEXT']; $text = $arItem['PREVIEW_TEXT'];
$tag = $arItem['PROPERTY_TAG_VALUE'];
$book=$arItem['PROPERTY_BOOK_VALUE'];
} }
...@@ -55,7 +58,7 @@ $arItem = $ob->GetFields(); ...@@ -55,7 +58,7 @@ $arItem = $ob->GetFields();
</div> </div>
<div class="section-title write-to-us-form__title"> <div class="section-title write-to-us-form__title">
<div class="section-title__wrap"> <div class="section-title__wrap">
<p class="section-title__badge">оставьте заявку</p> <p class="section-title__badge"><?=$tag?></p>
<h2 data-animate="title" <h2 data-animate="title"
class="title title--h2 section-title__title words lines splitting class="title title--h2 section-title__title words lines splitting
is-show"><?=$title?></h2> is-show"><?=$title?></h2>
...@@ -67,6 +70,7 @@ $arItem = $ob->GetFields(); ...@@ -67,6 +70,7 @@ $arItem = $ob->GetFields();
<div class="write-to-us-form__form" data-form-validate="" data-callback="request" <div class="write-to-us-form__form" data-form-validate="" data-callback="request"
data-button-disabled=""> data-button-disabled="">
<form action="#" id="event-form" novalidate=""> <form action="#" id="event-form" novalidate="">
<input type="hidden" name="listid" value="<?=$book?>">
<div class="write-to-us-form__fields"> <div class="write-to-us-form__fields">
<div class="custom-input write-to-us-form__field write-to-us-form__field--wide" <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-validate-type="text" data-required="" data-message-base="Введите имя"
...@@ -92,7 +96,7 @@ $arItem = $ob->GetFields(); ...@@ -92,7 +96,7 @@ $arItem = $ob->GetFields();
data-message-base="Введите номер телефона" data-message-extra="Не корректный номер" data-message-base="Введите номер телефона" data-message-extra="Не корректный номер"
data-message-succes="" data-input-focus="" data-phone-length="18"> data-message-succes="" data-input-focus="" data-phone-length="18">
<label> <label>
<input type="tel" name="email" maxlength="256"> <input type="tel" name="phone" maxlength="256">
<span class="custom-input__label">Номер телефона</span> <span class="custom-input__label">Номер телефона</span>
</label> </label>
......
...@@ -8,7 +8,7 @@ $arFilter = Array( ...@@ -8,7 +8,7 @@ $arFilter = Array(
"ID"=>479 "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()) { ...@@ -19,6 +19,7 @@ while($ob = $res->GetNextElement()) {
$title = $arItem['~PROPERTY_TITLE_VALUE']['TEXT']; $title = $arItem['~PROPERTY_TITLE_VALUE']['TEXT'];
$text = $arItem['PREVIEW_TEXT']; $text = $arItem['PREVIEW_TEXT'];
$tag = $arItem['PROPERTY_TAG_VALUE']; $tag = $arItem['PROPERTY_TAG_VALUE'];
$book=$arItem['PROPERTY_BOOK_VALUE'];
...@@ -64,7 +65,7 @@ id="write-to-us-form"> ...@@ -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> <div class="write-to-us-form__form" data-form-validate data-callback="request" data-button-disabled>
<form action="#" id="event-form" novalidate=""> <form action="#" id="event-form" novalidate="">
<input type="hidden" name="url" value="<?=$APPLICATION->GetCurDir()?>"> <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="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=""> <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> <label>
......
<?
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'],
// ),
// ));
}
?>
...@@ -4,8 +4,8 @@ use Bitrix\Main\Mail\Event; ...@@ -4,8 +4,8 @@ use Bitrix\Main\Mail\Event;
if ($_POST['name']){ if ($_POST['name']){
if ($_POST['list']){ if ($_POST['listid']){
$listId=(int)$_POST['list']; $listId=(int)$_POST['listid'];
} else $listId=82; } else $listId=82;
echo sendUnicender($_POST['name'],$_POST['phone'],$_POST['email'],$listId); echo sendUnicender($_POST['name'],$_POST['phone'],$_POST['email'],$listId);
Event::send(array( Event::send(array(
......
...@@ -4,8 +4,8 @@ use Bitrix\Main\Mail\Event; ...@@ -4,8 +4,8 @@ use Bitrix\Main\Mail\Event;
if ($_POST['name']){ if ($_POST['name']){
if ($_POST['list']){ if ($_POST['listid']){
$listId=(int)$_POST['list']; $listId=(int)$_POST['listid'];
} else $listId=82; } else $listId=82;
echo sendUnicender($_POST['name'],$_POST['phone'],$_POST['email'],$listId); echo sendUnicender($_POST['name'],$_POST['phone'],$_POST['email'],$listId);
Event::send(array( Event::send(array(
......
<?
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
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};
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<? <?
$texts=[]; $texts=[];
$texts[]="Ключевая информация о компании"; $texts[]="Ключевая информация о компании";
$texts[]="Все события и анонсы мероприятий"; $texts[]="Узнайте больше об автоматизации безопасности";
$texts[]="Будущие и прошедшие мероприятия"; $texts[]="Будущие и прошедшие мероприятия";
$texts[]="Основные направления нашей работы"; $texts[]="Основные направления нашей работы";
$texts[]="Адреса и телефоны для связи"; $texts[]="Адреса и телефоны для связи";
......
...@@ -66,7 +66,7 @@ $this->setFrameMode(true); ...@@ -66,7 +66,7 @@ $this->setFrameMode(true);
<div class="hero__title-description-wrap"> <div class="hero__title-description-wrap">
<h1 class="title title--h1 hero__title"><?= $arItem["PREVIEW_TEXT"] ?></h1> <h1 class="title title--h1 hero__title"><?= $arItem["PREVIEW_TEXT"] ?></h1>
<p class="hero__text"><?= $arItem["DETAIL_TEXT"] ?></p> <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"> class="button__icon">
<svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-arrow-up-right"> <svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-arrow-up-right">
......
...@@ -11,6 +11,23 @@ ...@@ -11,6 +11,23 @@
/** @var string $componentPath */ /** @var string $componentPath */
/** @var CBitrixComponent $component */ /** @var CBitrixComponent $component */
$this->setFrameMode(true); $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"> <div id="page">
...@@ -35,10 +52,10 @@ $this->setFrameMode(true); ...@@ -35,10 +52,10 @@ $this->setFrameMode(true);
<p class="tag-text__text"><?=$soontop?></p> <p class="tag-text__text"><?=$soontop?></p>
</div> </div>
</div> </div>
<div class="article-card__image">
<? if ($arItem['PREVIEW_PICTURE']['SRC']) { <? if ($arItem['PREVIEW_PICTURE']['SRC']) {
$imgSrcMob = CFile::GetPath($arItem['PROPERTIES']['PREVIEW_PICTURE_MOB']['VALUE']); $imgSrcMob = CFile::GetPath($arItem['PROPERTIES']['PREVIEW_PICTURE_MOB']['VALUE']);
?> ?>
<div class="article-card__image">
<picture> <picture>
<source media="(min-width: 768px)" <source media="(min-width: 768px)"
srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>" srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>"
...@@ -51,8 +68,8 @@ $this->setFrameMode(true); ...@@ -51,8 +68,8 @@ $this->setFrameMode(true);
alt="<?= $arItem['NAME'] ?>" width="148" height="101" loading="lazy"> alt="<?= $arItem['NAME'] ?>" width="148" height="101" loading="lazy">
</picture> </picture>
</div>
<? } ?> <? } ?>
</div>
<h2 class="title article-card__title"><?= $arItem['NAME'] ?> </h2> <h2 class="title article-card__title"><?= $arItem['NAME'] ?> </h2>
<div class="article-card__text"> <div class="article-card__text">
<p><?= $arItem['PREVIEW_TEXT'] ?> </p> <p><?= $arItem['PREVIEW_TEXT'] ?> </p>
...@@ -91,8 +108,15 @@ $this->setFrameMode(true); ...@@ -91,8 +108,15 @@ $this->setFrameMode(true);
$imgSrcMob=CFile::GetPath($arItem["PROPERTIES"]['PREVIEW_PICTURE_MOB']['VALUE']); $imgSrcMob=CFile::GetPath($arItem["PROPERTIES"]['PREVIEW_PICTURE_MOB']['VALUE']);
$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')));
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"> <div class="article-card article-card--events-list">
<a class="article-card__inner" href="<?= $arItem['DETAIL_PAGE_URL'] ?>"> <a class="article-card__inner" href="<?= $arItem['DETAIL_PAGE_URL'] ?>">
<div class="article-card__status"> <div class="article-card__status">
......
...@@ -11,21 +11,7 @@ ...@@ -11,21 +11,7 @@
/** @var string $componentPath */ /** @var string $componentPath */
/** @var CBitrixComponent $component */ /** @var CBitrixComponent $component */
$this->setFrameMode(true); $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']){ ...@@ -83,8 +69,8 @@ if ($_GET['hash']){
<use xlink:href="#ai:local:icon-clock"></use> <use xlink:href="#ai:local:icon-clock"></use>
</svg> </svg>
<?= $arItem['PROPERTIES']["TIME"]["VALUE"] ?> минут <?=minut($arItem['PROPERTIES']["TIME"]["VALUE"]) ?>
</span> </span>
</div> </div>
</div> </div>
......
...@@ -78,9 +78,8 @@ $this->setFrameMode(true); ...@@ -78,9 +78,8 @@ $this->setFrameMode(true);
</div> </div>
<h3 class="link-card__title"><?=$arItem['NAME']?></h3> <h3 class="link-card__title"><?=$arItem['NAME']?></h3>
<p class="link-card__text"><?=$arItem['PREVIEW_TEXT']?></p> <p class="link-card__text"><?=$arItem['PREVIEW_TEXT']?></p>
<a href="<?=$arItem['PROPERTIES']['LINK']['VALUE']?>" class="button button--size-xl-m <a target="_blank" href="<?=$arItem['PROPERTIES']['LINK']['VALUE']?>" class="button button--size-xl-m
button--transparent button--transparent link-card__btn"><span class="button__text">перейти на сайт</span><span class="button__icon">
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"> <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> <use xlink:href="#ai:local:icon-arrow-up-right"></use>
......
...@@ -11,12 +11,15 @@ $arFilter = Array( ...@@ -11,12 +11,15 @@ $arFilter = Array(
"ID"=>371 "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); $res = CIBlockElement::GetList(Array(), $arFilter, false,array('nTopCount'=>1), $arSelect);
while($ob = $res->GetNextElement()) { while($ob = $res->GetNextElement()) {
$arItem = $ob->GetFields(); $arItem = $ob->GetFields();
$arResult['NAME'] = $arItem['~PROPERTY_TITLE_VALUE']['TEXT']; $arResult['NAME'] = $arItem['~PROPERTY_TITLE_VALUE']['TEXT'];
$arResult['TAG'] = $arItem['PROPERTY_TAG_VALUE']; $arResult['TAG'] = $arItem['PROPERTY_TAG_VALUE'];
$arResult['LINK'] = $arItem['PROPERTY_LINK_VALUE'];
$arResult['BTN_TEXT'] = $arItem['PROPERTY_BTN_TEXT_VALUE'];
} }
...@@ -31,11 +31,14 @@ $this->setFrameMode(true); ...@@ -31,11 +31,14 @@ $this->setFrameMode(true);
</div> </div>
</div> </div>
<a target="_blank" href="<?=$arResult['LINK']?>"
<a target="_blank" href="/about/news/?hash=пресс-релизы#page"
data-da-max=".other-news__list-wrap, 767, last" data-da-max=".other-news__list-wrap, 767, last"
class="button button--size-xl-m button--solid-white other-news__button"><span class="button button--size-xl-m button--solid-white other-news__button">
class="button__text">все пресс-релизы</span></a></div> <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"> <div class="other-news__list-wrap swiper swiper-backface-hidden" data-other-news-slider="container">
<ul class="other-news__list swiper-wrapper"> <ul class="other-news__list swiper-wrapper">
<? foreach ($arResult['ITEMS'] as $k => $arItem) { ?> <? foreach ($arResult['ITEMS'] as $k => $arItem) { ?>
......
...@@ -69,7 +69,7 @@ if (!empty($arResult['PROPERTIES']['PROGRAMM']['VALUE'])) { ...@@ -69,7 +69,7 @@ if (!empty($arResult['PROPERTIES']['PROGRAMM']['VALUE'])) {
//спикеры и учатстнки //спикеры и учатстнки
$iblockId=50; $iblockId=80;
if (!empty($arResult['PROPERTIES']['SPIKERS']['VALUE'])) { if (!empty($arResult['PROPERTIES']['SPIKERS']['VALUE'])) {
$arResult['SPIKERS'] = []; $arResult['SPIKERS'] = [];
...@@ -89,3 +89,32 @@ if (!empty($arResult['PROPERTIES']['SPIKERS']['VALUE'])) { ...@@ -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'];
}
...@@ -37,8 +37,8 @@ if (!$for767) { ...@@ -37,8 +37,8 @@ if (!$for767) {
$program=CFile::GetFileArray($arResult["PROPERTIES"]['PROGRAMM_FILE']["VALUE"]); $program=CFile::GetFileArray($arResult["PROPERTIES"]['PROGRAMM_FILE']["VALUE"]);
$src=$program['SRC']; $src=$program['SRC'];
$typ=explode("/",$program['CONTENT_TYPE']); $typ=explode(".",$program['ORIGINAL_NAME']);
$type=mb_strtoupper($typ[1]); $type=mb_strtoupper(end($typ));
$size=round($program['FILE_SIZE']/1000); $size=round($program['FILE_SIZE']/1000);
//добавление в календарь //добавление в календарь
...@@ -93,10 +93,35 @@ if ($arResult["PROPERTIES"]['PLACE_TAG']["VALUE"]){ ...@@ -93,10 +93,35 @@ if ($arResult["PROPERTIES"]['PLACE_TAG']["VALUE"]){
} else $placeTag="место"; } else $placeTag="место";
if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ if ($arResult['FORM_TAG']){
$formTag=$arResult["PROPERTIES"]['FORM_TAG']["VALUE"]; $formTag=$arResult['FORM_TAG'];
} else $formTag="оставьте заявку"; } else $formTag="оставьте заявку";
if (is_array($arResult["PROPERTIES"]['H2_KONF']["VALUE"])){
$h2Konf=$arResult["PROPERTIES"]['H2_KONF']["VALUE"]['TEXT'];
} else $h2Konf="О конференции";
if (is_array($arResult["PROPERTIES"]['H2_FOR']["VALUE"])){
$h2For=$arResult["PROPERTIES"]['H2_FOR']["VALUE"]['TEXT'];
} else $h2For="для кого предназначено мероприятие";
if (is_array($arResult["PROPERTIES"]['H2_PROGRAMM']["VALUE"])){
$h2Program=$arResult["PROPERTIES"]['H2_PROGRAMM']["VALUE"]['TEXT'];
} else $h2Program="программа мероприятия";
if (is_array($arResult["PROPERTIES"]['H2_SPIKERS']["VALUE"])){
$h2Spikers=$arResult["PROPERTIES"]['H2_SPIKERS']["VALUE"]['TEXT'];
} else $h2Spikers="спикеры и участники";
if (is_array($arResult["PROPERTIES"]['H2_VIDEO']["VALUE"])){
$h2Video=$arResult["PROPERTIES"]['H2_VIDEO']["VALUE"]['TEXT'];
} else $h2Video="видео о мероприятии";
if (is_array($arResult["PROPERTIES"]['H2_WHY']["VALUE"])){
$h2Why=$arResult["PROPERTIES"]['H2_WHY']["VALUE"]['TEXT'];
} else $h2Why="где пройдет мероприятие";
...@@ -158,7 +183,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -158,7 +183,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
<p><?=$arResult['PREVIEW_TEXT']?></p> <p><?=$arResult['PREVIEW_TEXT']?></p>
</div> </div>
<div class="event__description-wrap" data-da-max=".event__aside, 767,last"> <div class="event__description-wrap" data-da-max=".event__aside, 767,last">
<h2 class="title event__description-title">О конференции</h2> <h2 class="title event__description-title"><?=$h2Konf?></h2>
<div class="event__description"> <div class="event__description">
<?=$arResult['DETAIL_TEXT']?> <?=$arResult['DETAIL_TEXT']?>
</div> </div>
...@@ -194,7 +219,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -194,7 +219,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
</div> </div>
<?if ($arResult['PROPERTIES']['LINE']['VALUE']=="оффлайн" && <?if ($arResult['PROPERTIES']['LINE']['VALUE']=="оффлайн" &&
$arResult['PROPERTIES']['SITE']['VALUE']){ ?> $arResult['PROPERTIES']['SITE']['VALUE']){ ?>
<a href="<?= $arResult['PROPERTIES']['SITE']['VALUE']?>" class="button button--solid-green button--size-xl-m event__button <a target="_blank" href="<?= $arResult['PROPERTIES']['SITE']['VALUE']?>" class="button button--solid-green
button--size-xl-m event__button
event__button--reg"><span class="button__text">перейти на&nbsp;сайт мероприятия</span><span class="button__icon"> event__button--reg"><span class="button__text">перейти на&nbsp;сайт мероприятия</span><span class="button__icon">
<svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-arrow-up-right"> <svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-arrow-up-right">
...@@ -361,7 +387,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -361,7 +387,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
</div> </div>
</section> </section>
<section class="page-section page-section--no-pt"> <?if ($arResult['PROPERTIES']['WHY_HIDE']['VALUE']!="Да"){?>
<section class=" page-section page-section--no-pt">
<div class="audience"> <div class="audience">
<div class="audience__wrap"> <div class="audience__wrap">
...@@ -392,8 +419,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -392,8 +419,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
<div class="section-title__wrap"> <div class="section-title__wrap">
<p class="section-title__badge"><?=$forTag?></p> <p class="section-title__badge"><?=$forTag?></p>
<h2 data-animate="title" <h2 data-animate="title"
class="title title--h2 section-title__title words lines splitting" class="title title--h2 section-title__title words lines splitting"><?=$h2For?></h2>
style="--word-total: 4; --line-total: 2;">для кого предназначено мероприятие</h2>
</div> </div>
</div> </div>
...@@ -432,7 +458,9 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -432,7 +458,9 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
</div> </div>
</section> </section>
<section class="page-section"> <?}?>
<?if ($arResult['PROPERTIES']['PROGRAM_HIDE']['VALUE']!="Да"){?>
<section class="page-section ">
<div class="event-program" data-tabs="parent" data-delay="0"> <div class="event-program" data-tabs="parent" data-delay="0">
<div class="container"> <div class="container">
...@@ -440,8 +468,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -440,8 +468,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
<div class="section-title event-program__title"> <div class="section-title event-program__title">
<div class="section-title__wrap"> <div class="section-title__wrap">
<p class="section-title__badge"><?=$programTag?></p> <p class="section-title__badge"><?=$programTag?></p>
<h2 data-animate="title" class="title title--h2 section-title__title words lines splitting" <h2 data-animate="title" class="title title--h2 section-title__title words lines
style="--word-total: 2; --line-total: 1;">программа мероприятия</h2> splitting"><?=$h2Program?></h2>
</div> </div>
</div> </div>
...@@ -556,6 +584,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -556,6 +584,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
</div> </div>
</section> </section>
<?}?>
<?if (!empty($arResult['SPIKERS'])){ ?> <?if (!empty($arResult['SPIKERS'])){ ?>
<section class="page-section"> <section class="page-section">
...@@ -567,8 +597,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -567,8 +597,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
<div class="section-title speakers-slider__title"> <div class="section-title speakers-slider__title">
<div class="section-title__wrap"> <div class="section-title__wrap">
<p class="section-title__badge"><?=$spikersTag?></p> <p class="section-title__badge"><?=$spikersTag?></p>
<h2 data-animate="title" class="title title--h2 section-title__title words lines splitting" <h2 data-animate="title" class="title title--h2 section-title__title words lines
style="--word-total: 4; --line-total: 2;">спикеры и участники мероприятия</h2> splitting"><?=$h2Spikers?></h2>
</div> </div>
</div> </div>
...@@ -634,6 +664,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -634,6 +664,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
</section> </section>
<?}?> <?}?>
<?if ($arResult['PROPERTIES']['VIDEO_HIDE']['VALUE']!="Да"){?>
<section class="page-section page-section--no-pt" id="materials"> <section class="page-section page-section--no-pt" id="materials">
<div class="materials"> <div class="materials">
...@@ -646,8 +677,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -646,8 +677,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
<div class="section-title__wrap"> <div class="section-title__wrap">
<p class="section-title__badge"><?=$materialsTag?></p> <p class="section-title__badge"><?=$materialsTag?></p>
<h2 data-animate="title" <h2 data-animate="title"
class="title title--h2 section-title__title words lines splitting" class="title title--h2 section-title__title words lines splitting">
style="--word-total: 3; --line-total: 1;">видео о мероприятии <?=$h2Video?>
</h2> </h2>
</div> </div>
...@@ -716,7 +747,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -716,7 +747,7 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
</div> </div>
<div class="materials__description-wrap"> <div class="materials__description-wrap">
<div class="materials__texts-container"> <div class="materials__texts-container">
<h3 class="title materials__texts-title">Видео презентация мероприятия</h3> <h3 class="title materials__texts-title"><?=$arResult['PROPERTIES']['PREZENT_H3_VIDEO']['VALUE']?></h3>
<div class="materials__texts"> <div class="materials__texts">
<?if (is_array($arResult['PROPERTIES']['PREZENT_TEXT']['~VALUE'])){?> <?if (is_array($arResult['PROPERTIES']['PREZENT_TEXT']['~VALUE'])){?>
<p class="materials__text"><?=$arResult['PROPERTIES']['PREZENT_TEXT']['~VALUE']['TEXT']?></p> <p class="materials__text"><?=$arResult['PROPERTIES']['PREZENT_TEXT']['~VALUE']['TEXT']?></p>
...@@ -731,8 +762,6 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -731,8 +762,6 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
width="24" width="24"
height="24" height="24"
loading="lazy"> loading="lazy">
</div> </div>
<div class="document-link__data-wrap"> <div class="document-link__data-wrap">
<p class="document-link__title">Программа мероприятия</p> <p class="document-link__title">Программа мероприятия</p>
...@@ -754,7 +783,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -754,7 +783,8 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
</div> </div>
</section> </section>
<?if ($arResult['PROPERTIES']['LINE']['VALUE']=="оффлайн"){ ?> <?}?>
<?if ($arResult['PROPERTIES']['LINE']['VALUE']=="оффлайн" && $arResult['PROPERTIES']['WHEN_HIDE']['VALUE']!="Да"){ ?>
<section class="page-section"> <section class="page-section">
<div class="event-place"> <div class="event-place">
<div class="container"> <div class="container">
...@@ -765,29 +795,30 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -765,29 +795,30 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
<div class="section-title__wrap"> <div class="section-title__wrap">
<p class="section-title__badge"><?=$placeTag?></p> <p class="section-title__badge"><?=$placeTag?></p>
<h2 data-animate="title" class="title title--h2 section-title__title words lines <h2 data-animate="title" class="title title--h2 section-title__title words lines
splitting is-show" style="--word-total: 3; --line-total: 2;">где пройдёт splitting"><?=$h2Why?></h2>
мероприятие</h2>
</div> </div>
</div> </div>
<?if ($arResult['PROPERTIES']['ADDRESS']['VALUE']){ ?> <?if ($arResult['PROPERTIES']['ADDRESS']['VALUE']){ ?>
<address class="event-place__address"><?=$arResult['PROPERTIES']['ADDRESS']['VALUE']?></address> <address class="event-place__address"><?=$arResult['PROPERTIES']['ADDRESS']['VALUE']?></address>
<?}?> <?}?>
<div class="event-place__contacts-wrap"> <?if ($arResult['PROPERTIES']['PHONE']['VALUE'] || $arResult['PROPERTIES']['EMAIL']['VALUE']){ ?>
<?if ($arResult['PROPERTIES']['PHONE']['VALUE']){ ?> <div class="event-place__contacts-wrap">
<div class="event-place__contact"> <?if ($arResult['PROPERTIES']['PHONE']['VALUE']){ ?>
<span class="event-place__contact-title">Телефон для связи</span> <div class="event-place__contact">
<a class="event-place__contact-link" <span class="event-place__contact-title">Телефон для связи</span>
href="tel:<?=preg_replace('/[^0-9]/', '', $arResult['PROPERTIES']['PHONE']['VALUE']);?>"><?=$arResult['PROPERTIES']['PHONE']['VALUE']?></a> <a class="event-place__contact-link"
</div> href="tel:<?=preg_replace('/[^0-9]/', '', $arResult['PROPERTIES']['PHONE']['VALUE']);?>"><?=$arResult['PROPERTIES']['PHONE']['VALUE']?></a>
<?}?> </div>
<?if ($arResult['PROPERTIES']['EMAIL']['VALUE']){ ?> <?}?>
<div class="event-place__contact"> <?if ($arResult['PROPERTIES']['EMAIL']['VALUE']){ ?>
<span class="event-place__contact-title">Почта для связи</span> <div class="event-place__contact">
<a class="event-place__contact-link" href="mailto:<?=$arResult['PROPERTIES']['EMAIL']['VALUE']?>"><?=$arResult['PROPERTIES']['EMAIL']['VALUE']?></a> <span class="event-place__contact-title">Почта для связи</span>
</div> <a class="event-place__contact-link" href="mailto:<?=$arResult['PROPERTIES']['EMAIL']['VALUE']?>"><?=$arResult['PROPERTIES']['EMAIL']['VALUE']?></a>
<?}?> </div>
</div> <?}?>
</div>
<?}?>
</div> </div>
...@@ -846,17 +877,13 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){ ...@@ -846,17 +877,13 @@ if ($arResult["PROPERTIES"]['FORM_TAG']["VALUE"]){
<p class="section-title__badge"><?=$formTag?></p> <p class="section-title__badge"><?=$formTag?></p>
<h2 data-animate="title" class="title title--h2 section-title__title words lines splitting" <h2 data-animate="title" class="title title--h2 section-title__title words lines splitting"
style="--word-total: 4; --line-total: 2;"> style="--word-total: 4; --line-total: 2;">
<?=($arResult['PROPERTIES']['FORM_H3']['VALUE'])?$arResult['PROPERTIES']['FORM_H3']['VALUE']:'записаться на онлайн мероприятие'?> <?=($arResult['FORM_TITLE'])?$arResult['FORM_TITLE']:'записаться на онлайн мероприятие'?>
</h2> </h2>
</div> </div>
</div> </div>
<p class="write-to-us-form__description"> <p class="write-to-us-form__description">
<?if (is_array($arResult['PROPERTIES']['FORM_TEXT']['~VALUE'])){ <?echo $arResult['FORM_TEXT']?>
echo $arResult['PROPERTIES']['FORM_TEXT']['~VALUE']['TEXT'];
} else {?>
Ответим в&nbsp;рабочие дни с&nbsp;9:00 до&nbsp;18:00 по&nbsp;Москве
<?}?>
</div> </div>
<div class="write-to-us-form__form" data-form-validate="" data-callback="request" <div class="write-to-us-form__form" data-form-validate="" data-callback="request"
data-button-disabled=""> data-button-disabled="">
......
...@@ -76,7 +76,7 @@ $this->setFrameMode(true); ...@@ -76,7 +76,7 @@ $this->setFrameMode(true);
</li> </li>
<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=7#page"> <a class="line-link" data-name="online" href="?line=online#page">
<button class="article-controls__btn" data-articles="eco"> <button class="article-controls__btn" 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">
...@@ -90,7 +90,7 @@ $this->setFrameMode(true); ...@@ -90,7 +90,7 @@ $this->setFrameMode(true);
</a> </a>
</li> </li>
<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="line-link" data-name="offline" href="?line=offline#page">
<button class="article-controls__btn" data-articles="eco"> <button class="article-controls__btn" 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">
...@@ -125,9 +125,7 @@ $this->setFrameMode(true); ...@@ -125,9 +125,7 @@ $this->setFrameMode(true);
</form> </form>
</div> </div>
</div> </div>
<?if ($_GET['line']){ <?
$GLOBALS['arrFilter']= array('PROPERTY_LINE' => $_GET['line']);
}
if ($_GET['search']){ if ($_GET['search']){
$GLOBALS['arrFilter']= array('?NAME' => $_GET['search']); $GLOBALS['arrFilter']= array('?NAME' => $_GET['search']);
} }
......
...@@ -29,3 +29,42 @@ while($ob = $res->GetNextElement()) { ...@@ -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']);
}
...@@ -12,30 +12,29 @@ ...@@ -12,30 +12,29 @@
/** @var CBitrixComponent $component */ /** @var CBitrixComponent $component */
$this->setFrameMode(true); $this->setFrameMode(true);
if ($arResult['PROPERTIES']['NAME']['VALUE']){ if ($arResult['PROPERTIES']['NAME']['VALUE']) {
$name=$arResult['PROPERTIES']['NAME']['VALUE']; $name = $arResult['PROPERTIES']['NAME']['VALUE'];
} else $name=$arResult['NAME']; } else $name = $arResult['NAME'];
?> ?>
<div class="container container--pt-header container--mb"> <div class="container container--pt-header container--mb">
<div class="breadcrumbs breadcrumbs--pl"> <div class="breadcrumbs breadcrumbs--pl">
<ol class="breadcrumbs__list"> <ol class="breadcrumbs__list">
<li class="breadcrumbs__item"> <li class="breadcrumbs__item">
<a href="/" class="breadcrumbs__link"> <a href="/" class="breadcrumbs__link">
<span class="breadcrumbs__link-text">Главная</span> <span class="breadcrumbs__link-text">Главная</span>
</a> </a>
</li><li class="breadcrumbs__item"> </li>
<a href="/about/news/" class="breadcrumbs__link"> <li class="breadcrumbs__item">
<a href="/about/blog/" class="breadcrumbs__link">
<span class="breadcrumbs__link-text">Новости</span> <span class="breadcrumbs__link-text">Блог</span>
</a> </a>
</li><li class="breadcrumbs__item"> </li>
<li class="breadcrumbs__item">
<span class="breadcrumbs__link breadcrumbs__link--current"> <span class="breadcrumbs__link breadcrumbs__link--current">
<span class="breadcrumbs__link-text"><?=$name?></span> <span class="breadcrumbs__link-text"><?= $name ?></span>
</span> </span>
</li> </li>
...@@ -46,503 +45,303 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){ ...@@ -46,503 +45,303 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
<div class="article"> <div class="article">
<div class="container"> <div class="container">
<div class="article__inner"> <div class="article__inner">
<div class="article__top"> <div class="article__inner-wrap">
<h1 class="title article__title"><?= $arResult['NAME'] ?></h1> <article class="article__top">
<div class="article__info-wrap"> <h1 class="title article__title"><?= $arResult['NAME'] ?></h1>
<div class="item-info item-info--article"> <div class="article__info-wrap">
<div class="item-info__wrap"> <div class="item-info item-info--article">
<? if ($arResult['PROPERTIES']["HASHTAG"]["VALUE"]): ?> <div class="item-info__wrap">
<a href="<?= $arResult['PROPERTIES']["HASHTAG_LINK"]["VALUE"] ?>?hash=<?= $arItem['PROPERTIES']["HASHTAG"]["VALUE"] ?>" <? if ($arResult['PROPERTIES']["HASHTAG"]["VALUE"]): ?>
class="item-info__category"><?= $arResult['PROPERTIES']["HASHTAG"]["VALUE"] ?></a> <a href="/about/blog/?hash=<?= $arResult['PROPERTIES']["HASHTAG"]["VALUE"] ?>"
<? endif; ?> class="item-info__category"><?= $arResult['PROPERTIES']["HASHTAG"]["VALUE"] ?></a>
<time class="item-info__date" <? endif; ?>
datetime="<?= $arResult['PROPERTIES']["DATE"]["VALUE"] ?>"> <time class="item-info__date"
<?= explode(' ', $arResult['PROPERTIES']["DATE"]["VALUE"])[0] ?> datetime="<?= $arResult['PROPERTIES']["DATE"]["VALUE"] ?>">
</time> <?= explode(' ', $arResult['PROPERTIES']["DATE"]["VALUE"])[0] ?>
</time>
<span class="item-info__readtime">
<svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-clock"> <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" <symbol id="ai:local:icon-clock"><path fill="none" stroke="currentColor" stroke-linecap="round"
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 stroke-linejoin="round" stroke-width="1.2"
xlink:href="#ai:local:icon-clock"></use> 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>
<?= minut($arResult['PROPERTIES']["TIME"]["VALUE"]) ?>
</span>
</div>
</svg>
<?= $arResult['PROPERTIES']["TIME"]["VALUE"] ?> минут
</span>
</div> </div>
<? if ($arResult['PROPERTIES']['AUTHOR']['VALUE']) { ?>
<div class="author">
<? if ($arResult['PROPERTIES']['AUTHOR_AVATAR']['VALUE']) {
$avatar = CFile::GetPath($arResult["PROPERTIES"]['AUTHOR_AVATAR']['VALUE']);
</div> ?>
<?if ($arResult['PROPERTIES']['AUTHOR']['VALUE']) { ?> <div class="author__avatar">
<div class="author"> <picture>
<?if ($arResult['PROPERTIES']['AUTHOR_AVATAR']['VALUE']){ <source srcset="<?= $avatar ?>
$avatar=CFile::GetPath($arResult["PROPERTIES"]['AUTHOR_AVATAR']['VALUE']); <?= $avatar ?> 2x,
<?= $avatar ?> 3x" type="image/webp">
?> <img src="<?= $avatar ?>"
<div class="author__avatar"> srcset="<?= $avatar ?> 2x, <?= $avatar ?> 3x"
<picture> alt="Картинка" width="48" height="48" loading="lazy">
<source srcset="<?=$avatar?> </picture>
<?=$avatar?> 2x, </div>
<?=$avatar?> 3x" type="image/webp"> <? } ?>
<img src="<?=$avatar?>" <div class="author__info">
srcset="<?=$avatar?> 2x, <?=$avatar?> 3x" <p class="author__name"><?= $arResult['PROPERTIES']['AUTHOR']['VALUE'] ?></p>
alt="Картинка" width="48" height="48" loading="lazy">
</picture>
</div> </div>
<?}?>
<div class="author__info">
<p class="author__name"><?=$arResult['PROPERTIES']['AUTHOR']['VALUE']?></p>
</div> </div>
</div> <? } ?>
<?}?> </div>
</div>
</div>
<div class="article__main-wrap">
<div class="article__main">
<article class="article__content" id="key">
<h2>Ключевые тезисы</h2>
<?if ($arResult['DETAIL_PICTURE']['SRC']){
$imgSrcMob=CFile::GetPath($arItem["PROPERTIES"]['DETAIL_PICTURE_MOB']['VALUE']);
?>
<picture>
<source media="(min-width: 768px)"
srcset="<?= $arResult['DETAIL_PICTURE']['SRC'] ?>, <?= $arItem['DETAIL_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>"
type="image/webp">
<source media="(max-width: 767px)"
srcset="<?= $imgSrcMob ?>, <?= $imgSrcMob ?>, <?= $imgSrcMob ?>"
type="image/webp">
<img src="<?= $arResult['DETAIL_PICTURE']["SRC"] ?>"
srcset="<?= $arResult['DETAIL_PICTURE']['SRC'] ?>, <?= $arItem['DETAIL_PICTURE']['SRC'] ?>"
alt="<?= $arResult['NAME'] ?>" width="148" height="101" loading="lazy">
</picture>
<?}?>
<p>
<?= $arResult['PREVIEW_TEXT'] ?>
</p>
</article>
<?= $arResult['DETAIL_TEXT'] ?>
<? /*
<article class="article__content" id="research">
<h2>Как HeadHunter проводит исследование рынка работодателей</h2>
<p>
HeadHunter проводит исследование рынка работодателей и&nbsp;на&nbsp;базе него формирует рейтинг лучших
из&nbsp;них.<br> В 2023 году в&nbsp;рейтинге приняли участие 2266 компаний из&nbsp;различных отраслей.&nbsp;Итоговое
место компании в рейтинге формировалось по&nbsp;баллу, который рассчитывается на&nbsp;базе трех независимых
оценок: оценке HR процессов, внутренней оценке индекса чистой лояльности сотрудников и&nbsp;внешней оценке
кандидатов.
</p>
<h3>Как формируются оценки:</h3>
<ul>
<li>
<span>HR-анкетирование.</span>&nbsp;На&nbsp;этом этапе HR-специалисты проходят профессиональное
анкетирование, результаты которого показывают эффективность HR-отдела компании. Оценка анкетирования
составляет 20% от&nbsp;суммы итогового балла компании.
</li>
<li>
<span>Опрос eNPS (индекс чистой лояльности сотрудников).</span>&nbsp;Компании&nbsp;— участницы
рейтинга проводят онлайн-опрос своих сотрудников. Опрос нацелен на&nbsp;объективную оценку работодателя
его командой: она показывает уровень лояльности и&nbsp;готовность рекомендовать своим знакомым компанию
в&nbsp;качестве будущего места работы. Опрос составляет 40% в&nbsp;итоговом балле.
</li>
<li>
<span>Оценка соискателей hh.ru.</span>&nbsp;В&nbsp;оценке бренда компании задействованы внешние
респонденты-соискатели, которые могут пройти опрос и&nbsp;проголосовать только за&nbsp;3 компании
из&nbsp;каждой представленной отрасли в&nbsp;рейтинге. Оценка соискателей составляет 40% от&nbsp;общего
балла.&nbsp;
</li>
</ul>
</article>
<article class="article__content" id="company-to-top">
<h2>Компания UDV Group вошла в&nbsp;топ-200</h2>
<p>
Компания UDV Group вошла в&nbsp;топ-200 в&nbsp;категории «небольшие компании» с&nbsp;суммарным
баллом 101,5. Именно в&nbsp;этой категории образовалась самая активная конкуренция
за&nbsp;победу&nbsp;— в&nbsp;финал рейтинга попало 534 участника. Также, компания UDV Group заняла 3
место среди небольших по&nbsp;численности (от&nbsp;100 до&nbsp;250 сотрудников) IT компаний Свердловской
области.
</p>
<figure>
<picture>
<source media="(min-width: 768px)" srcset="./images/article-news/article-news-1-xl.webp, ./images/article-news/article-news-1-xl@2x.webp 2x, ./images/article-news/article-news-1-xl@3x.webp 3x" type="image/webp">
<source media="(max-width: 767px)" srcset="./images/article-news/article-news-1.webp, ./images/article-news/article-news-1@2x.webp 2x, ./images/article-news/article-news-1@3x.webp 3x" type="image/webp">
<img src="./images/article-news/article-news-1.png" srcset="./images/article-news/article-news-1@2x.png 2x, ./images/article-news/article-news-1@3x.png 3x" alt="Картинка" width="1622" height="816" loading="lazy">
</picture>
<figcaption>Так выглядит баннер от&nbsp;компании Head Hunter</figcaption>
</figure>
</article> </article>
<article class="article__content" id="what-say"> <div class="article__main-wrap">
<h2>Что об UDV Group сказали в HeadHunter</h2> <div class="article__main">
<p> <article class="article__content" id="key">
В&nbsp;целом, рейтинг HeadHunter 2023 показал, что компании, которые заботятся о&nbsp;своих сотрудниках <? if ($arResult['DETAIL_PICTURE']['SRC']) {
и&nbsp;создают комфортные условия для работы, пользуются большим спросом у&nbsp;соискателей. Это $imgSrcMob = CFile::GetPath($arResult["PROPERTIES"]['DETAIL_PICTURE_MOB']['VALUE']);
подтверждает важность инвестиций в&nbsp;человеческий капитал и&nbsp;необходимость постоянного улучшения ?>
условий труда.
</p>
<p>
«Как написали коллеги из&nbsp;HeadHunter:&nbsp;«Результат HR труда&nbsp;— это любовь
сотрудников и&nbsp;соискателей».&nbsp;Первое самостоятельное участие в&nbsp;рейтинге работодателей
HeadHunter РФ&nbsp;—&nbsp;новый опыт для компании UDV Group. Мы сделали этот важный шаг вместе
с&nbsp;действующими и&nbsp;будущими&nbsp;сотрудниками. Быть финалистом этого рейтинга&nbsp;— уже
признак высокого уровня.
</p>
<blockquote>
<p>
UDV Group&nbsp;— привлекательный и&nbsp;открытый работодатель, успешно развивающий HR-процессы
и&nbsp;имидж компании»&nbsp;—&nbsp;именно такие слова можно увидеть в&nbsp;сертификате
финалиста.&nbsp;В&nbsp;2024 мы&nbsp;будем исследовать свой опыт и искать точки развития.
</p>
<div class="author author--blockquote">
<div class="author__avatar">
<picture> <picture>
<source srcset="./images/avatar/avatar-6.webp, ./images/avatar/avatar-6@2x.webp 2x, ./images/avatar/avatar-6@3x.webp 3x" type="image/webp"> <source media="(min-width: 768px)"
<img src="./images/avatar/avatar-6.png" srcset="./images/avatar/avatar-6@2x.png 2x, ./images/avatar/avatar-6@3x.png 3x" alt="Картинка" width="48" height="48" loading="lazy"> srcset="<?= $arResult['DETAIL_PICTURE']['SRC'] ?>, <?= $arItem['DETAIL_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>"
type="image/webp">
<source media="(max-width: 767px)"
srcset="<?= $imgSrcMob ?>, <?= $imgSrcMob ?>, <?= $imgSrcMob ?>"
type="image/webp">
<img src="<?= $arResult['DETAIL_PICTURE']["SRC"] ?>"
srcset="<?= $arResult['DETAIL_PICTURE']['SRC'] ?>, <?= $arItem['DETAIL_PICTURE']['SRC'] ?>"
alt="<?= $arResult['NAME'] ?>" width="148" height="101" loading="lazy">
</picture> </picture>
</div> <? } ?>
<div class="author__info"> <p>
<p class="author__name">Елена Лигвинова</p> <?= $arResult['PREVIEW_TEXT'] ?>
<p class="author__position">Директор по развитию UDV Group</p> </p>
</div> </article>
</div> <?= $arResult['DETAIL_TEXT'] ?>
</blockquote> <div class="article__bottom">
</article> <? if ($arResult['PROPERTIES']['AUTHOR']['VALUE'] && $arResult['PROPERTIES']['AUTHOR_TEXT']['VALUE']) { ?>
<article class="article__content" id="about-career"> <div class="notice article__notice">
<h2>О&nbsp;карьере в&nbsp;UDV Group</h2> <div class="notice__top">
<p> <div class="author author--notice">
Мы&nbsp;создаем сложные проекты, которые невозможно сделать в&nbsp;одиночку. Мы&nbsp;поддерживаем <? if ($arResult['PROPERTIES']['AUTHOR_AVATAR']['VALUE']) {
инициативы сотрудников, вместе решаем сложные технические задачи и&nbsp;оцениваем заслуги $avatar = CFile::GetPath($arResult["PROPERTIES"]['AUTHOR_AVATAR']['VALUE']);
по&nbsp;достоинству. Если ты&nbsp;в&nbsp;нашей команде, значит мы&nbsp;тебе доверяем. ?>
Мы&nbsp;не&nbsp;будем контролировать каждый шаг и&nbsp;требовать присутствия на&nbsp;рабочем месте 8/5. <div class="author__avatar">
Главное&nbsp;— делать работу вовремя и&nbsp;отвечать за&nbsp;результат. <picture>
</p> <source srcset="<?= $avatar ?>
<div class="article__image-col article__image-col--50-50"> <?= $avatar ?> 2x,
<div class="article__image-col-wrap swiper" data-content-image-slider="container"> <?= $avatar ?> 3x" type="image/webp">
<div class="article__swiper-wrapper swiper-wrapper"> <img src="<?= $avatar ?>"
<figure class="swiper-slide"> srcset="<?= $avatar ?> 2x, <?= $avatar ?> 3x"
alt="Картинка" width="48" height="48" loading="lazy">
</picture>
</div>
<? } ?>
<picture> <div class="author__info">
<p class="author__name"><?= $arResult['PROPERTIES']['AUTHOR']['VALUE'] ?></p>
<source media="(min-width: 1921px)" srcset="./images/article-news/article-news-2-xl.webp, ./images/article-news/article-news-2-xl@2x.webp 2x, ./images/article-news/article-news-2-xl@3x.webp 3x" type="image/webp"> <p class="author__position"><?= $arResult['PROPERTIES']['AUTHOR_POST']['VALUE'] ?></p>
<source media="(min-width: 768px)" srcset="./images/article-news/article-news-2-d.webp, ./images/article-news/article-news-2-d@2x.webp 2x, ./images/article-news/article-news-2-d@3x.webp 3x" type="image/webp">
<source media="(max-width: 767px)" srcset="./images/article-news/article-news-2.webp, ./images/article-news/article-news-2@2x.webp 2x, ./images/article-news/article-news-2@3x.webp 3x" type="image/webp">
<img src="./images/article-news/article-news-2.png" srcset="./images/article-news/article-news-2@2x.png 2x, ./images/article-news/article-news-2@3x.png 3x" alt="Картинка" width="801" height="818" loading="lazy">
</picture>
<figcaption>Решаем сложные задачи</figcaption>
</figure>
<figure class="swiper-slide">
<picture>
<source media="(min-width: 1921px)" srcset="./images/article-news/article-news-3-xl.webp, ./images/article-news/article-news-3-xl@2x.webp 2x, ./images/article-news/article-news-3-xl@3x.webp 3x" type="image/webp">
<source media="(min-width: 768px)" srcset="./images/article-news/article-news-3-d.webp, ./images/article-news/article-news-3-d@2x.webp 2x, ./images/article-news/article-news-3-d@3x.webp 3x" type="image/webp">
<source media="(max-width: 767px)" srcset="./images/article-news/article-news-3.webp, ./images/article-news/article-news-3@2x.webp 2x, ./images/article-news/article-news-3@3x.webp 3x" type="image/webp">
<img src="./images/article-news/article-news-3.png" srcset="./images/article-news/article-news-3@2x.png 2x, ./images/article-news/article-news-3@3x.png 3x" alt="Картинка" width="801" height="818" loading="lazy">
</picture>
<figcaption>Вместе обсуждаем новости и пьем кофе</figcaption>
</figure>
</div>
</div>
</div>
</article>
<article class="article__content" id="about-vacancy">
<h3>Вакансии UDV Group</h3>
<div class="table" data-simplebar="init"><div class="simplebar-wrapper" style="margin: 0px;"><div class="simplebar-height-auto-observer-wrapper"><div class="simplebar-height-auto-observer"></div></div><div class="simplebar-mask"><div class="simplebar-offset" style="right: 0px; bottom: 0px;"><div class="simplebar-content-wrapper" tabindex="0" role="region" aria-label="scrollable content" style="height: auto; overflow: hidden;"><div class="simplebar-content" style="padding: 0px;">
<table>
<thead>
<tr>
<th style="width: 29.5%">Направление работы</th>
<th style="width: 29.5%">Должность</th>
<th style="width: 20.4%">Грейд</th>
<th style="auto">Статус</th>
</tr>
</thead>
<tbody>
<tr>
<td>UDV DATAPK Industrial Kit</td>
<td>Аналитик low-code платформы</td>
<td>middle</td>
<td><span class="is-open">●</span> Открыта</td>
</tr>
<tr>
<td>UDV ePlat4m SOAR</td>
<td>GO pазработчик</td>
<td>middle</td>
<td><span class="is-open">●</span> Открыта</td>
</tr>
<tr>
<td>Research &amp; Development</td>
<td>Data scientist</td>
<td>middle</td>
<td><span class="is-open">●</span> Открыта</td>
</tr>
<tr>
<td>UDV Industrial Firewall</td>
<td>Сетевой аналитик</td>
<td>middle</td>
<td><span class="is-closed">●</span> Закрыта</td>
</tr>
<tr>
<td>Design</td>
<td>UX/UI Designer</td>
<td>middle</td>
<td><span class="is-open">●</span> Открыта</td>
</tr>
</tbody>
</table>
</div></div></div></div><div class="simplebar-placeholder" style="width: 1217px; height: 290px;"></div></div><div class="simplebar-track simplebar-horizontal" style="visibility: hidden;"><div class="simplebar-scrollbar" style="width: 0px; display: none;"></div></div><div class="simplebar-track simplebar-vertical" style="visibility: hidden;"><div class="simplebar-scrollbar" style="height: 0px; display: none;"></div></div></div>
</article>
<article class="article__content" id="wehre-can-find-out-the-rating-results">
<h2>Где можно узнать результаты рейтинга</h2>
<p>
Рейтинг работодателей на&nbsp;сайте hh.ru помогает соискателям сделать выбор при поиске работы, поскольку
учитывает мнения сотрудников компаний. Это позволяет оценить, насколько хорошо работодатели относятся к
своим работникам, и&nbsp;определить, стоит&nbsp;ли рассматривать ту&nbsp;или иную компанию как
потенциального работодателя.
</p>
<p>
Взглянуть на&nbsp;результаты рейтинга можно на&nbsp;сайте&nbsp;<a href="#">HeadHunter</a>,
а&nbsp;познакомиться с&nbsp;актуальными вакансиями <a href="#">можно&nbsp;тут.</a>
</p>
<div class="notification-plate notification-plate--green">
<div class="notification-plate__header">
<span class="notification-plate__icon"><img src="./images/svg/tabler-icon-bell-ringing-green.svg" alt="Картинка" width="36" height="36" loading="lazy">
</span>
<h3 class="notification-plate__title">Важно!</h3>
</div>
<div class="notification-plate__text">
<p>Рейтинг способствует улучшению репутации компаний на&nbsp;рынке труда. Участие в&nbsp;рейтинге показывает, что компания заботится о&nbsp;своих сотрудниках и&nbsp;стремится создать комфортные условия для работы. Это может привлечь новых кандидатов и&nbsp;повысить престиж компании в&nbsp;глазах потенциальных работников.</p>
</div>
</div>
</article>
*/ ?>
<div class="article__bottom">
<?if ($arResult['PROPERTIES']['AUTHOR']['VALUE'] && $arResult['PROPERTIES']['AUTHOR_TEXT']['VALUE']) { ?>
<div class="notice article__notice">
<div class="notice__top">
<div class="author author--notice">
<?if ($arResult['PROPERTIES']['AUTHOR_AVATAR']['VALUE']){
$avatar=CFile::GetPath($arResult["PROPERTIES"]['AUTHOR_AVATAR']['VALUE']);
?>
<div class="author__avatar">
<picture>
<source srcset="<?=$avatar?>
<?=$avatar?> 2x,
<?=$avatar?> 3x" type="image/webp">
<img src="<?=$avatar?>"
srcset="<?=$avatar?> 2x, <?=$avatar?> 3x"
alt="Картинка" width="48" height="48" loading="lazy">
</picture>
</div> </div>
<?}?>
<div class="author__info">
<p class="author__name"><?=$arResult['PROPERTIES']['AUTHOR']['VALUE']?></p>
<p class="author__position"><?=$arResult['PROPERTIES']['AUTHOR_POST']['VALUE']?></p>
</div> </div>
</div> </div>
<div class="notice__text">
<p><?= $arResult['PROPERTIES']['AUTHOR_TEXT']['~VALUE']['TEXT'] ?></p>
</div>
</div> </div>
<div class="notice__text"> <? } ?>
<p><?=$arResult['PROPERTIES']['AUTHOR_TEXT']['~VALUE']['TEXT']?></p> <div class="article__bottom-info-wrap">
</div> <div class="item-info item-info--article">
</div> <div class="item-info__wrap">
<?}?> <? if ($arResult['PROPERTIES']["HASHTAG"]["VALUE"]): ?>
<div class="article__bottom-info-wrap"> <a href="<?= $arResult['PROPERTIES']["HASHTAG_LINK"]["VALUE"] ?>?hash=<?= $arResult['PROPERTIES']["HASHTAG"]["VALUE"] ?>"
<div class="item-info item-info--article"> class="item-info__category"><?= $arResult['PROPERTIES']["HASHTAG"]["VALUE"] ?></a>
<div class="item-info__wrap"> <? endif; ?>
<? if ($arResult['PROPERTIES']["HASHTAG"]["VALUE"]): ?> <time class="item-info__date"
<a href="<?= $arResult['PROPERTIES']["HASHTAG_LINK"]["VALUE"] ?>?hash=<?= $arResult['PROPERTIES']["HASHTAG"]["VALUE"] ?>" datetime="<?= $arResult['PROPERTIES']["DATE"]["VALUE"] ?>">
class="item-info__category"><?= $arResult['PROPERTIES']["HASHTAG"]["VALUE"] ?></a> <?= explode(' ', $arResult['PROPERTIES']["DATE"]["VALUE"])[0] ?>
<? endif; ?> </time>
<time class="item-info__date"
datetime="<?= $arResult['PROPERTIES']["DATE"]["VALUE"] ?>"> <span class="item-info__readtime">
<?= explode(' ', $arResult['PROPERTIES']["DATE"]["VALUE"])[0] ?> <svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-clock">
</time>
<use xlink:href="#ai:local:icon-clock"></use>
<span class="item-info__readtime">
<svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-clock"> </svg>
<?= minut($arResult['PROPERTIES']["TIME"]["VALUE"]) ?>
<use xlink:href="#ai:local:icon-clock"></use> </span>
</div>
</svg>
<?= $arResult['PROPERTIES']["TIME"]["VALUE"] ?> минут
</span>
</div> </div>
<div class="socials socials--article">
</div> <ul class="socials__list">
<div class="socials socials--article"> <? if ($arResult['PROPERTIES']['VK']['VALUE']) { ?>
<ul class="socials__list"> <li class="socials__item">
<?if ($arResult['PROPERTIES']['VK']['VALUE']){?> <a target="_blank" class="socials__link"
<li class="socials__item"> href="<?= $arResult['PROPERTIES']['VK']['VALUE'] ?>"
<a target="_blank" class="socials__link" aria-label="Вконтакте">
href="<?=$arResult['PROPERTIES']['VK']['VALUE']?>" aria-label="Вконтакте"> <span class="socials__icon">
<img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/vk-dark.svg"
alt="Картинка" width="24" height="24"
loading="lazy">
</span>
<span class="socials__icon socials__icon--hover">
<img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/vk-green.svg"
alt="Картинка" width="24" height="24" loading="lazy">
</span>
</a>
</li>
<? } ?>
<? if ($arResult['PROPERTIES']['TELEGRAM']['VALUE']) { ?>
<li class="socials__item">
<a target="_blank" class="socials__link"
href="<?= $arResult['PROPERTIES']['TELEGRAM']['VALUE'] ?>"
aria-label="Телеграм">
<span class="socials__icon"> <span class="socials__icon">
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/vk-dark.svg" alt="Картинка" width="24" height="24" <img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/tg-dark.svg"
loading="lazy"> alt="Картинка" width="24" height="24" loading="lazy">
</span> </span>
<span class="socials__icon socials__icon--hover"> <span class="socials__icon socials__icon--hover">
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/vk-green.svg" alt="Картинка" width="24" height="24" loading="lazy"> <img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/tg-green.svg"
</span> alt="Картинка" width="24" height="24" loading="lazy">
</a> </span>
</li> </a>
<?}?> </li>
<?if ($arResult['PROPERTIES']['TELEGRAM']['VALUE']){?> <? } ?>
<li class="socials__item"> <? if ($arResult['PROPERTIES']['WHATSUP']['VALUE']) { ?>
<a target="_blank" class="socials__link" href="<?=$arResult['PROPERTIES']['TELEGRAM']['VALUE']?>" <li class="socials__item">
aria-label="Телеграм"> <a target="_blank" class="socials__link"
<span class="socials__icon"> href="<?= $arResult['PROPERTIES']['WHATSUP']['VALUE'] ?>"
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/tg-dark.svg" alt="Картинка" width="24" height="24" loading="lazy"> aria-label="Whatsapp">
</span> <span class="socials__icon">
<span class="socials__icon socials__icon--hover"> <img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/whatsapp-dark.svg"
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/tg-green.svg" alt="Картинка" width="24" height="24" loading="lazy"> alt="Картинка" width="24" height="24" loading="lazy">
</span> </span>
</a> <span class="socials__icon socials__icon--hover">
</li> <img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/whatsapp-green.svg"
<?}?> alt="Картинка" width="24" height="24" loading="lazy">
<?if ($arResult['PROPERTIES']['WHATSUP']['VALUE']){?>
</span>
</a>
</li>
<? } ?>
<li class="socials__item"> <li class="socials__item">
<a class="socials__link" href="<?=$arResult['PROPERTIES']['WHATSUP']['VALUE']?>" aria-label="Whatsapp">
<span class="socials__icon">
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/whatsapp-dark.svg" alt="Картинка" width="24" height="24" loading="lazy">
</span>
<span class="socials__icon socials__icon--hover">
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/whatsapp-green.svg" alt="Картинка" width="24" height="24" loading="lazy">
</span>
</a>
</li>
<?}?>
<li class="socials__item">
<button class="socials__link" <button class="socials__link"
data-button="copy-link" data-button="copy-link"
aria-label="Поделиться" aria-label="Поделиться"
data-tippy-content='<svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;20&quot; height=&quot;20&quot; viewBox=&quot;0 0 20 20&quot; fill=&quot;none&quot;><path d=&quot;M15.834 6.89016C16.0873 7.03644 16.2977 7.24683 16.444 7.50019C16.5903 7.75354 16.6673 8.04094 16.6673 8.3335V15.0002C16.6673 15.4422 16.4917 15.8661 16.1792 16.1787C15.8666 16.4912 15.4427 16.6668 15.0007 16.6668H8.33398C7.89196 16.6668 7.46803 16.4912 7.15547 16.1787C6.84291 15.8661 6.66732 15.4422 6.66732 15.0002V8.3335C6.66732 7.89147 6.84291 7.46755 7.15547 7.15499C7.46803 6.84242 7.89196 6.66683 8.33398 6.66683H10.834M4.16732 13.1118C3.91371 12.9654 3.70316 12.7548 3.55687 12.5011C3.41058 12.2474 3.3337 11.9597 3.33399 11.6668V5.00016C3.33399 4.55814 3.50958 4.13421 3.82214 3.82165C4.1347 3.50909 4.55862 3.3335 5.00065 3.3335H11.6673C12.1093 3.3335 12.5333 3.50909 12.8458 3.82165C13.1584 4.13421 13.334 4.55814 13.334 5.00016V11.6668C13.334 12.1089 13.1584 12.5328 12.8458 12.8453C12.5333 13.1579 12.1093 13.3335 11.6673 13.3335H9.16732&quot; stroke=&quot;#0B2027&quot; stroke-opacity=&quot;0.8&quot; stroke-width=&quot;1.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot;/></svg> <p>Cсылка скопирована</p>'; data-tippy-content='<svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;20&quot; height=&quot;20&quot; viewBox=&quot;0 0 20 20&quot; fill=&quot;none&quot;><path d=&quot;M15.834 6.89016C16.0873 7.03644 16.2977 7.24683 16.444 7.50019C16.5903 7.75354 16.6673 8.04094 16.6673 8.3335V15.0002C16.6673 15.4422 16.4917 15.8661 16.1792 16.1787C15.8666 16.4912 15.4427 16.6668 15.0007 16.6668H8.33398C7.89196 16.6668 7.46803 16.4912 7.15547 16.1787C6.84291 15.8661 6.66732 15.4422 6.66732 15.0002V8.3335C6.66732 7.89147 6.84291 7.46755 7.15547 7.15499C7.46803 6.84242 7.89196 6.66683 8.33398 6.66683H10.834M4.16732 13.1118C3.91371 12.9654 3.70316 12.7548 3.55687 12.5011C3.41058 12.2474 3.3337 11.9597 3.33399 11.6668V5.00016C3.33399 4.55814 3.50958 4.13421 3.82214 3.82165C4.1347 3.50909 4.55862 3.3335 5.00065 3.3335H11.6673C12.1093 3.3335 12.5333 3.50909 12.8458 3.82165C13.1584 4.13421 13.334 4.55814 13.334 5.00016V11.6668C13.334 12.1089 13.1584 12.5328 12.8458 12.8453C12.5333 13.1579 12.1093 13.3335 11.6673 13.3335H9.16732&quot; stroke=&quot;#0B2027&quot; stroke-opacity=&quot;0.8&quot; stroke-width=&quot;1.5&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot;/></svg> <p>Cсылка скопирована</p>'
;
aria-expanded="false"> aria-expanded="false">
<span class="socials__icon"> <span class="socials__icon">
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/link-dark.svg" alt="Картинка" width="24" height="24" loading="lazy"> <img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/link-dark.svg"
</span> alt="Картинка" width="24" height="24" loading="lazy">
</span>
<span class="socials__icon socials__icon--hover"> <span class="socials__icon socials__icon--hover">
<img src="<?=SITE_TEMPLATE_PATH?>/images/svg/link-green.svg" alt="Картинка" width="24" height="24" loading="lazy"> <img src="<?= SITE_TEMPLATE_PATH ?>/images/svg/link-green.svg"
alt="Картинка" width="24" height="24" loading="lazy">
</span> </span>
</button> </button>
</ul> </ul>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<aside class="article__aside"> </div>
<div class="article__aside-nav-wrap"> <aside class="article__aside">
<div class="aside-nav article__aside-nav" data-da-max=".article__top, 767, last"> <div class="article__aside-nav-wrap">
<p class="aside-nav__title">Содержание</p> <div class="aside-nav article__aside-nav" data-da-max=".article__top, 767, last">
<div class="aside-nav__list-wrap"> <p class="aside-nav__title">Содержание</p>
<ul class="aside-nav__list"> <div class="aside-nav__list-wrap">
<?foreach ($arResult['PROPERTIES']['SODER']['VALUE'] as $item){?> <ul class="aside-nav__list">
<li class="aside-nav__item"> <? foreach ($arResult['PROPERTIES']['SODER']['VALUE'] as $item) { ?>
<a class="aside-nav__link" href="#<?=$item[2]?>" <li class="aside-nav__item">
data-navigation-link=""><?=$item[1]?></a> <a class="aside-nav__link" href="#<?= $item[2] ?>"
</li> data-navigation-link=""><?= $item[1] ?></a>
<?}?> </li>
</ul> <? } ?>
</ul>
</div>
</div> </div>
</div> </div>
</div> </aside>
</aside>
</div>
</div> </div>
</div> </div>
</div> </div>
<section class="page-section page-section--pt"> <section class="page-section page-section--pt">
<div class="other-news"> <div class="other-news">
<div class="container"> <div class="container">
<div class="other-news__inner"> <div class="other-news__inner">
<h2 class="title other-news__title">другие новости</h2> <h2 class="title other-news__title">другие новости</h2>
<div class="other-news__list-wrap swiper" data-other-news-slider="container"> <div class="other-news__list-wrap swiper" data-other-news-slider="container">
<ul class="other-news__list swiper-wrapper"> <ul class="other-news__list swiper-wrapper">
<?php foreach ($arResult["OTHERS"] as $arItem) : ?> <?php foreach ($arResult["OTHERS"] as $arItem) : ?>
<li class="other-news__item swiper-slide"> <li class="other-news__item swiper-slide">
<div class="article-card article-card--other-news"> <div class="article-card article-card--other-news">
<a class="article-card__inner" href="<?= $arItem['DETAIL_PAGE_URL'] ?>"> <a class="article-card__inner" href="<?= $arItem['DETAIL_PAGE_URL'] ?>">
<div class="article-card__image"> <div class="article-card__image">
<picture> <picture>
<source media="(min-width: 768px)" <source media="(min-width: 768px)"
srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>" srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>"
type="image/webp"> type="image/webp">
<source media="(max-width: 767px)" <source media="(max-width: 767px)"
srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>" srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>"
type="image/webp"> type="image/webp">
<img src="<?= $arItem['PREVIEW_PICTURE']["SRC"] ?>" <img src="<?= $arItem['PREVIEW_PICTURE']["SRC"] ?>"
srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>" srcset="<?= $arItem['PREVIEW_PICTURE']['SRC'] ?>, <?= $arItem['PREVIEW_PICTURE']['SRC'] ?>"
alt="<?= $arItem['NAME'] ?>" width="148" height="101" loading="lazy"> alt="<?= $arItem['NAME'] ?>" width="148" height="101"
</picture> loading="lazy">
</picture>
</div> </div>
<h2 class="title article-card__title"><?= $arItem['NAME'] ?> </h2> <h2 class="title article-card__title"><?= $arItem['NAME'] ?> </h2>
<div class="article-card__text"> <div class="article-card__text">
<p><?= $arItem['PREVIEW_TEXT'] ?> </p> <p><?= $arItem['PREVIEW_TEXT'] ?> </p>
</div> </div>
<div class="item-info item-info--news-list"> <div class="item-info item-info--news-list">
<div class="item-info__wrap"> <div class="item-info__wrap">
<?if($arItem['PROPERTIES']["HASHTAG"]["VALUE"]):?> <? if ($arItem['PROPERTIES']["HASHTAG"]["VALUE"]): ?>
<p class="item-info__category"><?= $arItem['PROPERTIES']["HASHTAG"]["VALUE"] ?></p> <p class="item-info__category"><?= $arItem['PROPERTIES']["HASHTAG"]["VALUE"] ?></p>
<?endif;?> <? endif; ?>
<time class="item-info__date" <time class="item-info__date"
datetime="<?= $arItem['PROPERTIES']["DATE"]["VALUE"] ?>"> datetime="<?= $arItem['PROPERTIES']["DATE"]["VALUE"] ?>">
<?= explode(' ', $arItem['PROPERTIES']["DATE"]["VALUE"])[0] ?> <?= explode(' ', $arItem['PROPERTIES']["DATE"]["VALUE"])[0] ?>
</time> </time>
<?if ( $arItem['PROPERTIES']["TIME"]["VALUE"]):?> <? if ($arItem['PROPERTIES']["TIME"]["VALUE"]): ?>
<span class="item-info__readtime"> <span class="item-info__readtime">
<svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-clock"> <svg width="1em" height="1em" viewBox="0 0 20 20" data-icon="icon-clock">
<use xlink:href="#ai:local:icon-clock"></use> <use xlink:href="#ai:local:icon-clock"></use>
</svg> </svg>
<?= $arItem['PROPERTIES']["TIME"]["VALUE"] ?> минут <?= minut($arItem['PROPERTIES']["TIME"]["VALUE"]) ?>
</span> </span>
<?endif?> <? endif ?>
</div> </div>
</div> </div>
</a> </a>
</div> </div>
</li> </li>
<?endforeach;?> <? endforeach; ?>
</ul> </ul>
</div>
</div> </div>
</div>
</div>
</div> </div>
</div>
</section> </section>
<? $APPLICATION->IncludeComponent("bitrix:main.include", "", array( <? $APPLICATION->IncludeComponent("bitrix:main.include", "", array(
"AREA_FILE_SHOW" => "file", // Показывать включаемую область "AREA_FILE_SHOW" => "file", // Показывать включаемую область
......
<? if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die(); <? if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();
if (!empty($arResult["ITEMS"])) { if (!empty($arResult["ITEMS"])) {
$arResult['MAIN']=[]; $arResult['MAIN']=[];
...@@ -21,20 +20,9 @@ if (!empty($arResult["ITEMS"])) { ...@@ -21,20 +20,9 @@ if (!empty($arResult["ITEMS"])) {
} }
//главная новость //главная новость
$arFilter = Array( $arResult['MAIN']=$arResult['ITEMS'][0];
"IBLOCK_ID"=>$arParams['IBLOCK_ID'], unset($arResult['ITEMS'][0]);
"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']=[]; $arResult['HASHTAGS']=[];
$arFilter = Array( $arFilter = Array(
...@@ -71,6 +59,33 @@ while($ob = $res->GetNextElement()) { ...@@ -71,6 +59,33 @@ while($ob = $res->GetNextElement()) {
$arResult['TITLE'] = $arItem; $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'];
} }
......
...@@ -14,6 +14,32 @@ $this->setFrameMode(true); ...@@ -14,6 +14,32 @@ $this->setFrameMode(true);
if (empty($arResult["ITEMS"])) { if (empty($arResult["ITEMS"])) {
return; 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"> <div class="container container--pt-header container--mb">
...@@ -54,12 +80,13 @@ if (empty($arResult["ITEMS"])) { ...@@ -54,12 +80,13 @@ if (empty($arResult["ITEMS"])) {
echo $arResult['TITLE']['PREVIEW_TEXT']; echo $arResult['TITLE']['PREVIEW_TEXT'];
} else {?> } else {?>
UDV Group предоставляет единый портфель решений для&nbsp;защиты технологических сетей, UDV Group предоставляет единый портфель решений для&nbsp;защиты технологических сетей,
корпоративного сегмента и&nbsp;автоматизации в&nbsp;области объектовой безопасности. корпоративного сегминутмента и&nbsp;автоматизации в&nbsp;области объектовой безопасности.
<?}?> <?}?>
</div> </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"> <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']) { ?> <? if ($arResult['MAIN']['PREVIEW_PICTURE']['SRC']) { ?>
<div class="article-card__image"> <div class="article-card__image">
<picture> <picture>
...@@ -98,7 +125,7 @@ if (empty($arResult["ITEMS"])) { ...@@ -98,7 +125,7 @@ if (empty($arResult["ITEMS"])) {
xlink:href="#ai:local:icon-clock"></use> xlink:href="#ai:local:icon-clock"></use>
</svg> </svg>
<?= $arResult['MAIN']['PROPERTIES']["TIME"]["VALUE"] ?> минут <?=minut($arResult['MAIN']['PROPERTIES']["TIME"]["VALUE"])?>
</span> </span>
</div> </div>
...@@ -149,13 +176,13 @@ if (empty($arResult["ITEMS"])) { ...@@ -149,13 +176,13 @@ if (empty($arResult["ITEMS"])) {
</div> </div>
</div> </div>
<div class="subscribe-form__inner"> <div class="subscribe-form__inner">
<h3 class="title subscribe-form__title">Подпишитесь<br> на&nbsp;нашу рассылку</h3> <h3 class="title subscribe-form__title"><?=$arResult['SUBSCRIBE-TITLE']?></h3>
<p class="subscribe-form__description">Будьте в курсе самых важных событий UDV <p class="subscribe-form__description"><?=$arResult['SUBSCRIBE-TEXT']?></p>
Group.</p>
</div> </div>
<div class="subscribe-form__form" data-form-validate="" data-callback="subscribe" <div class="subscribe-form__form" data-form-validate="" data-callback="subscribe"
data-button-disabled=""> data-button-disabled="">
<form action="#" id="news-form" novalidate=""> <form action="#" id="news-form" novalidate="">
<input type="hidden" name="listid" value="<?=$arResult['SUBSCRIBE-BOOK']?>">
<div class="subscribe-form__fields"> <div class="subscribe-form__fields">
<div class="custom-input subscribe-form__field" data-validate-type="email" <div class="custom-input subscribe-form__field" data-validate-type="email"
data-required="" data-message-base="Заполните поле" data-required="" data-message-base="Заполните поле"
...@@ -216,7 +243,7 @@ if (empty($arResult["ITEMS"])) { ...@@ -216,7 +243,7 @@ if (empty($arResult["ITEMS"])) {
data-tabs-controls-slider="container" data-da-max=".news__inner, 767, 1"> data-tabs-controls-slider="container" data-da-max=".news__inner, 767, 1">
<ul class="article-controls__list swiper-wrapper" data-tabs-controls-slider="wrapper"> <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 class="all-link" href="/about/news/#page2"> <a class="all-link" href="#page2">
<button class="article-controls__btn <?= (!$_GET['hash']) ? 'is-active' : '' ?>" <button class="article-controls__btn <?= (!$_GET['hash']) ? 'is-active' : '' ?>"
data-articles="all"> data-articles="all">
<span class="article-controls__icon"> <span class="article-controls__icon">
...@@ -241,7 +268,7 @@ if (empty($arResult["ITEMS"])) { ...@@ -241,7 +268,7 @@ if (empty($arResult["ITEMS"])) {
?> ?>
<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="hash-link" data-name="<?=$hash?>" href="?hash=<?= trim($item) <a class="hash-link" data-name="<?=$hash?>" href="?hash=<?= trim($item)
?>#page"> ?>#page2">
<button class="article-controls__btn <?= ($_GET['hash'] == trim($item)) ? 'is-active' : '' ?>" <button class="article-controls__btn <?= ($_GET['hash'] == trim($item)) ? 'is-active' : '' ?>"
data-articles="eco"> data-articles="eco">
<span class="article-controls__icon"> <span class="article-controls__icon">
...@@ -262,6 +289,11 @@ if (empty($arResult["ITEMS"])) { ...@@ -262,6 +289,11 @@ if (empty($arResult["ITEMS"])) {
</div> </div>
<? <?
$GLOBALS['arrFilter'] = array('!ID' => $arResult['MAIN']['ID']);
if ($_GET['hash']){
$GLOBALS['arrFilter']['PROPERTY_HASHTAG']=$_GET['hash'];
}
$APPLICATION->IncludeComponent( $APPLICATION->IncludeComponent(
"bitrix:news.list", "bitrix:news.list",
"news_tags", "news_tags",
......
...@@ -72,6 +72,9 @@ if ($adv767=="") { ...@@ -72,6 +72,9 @@ if ($adv767=="") {
$faqimg = CFile::GetPath($arResult["PROPERTIES"]['BG_FAQ']["VALUE"]); $faqimg = CFile::GetPath($arResult["PROPERTIES"]['BG_FAQ']["VALUE"]);
$navIcon=CFile::GetPath($arResult['PROPERTIES']['NAV_ICON']['VALUE']);
if ($faqimg=="") { if ($faqimg=="") {
$faqimg = SITE_TEMPLATE_PATH . "/images/bg/bg-faq-cta.png"; $faqimg = SITE_TEMPLATE_PATH . "/images/bg/bg-faq-cta.png";
} }
...@@ -249,9 +252,9 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){ ...@@ -249,9 +252,9 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
<div class="product-header__line"></div> <div class="product-header__line"></div>
<div class="product-header__inner" data-product-header="inner"> <div class="product-header__inner" data-product-header="inner">
<div class="product-header__icon product-header__icon--data"> <div class="product-header__icon product-header__icon--data">
<?if (is_array($arResult['PROPERTIES']['NAV_ICON']['~VALUE'])){ <?if ($navIcon){?>
echo $arResult['PROPERTIES']['NAV_ICON']['~VALUE']['TEXT']; <img src="<?=$navIcon?>" alt="Картинка" width="32" height="32" loading="lazy">
} else {?> <?} else {?>
<svg width="1em" height="1em" viewBox="0 0 32 32" data-icon="icon-data-pk"> <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> <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> </svg>
...@@ -837,8 +840,11 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){ ...@@ -837,8 +840,11 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
</svg> </svg>
</button> </button>
<div class="materials__media-text-wrap"> <div class="materials__media-text-wrap">
<h3 class="title materials__media-title"><?=$arResult['NAME']?></h3> <h3 class="title materials__media-title"><?=$arResult['PROPERTIES']['PREZENT_H3_VIDEO']['VALUE']?></h3>
<p class="materials__media-text">Презентация продукта</p> <?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> </div>
</div> </div>
......
...@@ -240,16 +240,19 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){ ...@@ -240,16 +240,19 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
<div class="number-element" data-da-max=".capability__main, 767, last"> <div class="number-element" data-da-max=".capability__main, 767, last">
<div class="number-element__inner"> <div class="number-element__inner">
<div class="number-element__top"> <div class="number-element__top">
<span class="number-element__icon <?=($arResult['PROPERTIES']['REMONT_ARROW']['VALUE_ENUM_ID']==21)?'up':''?>"> <span class="number-element__icon <?=($arResult['PROPERTIES']['REMONT_ARROW']['VALUE_ENUM_ID']==21)?'up':''?>">
<svg width="1em" height="1em" viewBox="0 0 51 51" <?if ($arResult['PROPERTIES']['REMONT_ARROW']['VALUE_ENUM_ID']){?>
data-icon="icon-arrow-down"> <svg width="1em" height="1em" viewBox="0 0 51 51"
<symbol id="ai:local:icon-arrow-down"><path fill="none" stroke="currentColor" stroke-linecap="round" data-icon="icon-arrow-down">
stroke-linejoin="round" stroke-width="1.5" <symbol id="ai:local:icon-arrow-down"><path fill="none" stroke="currentColor" stroke-linecap="round"
d="M25.5 40.375v-29.75M14.875 29.75 25.5 40.375M36.125 29.75 25.5 40.375"></path></symbol><use stroke-linejoin="round" stroke-width="1.5"
xlink:href="#ai:local:icon-arrow-down"></use> d="M25.5 40.375v-29.75M14.875 29.75 25.5 40.375M36.125 29.75 25.5 40.375"></path></symbol><use
</svg> xlink:href="#ai:local:icon-arrow-down"></use>
</span> </svg>
<p class="number-element__value"><?=$arResult['PROPERTIES']['REMONT_NUMBER']['VALUE']?>%</p> <?}?>
</span>
<p class="number-element__value"><?=$arResult['PROPERTIES']['REMONT_NUMBER']['VALUE']?></p>
<?if ($remontIcon){?> <?if ($remontIcon){?>
<span class="number-element__image"> <span class="number-element__image">
<img src="<?=$remontIcon?>" alt="Картинка" width="51" height="51" <img src="<?=$remontIcon?>" alt="Картинка" width="51" height="51"
...@@ -327,8 +330,8 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){ ...@@ -327,8 +330,8 @@ if ($arResult['PROPERTIES']['NAME']['VALUE']){
$btnWrite=$arResult['PROPERTIES']['BTN_WRITE']['VALUE']; $btnWrite=$arResult['PROPERTIES']['BTN_WRITE']['VALUE'];
} else $btnWrite="связаться снами"; } else $btnWrite="связаться снами";
if ($arResult['PROPERTIES']['BTN_WRITE']['VALUE']){ if ($arResult['PROPERTIES']['LINK_WRITE']['VALUE']){
$btnLink=$arResult['PROPERTIES']['BTN_LINK']['VALUE']; $btnLink=$arResult['PROPERTIES']['LINK_WRITE']['VALUE'];
} else $btnLink="#write-to-us-form"; } else $btnLink="#write-to-us-form";
?> ?>
......
...@@ -116,7 +116,8 @@ if ($APPLICATION->GetCurDir()=="/about/events/"){ ...@@ -116,7 +116,8 @@ if ($APPLICATION->GetCurDir()=="/about/events/"){
<li class="pagination__item"><a class="pagination__link" href="<?=$arResult["sUrlPath"]?>?<?=$strNavQueryString?>PAGEN_ <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> <?=$arResult["NavNum"]?>=<?=($arResult["NavPageNomer"]-1)?>"><span><?echo GetMessage("round_nav_back")?></span></a></li>
<?else:?> <?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?> <?endif?>
<li class="pagination__item"><a class="pagination__link" href="<?=$arResult["sUrlPath"]?><?=$strNavQueryStringFull?>"><span>1 <li class="pagination__item"><a class="pagination__link" href="<?=$arResult["sUrlPath"]?><?=$strNavQueryStringFull?>"><span>1
</span></a></li> </span></a></li>
...@@ -143,7 +144,8 @@ if ($APPLICATION->GetCurDir()=="/about/events/"){ ...@@ -143,7 +144,8 @@ if ($APPLICATION->GetCurDir()=="/about/events/"){
<?if($arResult["NavPageCount"] > 1):?> <?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> <li class="pagination__item"><a class="pagination__link" href="<?=$arResult["sUrlPath"]?>?<?=$strNavQueryString?>PAGEN_<?=$arResult["NavNum"]?>=<?=$arResult["NavPageCount"]?>"><span><?=$arResult["NavPageCount"]?></span></a></li>
<?endif?> <?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:?> <?else:?>
<?if($arResult["NavPageCount"] > 1):?> <?if($arResult["NavPageCount"] > 1):?>
<li class="pagination__item"><span class="pagination__link pagination__link--current"><?=$arResult["NavPageCount"]?></span></li> <li class="pagination__item"><span class="pagination__link pagination__link--current"><?=$arResult["NavPageCount"]?></span></li>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
} }
.news #page2 { .news #page2 {
position: relative; position: relative;
top: -60px; top: -120px;
height: 0px; height: 0px;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
...@@ -31,5 +31,9 @@ ...@@ -31,5 +31,9 @@
line-height: .9rem; line-height: .9rem;
} }
.news #page2 {
top: -505px;
}
} }
\ No newline at end of file
...@@ -305,10 +305,13 @@ ...@@ -305,10 +305,13 @@
<div class="modal-tell"> <div class="modal-tell">
<h2 class="modal-tell__title">Расскажите о себе</h2> <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"> <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="modal-tell__fields">
<div class="custom-input modal-tell__field custom-input--dark" data-validate-type="text" <div class="custom-input modal-tell__field custom-input--dark" data-validate-type="text"
data-required data-message-base="<?=$fields['HINT_1']?>" data-required data-message-base="<?=$fields['HINT_1']?>"
...@@ -325,7 +328,7 @@ ...@@ -325,7 +328,7 @@
<div class="custom-input modal-tell__field custom-input--dark" data-validate-type="text" <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> data-required data-message-base="<?=$fields['HINT_1']?>" data-message-extra="<?=$fields['HINT_2']?>" data-message-succes="" data-input-focus>
<label> <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> <span class="custom-input__label"><?=$fields['NAME']?></span>
</label> </label>
...@@ -335,7 +338,7 @@ ...@@ -335,7 +338,7 @@
<div class="custom-input modal-tell__field custom-input--dark" data-validate-type="phone" <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> data-required data-message-base="<?=$fields['HINT_1']?>" data-message-extra="<?=$fields['HINT_2']?>" data-message-succes="" data-input-focus>
<label> <label>
<input type="tel" name="email" maxlength="256"/> <input type="tel" name="phone" maxlength="256"/>
<span class="custom-input__label"><?=$fields['NAME']?></span> <span class="custom-input__label"><?=$fields['NAME']?></span>
</label> </label>
...@@ -355,7 +358,7 @@ ...@@ -355,7 +358,7 @@
<div class="custom-input modal-tell__field custom-input--dark" data-validate-type="text" <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> data-required data-message-base="<?=$fields['HINT_1']?>" data-message-extra="<?=$fields['HINT_2']?>" data-message-succes="" data-input-focus>
<label> <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> <span class="custom-input__label"><?=$fields['NAME']?></span>
</label> </label>
...@@ -365,7 +368,7 @@ ...@@ -365,7 +368,7 @@
<div class="custom-input modal-tell__field custom-input--dark" data-validate-type="text" <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> data-message-base="<?=$fields['HINT_1']?>" data-message-extra="<?=$fields['HINT_2']?>" data-message-succes="" data-input-focus>
<label> <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> <span class="custom-input__label"><?=$fields['NAME']?></span>
</label> </label>
...@@ -376,7 +379,7 @@ ...@@ -376,7 +379,7 @@
custom-input--dark" data-validate-type="text" data-message-base="<?=$fields['HINT_1']?>" 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> data-message-extra="<?=$fields['HINT_2']?>" data-message-succes="" data-input-focus>
<label> <label>
<input type="text" name="name" minlength="2" maxlength="256"/> <input type="text" name="rezume" minlength="2" maxlength="256"/>
<span class="custom-input__label"><?=$fields['NAME']?></span> <span class="custom-input__label"><?=$fields['NAME']?></span>
</label> </label>
......
...@@ -274,14 +274,12 @@ $assets = Asset::getInstance(); ...@@ -274,14 +274,12 @@ $assets = Asset::getInstance();
</button> </button>
</div> </div>
<div class="main-nav__submenu-list-wrap"> <div class="main-nav__submenu-list-wrap">
<?$products=ProductMenu(11); <?$products=ProductMenu1(11);
foreach ($products as $k=>$product):
?> ?>
<div class="main-nav__submenu-column"> <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"> <ul class="main-nav__submenu-list">
<? foreach ($product['ITEMS'] as $item):?> <? foreach ($products['ITEMS'] as $k=>$item):?>
<li class="main-nav__submenu-item"> <li class="main-nav__submenu-item">
<a class="main-nav__submenu-link" href="<?=$item['DETAIL_PAGE_URL']?>" <a class="main-nav__submenu-link" href="<?=$item['DETAIL_PAGE_URL']?>"
data-close-menu> data-close-menu>
...@@ -299,12 +297,10 @@ $assets = Asset::getInstance(); ...@@ -299,12 +297,10 @@ $assets = Asset::getInstance();
<span class="main-nav__submenu-link-description"> <?=$item['PROPERTY_MP_PREVIEW_TEXT_VALUE']['TEXT']?></span> <span class="main-nav__submenu-link-description"> <?=$item['PROPERTY_MP_PREVIEW_TEXT_VALUE']['TEXT']?></span>
</a> </a>
</li> </li>
<?endforeach;?> <?if ($k+1==count($products['ITEMS'])){?>
<li class="main-nav__submenu-item main-nav__submenu-item--all">
<?if ($k==2){?> <a class="main-nav__submenu-link" href="/products/"
<li class="main-nav__submenu-item main-nav__submenu-item--all"> data-close-menu="">
<a class="main-nav__submenu-link" href="/products/"
data-close-menu="">
<span class="main-nav__submenu-link-text"> <span class="main-nav__submenu-link-text">
Все продукты Все продукты
<span class="main-nav__submenu-link-icon"> <span class="main-nav__submenu-link-icon">
...@@ -315,14 +311,23 @@ $assets = Asset::getInstance(); ...@@ -315,14 +311,23 @@ $assets = Asset::getInstance();
</svg> </svg>
</span> </span>
</span> </span>
<span class="main-nav__submenu-link-description"></span> <span class="main-nav__submenu-link-description"></span>
</a> </a>
</li> </li>
<?}?> <?}?>
<?if ($k>0 && ($k+1)%4==0){?>
</ul>
</div>
<div class="main-nav__submenu-column">
<ul class="main-nav__submenu-list">
<?}?>
<?endforeach;?>
</ul> </ul>
</div> </div>
<?endforeach;?>
</div> </div>
</div> </div>
......
$(document).ready(function(){ $(document).ready(function(){
//кнопка показать еще для новостей //кнопка показать еще для новостей
$(document).on('click', '.news__btn--show-more', function(){ $(document).on('click', '.news__btn--show-more', function(){
$('.news__pagination').hide(); //делаем верную пагинацию
$(".pagination__list li").each(function(key) {
if ($(this).find('span').hasClass('pagination__link--current')){
let span=$(this).find('span');
var text=parseInt(span.text());
span.detach();
let ur='';
let nextur='';
if (text>1){
ur='/about/blog/?PAGEN_2='+text;
nextur='/about/blog/?PAGEN_2='+(text+2);
$('.pagination__list .pagination__link:first-child').attr('href',ur);
$('.pagination__list .pagination__link:last-child').attr('href',nextur);
let last=parseInt($('.pagination__list li.pagination__item:last-of-type').find('span').text());
if (last==text+1){
let svg=$('.pagination__list .pagination-last span').html();
$('.pagination__list .pagination-last').detach();
$(".pagination__list").append('<span class="pagination__link pagination__link--disabled">'+svg+'</span>');
}
} else {
ur='/about/blog/';
let svg=$('span.pagination__link.pagination__link--disabled').html();
$('span.pagination__link.pagination__link--disabled').detach();
$(".pagination__list").prepend('<a class="pagination__link" href="'+ur+'"><span>'+svg+'</span></a>')
nextur='/about/blog/?PAGEN_2=3';
$('.pagination__list .pagination__link:last-child').attr('href',nextur);
}
$(this).append('<a class="pagination__link" href="'+ur+'"><span>'+text+'</span></a>');
let next=$(this).next();
let nexttext=next.find('a span').text();
next.find('a').detach();
next.append('<span class="pagination__link pagination__link--current">'+nexttext+'</span>');
return false;
}
});
var targetContainer = $('#page'), var targetContainer = $('#page'),
url = $('.news__btn--show-more').attr('data-url'); url = $('.news__btn--show-more').attr('data-url');
...@@ -12,6 +58,7 @@ $(document).ready(function(){ ...@@ -12,6 +58,7 @@ $(document).ready(function(){
type: 'GET', type: 'GET',
url: url, url: url,
dataType: 'html', dataType: 'html',
async: false,
success: function(data){ success: function(data){
$('.news__btn--show-more').remove(); $('.news__btn--show-more').remove();
...@@ -24,13 +71,103 @@ $(document).ready(function(){ ...@@ -24,13 +71,103 @@ $(document).ready(function(){
} }
}); });
} else $('#pag').hide(); } else {
$('#pag').hide();
}
});
//все новости
$(document).on('click', '.all-link', function(e){
e.preventDefault;
e.stopPropagation();
$(".article-controls__item").each(function() {
$(this).find('.article-controls__btn').removeClass('is-active');
});
$(this).find('.article-controls__btn').addClass('is-active');
var targetContainer = $('#page'), url = "/about/blog/#page2";
window.history.replaceState( null, null, url );
if (url !== undefined) {
targetContainer.find('.news__list').detach();
$.ajax({
type: 'GET',
url: url,
dataType: 'html',
async: false,
success: function(data){
var elements = $(data).find('.news__list');
targetContainer.append(elements);
}
});
}
$('#pag').show();
$('.news-pag').show();
$('.news__pagination').show();
}); });
//кнопка показать еще для мероприятий //кнопка показать еще для мероприятий
$(document).on('click', '.events__btn--show-more', function(){ $(document).on('click', '.events__btn--show-more', function(){
$('.events__pagination').hide();
//делаем верную пагинацию
$(".pagination__list li").each(function(key) {
if ($(this).find('span').hasClass('pagination__link--current')){
let span=$(this).find('span');
var text=parseInt(span.text());
span.detach();
let ur='';
let nextur='';
if (text>1){
ur='/about/blog/?PAGEN_2='+text;
nextur='/about/blog/?PAGEN_2='+(text+2);
$('.pagination__list .pagination__link:first-child').attr('href',ur);
$('.pagination__list .pagination__link:last-child').attr('href',nextur);
let last=parseInt($('.pagination__list li.pagination__item:last-of-type').find('span').text());
if (last==text+1){
let svg=$('.pagination__list .pagination-last span').html();
$('.pagination__list .pagination-last').detach();
$(".pagination__list").append('<span class="pagination__link pagination__link--disabled">'+svg+'</span>');
}
} else {
ur='/about/blog/';
let svg=$('span.pagination__link.pagination__link--disabled').html();
$('span.pagination__link.pagination__link--disabled').detach();
$(".pagination__list").prepend('<a class="pagination__link" href="'+ur+'"><span>'+svg+'</span></a>')
nextur='/about/blog/?PAGEN_2=3';
$('.pagination__list .pagination__link:last-child').attr('href',nextur);
}
$(this).append('<a class="pagination__link" href="'+ur+'"><span>'+text+'</span></a>');
let next=$(this).next();
let nexttext=next.find('a span').text();
next.find('a').detach();
next.append('<span class="pagination__link pagination__link--current">'+nexttext+'</span>');
return false;
}
});
var targetContainer = $('#page-events'), var targetContainer = $('#page-events'),
url = $('.events__btn--show-more').attr('data-url'); url = $('.events__btn--show-more').attr('data-url');
...@@ -41,6 +178,7 @@ $(document).ready(function(){ ...@@ -41,6 +178,7 @@ $(document).ready(function(){
type: 'GET', type: 'GET',
url: url, url: url,
dataType: 'html', dataType: 'html',
async: false,
success: function(data){ success: function(data){
$('.events__btn--show-more').remove(); $('.events__btn--show-more').remove();
...@@ -53,7 +191,7 @@ $(document).ready(function(){ ...@@ -53,7 +191,7 @@ $(document).ready(function(){
} }
}); });
} else $('#pag').hide(); }
}); });
...@@ -65,20 +203,38 @@ $(document).ready(function(){ ...@@ -65,20 +203,38 @@ $(document).ready(function(){
}); });
$(this).find('.article-controls__btn').addClass('is-active'); $(this).find('.article-controls__btn').addClass('is-active');
var targetContainer = $('#page'), var targetContainer = $('#page'),
url = "/about/news/" + $(this).attr('href'); url = "/about/blog/" + $(this).attr('href');
window.history.replaceState(null, null, url); window.history.replaceState(null, null, url);
$('#pag').fadeOut(300); $('#pag').fadeOut(300);
$('.news-pag').fadeOut(300); $('.news-pag').fadeOut(300);
$('.news__pagination').fadeOut(300); $('.news__pagination').fadeOut(300);
let name=$(this).data("name"); let name=$(this).data("name");
$.each($('ul.news__list > li'), function(index, category) { let top=$('.news__top-news');
if ($(this).data("hash")!=name){ if ($(window).width()<860){
$(this).hide(300); if (top.data("hash-mobile")!=name){
} else $(this).show(300); top.hide();
}); } else top.show(); }
var targetContainer = $('#page'),
url = "/about/blog/"+$(this).attr('href');
window.history.replaceState( null, null, url );
if (url !== undefined) {
targetContainer.find('.news__list').detach();
$.ajax({
type: 'GET',
url: url,
dataType: 'html',
async: false,
success: function(data){
var elements = $(data).find('.news__list');
targetContainer.append(elements);
}
});
}
}); });
...@@ -99,25 +255,27 @@ $(document).ready(function(){ ...@@ -99,25 +255,27 @@ $(document).ready(function(){
url = "/about/events/"+$(this).attr('href'); url = "/about/events/"+$(this).attr('href');
window.history.replaceState( null, null, url ); window.history.replaceState( null, null, url );
let name=$(this).data("name");
if (url !== undefined) { if (url !== undefined) {
targetContainer.find('.events-list').detach(); targetContainer.find('.events__list').detach();
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: url, url: url,
dataType: 'html', dataType: 'html',
async: false,
success: function(data){ success: function(data){
var elements = $(data).find('.events__list');
var elements = $(data).find('.events-list');
targetContainer.append(elements); targetContainer.append(elements);
} }
}); });
} }
// $.each($('ul.events__list > li'), function(index, category) {
// if ($(this).data("hash")!=name){
// $(this).hide();
// } else $(this).show();
// });
}); });
...@@ -196,8 +354,9 @@ $(document).ready(function(){ ...@@ -196,8 +354,9 @@ $(document).ready(function(){
}); });
// отправка формы // отправка формы продуктов
$(document).on("submit", "#product-form", function(e) { $(document).on("submit", "#product-form", function(e) {
if ($(this).parent().hasClass('is-valid')){ if ($(this).parent().hasClass('is-valid')){
var data = $(this).serialize(); var data = $(this).serialize();
$.ajax({ $.ajax({
...@@ -213,6 +372,30 @@ $(document).ready(function(){ ...@@ -213,6 +372,30 @@ $(document).ready(function(){
} }
}); });
// отправка формы расскаиже о себе
$(document).on("submit", "#about-form", function(e) {
let error=0;
$("#about-form div[data-required]").each(function() {
if (!$(this).hasClass('is-valid')){
error++;
}
});
console.log(error);
if (error==0){
var data = $(this).serialize();
$.ajax({
url: '/local/ajax/about-form.php',
method: 'post',
data: data,
success: function (data) {
console.log(data);
}
});
}
});
// подписка на новости // подписка на новости
$(document).on("submit", "#news-form", function(e) { $(document).on("submit", "#news-form", function(e) {
if ($(this).parent().hasClass('is-valid')){ if ($(this).parent().hasClass('is-valid')){
...@@ -232,4 +415,13 @@ $(document).ready(function(){ ...@@ -232,4 +415,13 @@ $(document).ready(function(){
}); });
//Если в тег не добавлена ссыла - он должен быть некликабельным
$.each($('ul.events__list > li'), function(index, category) {
if ($(this).data("hash")!=name){
$(this).hide();
} else $(this).show();
});
$(document).on('click', '.marquee__list .marquee__item a[href=""]', function(e){
return false;
});
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment