Blame view

frontend/views/news/index.php 711 Bytes
a0c30ef8   Administrator   upload project
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
  <?php
  
  /* @var $this yii\web\View */
  /* @var $searchModel common\models\NewsSearch */
  /* @var $dataProvider yii\data\ActiveDataProvider */
  
  use \yii\widgets\MyListView;
  $this->registerCssFile('/css/style/news_all.css');
  $this->title ='Новости';
  $this->params['breadcrumbs'][] = $this->title;
  ?>
  
  
  
  
  
  
  
  
  
  <div class="vin">
  	<p class="vin_article">Новости</p>
      <div class="choose_tovar">
          <?php
          echo MyListView::widget( [
              'dataProvider' => $dataProvider,
              'itemView'=>'one_item',
              'summary'=>'',
              'layout' => "{items}
                      <div id='pagination' class='pager-block'>{pager}</div>"
          ] );
          ?>
      </div>
  
  </div>