Blame view

frontend/views/layouts/main.php 33.9 KB
8072159c   Alex Savenko   create proj
1
2
3
4
5
  <?php

      

      /**

       * @var View $this

       */

df6f8b4d   Alex Savenko   test commit
6
7
      use common\models\Articles;

      use common\models\Basket;

8072159c   Alex Savenko   create proj
8
      use frontend\assets\AppAsset;

9ad48656   Timur Kastemirov   increase speed fo...
9
      use frontend\assets\Css1Asset;

8072159c   Alex Savenko   create proj
10
11
12
13
      use yii\helpers\Html;

      use yii\helpers\Url;

      use yii\web\View;

      use yii\widgets\Breadcrumbs;

df6f8b4d   Alex Savenko   test commit
14
15
      use frontend\widgets\Seo;

      use common\models\Event;

51ed8cc5   Timur Kastemirov   increase speed fo...
16
      use frontend\widgets\AssetWidget;

8072159c   Alex Savenko   create proj
17
18
  

      AppAsset::register($this);

9ad48656   Timur Kastemirov   increase speed fo...
19
      Css1Asset::register($this);

8072159c   Alex Savenko   create proj
20
  ?>

df6f8b4d   Alex Savenko   test commit
21
  

8072159c   Alex Savenko   create proj
22
23
24
  <?php $this->beginPage() ?>

      <!DOCTYPE html>

      <head>

8072159c   Alex Savenko   create proj
25
          <?php $this->head() ?>

df6f8b4d   Alex Savenko   test commit
26
27
28
29
30
          <meta charset="<?= Yii::$app->charset ?>"/>

          <?= Html::csrfMetaTags () ?>

          <title><?= Seo::widget([ 'row'=>'title'])?></title>

          <?= Seo::widget([ 'row'=>'description'])?>

          <?= Seo::widget([ 'row'=>'meta'])?>

8072159c   Alex Savenko   create proj
31
32
33
          <link rel="icon" type="image/vnd.microsoft.icon" href="/images/icon.ico"/>

          <link type="image/ico" href="http://www.linija-svitla.ua/images/icon.ico" rel="SHORTCUT ICON"/>

          <link rel="icon" href="http://www.linija-svitla.ua/images/icon.ico" type="image/x-icon"/>

8072159c   Alex Savenko   create proj
34
35
36
  

          <meta name="google-site-verification" content="m60Ax2153voy05Xdtit_bnBVjuZG-fv0Zu14jLjb4Tk"/>

          

8072159c   Alex Savenko   create proj
37
38
39
          <script language="javascript">

              var ga_exist = false;

          </script>

df6f8b4d   Alex Savenko   test commit
40
  

8072159c   Alex Savenko   create proj
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
          <!--google analitycs-->

          <script>

              (function(i, s, o, g, r, a, m)

              {

                  i['GoogleAnalyticsObject'] = r;

                  i[r] = i[r] || function()

                      {

                          (i[r].q = i[r].q || []).push(arguments)

                      }, i[r].l = 1 * new Date();

                  a = s.createElement(o), m = s.getElementsByTagName(o)[0];

                  a.async = 1;

                  a.src = g;

                  m.parentNode.insertBefore(a, m)

              })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

              

              ga('create', 'UA-77115612-1', 'auto');

              ga('send', 'pageview');

          

          </script>

df6f8b4d   Alex Savenko   test commit
60
61
62
63
64
65
66
67
  

          <!-- Google Tag Manager -->

          <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':

                  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

                  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

                  'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);

              })(window,document,'script','dataLayer','GTM-NMXP4K');</script>

          <!-- End Google Tag Manager -->

37586ef6   Alexey Boroda   -Facebook pixel code
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
    <!-- Facebook Pixel Code -->

    <script>

        !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?

            n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;

            n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;

            t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,

            document,'script','https://connect.facebook.net/en_US/fbevents.js');

        fbq('init', '1591060651200152', {

            em: 'insert_email_variable,'

        });

        fbq('track', 'PageView');

    </script>

    <noscript><img height="1" width="1" style="display:none"

        src="https://www.facebook.com/tr?id=1591060651200152&ev=PageView&noscript=1"

      /></noscript>

    <!-- DO NOT MODIFY -->

    <!-- End Facebook Pixel Code -->

8072159c   Alex Savenko   create proj
85
      </head>

df6f8b4d   Alex Savenko   test commit
86
87
  

      <?php $this->beginBody() ?>

8072159c   Alex Savenko   create proj
88
89
90
91
92
93
94
95
96
97
98
      <body>

      <!-- Google Tag Manager (noscript) -->

      <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NMXP4K"

                        height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

      <!-- End Google Tag Manager (noscript) -->

      

      <div class="wraper">

          <div class="border">

              <div class="barEmpty"></div>

              <div class="container">

                  <div id="bottom">

8c34d56c   Alex Savenko   test commit 3
99
  

8072159c   Alex Savenko   create proj
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
                  </div>

              </div>

              

              

              <!-- Add your site or application content here -->

              <div id="top-nav-wrapper">

                  <div id="top-nav">

                      <div class="container">

                          <div class="col-md-9 col-lg-10">

                              <ul class="top-menu pull-left">

                                  <li class="sale_catalog">

                                      <a href="#" class="new_cat_link">Распродажа</a>

                                      <div>

                                          <ul>

                                              <?php foreach(Event::getSaleEvents() as $sale):?>

                                                  <li><?php echo Html::a('Скидка -'.$sale['percent'].'%',Url::to (['event/sale', 'percent' => $sale['percent']])) ?></li>

                                              <?php endforeach;?>

                                          </ul>

                                      </div>

                                  </li>

                                  <li><?php echo Html::a('Магазины',Url::to (['text/main', 'translit' => 'magaziny'])) ?></li>

                                  <li><?php echo Html::a('Гарантии', Url::to (['text/main', 'translit' => 'garantii'])) ?></li>

                                  <li><?php echo Html::a('Оплата', Url::to (['text/main', 'translit' => 'oplata'])) ?></li>

                                  <li><?php echo Html::a('Доставка', Url::to (['text/main', 'translit' => 'dostavka-tovarov'])) ?></li>

                              </ul>

                          </div>

                          <div class="col-md-3 col-lg-2">

                              <?php

                                  if(Yii::$app->user->isGuest) {

                                      echo Html::a('<span>Личный кабинет</span>', Url::to('#'), [

                                          'data-toggle' => 'modal',

                                          'data-target' => '#myAccount',

                                          'class'       => 'cabinet_link_',

                                      ]);

                                  } else {

                                      echo Html::a('<span>' . Yii::$app->user->identity->username . '</span>', Url::toRoute([ 'cabinet/main' ]), [ 'class' => 'cabinet_link_' ]);

                                  }

                              ?>

                          </div>

                          

                          <div class="clearfix"></div>

                      </div>

                  </div>

              </div>

              <div class="clearfix"></div>

              <header>

                  <div class="container" itemscope itemtype="http://schema.org/Organization">

                      <table cellpadding="0" cellspacing="0" border="0" class="header_tb">

                          <tr>

                              <td valign="middle" class="col-md-2 col-lg-3">

                                  <a href="/" itemprop="url"><img class="header-new-img" itemprop="logo" src="/images/new_img/new_logo.png" alt=""></a>

                              </td>

                              <td align="center" valign="middle" class="col-md-4 col-lg-4">

                                  <table class="tb_phones" cellspacing="0" cellpadding="0" border="0">

                                      <tr>

                                          <td>

                                              <table cellpadding="0" cellspacing="0" border="0">

                                                  <tr>

                                                      <td>

                                                          <img src="/images/new_img/ico/ico-7.png" alt="">

                                                      </td>

                                                      <td><p class="header_phones" itemprop="telephone">

                                                              <span>(044)</span> 339-92-33</p></td>

                                                  </tr>

                                              </table>

                                          </td>

                                          <td>

                                              <table cellpadding="0" cellspacing="0" border="0">

                                                  <tr>

                                                      <td>

                                                          <img src="/images/new_img/ico/ico-9.png" alt="">

                                                      </td>

                                                      <td><p class="header_phones" itemprop="telephone">

                                                              <span>(095)</span> 282-85-08</p></td>

                                                  </tr>

                                              </table>

                                          

                                          </td>

                                      </tr>

                                      <tr>

                                          <td>

                                              <table cellpadding="0" cellspacing="0" border="0">

                                                  <tr>

                                                      <td>

                                                          <img src="/images/new_img/ico/ico-8.png" alt="">

                                                      </td>

                                                      <td><p class="header_phones" itemprop="telephone">

                                                              <span>(068)</span> 776-60-67</p></td>

                                                  </tr>

                                              </table>

                                          </td>

                                          <td>

                                              <table cellpadding="0" cellspacing="0" border="0">

                                                  <tr>

                                                      <td>

                                                          <a href="#" class="callback header_callback" data-toggle="modal" data-target="#myCallback">перезвонить мне</a>

                                                      </td>

                                                  </tr>

                                              </table>

                                          </td>

                                      

                                      </tr>

                                  

                                  </table>

                              </td>

                              <td valign="middle" class="col-md-3 col-lg-3 new_search">

                                  <form id="search_products" method="get" action="/search/main">

                                      <div class="input-group">

                                          <input type="text" name="word" class="form-control" placeholder="введите артикул или ID" value="" required>

                                          <input class="new-btn-search" type="submit" value="">

                                      </div>

                                  </form>

                              </td>

                              <td id="top-cart-content" valign="middle" class="col-md-3 col-lg-2" style="padding-left: 0">

                                  <?php

                                      echo $this->render('/basket/cart', [

                                          'count' => \Yii::$app->basket->getCount(),

                                          'sum'   => \Yii::$app->basket->getSum(),

                                      ])

                                  ?>

                              </td>

                          </tr>

                      </table>

                  </div>

                  <div class="clearfix"></div>

              </header>

              <div id="brand_bar">

  

                  <div class="container">

8c34d56c   Alex Savenko   test commit 3
229
230
231
                      <?php if($this->beginCache('brand_list',[

                          'duration' => 3600 *24

                      ])){ ?>

8072159c   Alex Savenko   create proj
232
  

8c34d56c   Alex Savenko   test commit 3
233
                              <?= $this->render('../partial/brand_list')?>

8072159c   Alex Savenko   create proj
234
  

8c34d56c   Alex Savenko   test commit 3
235
                      <?php $this->endCache(); } ?>

8072159c   Alex Savenko   create proj
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
                  </div>

              </div>

              

              <?php if($this->beginCache('main-menu',[

                  'duration' => 3600 *24

              ])){ ?>

              <?= $this->render('main-menu') ?>

              <?php $this->endCache(); } ?>

  

              <div class="wrapper white">

                  <div class="container">

                      

                      <!---test--->

                      <?php

                          if (isset($this->params['breadcrumbs'])) {

                              $links = $this->params['breadcrumbs'];

                              foreach($links as $index => $link) {

                                  if(is_array($link)) {

                                      $links[$index]['itemprop'] = 'url';

51ed8cc5   Timur Kastemirov   increase speed fo...
255
                                      $links[$index]['label'] = '<span itemprop="name">'.$links[$index]['label'].'</span>';

8072159c   Alex Savenko   create proj
256
257
258
259
                                  }

                              }

                          }

                          echo Breadcrumbs::widget([

51ed8cc5   Timur Kastemirov   increase speed fo...
260
261
262
263
264
                              'options' => [

                                  'class' => 'breadcrumb',

                                  'itemscope' => "",

                                  'itemtype' => " http://schema.org/BreadcrumbList"

                              ],

8072159c   Alex Savenko   create proj
265
                              'encodeLabels' => false,

51ed8cc5   Timur Kastemirov   increase speed fo...
266
                              'itemTemplate' => "<li itemprop=\"itemListElement\" itemscope itemtype=\"http://schema.org/ListItem\">{link}</li>\n",

8072159c   Alex Savenko   create proj
267
268
                              'links'        => isset($links) ? $links : [],

                              'homeLink'     => [

51ed8cc5   Timur Kastemirov   increase speed fo...
269
                                  'label' => '<span itemprop="name">Интернет-магазин светильников</span>',

8072159c   Alex Savenko   create proj
270
271
272
                                  'url' => Url::to([ '/' ]),

                                  'itemprop' => 'url',

                              ],

51ed8cc5   Timur Kastemirov   increase speed fo...
273
                              'activeItemTemplate' => '<li class="active" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><span itemprop="item">{link}</span></li>',

8072159c   Alex Savenko   create proj
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
                          ])

                      ?>

                  

                  

                  </div>

                  

                  <?= $content ?>

              

              </div><!-- /.wrapper.white -->

              

              <div class="section-posts-wr style">

                  <div class="container">

                      <div class="row">

                          <div class="col-md-12">

                              <span class="search-title">Вы еще ничего не искали у нас на сайте</span>

                          </div>

                          <div class="col-md-12 blog-search">

                              <form id="search_products" method="get" action="/search/main">

                                  <div class="input-group">

                                      <input type="text" name="word" class="form-control" placeholder="Найдите то, что нужно Вам среди более 5000 светильников" value="" required>

                                      <input class="new-btn-search" type="submit" value="">

                                  </div>

                              </form>

                          </div>

                      </div>

                      <div class="row posts-margin">

                          <div class="col-md-12">

                              <div class="row">

                                  <div class="col-md-4">

                                      <?php if($this->beginCache('articles_show',[

                                          'duration' => 3600*24

                                      ]) ){?>

                                      <span class="posts-title">Статьи</span>

                                      <ul class="posts-links style">

                                          <?php foreach(Articles::find()->all() as $article):?>

                                              <li>

                                                  <?= Html::a($article->title, Url::to([

                                                      'articles/show',

                                                      'translit' => $article->translit

                                                  ]))?>

                                              </li>

                                          <?php endforeach;?>

                                      </ul>

                                      <div class="posts-line-wr style">

                                          <?= Html::a('Все статьи', Url::to('/articles/main'))?>

                                          <div><span></span></div>

                                      </div>

  

                                      <?php $this->endCache(); } ?>

                                  </div>

                                  <div class="col-md-8">

                                      <?php

                                      $seo_text = Seo::widget([ 'row'=>'seo_text']);

                                      if($seo_text){

                                          ?>

                                          <div class="seo-text style">

                                              <?= $seo_text?>

                                          </div>

                                          <div class="posts-line-wr style">

                                              <a class="all_seo_text" href="#">Развернуть текст</a>

                                              <div><span></span></div>

                                          </div>

  

                                      <?php } ?>

  

                                  </div>

                              </div>

                          </div>

                      </div>

                  </div>

              </div>

              

              <div class="fb-wrapper_">

                  <div class="container">

                      <div class="facebook_container">

                          <div class="fb-page" data-href="https://www.facebook.com/linija.svitla" data-width="500" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true" data-show-posts="false">

                              <div class="fb-xfbml-parse-ignore">

                                  <blockquote cite="https://www.facebook.com/linija.svitla">

                                      <a href="https://www.facebook.com/linija.svitla">Лінія Світла</a>

                                  </blockquote>

                              </div>

                          </div>

                          <div id="fb-root"></div>

                          <script>(function(d, s, id)

                              {

                                  var js, fjs = d.getElementsByTagName(s)[0];

                                  if(d.getElementById(id))

                                  {

                                      return;

                                  }

                                  js = d.createElement(s);

                                  js.id = id;

                                  js.src = "//connect.facebook.net/uk_UA/sdk.js#xfbml=1&version=v2.5&appId=770340233026349";

                                  fjs.parentNode.insertBefore(js, fjs);

                              }(document, 'script', 'facebook-jssdk'));

                          </script>

                      </div>

                  </div>

              </div>

              

              <footer>

                  <div class="container margin-top-40">

                      <div class="row">

                          <div class="col-md-3 col-lg-3" itemscope itemtype="http://schema.org/Organization">

                              <div class="footer-title_new">Есть к нам вопросы?</div>

                              <table class="footer-phones-wr" cellspacing="0" cellpadding="0" border="0" width="100%">

                                  <tr>

                                      <td>

                                          <table cellpadding="0" cellspacing="0" border="0">

                                              <tr>

                                                  <td><img src="/images/new_img/ico/ico-7.png" alt="">

                                                  </td>

                                                  <td><p class="footer_phones" itemprop="telephone">

                                                          <span>(044)</span> 339-92-33</p></td>

                                              </tr>

                                          </table>

                                      </td>

                                  </tr>

                                  <tr>

                                      <td>

                                          <table cellpadding="0" cellspacing="0" border="0">

                                              <tr>

                                                  <td><img src="/images/new_img/ico/ico-8.png" alt="">

                                                  </td>

                                                  <td><p class="footer_phones" itemprop="telephone">

                                                          <span>(068)</span> 776-60-67</p></td>

                                              </tr>

                                          </table>

                                      </td>

                                  </tr>

                                  <tr>

                                      <td>

                                          <table cellpadding="0" cellspacing="0" border="0">

                                              <tr>

                                                  <td><img src="/images/new_img/ico/ico-9.png" alt="">

                                                  </td>

                                                  <td><p class="footer_phones" itemprop="telephone">

                                                          <span>(095)</span> 282-85-08</p></td>

                                              </tr>

                                          </table>

                                      </td>

                                  </tr>

                              </table>

                              <a href="#" class="callback footer_callback header_callback" data-toggle="modal" data-target="#myCallback">перезвонить мне</a>

                          

                          </div>

                          <div class="col-md-3 col-lg-3">

                          </div>

                          <div class="col-md-3 col-lg-3">

  <!--                            <div class="footer-title_new">Корпоративным клиентам</div>-->

  <!--                            <a class="catalogs-link-footer" href="http://www.linija-svitla.ua/catalogues.htm">каталоги</a>-->

                          </div>

                          <div class="col-md-3 col-lg-3">

                              <div class="footer-title_new">Интернет-магазин в соцсетях</div>

                              <div class="fblock-content">

                                  <p class="seti-txt_">Присоединяйтесь к интернет-магазину Лiнiя Свiтла в социальных сетях. Вы всегда будете в курсе акций, распродаж и новинок.</p>

                                  <ul class="ul soc">

                                      <li>

                                          <a href="https://www.facebook.com/linija.svitla" class="facebook" target="_blank" rel="nofollow"></a>

                                      </li>

                                      <li>

8072159c   Alex Savenko   create proj
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
                                          <a href="#" class="twitter" target="_blank" rel="nofollow"></a>

                                      </li>

                                      <li>

                                          <a href="#" class="youtube" target="_blank" rel="nofollow"></a>

                                      </li>

                                      <li>

                                          <a href="https://plus.google.com/101559938155454540015/posts" class="google" target="_blank" rel="nofollow"></a>

                                      </li>

                                  </ul>

                              </div>

                          </div>

                      </div>

                      <div class="row">

                          <ul class="copy first_list_copy col-md-12">

                              <li><?php echo Html::a('Магазины',Url::to (['text/main', 'translit' => 'magaziny'])) ?></li>

                              <li><?php echo Html::a('Гарантии', Url::to (['text/main', 'translit' => 'garantii'])) ?></li>

                              <li><?php echo Html::a('Оплата', Url::to (['text/main', 'translit' => 'oplata'])) ?></li>

                              <li><?php echo Html::a('Доставка', Url::to (['text/main', 'translit' => 'dostavka-tovarov'])) ?></li>

                              <li><?php echo Html::a('Дисконтная программа', Url::to (['text/main', 'translit' => 'diskontnaya-programma'])) ?></li>

                              <li><?php echo Html::a('О проекте', Url::to (['text/main', 'translit' => 'o-proekte'])) ?></li>

                              <li><?php echo Html::a('Каталоги', Url::to (['text/main', 'translit' => 'katalogi'])) ?></li>

                          </ul>

                      </div>

                  </div>

                  <div class="box-studio-wr style">

                      <div class="container">

                          <div class="row">

                              <div class="col-md-9 col-lg-9">

                                  <p>© 2010-<?= date('Y'); ?> «Лiнiя свiтла» - интернет магазин продажи светильников, ламп, бра, торшеров и других осветительных систем. </p>

                              </div>

                              <div class="col-md-3 col-lg-3">

                                  <div class="artweb-wr">

                                      <a target="_blank" href="http://artweb.ua/">Создание сайтов</a>

                                      <div class="artweb-img">

                                          <a target="_blank" href="http://artweb.ua/"><img src="/images/new_img/ico/ico-11.png"></a>

                                      </div>

                                  </div>

                              </div>

                          </div>

                      </div>

                  </div>

              </footer>

              

              <div class="btn-fixeds fixed-events"><a href="/event/main">акции</a></div>

8c34d56c   Alex Savenko   test commit 3
479
              <!--<div class="btn-fixeds fixed-sale"><a href="/event">Распродажа</a></div>-->

8072159c   Alex Savenko   create proj
480
  

8c34d56c   Alex Savenko   test commit 3
481
              <table border="0" cellspacing="0" cellpadding="0" class="reqsBox"></table>

8072159c   Alex Savenko   create proj
482
483
484
485
              <div class="debug"></div>

          </div>

      </div>

      

8072159c   Alex Savenko   create proj
486
      <!-- Modal's -->

8c34d56c   Alex Savenko   test commit 3
487
  

8072159c   Alex Savenko   create proj
488
489
490
491
492
493
494
495
      <!-- login window -->

      <?= $this->render('/modal/login_window_model_window') ?>

      

      <!-- registration window -->

      <?= $this->render('/modal/registration_window_model_window') ?>

      

      <!-- forgot password form -->

      <?= $this->render('/modal/forgot_password_form_model_window') ?>

8c34d56c   Alex Savenko   test commit 3
496
  

8072159c   Alex Savenko   create proj
497
498
499
      <div class="modal fade" id="price_drop" tabindex="-1" role="dialog" aria-labelledby="myModalLabel3">

          <div class="modal-dialog auth" role="document">

              <div class="modal-content">

8072159c   Alex Savenko   create proj
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
                  <div class="modal-body">

                      

                      <form>

                          <div class="form-group">

                              <label for="InputName3">Имя:</label>

                              <input type="name" class="form-control" id="InputName3" placeholder="" required>

                          </div>

                          <div class="form-group">

                              <label for="InputPhone3">Телефон:</label>

                              <input type="email" class="form-control" id="InputPhone3" placeholder="" required>

                          </div>

                          <div class="form-group">

                              <label for="InputEmail3">Email:</label>

                              <input type="email" class="form-control" id="InputEmail3" placeholder="">

                          </div>

                          

                          <button type="submit" class="btn btn-default btn-large">Отправить</button>

                          <div class="clearfix"></div>

                      </form>

8c34d56c   Alex Savenko   test commit 3
519
  

8072159c   Alex Savenko   create proj
520
521
522
                      <br/>

                      <div class="clearfix"></div>

                  </div>

8072159c   Alex Savenko   create proj
523
524
525
526
              </div>

          </div>

      </div>

      

8072159c   Alex Savenko   create proj
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
      <div class="modal fade" id="returnСonditions" tabindex="-1" role="dialog" aria-labelledby="myModalLabel4">

          <div class="modal-dialog text-dialog" role="document">

              <div class="modal-content">

                  

                  <div class="modal-header">

                      <button type="button" class="close" data-dismiss="modal" aria-label="Close">

                          <span aria-hidden="true">&times;</span></button>

                      <span class="modal-title" id="myModalLabel4">Можно ли вернуть или обменять товар, если он мне не подошел?</span>

                  </div>

                  

                  <div class="modal-body">

                      <p>Да, но только в течение первых 14 дней и только если вы его не использовали, то есть товар не имеет признаков эксплуатации и изменений. При этом должна быть сохранена упаковка со всеми компонентами. У вас должен быть чек или иной документ, подтверждающий оплату.</p>

                      <p>Обмен или возврат товараденежных средств производится по адресу: г. Киев, ул. Глубочецкая, 53., с понедельника по пятницу с 10.00 до 19.00 и в субботу с 10.00 до 16.00. Телефон: (044) 428-6545. </p>

                      <p>При желании вы можете воспользоваться нашей службой доставки (в случае если отказ от товара происходит не по вине продавца транспортные услуги будут платными).</p>

                      <br/>

                      <div class="clearfix"></div>

                  </div>

              

              </div>

          </div>

      </div>

      

      <!-- consultation_modal -->

      <?= $this->render('/modal/my_callback_modal_window') ?>

      

8072159c   Alex Savenko   create proj
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
      <div class="modal fade" id="myWishlistAdded" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">

          <div class="modal-dialog wishlist" role="document">

              <div class="modal-content">

                  

                  <div class="modal-header">

                      <button type="button" class="close" data-dismiss="modal" aria-label="Close">

                          <span aria-hidden="true">&times;</span></button>

                      <span class="modal-title" id="myModalLabel">Товар добавлен в закладки</span>

                  </div>

                  

                  <div class="modal-body">

                      <br/>

                  </div>

              

              </div>

          </div>

      </div>

      

      <!-- Cart -->

      <div class="modal fade" id="buyForm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">

          <?= $this->render('/basket/modal_items', [

              'basket' => new Basket(),

              'models' => [],

          ]) ?>

      </div>

6eb483ff   Alex Savenko   remarketing
577
  

2ef1c1c6   Alex Savenko   remarketing
578
      <!-- Код тега ремаркетинга Google -->

8cfd1b8a   Alex Savenko   remarketing
579
      <?php

993186ae   Alex Savenko   remarketing
580
          if (isset($this->params['remarketing']) && is_array($this->params['remarketing']['id'])) {

aac141ff   Alex Savenko   remarketing
581
582
              echo /** @lang javascript */

                  '

993186ae   Alex Savenko   remarketing
583
584
585
586
                  <script type="text/javascript">

                      var google_tag_params = {

                          dynx_pagetype: "'.$this->params['remarketing']['type'].'",

                          dynx_itemid: ["'.implode('", "', $this->params['remarketing']['id']).'"],

aac141ff   Alex Savenko   remarketing
587
                          dynx_totalvalue: ['.implode(', ', $this->params['remarketing']['price']).']

d8a11765   Administrator   remarketing fix ";"
588
                      };

993186ae   Alex Savenko   remarketing
589
590
591
592
                  </script>

              ';

          }

          elseif (isset($this->params['remarketing'])) {

9ffc1f1c   Alex Savenko   remarketing
593
594
              echo /** @lang javascript */

                  '

8cfd1b8a   Alex Savenko   remarketing
595
596
597
                  <script type="text/javascript">

                      var google_tag_params = {

                          dynx_pagetype: "'.$this->params['remarketing']['type'].'",

7bf7b0b1   Alex Savenko   remarketing
598
                          dynx_itemid: "'.$this->params['remarketing']['id'].'",

78ccce7a   Alex Savenko   dynx_totalvalue p...
599
                          dynx_totalvalue: '.$this->params['remarketing']['price'] .'

d8a11765   Administrator   remarketing fix ";"
600
                      };

8cfd1b8a   Alex Savenko   remarketing
601
602
603
                  </script>

              ';

          }

8cfd1b8a   Alex Savenko   remarketing
604
      ?>

2ef1c1c6   Alex Savenko   remarketing
605
606
607
608
609
610
611
612
613
614
615
616
  

      <script type="text/javascript">

          /* <![CDATA[ */

          var google_conversion_id = 928178078;

          var google_custom_params = window.google_tag_params;

          var google_remarketing_only = true;

          /* ]]> */

      </script>

      <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">

      </script>

      <noscript>

          <div style="display:inline;">

7e069e36   Alex Savenko   noscript remarket...
617
              <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/928178078/?guid=ON&amp;script=0"/>

2ef1c1c6   Alex Savenko   remarketing
618
619
          </div>

      </noscript>

51ed8cc5   Timur Kastemirov   increase speed fo...
620
621
622
623
624
      

      <?php

          echo AssetWidget::widget(

              [

                  'assets' => [

9ad48656   Timur Kastemirov   increase speed fo...
625
626
                      //                    'sersid\owlcarousel\Asset',

                      'frontend\assets\Css1Asset',

51ed8cc5   Timur Kastemirov   increase speed fo...
627
628
629
630
631
                      'frontend\assets\FlipclockAsset',

                  ],

              ]

          );

      ?>

2ef1c1c6   Alex Savenko   remarketing
632
  

8072159c   Alex Savenko   create proj
633
634
635
636
      <?php $this->endBody() ?>

      </body>

      </html>

  <?php $this->endPage() ?>