Blame view

frontend/views/news/index.php 723 Bytes
a0c30ef8   Administrator   upload project
1
2
3
4
5
6
  <?php
  
  /* @var $this yii\web\View */
  /* @var $searchModel common\models\NewsSearch */
  /* @var $dataProvider yii\data\ActiveDataProvider */
  
118a6488   Administrator   first commit from...
7
  use frontend\components\MyListView;
a0c30ef8   Administrator   upload project
8
9
10
11
12
13
14
15
16
17
18
19
20
  $this->registerCssFile('/css/style/news_all.css');
  $this->title ='Новости';
  $this->params['breadcrumbs'][] = $this->title;
  ?>
  
  
  
  
  
  
  
  
  
c6152cd6   Administrator   VItaliy 25.11.2015
21
  <div class="main-vin">
a0c30ef8   Administrator   upload project
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  	<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>