c088acf86092760b5f0c37d609cbad45.php
14.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
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
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
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
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
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/template/common/header.twig */
class __TwigTemplate_a0a3e5d711324d164b2e49c5c3b47b6d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir=\"";
// line 3
yield ($context["direction"] ?? null);
yield "\" lang=\"";
yield ($context["lang"] ?? null);
yield "\" class=\"ie8\"><![endif]-->
<!--[if IE 9 ]><html dir=\"";
// line 4
yield ($context["direction"] ?? null);
yield "\" lang=\"";
yield ($context["lang"] ?? null);
yield "\" class=\"ie9\"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir=\"";
// line 6
yield ($context["direction"] ?? null);
yield "\" lang=\"";
yield ($context["lang"] ?? null);
yield "\">
<!--<![endif]-->
<head>
<meta charset=\"UTF-8\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<title>";
// line 12
yield ($context["title"] ?? null);
yield "</title>
";
// line 13
if (($context["robots"] ?? null)) {
// line 14
yield "<meta name=\"robots\" content=\"";
yield ($context["robots"] ?? null);
yield "\" />
";
}
// line 16
yield "<base href=\"";
yield ($context["base"] ?? null);
yield "\" />
";
// line 17
if (($context["description"] ?? null)) {
// line 18
yield "<meta name=\"description\" content=\"";
yield ($context["description"] ?? null);
yield "\" />
";
}
// line 20
if (($context["keywords"] ?? null)) {
// line 21
yield "<meta name=\"keywords\" content=\"";
yield ($context["keywords"] ?? null);
yield "\" />
";
}
// line 23
yield "<meta property=\"og:title\" content=\"";
yield ($context["title"] ?? null);
yield "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:url\" content=\"";
// line 25
yield ($context["og_url"] ?? null);
yield "\" />
";
// line 26
if (($context["og_image"] ?? null)) {
// line 27
yield "<meta property=\"og:image\" content=\"";
yield ($context["og_image"] ?? null);
yield "\" />
";
} else {
// line 29
yield "<meta property=\"og:image\" content=\"";
yield ($context["logo"] ?? null);
yield "\" />
";
}
// line 31
yield "<meta property=\"og:site_name\" content=\"";
yield ($context["name"] ?? null);
yield "\" />
<script src=\"catalog/view/javascript/jquery/jquery-2.1.1.min.js\" type=\"text/javascript\"></script>
<link href=\"catalog/view/javascript/bootstrap/css/bootstrap.min.css\" rel=\"stylesheet\" media=\"screen\" />
<script src=\"catalog/view/javascript/bootstrap/js/bootstrap.min.js\" type=\"text/javascript\"></script>
<link href=\"catalog/view/javascript/font-awesome/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"catalog/view/theme/default/stylesheet/stylesheet.css\" rel=\"stylesheet\">
";
// line 38
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["styles"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["style"]) {
// line 39
yield "<link href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "href", [], "any", false, false, false, 39);
yield "\" type=\"text/css\" rel=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "rel", [], "any", false, false, false, 39);
yield "\" media=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["style"], "media", [], "any", false, false, false, 39);
yield "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['style'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["scripts"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
// line 42
yield "<script src=\"";
yield $context["script"];
yield "\" type=\"text/javascript\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 44
yield "<script src=\"catalog/view/javascript/common.js\" type=\"text/javascript\"></script>
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["links"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 46
yield "<link href=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "href", [], "any", false, false, false, 46);
yield "\" rel=\"";
yield CoreExtension::getAttribute($this->env, $this->source, $context["link"], "rel", [], "any", false, false, false, 46);
yield "\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["analytics"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["analytic"]) {
// line 49
yield $context["analytic"];
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['analytic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
yield "</head>
<body>
<nav id=\"top\">
<div class=\"container\">";
// line 54
yield ($context["currency"] ?? null);
yield "
";
// line 55
yield ($context["language"] ?? null);
yield "
\t";
// line 56
yield ($context["blog_menu"] ?? null);
yield "
<div id=\"top-links\" class=\"nav pull-right\">
<ul class=\"list-inline\">
<li><a href=\"";
// line 59
yield ($context["contact"] ?? null);
yield "\"><i class=\"fa fa-phone\"></i></a> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["telephone"] ?? null);
yield "</span></li>
<li class=\"dropdown\"><a href=\"";
// line 60
yield ($context["account"] ?? null);
yield "\" title=\"";
yield ($context["text_account"] ?? null);
yield "\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-user\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_account"] ?? null);
yield "</span> <span class=\"caret\"></span></a>
<ul class=\"dropdown-menu dropdown-menu-right\">
";
// line 62
if (($context["logged"] ?? null)) {
// line 63
yield " <li><a href=\"";
yield ($context["account"] ?? null);
yield "\">";
yield ($context["text_account"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 64
yield ($context["order"] ?? null);
yield "\">";
yield ($context["text_order"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 65
yield ($context["transaction"] ?? null);
yield "\">";
yield ($context["text_transaction"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 66
yield ($context["download"] ?? null);
yield "\">";
yield ($context["text_download"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 67
yield ($context["logout"] ?? null);
yield "\">";
yield ($context["text_logout"] ?? null);
yield "</a></li>
";
} else {
// line 69
yield " <li><a href=\"";
yield ($context["register"] ?? null);
yield "\">";
yield ($context["text_register"] ?? null);
yield "</a></li>
<li><a href=\"";
// line 70
yield ($context["login"] ?? null);
yield "\">";
yield ($context["text_login"] ?? null);
yield "</a></li>
";
}
// line 72
yield " </ul>
</li>
<li><a href=\"";
// line 74
yield ($context["wishlist"] ?? null);
yield "\" id=\"wishlist-total\" title=\"";
yield ($context["text_wishlist"] ?? null);
yield "\"><i class=\"fa fa-heart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_wishlist"] ?? null);
yield "</span></a></li>
<li><a href=\"";
// line 75
yield ($context["shopping_cart"] ?? null);
yield "\" title=\"";
yield ($context["text_shopping_cart"] ?? null);
yield "\"><i class=\"fa fa-shopping-cart\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_shopping_cart"] ?? null);
yield "</span></a></li>
<li><a href=\"";
// line 76
yield ($context["checkout"] ?? null);
yield "\" title=\"";
yield ($context["text_checkout"] ?? null);
yield "\"><i class=\"fa fa-share\"></i> <span class=\"hidden-xs hidden-sm hidden-md\">";
yield ($context["text_checkout"] ?? null);
yield "</span></a></li>
</ul>
</div>
</div>
</nav>
<header>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-4\">
\t\t<div id=\"logo\">
";
// line 86
if (($context["logo"] ?? null)) {
// line 87
yield " ";
if ((($context["home"] ?? null) == ($context["og_url"] ?? null))) {
// line 88
yield " <img src=\"";
yield ($context["logo"] ?? null);
yield "\" title=\"";
yield ($context["name"] ?? null);
yield "\" alt=\"";
yield ($context["name"] ?? null);
yield "\" class=\"img-responsive\" />
";
} else {
// line 90
yield " <a href=\"";
yield ($context["home"] ?? null);
yield "\"><img src=\"";
yield ($context["logo"] ?? null);
yield "\" title=\"";
yield ($context["name"] ?? null);
yield "\" alt=\"";
yield ($context["name"] ?? null);
yield "\" class=\"img-responsive\" /></a>
";
}
// line 92
yield " ";
} else {
// line 93
yield " <h1><a href=\"";
yield ($context["home"] ?? null);
yield "\">";
yield ($context["name"] ?? null);
yield "</a></h1>
";
}
// line 95
yield "\t\t</div>
</div>
<div class=\"col-sm-5\">";
// line 97
yield ($context["search"] ?? null);
yield "</div>
<div class=\"col-sm-3\">";
// line 98
yield ($context["cart"] ?? null);
yield "</div>
</div>
</div>
</header>
";
// line 102
yield ($context["menu"] ?? null);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/template/common/header.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 366 => 102, 359 => 98, 355 => 97, 351 => 95, 343 => 93, 340 => 92, 328 => 90, 318 => 88, 315 => 87, 313 => 86, 296 => 76, 288 => 75, 280 => 74, 276 => 72, 269 => 70, 262 => 69, 255 => 67, 249 => 66, 243 => 65, 237 => 64, 230 => 63, 228 => 62, 219 => 60, 213 => 59, 207 => 56, 203 => 55, 199 => 54, 194 => 51, 186 => 49, 182 => 48, 171 => 46, 167 => 45, 164 => 44, 155 => 42, 151 => 41, 138 => 39, 134 => 38, 123 => 31, 117 => 29, 111 => 27, 109 => 26, 105 => 25, 99 => 23, 93 => 21, 91 => 20, 85 => 18, 83 => 17, 78 => 16, 72 => 14, 70 => 13, 66 => 12, 55 => 6, 48 => 4, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "default/template/common/header.twig", "");
}
}