#редирект карт сайта поддоментов
RewriteCond %{HTTP_HOST} ^(?!www\.)([^.]+) [NC]
RewriteRule ^sitemap\.xml$ /seo_sitemap/%1/sitemap.xml [L,NC]
#редирект карты сайта домена
RewriteCond %(HTTP_HOST) (www\.)?([a-z0-9-]+)\.ru
RewriteRule ^sitemap\.xml /seo_sitemap/sitemap.xml [L,NC]
<?
$rsSections = CIBlockSection::GetList(array(),array('IBLOCK_ID' => $arParams ['IBLOCK_ID'], '=CODE' => $arResult['VARIABLES']['SECTION_CODE']));
$arSection = $rsSections->Fetch();
?>
$catalogH1 = CIBlockSection::GetList(array(), array('IBLOCK_ID' => $arParams['IBLOCK_ID'], 'ID' => $arSection['ID']), false, array('UF_*'));
if($fieldsCatalogItem = $catalogH1->GetNext()) {
$fieldsCatalogH1 = $fieldsCatalogItem['UF_H1_CATALOG'];
}
if($fieldsCatalogH1) {
echo '<h1>'.$fieldsCatalogH1.'</h1>';
}
<?$APPLICATION->ShowHead();?>
<meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CHARSET?>" />
<title itemprop="headline"><?$APPLICATION->ShowTitle()?></title>
<meta itemprop="description" name="description" content="<?$APPLICATION->ShowProperty('description');?>" />
<?$APPLICATION->ShowMeta("robots")?>
<?$APPLICATION->ShowMeta("keywords") ?>
<?$APPLICATION->ShowCSS()?>
<?$APPLICATION->ShowHeadStrings()?>
<?$APPLICATION->ShowHeadScripts()?>
.slide-active {
tranform: scale(...)
}
.swiper-slide {
tranform: scale(меньше 1);
}
.swiper-slide.slide-active {
tranform: scale(1);
}
.standart {
background: rgb(246, 246, 248);
position: relative;
top: 195px;
}
.standart .container {
margin: auto;
max-width: 980px;
width:95%;
}
.in-main{
display: flex;
}
.main_header{
font-family:'Montserrat', sans-serif ;
font-weight: 700;
font-size: 33px;
color:rgba(50, 50, 50, 1);
line-height: 52.66px;
}
.main_des {
color: rgba(153, 153, 153, 1);
line-height: 25.36px;
font-family:'Montserrat', sans-serif;
font-weight: 400;
font-size: 14px;
width: 431px;
margin: 26px 0px 20px 0px;
}
.company_link{
font-family:'Montserrat', sans-serif ;
font-weight: 500;
color: rgba(73, 133, 255, 1);
font-size: 14px;
}
.photo_sandart{
width: 440px;
height: 340px;
margin-left: 50px;
}
<footer>
<div class="container">
<div class="row">
<div class="col-3">
текст
</div>
<div class="col-3">
текст
</div>
<div class="col-3">
текст
</div>
.container {
width: 90%;
max-width: 1200px;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
.row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
.col-3 {
-webkit-box-flex: 0;
-ms-flex: 0 0 25%;
flex: 0 0 25%;
max-width: 25%;
}
$("form").each(function() {
var formID = $(this).attr('id'),
formNm = $('#' + formID + '[data-form-validate="true"]');
formNm.validate({
errorPlacement: function(error, element) {
if (element.attr("name") == "checkeds") {
error.insertAfter(element.parent());
} else {
error.insertAfter(element);
}
return true;
},
highlight: function(element) {
$(element).parent().addClass("error-check");
},
unhighlight: function(element) {
$(element).parent().removeClass("error-check");
},
rules: {
name: {
required: true,
minlength: 2
},
field: {
required: true,
number: true,
minlength: 11
},
checkeds: {
required: true
},
subject: {
required: true
}
},
messages: {
name: {
required: "Не заполненное поле",
minlength: "Введите не менее 2-х символов"
},
field: {
required: "Не заполненное поле",
minlength: "11-значный номер телефона",
number:"Введите в формате 89876543210"
},
checkeds: {
required : ""
},
},
submitHandler: function (form) {
$.ajax({
type: "POST",
url: 'integration.php',
data: formNm.serialize(),
success: setTimeout((function(data){
if (data == 'yes'){
location.href = "http://my_site/thank-you""
}
}).bind(this), 1500, "yes")
});
}
});
});
$sales_notes_value = "Ваш текст";
$sales_notes_value = iconv('UTF-8', 'CP1251', $sales_notes_value);
<dl class="product-item-detail-properties">
<dt>Артикул</dt><dd>100172</dd>
<dt>Базовая единица</dt><dd>шт</dd>
...
</dl>
.product-item-detail-properties {
display: flex;
flex-wrap: wrap;
}
.product-item-detail-properties dt {
clear: both;
flex: 0 0 50%;
overflow: hidden;
font-weight: bold;
font-size: 13px;
padding: 5px 0 5px 10px;
border-bottom: 1px solid #e5e5e5;
}
.product-item-detail-properties dd {
font-size: 13px;
flex: 50% 0 0;
padding: 7px 0;
margin: 0;
border-bottom: 1px solid #e5e5e5;
}
/*чередующийся цвет колонок*/
.product-item-detail-properties dt:nth-child(4n+1), .product-item-detail-properties dd:nth-child(4n+2) {
background: #fbfbfb;
}