var/cache/website/dev/twig/9c/9c62ecf335b242b5450ba7aca9e2f140.php line 33

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* parts/header.html.twig */
  14. class __TwigTemplate_c8c60489b0a5ad6e2597926daa453587 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""parts/header.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""parts/header.html.twig"));
  33.         // line 1
  34.         echo "
  35. <div id=\"Header_wrapper\">
  36.             <!-- Header -->
  37.             <header id=\"Header\">
  38.                 <!-- Header -  Logo and Menu area -->
  39.                 <div id=\"Top_bar\">
  40.                     <div class=\"container\">
  41.                         <div class=\"column one\">
  42.                             <div class=\"top_bar_left clearfix\">
  43.                                 <!-- Logo-->
  44.                                 <div class=\"logo\">
  45.                                     <a id=\"logo\" href=\"/";
  46.         // line 12
  47.         (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "getLocale", [], "method"falsefalsefalse12) == "si")) ? (print ("")) : (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "getLocale", [], "method"falsefalsefalse12), "html"nulltrue))));
  48.         echo "\" title=\"WEBER Montage SI d.o.o.\"><img class=\"scale-with-grid\" src=\"/weber-montage/images/weber-montage-si.svg\" />
  49.                                     </a>
  50.                                 </div>
  51.                                 <!-- Main menu-->
  52.                                 <div class=\"menu_wrapper\">
  53.                                     <nav id=\"menu\">
  54.                                         <ul id=\"menu-main-menu\" class=\"menu\">
  55.                                             <li>
  56.                                                 <a href=\"/";
  57.         // line 20
  58.         (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "getLocale", [], "method"falsefalsefalse20) == "si")) ? (print ("")) : (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "getLocale", [], "method"falsefalsefalse20), "html"nulltrue))));
  59.         echo "\" ><span>";
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home"), "html"nulltrue);
  61.         echo "</span></a>
  62.                                             </li>
  63. \t\t\t\t\t\t\t\t\t\t\t";
  64.         // line 22
  65.         $context['_parent'] = $context;
  66.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("main"1));
  67.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  68.             // line 23
  69.             echo "\t\t\t\t\t\t\t\t\t\t\t\t<li>
  70. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  71.             // line 24
  72.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse24)), "html"nulltrue);
  73.             echo "\"
  74. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle=\"";
  75.             // line 25
  76.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse25), "html"nulltrue);
  77.             echo "\"><span>";
  78.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse25), "html"nulltrue);
  79.             echo "</span></a>
  80. \t\t\t\t\t\t\t\t\t\t\t\t</li>
  81. \t\t\t\t\t\t\t\t\t\t\t";
  82.         }
  83.         $_parent $context['_parent'];
  84.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  85.         $context array_intersect_key($context$_parent) + $_parent;
  86.         // line 28
  87.         echo "                                            ";
  88.         // line 31
  89.         echo "                                        </ul>
  90.                                     </nav>
  91. \t\t\t\t\t\t\t\t\t<a class=\"responsive-menu-toggle\" href=\"#\"><i class=\"icon-menu\"></i></a>
  92.                                 </div>\t
  93.                             </div>
  94.                             <div class=\"top_bar_right\">
  95.                                 <div class=\"top_bar_right_wrapper\">
  96. \t\t\t\t\t\t\t\t\t<div class=\"wpml-languages enabled\">
  97. \t\t\t\t\t\t\t\t\t
  98.                                         <a class=\"active tooltip\" href=\"#\" data-tooltip=\"WEBER Montage SI d.o.o.\"><img src=\"/weber-montage/images/";
  99.         // line 40
  100.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "getLocale", [], "method"falsefalsefalse40), "html"nulltrue);
  101.         echo ".png\" width=\"35\" />
  102.                                         </a>
  103.                                         <ul class=\"wpml-lang-dropdown\">
  104. \t\t\t\t\t\t\t\t\t\t\t";
  105.         // line 43
  106.         $context['_parent'] = $context;
  107.         $context['_seq'] = twig_ensure_traversable((isset($context["localizations"]) || array_key_exists("localizations"$context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.'43$this->source); })()));
  108.         foreach ($context['_seq'] as $context["_key"] => $context["localization"]) {
  109.             // line 44
  110.             echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  111.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'44$this->source); })()), "request", [], "any"falsefalsefalse44), "getLocale", [], "method"falsefalsefalse44) != twig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse44))) {
  112.                 // line 45
  113.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<li>
  114. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  115.                 // line 46
  116.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "url", [], "any"falsefalsefalse46), "html"nulltrue);
  117.                 echo "\"><img src=\"/weber-montage/images/";
  118.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse46), "html"nulltrue);
  119.                 echo ".png\" width=\"35\" />
  120. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  121. \t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  122. \t\t\t\t\t\t\t\t\t\t\t\t";
  123.             }
  124.             // line 50
  125.             echo "\t\t\t\t\t\t\t\t\t\t\t";
  126.         }
  127.         $_parent $context['_parent'];
  128.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['localization'], $context['_parent'], $context['loop']);
  129.         $context array_intersect_key($context$_parent) + $_parent;
  130.         // line 51
  131.         echo "                                            ";
  132.         // line 63
  133.         echo "                                        </ul>
  134.                                     </div>
  135. \t\t\t\t\t\t\t\t\t<div class=\"logo maincompany\">
  136. \t\t\t\t\t\t\t\t\t\t<a id=\"logo\" target=\"_blank\" href=\"https://www.weber-unternehmensgruppe.com/\" title=\"https://www.weber-unternehmensgruppe.com/\"><img class=\"scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" />
  137. \t\t\t\t\t\t\t\t\t\t</a>
  138. \t\t\t\t\t\t\t\t\t</div>
  139.                                 </div>
  140.                             </div>
  141.                         </div>
  142.                     </div>
  143.                 </div>
  144.             </header>
  145.         </div>
  146. ";
  147.         
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.     }
  152.     public function getTemplateName()
  153.     {
  154.         return "parts/header.html.twig";
  155.     }
  156.     public function isTraitable()
  157.     {
  158.         return false;
  159.     }
  160.     public function getDebugInfo()
  161.     {
  162.         return array (  142 => 63,  140 => 51,  134 => 50,  125 => 46,  122 => 45,  119 => 44,  115 => 43,  109 => 40,  98 => 31,  96 => 28,  85 => 25,  81 => 24,  78 => 23,  74 => 22,  67 => 20,  56 => 12,  43 => 1,);
  163.     }
  164.     public function getSourceContext()
  165.     {
  166.         return new Source("
  167. <div id=\"Header_wrapper\">
  168.             <!-- Header -->
  169.             <header id=\"Header\">
  170.                 <!-- Header -  Logo and Menu area -->
  171.                 <div id=\"Top_bar\">
  172.                     <div class=\"container\">
  173.                         <div class=\"column one\">
  174.                             <div class=\"top_bar_left clearfix\">
  175.                                 <!-- Logo-->
  176.                                 <div class=\"logo\">
  177.                                     <a id=\"logo\" href=\"/{{ (app.request.getLocale() == 'si') ? '' : app.request.getLocale() }}\" title=\"WEBER Montage SI d.o.o.\"><img class=\"scale-with-grid\" src=\"/weber-montage/images/weber-montage-si.svg\" />
  178.                                     </a>
  179.                                 </div>
  180.                                 <!-- Main menu-->
  181.                                 <div class=\"menu_wrapper\">
  182.                                     <nav id=\"menu\">
  183.                                         <ul id=\"menu-main-menu\" class=\"menu\">
  184.                                             <li>
  185.                                                 <a href=\"/{{ (app.request.getLocale() == 'si') ? '' : app.request.getLocale() }}\" ><span>{{ 'home'|trans }}</span></a>
  186.                                             </li>
  187. \t\t\t\t\t\t\t\t\t\t\t{% for item in sulu_navigation_root_tree('main', 1) %}
  188. \t\t\t\t\t\t\t\t\t\t\t\t<li>
  189. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ sulu_content_path(item.url) }}\"
  190. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle=\"{{ item.title }}\"><span>{{ item.title }}</span></a>
  191. \t\t\t\t\t\t\t\t\t\t\t\t</li>
  192. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  193.                                             {#<li class=\"current-menu-item\">
  194.                                                 <a href=\"home-modern-header.html\"><span>Headers</span></a>
  195.                                             </li>#}
  196.                                         </ul>
  197.                                     </nav>
  198. \t\t\t\t\t\t\t\t\t<a class=\"responsive-menu-toggle\" href=\"#\"><i class=\"icon-menu\"></i></a>
  199.                                 </div>\t
  200.                             </div>
  201.                             <div class=\"top_bar_right\">
  202.                                 <div class=\"top_bar_right_wrapper\">
  203. \t\t\t\t\t\t\t\t\t<div class=\"wpml-languages enabled\">
  204. \t\t\t\t\t\t\t\t\t
  205.                                         <a class=\"active tooltip\" href=\"#\" data-tooltip=\"WEBER Montage SI d.o.o.\"><img src=\"/weber-montage/images/{{ app.request.getLocale() }}.png\" width=\"35\" />
  206.                                         </a>
  207.                                         <ul class=\"wpml-lang-dropdown\">
  208. \t\t\t\t\t\t\t\t\t\t\t{% for localization in localizations %}
  209. \t\t\t\t\t\t\t\t\t\t\t\t{% if app.request.getLocale() != localization.locale %}
  210. \t\t\t\t\t\t\t\t\t\t\t\t\t<li>
  211. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ localization.url }}\"><img src=\"/weber-montage/images/{{ localization.locale }}.png\" width=\"35\" />
  212. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  213. \t\t\t\t\t\t\t\t\t\t\t\t\t</li>
  214. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  215. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  216.                                             {#<li>
  217.                                                 <a href=\"#\"><img src=\"/weber-montage/images/si.png\" width=\"35\" />
  218.                                                 </a>
  219.                                             </li>
  220.                                             <li>
  221.                                                 <a href=\"#\"><img src=\"/weber-montage/images/ba.png\" width=\"35\" />
  222.                                                 </a>
  223.                                             </li>
  224.                                             <li>
  225.                                                 <a href=\"#\"><img src=\"/weber-montage/images/de.png\" width=\"35\" />
  226.                                                 </a>
  227.                                             </li>#}
  228.                                         </ul>
  229.                                     </div>
  230. \t\t\t\t\t\t\t\t\t<div class=\"logo maincompany\">
  231. \t\t\t\t\t\t\t\t\t\t<a id=\"logo\" target=\"_blank\" href=\"https://www.weber-unternehmensgruppe.com/\" title=\"https://www.weber-unternehmensgruppe.com/\"><img class=\"scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" />
  232. \t\t\t\t\t\t\t\t\t\t</a>
  233. \t\t\t\t\t\t\t\t\t</div>
  234.                                 </div>
  235.                             </div>
  236.                         </div>
  237.                     </div>
  238.                 </div>
  239.             </header>
  240.         </div>
  241. {#<div id=\"Header_wrapper\" class>
  242. \t<header id=\"Header\">
  243. \t\t<div id=\"Top_bar\">
  244. \t\t\t<div class=\"container\">
  245. \t\t\t\t\t\t<div class=\"logo column one-fourth column_column\">
  246. \t\t\t\t\t\t\t<a id=\"logo\" href=\"index-company5.html\" data-height=\"200\" data-padding=\"20\"><img class=\"logo-main scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"><img class=\"logo-sticky scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"><img class=\"logo-mobile scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"><img class=\"logo-mobile-sticky scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"></a>
  247. \t\t\t\t\t\t</div>
  248. \t\t\t\t\t\t<div class=\"menu_wrapper  column three-fourth column_column\">
  249. \t\t\t\t\t\t\t<nav id=\"menu\">
  250. \t\t\t\t\t\t\t\t<ul id=\"menu-main-menu\" class=\"menu menu-main\">
  251. \t\t\t\t\t\t\t\t\t<li class=\" current-menu-item page_item current_page_item\">
  252. \t\t\t\t\t\t\t\t\t\t<a href=\"index-company5.html\">
  253. \t\t\t\t\t\t\t\t\t\t\t<span>HOME</span>
  254. \t\t\t\t\t\t\t\t\t\t</a>
  255. \t\t\t\t\t\t\t\t\t</li>
  256. \t\t\t\t\t\t\t\t\t<li>
  257. \t\t\t\t\t\t\t\t\t\t<a href=\"/weber-montage/about.html\">
  258. \t\t\t\t\t\t\t\t\t\t\t<span>ABOUT</span>
  259. \t\t\t\t\t\t\t\t\t\t</a>
  260. \t\t\t\t\t\t\t\t\t</li>
  261. \t\t\t\t\t\t\t\t\t<li>
  262. \t\t\t\t\t\t\t\t\t\t<a href=\"/weber-montage/services.html\">
  263. \t\t\t\t\t\t\t\t\t\t\t<span>SERVICES</span>
  264. \t\t\t\t\t\t\t\t\t\t</a>
  265. \t\t\t\t\t\t\t\t\t</li>
  266. \t\t\t\t\t\t\t\t\t<li>
  267. \t\t\t\t\t\t\t\t\t\t<a href=\"/weber-montage/investments.html\">
  268. \t\t\t\t\t\t\t\t\t\t\t<span>INVESTMENTS</span>
  269. \t\t\t\t\t\t\t\t\t\t</a>
  270. \t\t\t\t\t\t\t\t\t</li>
  271. \t\t\t\t\t\t\t\t\t<li>
  272. \t\t\t\t\t\t\t\t\t\t<a href=\"/weber-montage/contact.html\">
  273. \t\t\t\t\t\t\t\t\t\t\t<span>CONTACT</span>
  274. \t\t\t\t\t\t\t\t\t\t</a>
  275. \t\t\t\t\t\t\t\t\t</li>
  276. \t\t\t\t\t\t\t\t</ul>
  277. \t\t\t\t\t\t\t</nav>
  278. \t\t\t\t\t\t\t<a class=\"responsive-menu-toggle\" href=\"#\">
  279. \t\t\t\t\t\t\t\t<i class=\"icon-menu-fine\"></i>
  280. \t\t\t\t\t\t\t</a>
  281. \t\t\t\t\t\t</div>
  282. \t\t\t\t\t\t<div class=\"logo  column one-second column_column\">
  283. \t\t\t\t\t\t\t<a id=\"logo\" href=\"index-company5.html\" data-height=\"200\" data-padding=\"20\"><img class=\"logo-main scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"><img class=\"logo-sticky scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"><img class=\"logo-mobile scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"><img class=\"logo-mobile-sticky scale-with-grid\" src=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-retina=\"/weber-montage/images/WEBER-Unternehmensgruppe_logo.svg\" data-height=\"200\"></a>
  284. \t\t\t\t\t\t</div>
  285. \t\t\t\t</div>
  286. \t\t</div>
  287. \t\t
  288. \t</header>
  289. </div>
  290. {#<form action=\"{{ path('sulu_search.website_search') }}\" method=\"GET\">
  291. \t<input name=\"q\" type=\"text\" placeholder=\"Search\"/>
  292. \t<input type=\"submit\" value=\"Go\"/>
  293. </form>#}
  294. ""parts/header.html.twig""/home/solutions/weber.taha-solutions.com/templates/parts/header.html.twig");
  295.     }
  296. }