Blame view

frontend/views/event/index.php 765 Bytes
1da76554   Administrator   big commti
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  <?php
  use yii\helpers\Url;
  use yii\widgets\Breadcrumbs;
  //use app\models\News;
  use yii\widgets\LinkPager;
  
  use yii\widgets\ListView;
  
  ?>
  <?php
  $this->title = 'Акции';
  $this->registerMetaTag(['name' => 'description', 'content' => 'Акции']);
  $this->registerMetaTag(['name' => 'keywords', 'content' => 'Акции']);
  ?>
  
  
  <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>