<div class="main-promo__slider swiper-container" data-promo-slider>
<div class="main-promo__slider-holder swiper-wrapper">
{if (!isset($smarty.server.HTTP_USER_AGENT) || stripos($smarty.server.HTTP_USER_AGENT, 'Chrome-Lighthouse') === false) }
{foreach $alldata as $item}
{if !empty($item->url)}
{*если есть ссылка*}
<a href="{$item->url}"
class="main-promo__slider-slide swiper-slide"
style="background-image: url('/storage/slider/{$item->img}')"
target="_blank"
data-swiper-autoplay="{$item->showTime}">
{if !empty($item->mintext) || !empty($item->title)}
<div class="main-promo__slider-slide-content">
{if !empty($item->title)}
<p class="main-promo__slider-slide-title">{$item->title}</p>
{/if}
{if !empty($item->mintext)}
<p class="main-promo__slider-slide-text">{$item->mintext|truncate:200}</p>
{/if}
</div>
{/if}
</a>
{else}
{*если нет ссылки*}
<div class="main-promo__slider-slide swiper-slide"
data-swiper-autoplay="{$item->showTime}">
style="background-image: url('{[$item->img, $urlg]|resize:[1920, 700, 0, 'fullsize' => false]}')">
{if !empty($item->mintext) || !empty($item->title)}
<div class="main-promo__slider-slide-content">
{if !empty($item->title)}
<p class="main-promo__slider-slide-title">{$item->title}</p>
{/if}
{if !empty($item->mintext)}
<p class="main-promo__slider-slide-text">{$item->mintext|truncate:200}</p>
{/if}
</div>
{/if}
</div>
{/if}
{/foreach}
{/if}
</div>
</div>
<Win+R>
cmd
<Enter>
netsh interface ipv4 set dnsserver "LAN" static none
<Enter>
netsh interface ipv4 add dns "LAN" 8.8.8.8 1
<Enter>