Blame view

frontend/views/search/index.php 1.6 KB
8072159c   Alex Savenko   create proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  <?php
  /**
   * @var $productProvider \yii\data\ActiveDataProvider
   * @var View $this
   */
  use frontend\widgets\FilterWidget;
  use frontend\widgets\Seo;
  use yii\helpers\Url;
  use yii\web\View;
  use yii\widgets\ListView;
  $this->params['seo']['title'] = 'Поиск';
  
  $this->params['seo']['h1'] = 'Поиск';
  
  $this->params['breadcrumbs'][] = 'Поиск';
5898b9f2   Alex Savenko   remarketing
16
17
  
  $this->params['remarketing']['type'] = 'searchresults';
4cf114ff   Alex Savenko   remarketing
18
19
  $this->params['remarketing']['id'] = '';
  $this->params['remarketing']['price'] = '';
8072159c   Alex Savenko   create proj
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
  ?>
  <!-- Табы для слайдера -->
  
  <div class="container">
      <div class="block-25" style="position: relative;">
  
          <div class="clearfix"></div>
  
  
  
  
          <div class="columnLeftInfo">
              <!-- del_columnLeftInfo -->
  
              <!-- del_columnLeftInfo_end -->
          </div>
  
  
          <br />
  
  
  
      </div>
      <div class="block-75" itemscope itemtype="http://schema.org/Product">
  
  
  
  
          <script>
  
  
          </script>
  
  
  
          <h1 class="title"><?= Seo::widget([ 'row'=>'h1'])?></h1>
  
  
  
          <div class="catalog_product_list view_table">
  
  
              <?= ListView::widget([
                  'dataProvider' => $productProvider,
                  'itemView' => function ($model, $key, $index, $widget)  {
                      return $this->render('../catalog/_product_item',[
                          'model' => $model,
                          'category' => $model->category
                      ]);
                  },
                  'layout' => "{items}<div class=\"clearfix\"></div>{pager}",
              ])
  
              ?>
  
  
  
  
              <div class="clearfix"></div>
          </div>
  
  
  
      </div>
  </div>