$filter = array();
if($_GET['date']) {
$filter[] = ['date' => $_GET['date']]; //Или так $filter['date'] = $_GET['date'];
}
if($filter) {
$where = $modx->toJSON($filter);
}
$params = array(
'docid' => 198,
'tvname' => 'field-news',
'where' => $where
);
return $modx->runSnippet('getImageList', $params);
foreach ($docs as $key => $value) {
$domains[$key] = $value;
}
RewriteCond %{THE_REQUEST} /subdomains/[^/] RewriteRule ^subdomains/[^/]+/(.*) /$1 [R=permanent,L] RewriteCond %{HTTP_HOST} ^(.+)\.site\.ru$ [NC] RewriteCond %{HTTP_HOST} !^www\.site\.ru$ [NC] RewriteCond %{REQUEST_URI} !^/subdomains RewriteRule ^(.*) %{HTTP_HOST}$1 RewriteRule ^(www\.)?(.+)\.site\.ru(.*) /subdomains/$2%{REQUEST_URI} [L]
RewriteCond %{THE_REQUEST} /subdomains/
RewriteRule ^subdomains/([^/]+)/(.*) http://$1.site.ru/$2 [R=301,L]
RewriteCond %{HTTP_HOST} ^(?>www\.|)(.+)\.site\.ru$ [NC]
RewriteRule !^subdomains /subdomains/%1%{REQUEST_URI} [L]
<div>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
div {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 2px;
background: red;
}
span {
background: white;
height: 100px;
}
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.|)site\.ru$ [NC]
RewriteCond %{REQUEST_URI} ^/([^/]+)
RewriteRule ^(.*)$ http://%1.stie.ru/$1 [R=301,L]
<svg style="display: none;">
<symbol id="facebook" viewBox="0 0 96.124 96.123">
<g>
<path d="M72.089,0.02L59.624,0C45.62,0,36.57,9.285,36.57,23.656v10.907H24.037c-1.083,0-1.96,0.878-1.96,1.961v15.803
c0,1.083,0.878,1.96,1.96,1.96h12.533v39.876c0,1.083,0.877,1.96,1.96,1.96h16.352c1.083,0,1.96-0.878,1.96-1.96V54.287h14.654
c1.083,0,1.96-0.877,1.96-1.96l0.006-15.803c0-0.52-0.207-1.018-0.574-1.386c-0.367-0.368-0.867-0.575-1.387-0.575H56.842v-9.246
c0-4.444,1.059-6.7,6.848-6.7l8.397-0.003c1.082,0,1.959-0.878,1.959-1.96V1.98C74.046,0.899,73.17,0.022,72.089,0.02z"/>
</g>
</symbol>
</svg>
<a class="social__item" href="#">
<svg class="social__icon">
<use xlink:href="#facebook"></use>
</svg>
</a>
Как изменить этот радиус на css или js, jquery?
#myMask circle {
r: 2;
}
listen 80 default_server
;