Blame view

frontend/views/layouts/main.php 1.3 KB
eb56e5f2   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <?php
  
  /* @var $this \yii\web\View */
  /* @var $content string */
      
  use yii\helpers\Html;
  use frontend\assets\AppAsset;
  
  AppAsset::register($this);
  ?>
  <?php $this->beginPage() ?>
  <!DOCTYPE html>
  <html lang="<?= Yii::$app->language ?>">
  <head>
      <meta charset="<?= Yii::$app->charset ?>">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <?= Html::csrfMetaTags() ?>
      <title><?= Html::encode($this->title) ?></title>
      <?php $this->head() ?>
  </head>
  <body id="contrast" class="">
  <?php $this->beginBody() ?>
d5ed07ff   Alexey Boroda   -Tag manager added
23
24
25
26
27
28
29
30
31
32
33
  <!-- 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-K82GX8K');</script>
  <!-- End Google Tag Manager -->
  <!-- Google Tag Manager (noscript) -->
  <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K82GX8K"
      height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  <!-- End Google Tag Manager (noscript) -->
eb56e5f2   Administrator   first commit
34
35
36
37
38
  <?php echo $content ?>
  <?php $this->endBody() ?>
  </body>
  </html>
  <?php $this->endPage() ?>