c088acf86092760b5f0c37d609cbad45.php 14.2 KB
<?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", "");
    }
}