<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* frontend/header_pro.html.twig */
class __TwigTemplate_c6306330a751d12bd0d0dc80debf7676 extends \Twig\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;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/header_pro.html.twig"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/header_pro.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/header_pro.html.twig"));
// line 1
echo "<header id=\"header\" class=\"header\" role=\"banner\">
";
// line 2
$this->loadTemplate("frontend/header_change_country.html.twig", "frontend/header_pro.html.twig", 2)->display($context);
// line 3
echo "
";
// line 4
ob_start();
// line 5
echo " ";
$this->loadTemplate("frontend/countries.html.twig", "frontend/header_pro.html.twig", 5)->display($context);
// line 6
echo " ";
$context["country_switcher"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 7
echo "
<div class=\"header-container-top header-menu-mobile clearfix\" data-size=\"big\">
<div class=\"left";
// line 9
if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat")) {
echo "-ecat";
}
echo "\">
";
// line 10
if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
// line 11
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/showvroom/logo-showvroom.png"), "html", null, true);
echo "\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
";
} elseif ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat")) {
// line 13
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage_pro");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/ecat/logo-ecat.png"), "html", null, true);
echo "\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
";
} else {
// line 15
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage_pro");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/logo-vpauto-pro.png"), "html", null, true);
echo "\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a>
";
}
// line 17
echo " </div>
<nav class=\"left navigation nav m-hide\" role=\"navigation\">
<ul class=\"clearfix\">
<li>
<a href=\"javascript:void(0)\" class=\"bt-menu tab-l-hide tab-p-hide m-hide\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
<span>";
// line 28
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.menu"), "html", null, true);
echo "</span>
</a>
<a href=\"#\" class=\"tab-bt-menu grid-hide tab-l-visible tab-p-visible m-hide\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
<span>";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.menu"), "html", null, true);
echo "</span>
</a>
</li>
";
// line 39
if (( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat") && !$this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL")))) {
// line 40
echo " <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_sale_auto_pro");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.sell"), "html", null, true);
echo "</a></li>
";
}
// line 42
echo " ";
if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
// line 43
echo " <li class=\"grid-xl-visible grid-l-visible grid-hide\">
<a href=\"";
// line 44
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_fr_pro", ["limit" => 10]);
echo "\" title=\"\">
";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.link01"), "html", null, true);
echo "
</a>
</li>
";
}
// line 49
echo " ";
if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
// line 50
echo " <li class=\"grid-xl-visible grid-l-visible grid-hide\">
<a href=\"";
// line 51
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_pt");
echo "\">
";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.portugal.blog.title"), "html", null, true);
echo "
</a>
</li>
";
}
// line 56
echo " </ul>
</nav>
<div class=\"pro menuhaut d-menuhaut right prelative tab-p-hide m-hide\">
<ul class=\"left\">
";
// line 61
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", false, false, false, 61)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
// line 62
echo " <li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_auction_list");
echo "\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-selection\"></i></span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auctions.selections"), "html", null, true);
echo "</a></li>
<li>
<a href=\"";
// line 64
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_auction_list");
echo "\" title=\"\" class=\"connecte\">
<span class=\"block txtcenter\">
<span class=\"prelative inbl\">
<i class=\"icon-ordres-achat\"></i>
";
// line 68
if ((twig_get_attribute($this->env, $this->source, 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.', 68, $this->source); })()), "user", [], "any", false, false, false, 68), "countLiveBids", [], "any", false, false, false, 68) > 0)) {
// line 69
echo " <span class=\"caddy-notification\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 69, $this->source); })()), "user", [], "any", false, false, false, 69), "countLiveBids", [], "any", false, false, false, 69), "html", null, true);
echo "</span>
";
}
// line 71
echo " </span>
</span>
";
// line 73
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auctions"), "html", null, true);
echo "</a>
</li>
<li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"";
// line 75
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_user_purchase");
echo "\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-commande\"></i></span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auction_list"), "html", null, true);
echo "</a></li>
<li class=\"connexion\"><a href=\"";
// line 76
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_profile_edit");
echo "\" title=\"\" class=\"mon-compte connecte\"><span class=\"block txtcenter\"><i class=\"icon-sidentifier\"></i></span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.account"), "html", null, true);
echo "</a></li>
";
// line 77
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
// line 78
echo " <li class=\"inscription\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("backend_user_view", ["id" => twig_get_attribute($this->env, $this->source, 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.', 78, $this->source); })()), "user", [], "any", false, false, false, 78), "id", [], "any", false, false, false, 78), "_switch_user" => "_exit"]), "html", null, true);
echo "\" title=\"\" class=\"connecte\"><span class=\"block txtcenter\"><i class=\"icon-sinscrire01\"></i></span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.switch.user.exit"), "html", null, true);
echo "</a></li>
";
} else {
// line 80
echo " <li class=\"connexion\"><a href=\"";
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", null, true);
echo "\" title=\"\" class=\"deconnexion connecte\"><span class=\"block txtcenter\"><i class=\"icon-deconnecter\"></i></span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.log_out"), "html", null, true);
echo "</a></li>
";
}
// line 82
echo " ";
} else {
// line 83
echo " <li class=\"connexion\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html", null, true);
echo "\" title=\"\" class=\"lien09 connexion\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.sign_in"), "html", null, true);
echo "</a></li>
<li><a href=\"";
// line 84
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html", null, true);
echo "\" class=\"lien12 inscription\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.register"), "html", null, true);
echo "</a></li>
";
}
// line 86
echo " ";
if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat")) {
// line 87
echo " ";
$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"]));
// line 88
echo " <li class=\"tel ";
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", false, false, false, 88))) {
echo "connecte tab-l-hide";
}
echo "\">
<span class=\"txtcenter\"><i class=\"icon-menu-tel ";
// line 89
if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
echo "showvroom";
}
echo "\"></i></span>
<span class=\"";
// line 90
if ($this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
echo "color08";
}
echo "\">";
$this->loadTemplate("/Frontend/pro/_tel_contact.html.twig", "frontend/header_pro.html.twig", 90)->display($context);
echo "</span>
</li>
<li class=\"btn-particulier\"><a href=\"";
// line 92
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", null, true);
echo "\" title=\"\">vpauto.";
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", null, true);
echo "</a></li>
";
}
// line 94
echo " ";
if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
// line 95
echo " <li class=\"langue cursor\">
<span class=\"d-txt-langue\">
<i class=\"icon-flag-";
// line 97
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", null, true);
echo "\"></i>
<span class=\"fleche\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
</span>
</span>
";
// line 104
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", null, true);
echo "
</li>
";
}
// line 108
echo " </ul>
</div>
<div class=\"pro menuhaut d-menuhaut right prelative grid-hide tab-l-hide tab-p-visible m-hide\">
<ul class=\"left\">
";
// line 112
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", false, false, false, 112)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
// line 113
echo " <li>
<span class=\"block txtcenter\">
<span class=\"prelative inbl\">
<i class=\"icon-ordres-achat\"></i>
";
// line 117
if ((twig_get_attribute($this->env, $this->source, 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.', 117, $this->source); })()), "user", [], "any", false, false, false, 117), "countLiveBids", [], "any", false, false, false, 117) > 0)) {
// line 118
echo " <span class=\"caddy-notification\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 118, $this->source); })()), "user", [], "any", false, false, false, 118), "countLiveBids", [], "any", false, false, false, 118), "html", null, true);
echo "</span>
";
}
// line 120
echo " </span>
</span>
<a href=\"";
// line 122
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_auction_list");
echo "\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.pro.link.auctions"), "html", null, true);
echo "</a>
</li>
";
}
// line 125
echo " </ul>
</div>
<div class=\"menuhaut-mobile right grid-hide tab-l-hide tab-p-hide m-visible\">
<a href=\"tel:";
// line 128
$this->loadTemplate("/Frontend/pro/_tel_contact.html.twig", "frontend/header_pro.html.twig", 128)->display(twig_array_merge($context, ["telMobile" => true]));
echo "\" title=\"\" class=\"prelative marginR20\">
<i class=\"icon-menu-tel\"></i>
</a>
<a href=\"#\" class=\"m-bt-menu\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
<span>";
// line 137
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.menu"), "html", null, true);
echo "</span>
</a>
</div>
</div>
</header>
";
// line 142
$this->loadTemplate("frontend/main_menu.html.twig", "frontend/header_pro.html.twig", 142)->display(twig_array_merge($context, ["type" => "pro", "country_switcher" => // line 144
(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); })())]));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "frontend/header_pro.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<header id=\"header\" class=\"header\" role=\"banner\">
{% include 'frontend/header_change_country.html.twig' %}
{% set country_switcher %}
{% include 'frontend/countries.html.twig' %}
{% endset %}
<div class=\"header-container-top header-menu-mobile clearfix\" data-size=\"big\">
<div class=\"left{% if is_current_website('ecat') %}-ecat{% endif %}\">
{% if is_current_website('showvroom') %}
<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>
{% elseif is_current_website('ecat') %}
<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>
{% else %}
<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>
{% endif %}
</div>
<nav class=\"left navigation nav m-hide\" role=\"navigation\">
<ul class=\"clearfix\">
<li>
<a href=\"javascript:void(0)\" class=\"bt-menu tab-l-hide tab-p-hide m-hide\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
<span>{{ 'frontend.navigation.menu'|trans }}</span>
</a>
<a href=\"#\" class=\"tab-bt-menu grid-hide tab-l-visible tab-p-visible m-hide\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
<span>{{ 'frontend.navigation.menu'|trans }}</span>
</a>
</li>
{% if not is_current_website('ecat') and not is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
<li class=\"grid-xl-visible grid-l-visible grid-hide\"><a href=\"{{ path('frontend_sale_auto_pro') }}\">{{ 'frontend.header.link.sell'|trans }}</a></li>
{% endif %}
{% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
<li class=\"grid-xl-visible grid-l-visible grid-hide\">
<a href=\"{{ path('frontend_wiki_list_fr_pro', {'limit': 10}) }}\" title=\"\">
{{ 'frontend.france.blog.link01'|trans }}
</a>
</li>
{% endif %}
{% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
<li class=\"grid-xl-visible grid-l-visible grid-hide\">
<a href=\"{{ path('frontend_wiki_list_pt') }}\">
{{ 'frontend.portugal.blog.title'|trans }}
</a>
</li>
{% endif %}
</ul>
</nav>
<div class=\"pro menuhaut d-menuhaut right prelative tab-p-hide m-hide\">
<ul class=\"left\">
{% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<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>
<li>
<a href=\"{{ path('frontend_auction_list') }}\" title=\"\" class=\"connecte\">
<span class=\"block txtcenter\">
<span class=\"prelative inbl\">
<i class=\"icon-ordres-achat\"></i>
{% if app.user.countLiveBids > 0 %}
<span class=\"caddy-notification\">{{ app.user.countLiveBids }}</span>
{% endif %}
</span>
</span>
{{ 'frontend.header.pro.link.auctions'|trans }}</a>
</li>
<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>
<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>
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<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>
{% else %}
<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>
{% endif %}
{% else %}
<li class=\"connexion\"><a href=\"{{ getADUrl() }}\" title=\"\" class=\"lien09 connexion\">{{ 'frontend.header.pro.link.sign_in'|trans }}</a></li>
<li><a href=\"{{ getADUrl() }}\" class=\"lien12 inscription\">{{ 'frontend.header.pro.link.register'|trans }}</a></li>
{% endif %}
{% if not(is_current_website('ecat')) %}
{% include '/Frontend/pro/_help_manual.html.twig' with { 'hideTablet' : 'tab-l-hide tab-p-hide'} %}
<li class=\"tel {% if app.user is not null %}connecte tab-l-hide{% endif %}\">
<span class=\"txtcenter\"><i class=\"icon-menu-tel {% if is_current_website('showvroom') %}showvroom{% endif %}\"></i></span>
<span class=\"{% if is_current_website('showvroom') %}color08{% endif %}\">{% include '/Frontend/pro/_tel_contact.html.twig' %}</span>
</li>
<li class=\"btn-particulier\"><a href=\"{{ path('homepage', {'_locale': default_locale}) }}\" title=\"\">vpauto.{{ default_locale }}</a></li>
{% endif %}
{% if not (is_current_website('showvroom')) %}
<li class=\"langue cursor\">
<span class=\"d-txt-langue\">
<i class=\"icon-flag-{{ current_country }}\"></i>
<span class=\"fleche\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
</span>
</span>
{{ country_switcher }}
</li>
{% endif %}
</ul>
</div>
<div class=\"pro menuhaut d-menuhaut right prelative grid-hide tab-l-hide tab-p-visible m-hide\">
<ul class=\"left\">
{% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<li>
<span class=\"block txtcenter\">
<span class=\"prelative inbl\">
<i class=\"icon-ordres-achat\"></i>
{% if app.user.countLiveBids > 0 %}
<span class=\"caddy-notification\">{{ app.user.countLiveBids }}</span>
{% endif %}
</span>
</span>
<a href=\"{{ path('frontend_auction_list') }}\" title=\"\">{{ 'frontend.header.pro.link.auctions'|trans }}</a>
</li>
{% endif %}
</ul>
</div>
<div class=\"menuhaut-mobile right grid-hide tab-l-hide tab-p-hide m-visible\">
<a href=\"tel:{% include '/Frontend/pro/_tel_contact.html.twig' with {'telMobile': true } %}\" title=\"\" class=\"prelative marginR20\">
<i class=\"icon-menu-tel\"></i>
</a>
<a href=\"#\" class=\"m-bt-menu\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
<span>{{ 'frontend.navigation.menu'|trans }}</span>
</a>
</div>
</div>
</header>
{% include 'frontend/main_menu.html.twig' with {
'type': 'pro',
country_switcher: country_switcher
} %}
", "frontend/header_pro.html.twig", "/srv/templates/frontend/header_pro.html.twig");
}
}