c420c609
alex
first commit
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
/**
* @var View $this
* @var string $content
* @var SeoComponent $seo
* @var User $user
* @var PageCategory[] $pageCategories
* @var \artbox\core\forms\Module $module;
*/
use artbox\core\components\SeoComponent;
use artbox\core\models\PageCategory;
use artbox\core\models\User;
use yii\bootstrap\Html;
use yii\web\View;
|
b2e6e4cc
alex
Добавил возможнос...
|
16
17
|
use frontend\widgets\LanguageWidget;
use common\models\Settings;
|
c420c609
alex
first commit
|
18
19
20
21
22
|
$seo=\Yii::$app->get('seo');
\frontend\assets\AppAsset::register($this);
|
b2e6e4cc
alex
Добавил возможнос...
|
23
|
|
9b0d0da0
alex
Вывел футер в шаб...
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$send="Отправить";
$request1='Ваша заявка';
if(strpos($_SERVER['REQUEST_URI'],"/ua")!==false) {
$send = "Вiдправити";
}
$settings = Settings::getInstance();
$module=\Yii::$app->getModule('contact');
|
b2e6e4cc
alex
Добавил возможнос...
|
38
39
|
$settings = Settings::getInstance();
|
c420c609
alex
first commit
|
40
41
|
?>
|
216957b0
alex
add google analitics
|
42
|
|
c420c609
alex
first commit
|
43
44
45
46
47
|
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= \Yii::$app->language ?>">
<head>
<meta charset="<?= \Yii::$app->charset ?>">
|
c420c609
alex
first commit
|
48
|
<link href="https://fonts.googleapis.com/css?family=Ubuntu:400,500,700&subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet">
|
aa6e6170
alex
Доделал мелкие пр...
|
49
|
<link type="image/x-icon" href="/images/favicon.ico" rel="icon">
|
c420c609
alex
first commit
|
50
51
52
53
|
<meta name="viewport" content="width=device-width, initial-scale=1">
<?= Html::csrfMetaTags() ?>
<title><?= Html::encode($seo->title) ?></title>
<?php $this->head() ?>
|
58e08e76
Alex Savenko
GTM code changed
|
54
55
56
57
58
59
60
|
<!-- 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-MZGFQ2B');</script>
<!-- End Google Tag Manager -->
|
216957b0
alex
add google analitics
|
61
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
fa17c1a0
Volodymyr
change google ana...
|
62
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-150418728-1"></script>
|
216957b0
alex
add google analitics
|
63
64
65
66
67
|
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
|
fa17c1a0
Volodymyr
change google ana...
|
68
|
gtag('config', 'UA-150418728-1');
|
216957b0
alex
add google analitics
|
69
|
</script>
|
c420c609
alex
first commit
|
70
71
|
</head>
<body>
|
8d4c77ab
alex
google tag + перевод
|
72
|
<!-- Google Tag Manager (noscript) -->
|
58e08e76
Alex Savenko
GTM code changed
|
73
74
75
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MZGFQ2B"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
|
8d4c77ab
alex
google tag + перевод
|
76
|
<?php $this->beginBody() ?>
|
b2e6e4cc
alex
Добавил возможнос...
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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
|
<header id="header_" class="section-box-header">
<div class="section-header">
<div class="container">
<div class="row">
<div class="col-xs-6 col-sm-1 col-md-2 logo-wr">
<a href="/">
<img src="/images/logo.png" alt="">
</a>
</div>
<div class="menu-header">
<ul>
<li><a href="#about" data-anchor="section-about-product"><?=\Yii::t('app','About Product');?></a></li>
<li><a href="#advantages" data-anchor="section-advantages"><?=\Yii::t('app','Advantages');?></a></li>
<li><a href="#trust" data-anchor="section-trusted"><?=\Yii::t('app','Believe Us');?></a></li>
<li><a href="#contacts" data-anchor="section-map"><?=\Yii::t('app','Contacts');?></a></li>
</ul>
</div>
<div class="mail-header">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<div class="sep-lang">
<?=
LanguageWidget::widget([
'layoutCondition' => LanguageWidget::LAYOUT_UL,
'layoutAttributes' =>[
'a' =>[
'activeClass' => 'sep-lang-a'
],
],
]);
?>
</div>
<a class="mail-link_"
<?=(isset($settings->email))
?' href="mailto:'.$settings->email.'"'
:'';
?>
>
<?=($settings->email??'')?>
</a>
</td>
</tr>
</table>
</div>
<div class="phone-header">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<?=(isset($settings->phone))?Html::a($settings->phone,
'tel:'.$settings->phone):'';?>
<?=(isset($settings->phone2))?Html::a($settings->phone2,
'tel:'.$settings->phone2):'';?>
</td>
</tr>
</table>
<span class="modal-link" data-event="call" data-form="callback" ><?=\Yii::t('app','Call me!');?></span>
</div>
</div>
</div>
</div>
<div class="mobile-menu-hidden" style="display: none;">
<div class="close-lang-mob">
<div class="close-mobile-menu"></div>
</div>
<div class="mobi-menu-primary">
<ul class="mobi-menu-primary-cab">
<li>
<a href="#">
<i class="icon-menu-mob icon-menu-mob-1"></i>
<p><?=\Yii::t('app','Personal office');?></p>
</a>
</li>
<li>
<a href="#">
<i class="icon-menu-mob icon-menu-mob-2"></i>
<p><?=\Yii::t('app','Preferred');?></p>
</a>
</li>
<li class="hidden-tablet-850">
<a href="#">
<i class="icon-menu-mob icon-menu-mob-3"></i>
<p><?=\Yii::t('app','Compare');?></p>
</a>
</li>
</ul>
<ul class="mobi-menu-primary-ul">
<li><a href="/ru/site/page/kontakty"><?=\Yii::t('app','Contacts');?></a></li>
<li><a href="/ru/site/page/oplata-i-dostavka"><?=\Yii::t('app','Delivery and payment');?></a></li>
<li><a href="/ru/site/page/pomosch"><?=\Yii::t('app','Support');?></a></li>
<li><a href="/ru/brand/index" class=""><?=\Yii::t('app','Brands');?></a></li>
</ul>
</div>
</div>
|
8d4c77ab
alex
google tag + перевод
|
181
|
|
b2e6e4cc
alex
Добавил возможнос...
|
182
|
</header>
|
8d4c77ab
alex
google tag + перевод
|
183
|
|
c420c609
alex
first commit
|
184
185
|
<?= $content ?>
|
c420c609
alex
first commit
|
186
|
|
be2b3be7
alex
правки по формам
|
187
|
|
9b0d0da0
alex
Вывел футер в шаб...
|
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
|
<footer id="footer_" class="section-box-footer" >
<div class="section-box studio_footer">
<div class="container">
<div class="row">
<div class="hidden visible_all col-xs-12 col-sm-6">
<div class="copyright">© 2018, ArtPlast </div>
</div>
<div class="col-xs-12 col-sm-6">
<div class="artweb-wr">
<a target="_blank" href="http://artweb.ua/"><?=\Yii::t('app','Creating sites');?></a>
<div class="artweb-img">
<a target="_blank" href="http://artweb.ua/">
<div class="ico-spr ico-artweb-logo"></div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="display: none;" class="btn_up"></div>
|
dd173a67
Виталий
call mob button
|
218
|
<!-- <div style="display: none" class="btn_call_close"></div>-->
|
9b0d0da0
alex
Вывел футер в шаб...
|
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
|
</footer>
<div id="overlay" style="display: none;"></div>
<div id="overlay-catalog" style="display: none;"></div>
<div id="buy-form" class="forms_" style="display: none;">
<span id="modal_close"></span>
<div class="forms-wrapp">
<div class="forms-title"><?=\Yii::t('app','Your request1');?></div>
<?php echo $module->renderForm($this); ?>
</div>
</div>
<div id="callback" class="forms_" style="display: none;">
<span id="modal_close"></span>
<div class="forms-wrapp">
<div class="forms-title"><?= \Yii::t('app','Callback');?></div>
<?php $module2=\Yii::$app->getModule('request_2');
echo $module2->renderForm($this);
?>
</div>
</div>
<div id="success_form" style="display: none;">
<span id="modal_close"></span>
<div class="txt-success"><span><?=\Yii::t('app','Thanks for request');?></span>
<p><?=\Yii::t('app','We call you later');?></p></div>
</div>
<div id="success_form" class="error_form" style="display: none;">
<span id="modal_close"></span>
<div class="txt-success"><span><?=\Yii::t('app','Message wasn`t send');?></span>
<p><?=\Yii::t('app','Fill tel/name');?></p></div>
</div>
|
701eaaed
alex
add Cookie modal ...
|
257
258
259
|
<?php
if (!isset($_COOKIE['sowCookieModal'])) {
|
9b0d0da0
alex
Вывел футер в шаб...
|
260
|
|
701eaaed
alex
add Cookie modal ...
|
261
|
?>
|
bc81112d
Виталий
cookies form
|
262
263
264
265
266
267
|
<div class="cookie-modal">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="cokeis-close"></div>
<p>
|
701eaaed
alex
add Cookie modal ...
|
268
269
270
|
<?php
echo \Yii::t('app', 'cookie-text')
?>
|
bc81112d
Виталий
cookies form
|
271
272
273
274
275
276
|
</p>
</div>
</div>
</div>
</div>
|
701eaaed
alex
add Cookie modal ...
|
277
278
279
|
<?php
}
?>
|
9b0d0da0
alex
Вывел футер в шаб...
|
280
|
|
dd173a67
Виталий
call mob button
|
281
282
283
284
|
<div style="display: none" class="btn_call">
<div></div>
</div>
<div class="call-mobile-wr" style="display: none;">
|
63cb90cb
alex
update css
|
285
|
<div class="call-mobile">
|
dd173a67
Виталий
call mob button
|
286
287
288
289
290
291
292
293
294
295
296
|
<div class="call-mobile-td">
<div class="button-call-mob">
<a class="button-call_" href="tel:+380671074237">067 107-42-37</a>
</div>
<div class="button-call-mob">
<a class="button-call_" href="tel:+380660784924">066 078-49-24</a>
</div>
</div>
</div>
</div>
|
9b0d0da0
alex
Вывел футер в шаб...
|
297
|
<?php $this->endBody() ?>
|
c420c609
alex
first commit
|
298
299
300
|
</body>
</html>
<?php $this->endPage() ?>
|