var/cache/dev/fr/vpauto/twig/dc/dc4c5c45a90b82115408e5fa760c6eb9.php line 378

Open in your IDE?
  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. /* frontend/header_pro.html.twig */
  14. class __TwigTemplate_c6306330a751d12bd0d0dc80debf7676 extends \Twig\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""frontend/header_pro.html.twig"));
  31.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  32.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/header_pro.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/header_pro.html.twig"));
  35.         // line 1
  36.         echo "<header id=\"header\" class=\"header\" role=\"banner\">
  37.     ";
  38.         // line 2
  39.         $this->loadTemplate("frontend/header_change_country.html.twig""frontend/header_pro.html.twig"2)->display($context);
  40.         // line 3
  41.         echo "
  42.     ";
  43.         // line 4
  44.         ob_start();
  45.         // line 5
  46.         echo "        ";
  47.         $this->loadTemplate("frontend/countries.html.twig""frontend/header_pro.html.twig"5)->display($context);
  48.         // line 6
  49.         echo "    ";
  50.         $context["country_switcher"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  51.         // line 7
  52.         echo "
  53.     <div class=\"header-container-top header-menu-mobile clearfix\" data-size=\"big\">
  54.         <div class=\"left";
  55.         // line 9
  56.         if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat")) {
  57.             echo "-ecat";
  58.         }
  59.         echo "\">
  60.             ";
  61.         // line 10
  62.         if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
  63.             // line 11
  64.             echo "                <a href=\"";
  65.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  66.             echo "\"><img src=\"";
  67.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/showvroom/logo-showvroom.png"), "html"nulltrue);
  68.             echo "\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
  69.             ";
  70.         } elseif ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat")) {
  71.             // line 13
  72.             echo "                <a href=\"";
  73.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage_pro");
  74.             echo "\"><img src=\"";
  75.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/ecat/logo-ecat.png"), "html"nulltrue);
  76.             echo "\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
  77.             ";
  78.         } else {
  79.             // line 15
  80.             echo "                <a href=\"";
  81.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage_pro");
  82.             echo "\"><img src=\"";
  83.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/logo-vpauto-pro.png"), "html"nulltrue);
  84.             echo "\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
  85.             ";
  86.         }
  87.         // line 17
  88.         echo "        </div>
  89.         <nav class=\"left navigation nav m-hide\" role=\"navigation\">
  90.             <ul class=\"clearfix\">
  91.                 <li>
  92.                     <a href=\"javascript:void(0)\" class=\"bt-menu tab-l-hide tab-p-hide m-hide\">
  93.                         <span class=\"lignes\">
  94.                           <span class=\"ligne1\"></span>
  95.                           <span class=\"ligne2\"></span>
  96.                           <span class=\"ligne3\"></span>
  97.                         </span>
  98.                         <span>";
  99.         // line 28
  100.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.menu"), "html"nulltrue);
  101.         echo "</span>
  102.                     </a>
  103.                     <a href=\"#\" class=\"tab-bt-menu grid-hide tab-l-visible tab-p-visible m-hide\">
  104.                         <span class=\"lignes\">
  105.                           <span class=\"ligne1\"></span>
  106.                           <span class=\"ligne2\"></span>
  107.                           <span class=\"ligne3\"></span>
  108.                         </span>
  109.                         <span>";
  110.         // line 36
  111.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.menu"), "html"nulltrue);
  112.         echo "</span>
  113.                     </a>
  114.                 </li>
  115.                 ";
  116.         // line 39
  117.         if (( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat") &&  !$this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL")))) {
  118.             // line 40
  119.             echo "                    <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"";
  120.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_sale_auto_pro");
  121.             echo "\">";
  122.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.sell"), "html"nulltrue);
  123.             echo "</a></li>
  124.                 ";
  125.         }
  126.         // line 42
  127.         echo "                ";
  128.         if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
  129.             // line 43
  130.             echo "                    <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  131.                         <a href=\"";
  132.             // line 44
  133.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_fr_pro", ["limit" => 10]);
  134.             echo "\" title=\"\">
  135.                             ";
  136.             // line 45
  137.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.link01"), "html"nulltrue);
  138.             echo "
  139.                         </a>
  140.                     </li>
  141.                 ";
  142.         }
  143.         // line 49
  144.         echo "                ";
  145.         if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
  146.             // line 50
  147.             echo "                    <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  148.                         <a href=\"";
  149.             // line 51
  150.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_pt");
  151.             echo "\">
  152.                             ";
  153.             // line 52
  154.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.portugal.blog.title"), "html"nulltrue);
  155.             echo "
  156.                         </a>
  157.                     </li>
  158.                 ";
  159.         }
  160.         // line 56
  161.         echo "            </ul>
  162.         </nav>
  163.         <div class=\"pro menuhaut d-menuhaut right prelative tab-p-hide m-hide\">
  164.             <ul class=\"left\">
  165.                 ";
  166.         // line 61
  167.         if (( !(null === twig_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.'61$this->source); })()), "user", [], "any"falsefalsefalse61)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
  168.             // line 62
  169.             echo "                    <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"";
  170.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_auction_list");
  171.             echo "\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-selection\"></i></span> ";
  172.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auctions.selections"), "html"nulltrue);
  173.             echo "</a></li>
  174.                     <li>
  175.                         <a href=\"";
  176.             // line 64
  177.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_auction_list");
  178.             echo "\" title=\"\" class=\"connecte\">
  179.                         <span class=\"block txtcenter\">
  180.                             <span class=\"prelative inbl\">
  181.                                 <i class=\"icon-ordres-achat\"></i>
  182.                                 ";
  183.             // line 68
  184.             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.'68$this->source); })()), "user", [], "any"falsefalsefalse68), "countLiveBids", [], "any"falsefalsefalse68) > 0)) {
  185.                 // line 69
  186.                 echo "                                    <span class=\"caddy-notification\">";
  187.                 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.'69$this->source); })()), "user", [], "any"falsefalsefalse69), "countLiveBids", [], "any"falsefalsefalse69), "html"nulltrue);
  188.                 echo "</span>
  189.                                 ";
  190.             }
  191.             // line 71
  192.             echo "                            </span>
  193.                         </span>
  194.                         ";
  195.             // line 73
  196.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auctions"), "html"nulltrue);
  197.             echo "</a>
  198.                     </li>
  199.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"";
  200.             // line 75
  201.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_user_purchase");
  202.             echo "\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-commande\"></i></span> ";
  203.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auction_list"), "html"nulltrue);
  204.             echo "</a></li>
  205.                     <li class=\"connexion\"><a href=\"";
  206.             // line 76
  207.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_profile_edit");
  208.             echo "\" title=\"\" class=\"mon-compte connecte\"><span class=\"block txtcenter\"><i class=\"icon-sidentifier\"></i></span> ";
  209.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.account"), "html"nulltrue);
  210.             echo "</a></li>
  211.                     ";
  212.             // line 77
  213.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
  214.                 // line 78
  215.                 echo "                        <li class=\"inscription\"><a href=\"";
  216.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("backend_user_view", ["id" => 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.'78$this->source); })()), "user", [], "any"falsefalsefalse78), "id", [], "any"falsefalsefalse78), "_switch_user" => "_exit"]), "html"nulltrue);
  217.                 echo "\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-sinscrire01\"></i></span> ";
  218.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.switch.user.exit"), "html"nulltrue);
  219.                 echo "</a></li>
  220.                     ";
  221.             } else {
  222.                 // line 80
  223.                 echo "                        <li class=\"connexion\"><a href=\"";
  224.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_logout", ["target" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage_pro", ["_locale" => (isset($context["default_locale"]) || array_key_exists("default_locale"$context) ? $context["default_locale"] : (function () { throw new RuntimeError('Variable "default_locale" does not exist.'80$this->source); })())])]), "html"nulltrue);
  225.                 echo "\" title=\"\" class=\"deconnexion connecte\"><span class=\"block txtcenter\"><i class=\"icon-deconnecter\"></i></span> ";
  226.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.log_out"), "html"nulltrue);
  227.                 echo "</a></li>
  228.                     ";
  229.             }
  230.             // line 82
  231.             echo "                ";
  232.         } else {
  233.             // line 83
  234.             echo "                    <li class=\"connexion\"><a href=\"";
  235.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html"nulltrue);
  236.             echo "\" title=\"\" class=\"lien09 connexion\">";
  237.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.sign_in"), "html"nulltrue);
  238.             echo "</a></li>
  239.                     <li><a href=\"";
  240.             // line 84
  241.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html"nulltrue);
  242.             echo "\" class=\"lien12 inscription\">";
  243.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.register"), "html"nulltrue);
  244.             echo "</a></li>
  245.                 ";
  246.         }
  247.         // line 86
  248.         echo "                ";
  249.         if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat")) {
  250.             // line 87
  251.             echo "                    ";
  252.             $this->loadTemplate("/Frontend/pro/_help_manual.html.twig""frontend/header_pro.html.twig"87)->display(twig_array_merge($context, ["hideTablet" => "tab-l-hide tab-p-hide"]));
  253.             // line 88
  254.             echo "                    <li class=\"tel ";
  255.             if ( !(null === twig_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.'88$this->source); })()), "user", [], "any"falsefalsefalse88))) {
  256.                 echo "connecte tab-l-hide";
  257.             }
  258.             echo "\">
  259.                         <span class=\"txtcenter\"><i class=\"icon-menu-tel ";
  260.             // line 89
  261.             if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
  262.                 echo "showvroom";
  263.             }
  264.             echo "\"></i></span>
  265.                         <span class=\"";
  266.             // line 90
  267.             if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
  268.                 echo "color08";
  269.             }
  270.             echo "\">";
  271.             $this->loadTemplate("/Frontend/pro/_tel_contact.html.twig""frontend/header_pro.html.twig"90)->display($context);
  272.             echo "</span>
  273.                     </li>
  274.                     <li class=\"btn-particulier\"><a href=\"";
  275.             // line 92
  276.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage", ["_locale" => (isset($context["default_locale"]) || array_key_exists("default_locale"$context) ? $context["default_locale"] : (function () { throw new RuntimeError('Variable "default_locale" does not exist.'92$this->source); })())]), "html"nulltrue);
  277.             echo "\" title=\"\">vpauto.";
  278.             echo twig_escape_filter($this->env, (isset($context["default_locale"]) || array_key_exists("default_locale"$context) ? $context["default_locale"] : (function () { throw new RuntimeError('Variable "default_locale" does not exist.'92$this->source); })()), "html"nulltrue);
  279.             echo "</a></li>
  280.                 ";
  281.         }
  282.         // line 94
  283.         echo "                ";
  284.         if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
  285.             // line 95
  286.             echo "                    <li class=\"langue cursor\">
  287.                         <span class=\"d-txt-langue\">
  288.                             <i class=\"icon-flag-";
  289.             // line 97
  290.             echo twig_escape_filter($this->env, (isset($context["current_country"]) || array_key_exists("current_country"$context) ? $context["current_country"] : (function () { throw new RuntimeError('Variable "current_country" does not exist.'97$this->source); })()), "html"nulltrue);
  291.             echo "\"></i>
  292.                             <span class=\"fleche\">
  293.                                 <span class=\"ligne1\"></span>
  294.                                 <span class=\"ligne2\"></span>
  295.                             </span>
  296.                         </span>
  297.                         ";
  298.             // line 104
  299.             echo twig_escape_filter($this->env, (isset($context["country_switcher"]) || array_key_exists("country_switcher"$context) ? $context["country_switcher"] : (function () { throw new RuntimeError('Variable "country_switcher" does not exist.'104$this->source); })()), "html"nulltrue);
  300.             echo "
  301.                     </li>
  302.                 ";
  303.         }
  304.         // line 108
  305.         echo "            </ul>
  306.         </div>
  307.         <div class=\"pro menuhaut d-menuhaut right prelative grid-hide tab-l-hide tab-p-visible m-hide\">
  308.             <ul class=\"left\">
  309.                 ";
  310.         // line 112
  311.         if (( !(null === twig_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.'112$this->source); })()), "user", [], "any"falsefalsefalse112)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
  312.             // line 113
  313.             echo "                    <li>
  314.                         <span class=\"block txtcenter\">
  315.                             <span class=\"prelative inbl\">
  316.                                 <i class=\"icon-ordres-achat\"></i>
  317.                                 ";
  318.             // line 117
  319.             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.'117$this->source); })()), "user", [], "any"falsefalsefalse117), "countLiveBids", [], "any"falsefalsefalse117) > 0)) {
  320.                 // line 118
  321.                 echo "                                    <span class=\"caddy-notification\">";
  322.                 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.'118$this->source); })()), "user", [], "any"falsefalsefalse118), "countLiveBids", [], "any"falsefalsefalse118), "html"nulltrue);
  323.                 echo "</span>
  324.                                 ";
  325.             }
  326.             // line 120
  327.             echo "                            </span>
  328.                         </span>
  329.                         <a href=\"";
  330.             // line 122
  331.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_auction_list");
  332.             echo "\" title=\"\">";
  333.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auctions"), "html"nulltrue);
  334.             echo "</a>
  335.                     </li>
  336.                 ";
  337.         }
  338.         // line 125
  339.         echo "            </ul>
  340.         </div>
  341.         <div class=\"menuhaut-mobile right grid-hide tab-l-hide tab-p-hide m-visible\">
  342.             <a href=\"tel:";
  343.         // line 128
  344.         $this->loadTemplate("/Frontend/pro/_tel_contact.html.twig""frontend/header_pro.html.twig"128)->display(twig_array_merge($context, ["telMobile" => true]));
  345.         echo "\" title=\"\" class=\"prelative marginR20\">
  346.                 <i class=\"icon-menu-tel\"></i>
  347.             </a>
  348.             <a href=\"#\" class=\"m-bt-menu\">
  349.                 <span class=\"lignes\">
  350.                   <span class=\"ligne1\"></span>
  351.                   <span class=\"ligne2\"></span>
  352.                   <span class=\"ligne3\"></span>
  353.                 </span>
  354.                 <span>";
  355.         // line 137
  356.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.menu"), "html"nulltrue);
  357.         echo "</span>
  358.             </a>
  359.         </div>
  360.     </div>
  361. </header>
  362. ";
  363.         // line 142
  364.         $this->loadTemplate("frontend/main_menu.html.twig""frontend/header_pro.html.twig"142)->display(twig_array_merge($context, ["type" => "pro""country_switcher" =>         // line 144
  365. (isset($context["country_switcher"]) || array_key_exists("country_switcher"$context) ? $context["country_switcher"] : (function () { throw new RuntimeError('Variable "country_switcher" does not exist.'144$this->source); })())]));
  366.         
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  368.         
  369.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  370.         
  371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  372.     }
  373.     public function getTemplateName()
  374.     {
  375.         return "frontend/header_pro.html.twig";
  376.     }
  377.     public function isTraitable()
  378.     {
  379.         return false;
  380.     }
  381.     public function getDebugInfo()
  382.     {
  383.         return array (  379 => 144,  378 => 142,  370 => 137,  358 => 128,  353 => 125,  345 => 122,  341 => 120,  335 => 118,  333 => 117,  327 => 113,  325 => 112,  319 => 108,  312 => 104,  302 => 97,  298 => 95,  295 => 94,  288 => 92,  279 => 90,  273 => 89,  266 => 88,  263 => 87,  260 => 86,  253 => 84,  246 => 83,  243 => 82,  235 => 80,  227 => 78,  225 => 77,  219 => 76,  213 => 75,  208 => 73,  204 => 71,  198 => 69,  196 => 68,  189 => 64,  181 => 62,  179 => 61,  172 => 56,  165 => 52,  161 => 51,  158 => 50,  155 => 49,  148 => 45,  144 => 44,  141 => 43,  138 => 42,  130 => 40,  128 => 39,  122 => 36,  111 => 28,  98 => 17,  90 => 15,  82 => 13,  74 => 11,  72 => 10,  66 => 9,  62 => 7,  59 => 6,  56 => 5,  54 => 4,  51 => 3,  49 => 2,  46 => 1,);
  384.     }
  385.     public function getSourceContext()
  386.     {
  387.         return new Source("<header id=\"header\" class=\"header\" role=\"banner\">
  388.     {% include 'frontend/header_change_country.html.twig' %}
  389.     {% set country_switcher %}
  390.         {% include 'frontend/countries.html.twig' %}
  391.     {% endset %}
  392.     <div class=\"header-container-top header-menu-mobile clearfix\" data-size=\"big\">
  393.         <div class=\"left{% if is_current_website('ecat') %}-ecat{% endif %}\">
  394.             {% if is_current_website('showvroom') %}
  395.                 <a href=\"{{ path('homepage') }}\"><img src=\"{{ asset('bundles/vpauto/frontend/images/showvroom/logo-showvroom.png') }}\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
  396.             {% elseif is_current_website('ecat') %}
  397.                 <a href=\"{{ path('homepage_pro') }}\"><img src=\"{{ asset('bundles/vpauto/frontend/images/ecat/logo-ecat.png') }}\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
  398.             {% else %}
  399.                 <a href=\"{{ path('homepage_pro') }}\"><img src=\"{{ asset('bundles/vpauto/frontend/images/pro/logo-vpauto-pro.png') }}\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
  400.             {% endif %}
  401.         </div>
  402.         <nav class=\"left navigation nav m-hide\" role=\"navigation\">
  403.             <ul class=\"clearfix\">
  404.                 <li>
  405.                     <a href=\"javascript:void(0)\" class=\"bt-menu tab-l-hide tab-p-hide m-hide\">
  406.                         <span class=\"lignes\">
  407.                           <span class=\"ligne1\"></span>
  408.                           <span class=\"ligne2\"></span>
  409.                           <span class=\"ligne3\"></span>
  410.                         </span>
  411.                         <span>{{ 'frontend.navigation.menu'|trans }}</span>
  412.                     </a>
  413.                     <a href=\"#\" class=\"tab-bt-menu grid-hide tab-l-visible tab-p-visible m-hide\">
  414.                         <span class=\"lignes\">
  415.                           <span class=\"ligne1\"></span>
  416.                           <span class=\"ligne2\"></span>
  417.                           <span class=\"ligne3\"></span>
  418.                         </span>
  419.                         <span>{{ 'frontend.navigation.menu'|trans }}</span>
  420.                     </a>
  421.                 </li>
  422.                 {% if not is_current_website('ecat') and not is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
  423.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"{{ path('frontend_sale_auto_pro') }}\">{{ 'frontend.header.link.sell'|trans }}</a></li>
  424.                 {% endif %}
  425.                 {% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
  426.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  427.                         <a href=\"{{ path('frontend_wiki_list_fr_pro', {'limit': 10}) }}\" title=\"\">
  428.                             {{ 'frontend.france.blog.link01'|trans }}
  429.                         </a>
  430.                     </li>
  431.                 {% endif %}
  432.                 {% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
  433.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  434.                         <a href=\"{{ path('frontend_wiki_list_pt') }}\">
  435.                             {{ 'frontend.portugal.blog.title'|trans }}
  436.                         </a>
  437.                     </li>
  438.                 {% endif %}
  439.             </ul>
  440.         </nav>
  441.         <div class=\"pro menuhaut d-menuhaut right prelative tab-p-hide m-hide\">
  442.             <ul class=\"left\">
  443.                 {% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  444.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"{{ path('frontend_auction_list') }}\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-selection\"></i></span> {{ 'frontend.header.pro.link.auctions.selections'|trans }}</a></li>
  445.                     <li>
  446.                         <a href=\"{{ path('frontend_auction_list') }}\" title=\"\" class=\"connecte\">
  447.                         <span class=\"block txtcenter\">
  448.                             <span class=\"prelative inbl\">
  449.                                 <i class=\"icon-ordres-achat\"></i>
  450.                                 {% if app.user.countLiveBids > 0 %}
  451.                                     <span class=\"caddy-notification\">{{ app.user.countLiveBids }}</span>
  452.                                 {% endif %}
  453.                             </span>
  454.                         </span>
  455.                         {{ 'frontend.header.pro.link.auctions'|trans }}</a>
  456.                     </li>
  457.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"{{ path('frontend_user_purchase') }}\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-commande\"></i></span> {{ 'frontend.header.pro.link.auction_list'|trans }}</a></li>
  458.                     <li class=\"connexion\"><a href=\"{{ path('fos_user_profile_edit') }}\" title=\"\" class=\"mon-compte connecte\"><span class=\"block txtcenter\"><i class=\"icon-sidentifier\"></i></span> {{ 'frontend.header.pro.link.account'|trans }}</a></li>
  459.                     {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  460.                         <li class=\"inscription\"><a href=\"{{ path('backend_user_view', {'id': app.user.id, '_switch_user': '_exit'})}}\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-sinscrire01\"></i></span> {{ 'frontend.switch.user.exit'|trans }}</a></li>
  461.                     {% else %}
  462.                         <li class=\"connexion\"><a href=\"{{ path('fos_user_security_logout', {'target': path('homepage_pro', { _locale: default_locale }) }) }}\" title=\"\" class=\"deconnexion connecte\"><span class=\"block txtcenter\"><i class=\"icon-deconnecter\"></i></span> {{ 'frontend.header.pro.link.log_out'|trans }}</a></li>
  463.                     {% endif %}
  464.                 {% else %}
  465.                     <li class=\"connexion\"><a href=\"{{ getADUrl() }}\" title=\"\" class=\"lien09 connexion\">{{ 'frontend.header.pro.link.sign_in'|trans }}</a></li>
  466.                     <li><a href=\"{{ getADUrl() }}\" class=\"lien12 inscription\">{{ 'frontend.header.pro.link.register'|trans }}</a></li>
  467.                 {% endif %}
  468.                 {% if not(is_current_website('ecat')) %}
  469.                     {% include '/Frontend/pro/_help_manual.html.twig' with { 'hideTablet' : 'tab-l-hide tab-p-hide'} %}
  470.                     <li class=\"tel {% if app.user is not null %}connecte tab-l-hide{% endif %}\">
  471.                         <span class=\"txtcenter\"><i class=\"icon-menu-tel {% if is_current_website('showvroom') %}showvroom{% endif %}\"></i></span>
  472.                         <span class=\"{% if is_current_website('showvroom') %}color08{% endif %}\">{% include '/Frontend/pro/_tel_contact.html.twig' %}</span>
  473.                     </li>
  474.                     <li class=\"btn-particulier\"><a href=\"{{ path('homepage', {'_locale': default_locale}) }}\" title=\"\">vpauto.{{ default_locale }}</a></li>
  475.                 {% endif %}
  476.                 {% if not (is_current_website('showvroom')) %}
  477.                     <li class=\"langue cursor\">
  478.                         <span class=\"d-txt-langue\">
  479.                             <i class=\"icon-flag-{{ current_country }}\"></i>
  480.                             <span class=\"fleche\">
  481.                                 <span class=\"ligne1\"></span>
  482.                                 <span class=\"ligne2\"></span>
  483.                             </span>
  484.                         </span>
  485.                         {{ country_switcher }}
  486.                     </li>
  487.                 {% endif %}
  488.             </ul>
  489.         </div>
  490.         <div class=\"pro menuhaut d-menuhaut right prelative grid-hide tab-l-hide tab-p-visible m-hide\">
  491.             <ul class=\"left\">
  492.                 {% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  493.                     <li>
  494.                         <span class=\"block txtcenter\">
  495.                             <span class=\"prelative inbl\">
  496.                                 <i class=\"icon-ordres-achat\"></i>
  497.                                 {% if app.user.countLiveBids > 0 %}
  498.                                     <span class=\"caddy-notification\">{{ app.user.countLiveBids }}</span>
  499.                                 {% endif %}
  500.                             </span>
  501.                         </span>
  502.                         <a href=\"{{ path('frontend_auction_list') }}\" title=\"\">{{ 'frontend.header.pro.link.auctions'|trans }}</a>
  503.                     </li>
  504.                 {% endif %}
  505.             </ul>
  506.         </div>
  507.         <div class=\"menuhaut-mobile right grid-hide tab-l-hide tab-p-hide m-visible\">
  508.             <a href=\"tel:{% include '/Frontend/pro/_tel_contact.html.twig' with {'telMobile': true } %}\" title=\"\" class=\"prelative marginR20\">
  509.                 <i class=\"icon-menu-tel\"></i>
  510.             </a>
  511.             <a href=\"#\" class=\"m-bt-menu\">
  512.                 <span class=\"lignes\">
  513.                   <span class=\"ligne1\"></span>
  514.                   <span class=\"ligne2\"></span>
  515.                   <span class=\"ligne3\"></span>
  516.                 </span>
  517.                 <span>{{ 'frontend.navigation.menu'|trans }}</span>
  518.             </a>
  519.         </div>
  520.     </div>
  521. </header>
  522. {% include 'frontend/main_menu.html.twig' with {
  523.     'type': 'pro',
  524.     country_switcher: country_switcher
  525. } %}
  526. ""frontend/header_pro.html.twig""/srv/templates/frontend/header_pro.html.twig");
  527.     }
  528. }