<?php
use yii\helpers\Url;
use yii\widgets\Breadcrumbs;
//use app\models\News;
use yii\widgets\LinkPager;

use yii\widgets\ListView;

$this->title = 'Акции';
$this->params['seo']['title'] = $this->title;

$this->params['seo']['h1'] = $this->title;



?>


<div class="wrapper white item_container">
    <div class="container">
	<h1>Акции</h1>
        <?php

        foreach($dataProvider->models as $model){

            if($model->isActive()){
               echo $this->render('_objects',['model' => $model]);
            }

        }
        ?>

        <div class="both"></div>


    </div>

</div>