|
@@ -84,6 +84,7 @@ $auto_news = Yii::$app->cache->get('main_auto_news');
|
|
|
|
|
|
foreach ($design as $item) {
|
|
|
$i++;
|
|
|
+ echo "<!-- item-{$i} -->";
|
|
|
if($i==3) echo $this->render('@app/views/_etc/banners/firstDesktopTransparant');
|
|
|
if($i==6 && Yii::$app->deviceDetect->isMobile()) echo $this->render('@app/views/_etc/banners/bannerMobile3');
|
|
|
if($i==6 && !Yii::$app->deviceDetect->isMobile()) echo $this->render('@app/views/_etc/banners/bannerDesktop3');
|