<?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/main_menu.html.twig */
class __TwigTemplate_ffc872e1d7beee903382888f2946eb41 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/main_menu.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/main_menu.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/main_menu.html.twig"));
// line 1
echo "<!-- Menu deroulant -->
<div class=\"menu-deroulant grid-container tab-l-hide tab-p-hide m-hide\">
";
// line 3
if (((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 3, $this->source); })()) == "private")) {
// line 4
echo " <div class=\"grid-50\">
";
// line 5
$this->loadTemplate("frontend/cms_menu.html.twig", "frontend/main_menu.html.twig", 5)->display(twig_array_merge($context, ["root" => "b2c"]));
// line 6
echo " </div>
<div class=\"grid-30 tab-p-50\">
<ul class=\"clearfix\">
<li><a href=\"";
// line 9
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("live_portal_next_sales");
echo "\" title=\"\"><i class=\"icon-menu-live\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.live"), "html", null, true);
echo "</span></a></li>
";
// line 10
if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
// line 11
echo " <li><a href=\"";
echo twig_escape_filter($this->env, (isset($context["sell_my_auto_url"]) || array_key_exists("sell_my_auto_url", $context) ? $context["sell_my_auto_url"] : (function () { throw new RuntimeError('Variable "sell_my_auto_url" does not exist.', 11, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\" title=\"\"><i class=\"icon-menu-vendre\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.saleAuto"), "html", null, true);
echo "</span></a></li>
";
}
// line 13
echo " <li><span class=\"obflink\" role=\"link\" data-o=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\UserExtension']->base64Encode($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_vehicle_list")), "html", null, true);
echo "\" title=\"\"><i class=\"icon-menu-rechercher\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.globalSearch"), "html", null, true);
echo "</span></span></li>
<li><a href=\"";
// line 14
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_client_opinion");
echo "\" title=\"\"><i class=\"icon-menu-avis\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.reviews"), "html", null, true);
echo "</span></a></li>
</ul>
</div>
<div class=\"grid-20 tab-p-50\">
<ul class=\"clearfix\">
<li><a href=\"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_contact");
echo "\" class=\"lien08\" title=\"\"><i class=\"icon-service-clt\"></i> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.customer_service"), "html", null, true);
echo "</a></li>
<li><a href=\"";
// line 20
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_cgv_country", ["country" => "fr"]);
echo "\" class=\"header_link\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.ConditionsSale"), "html", null, true);
echo "</a></li>
</ul>
</div>
";
} elseif (( // line 23
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 23, $this->source); })()) == "pro")) {
// line 24
echo " <div class=\"pro\">
";
// line 25
if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("ecat")) {
// line 26
echo " ";
$this->loadTemplate("frontend/cms_menu.html.twig", "frontend/main_menu.html.twig", 26)->display(twig_array_merge($context, ["root" => "b2b"]));
// line 27
echo " ";
} else {
// line 28
echo " ";
$this->loadTemplate("frontend/cms_menu.html.twig", "frontend/main_menu.html.twig", 28)->display(twig_array_merge($context, ["root" => "b2becat"]));
// line 29
echo " ";
}
// line 30
echo " </div>
";
}
// line 32
echo "</div>
<!-- END Menu deroulant -->
<!-- Menu deroulant mobile -->
<div class=\"tab-menu-deroulant ";
// line 36
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.', 36, $this->source); })()), "user", [], "any", false, false, false, 36))) {
echo "user-logout";
}
echo "\">
<div class=\"grid-container\">
<div class=\"grid-70\">";
// line 38
if (((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 38, $this->source); })()) == "private")) {
echo "<a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_vehicle_list");
echo "\" title=\"\" class=\"btn-rechercher\"><i class=\"icon-menu-rechercher\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.globalSearch"), "html", null, true);
echo "</span></a>";
} else {
echo " ";
}
echo "</div>
<div class=\"grid-30 txtright\">
<span class=\"bt-close tab-close-menu-deroulant 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>
<span class=\"bt-close m-close-menu-deroulant tab-l-hide tab-p-hide m-visible\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
</div>
";
// line 56
if (( !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.', 56, $this->source); })()), "user", [], "any", false, false, false, 56) || !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
// line 57
echo " ";
$this->loadTemplate("login.html.twig", "frontend/main_menu.html.twig", 57)->display($context);
// line 58
echo " ";
}
// line 59
echo "
";
// line 60
if (((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 60, $this->source); })()) == "private")) {
// line 61
echo " <div class=\"menuhaut tab-menuhaut clearfix prelative border01\">
<ul>
";
// line 63
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.', 63, $this->source); })()), "user", [], "any", false, false, false, 63)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
// line 64
echo " <li class=\"grid-100\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_profile_edit");
echo "\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.edit"), "html", null, true);
echo "</a></li>
<li class=\"grid-100\"><a href=\"";
// line 65
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_logout");
echo "\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.logout"), "html", null, true);
echo "</a></li>
";
} else {
// line 67
echo " <li class=\"grid-100 u-login u-modal\"><a href=\"#\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.login"), "html", null, true);
echo "</a></li>
<li class=\"grid-100\"><a href=\"";
// line 68
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.create"), "html", null, true);
echo "</a></li>
";
}
// line 70
echo " <li class=\"grid-40 btn-pro\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage_pro");
echo "\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.button.pro"), "html", null, true);
echo "</a></li>
<li class=\"grid-60\">
<p><i class=\"icon-menu-tel\"></i> ";
// line 72
$this->loadTemplate("Frontend/user/_tel_customer_service.html.twig", "frontend/main_menu.html.twig", 72)->display($context);
echo "</p>
</li>
";
// line 74
if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
// line 75
echo " <li class=\"mobile-langue\">
<span class=\"tab-langue cursor txt-langue\">
<i class=\"icon-flag-";
// line 77
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.', 77, $this->source); })()), "html", null, true);
echo "\"></i>
<span class=\"fleche\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
</span>
</span>
";
// line 83
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.', 83, $this->source); })()), "html", null, true);
echo "
</li>
";
}
// line 86
echo " </ul>
</div>
";
} elseif (( // line 88
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 88, $this->source); })()) == "pro")) {
// line 89
echo " <div class=\"pro menuhaut tab-menuhaut clearfix prelative border01\">
<ul>
";
// line 91
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.', 91, $this->source); })()), "user", [], "any", false, false, false, 91)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
// line 92
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
// line 93
echo " <li class=\"grid-100 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.', 93, $this->source); })()), "user", [], "any", false, false, false, 93), "id", [], "any", false, false, false, 93), "_switch_user" => "_exit"]), "html", null, true);
echo "\" title=\"\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.switch.user.exit"), "html", null, true);
echo "</a></li>
";
}
// line 95
echo " ";
} else {
// line 96
echo " <li class=\"grid-100 connexion\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html", null, true);
echo "\" title=\"\" class=\"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 class=\"grid-100 inscription\"><a href=\"";
// line 97
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html", null, true);
echo "\" title=\"\" class=\"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 99
echo " ";
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.', 99, $this->source); })()), "user", [], "any", false, false, false, 99))) {
// line 100
echo " <li class=\"grid-40 btn-particulier\">
";
// line 101
if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
// line 102
echo " <a href=\"";
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.', 102, $this->source); })())]), "html", null, true);
echo "\" title=\"\">";
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.', 102, $this->source); })()), "request", [], "any", false, false, false, 102), "getHost", [], "any", false, false, false, 102), "html", null, true);
echo "</a>
";
} else {
// line 103
echo " ";
}
// line 104
echo " </li>
<li class=\"grid-60 tel\"><i class=\"icon-menu-tel\"></i> ";
// line 105
$this->loadTemplate("/Frontend/pro/_tel_contact.html.twig", "frontend/main_menu.html.twig", 105)->display($context);
echo "</li>
";
}
// line 107
echo " ";
if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
// line 108
echo " <li class=\"mobile-langue\">
<span class=\"tab-langue cursor txt-langue\">
<i class=\"icon-flag-";
// line 110
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.', 110, $this->source); })()), "html", null, true);
echo "\"></i>
<span class=\"fleche\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
</span>
</span>
";
// line 116
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.', 116, $this->source); })()), "html", null, true);
echo "
</li>
";
}
// line 119
echo " </ul>
</div>
";
}
// line 122
echo "
";
// line 123
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.', 123, $this->source); })()), "user", [], "any", false, false, false, 123)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
// line 124
echo " <div class=\"sidebar-menu border01 grid-hide tab-l-hide tab-p-visible m-visible\">
";
// line 125
$this->loadTemplate("/Frontend/sidebar.html.twig", "frontend/main_menu.html.twig", 125)->display($context);
// line 126
echo " </div>
";
}
// line 128
echo " ";
if (((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 128, $this->source); })()) == "private")) {
// line 129
echo " <div class=\"menu01 border01 marginT10\">
<ul>
<li><a href=\"";
// line 131
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("live_portal_next_sales");
echo "\" title=\"\"><i class=\"icon-menu-live\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.live"), "html", null, true);
echo "</span></a></li>
<li><a href=\"";
// line 132
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_vehicle_alert_search");
echo "\" title=\"\"><i class=\"icon-alerte04\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.search.alert.create"), "html", null, true);
echo "</span></a></li>
<li><a href=\"";
// line 133
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_client_opinion");
echo "\" title=\"\"><i class=\"icon-menu-avis\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.reviews"), "html", null, true);
echo "</span></a></li>
";
// line 134
if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
// line 135
echo " <li><a href=\"";
echo twig_escape_filter($this->env, (isset($context["sell_my_auto_url"]) || array_key_exists("sell_my_auto_url", $context) ? $context["sell_my_auto_url"] : (function () { throw new RuntimeError('Variable "sell_my_auto_url" does not exist.', 135, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\" title=\"\"><i class=\"icon-menu-vendre\"></i><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.saleAuto"), "html", null, true);
echo "</span></a></li>
";
}
// line 137
echo " </ul>
</div>
";
} elseif (( // line 139
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 139, $this->source); })()) == "pro")) {
// line 140
echo " <div class=\"menu02 border01 paddingB5\">
<ul>
";
// line 142
if ( !$this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
// line 143
echo " <li><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 145
echo " ";
$this->loadTemplate("/Frontend/pro/_help_manual.html.twig", "frontend/main_menu.html.twig", 145)->display($context);
// line 146
echo " </ul>
</div>
";
}
// line 149
echo " <div class=\"menu02\">
";
// line 150
if (((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 150, $this->source); })()) == "private")) {
// line 151
echo " ";
$this->loadTemplate("frontend/cms_menu.html.twig", "frontend/main_menu.html.twig", 151)->display(twig_array_merge($context, ["root" => "b2c"]));
// line 152
echo " ";
} elseif (((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 152, $this->source); })()) == "pro")) {
// line 153
echo " ";
$this->loadTemplate("frontend/cms_menu.html.twig", "frontend/main_menu.html.twig", 153)->display(twig_array_merge($context, ["root" => "b2b"]));
// line 154
echo " ";
}
// line 155
echo " </div>
</div>
<!-- END Menu deroulant mobile -->
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "frontend/main_menu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 441 => 155, 438 => 154, 435 => 153, 432 => 152, 429 => 151, 427 => 150, 424 => 149, 419 => 146, 416 => 145, 408 => 143, 406 => 142, 402 => 140, 400 => 139, 396 => 137, 388 => 135, 386 => 134, 380 => 133, 374 => 132, 368 => 131, 364 => 129, 361 => 128, 357 => 126, 355 => 125, 352 => 124, 350 => 123, 347 => 122, 342 => 119, 336 => 116, 327 => 110, 323 => 108, 320 => 107, 315 => 105, 312 => 104, 309 => 103, 301 => 102, 299 => 101, 296 => 100, 293 => 99, 286 => 97, 279 => 96, 276 => 95, 268 => 93, 265 => 92, 263 => 91, 259 => 89, 257 => 88, 253 => 86, 247 => 83, 238 => 77, 234 => 75, 232 => 74, 227 => 72, 219 => 70, 212 => 68, 207 => 67, 200 => 65, 193 => 64, 191 => 63, 187 => 61, 185 => 60, 182 => 59, 179 => 58, 176 => 57, 174 => 56, 145 => 38, 138 => 36, 132 => 32, 128 => 30, 125 => 29, 122 => 28, 119 => 27, 116 => 26, 114 => 25, 111 => 24, 109 => 23, 101 => 20, 95 => 19, 85 => 14, 78 => 13, 70 => 11, 68 => 10, 62 => 9, 57 => 6, 55 => 5, 52 => 4, 50 => 3, 46 => 1,);
}
public function getSourceContext()
{
return new Source("<!-- Menu deroulant -->
<div class=\"menu-deroulant grid-container tab-l-hide tab-p-hide m-hide\">
{% if type == 'private' %}
<div class=\"grid-50\">
{% include 'frontend/cms_menu.html.twig' with {'root': 'b2c'} %}
</div>
<div class=\"grid-30 tab-p-50\">
<ul class=\"clearfix\">
<li><a href=\"{{ path('live_portal_next_sales') }}\" title=\"\"><i class=\"icon-menu-live\"></i><span>{{ 'frontend.header.navigation.live'|trans }}</span></a></li>
{% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
<li><a href=\"{{ sell_my_auto_url }}\" target=\"_blank\" title=\"\"><i class=\"icon-menu-vendre\"></i><span>{{ 'frontend.header.navigation.saleAuto'|trans }}</span></a></li>
{% endif %}
<li><span class=\"obflink\" role=\"link\" data-o=\"{{ base64_encode(path('frontend_vehicle_list')) }}\" title=\"\"><i class=\"icon-menu-rechercher\"></i><span>{{ 'frontend.header.navigation.globalSearch'|trans }}</span></span></li>
<li><a href=\"{{ path('frontend_client_opinion') }}\" title=\"\"><i class=\"icon-menu-avis\"></i><span>{{ 'frontend.header.navigation.reviews'|trans }}</span></a></li>
</ul>
</div>
<div class=\"grid-20 tab-p-50\">
<ul class=\"clearfix\">
<li><a href=\"{{ path('frontend_contact') }}\" class=\"lien08\" title=\"\"><i class=\"icon-service-clt\"></i> {{ 'frontend.header.customer_service'|trans }}</a></li>
<li><a href=\"{{ path('frontend_cgv_country', {'country': 'fr'}) }}\" class=\"header_link\" title=\"\">{{ 'frontend.header.navigation.ConditionsSale'|trans }}</a></li>
</ul>
</div>
{% elseif type == 'pro' %}
<div class=\"pro\">
{% if not(is_current_website('ecat'))%}
{% include 'frontend/cms_menu.html.twig' with {'root': 'b2b'} %}
{% else %}
{% include 'frontend/cms_menu.html.twig' with {'root': 'b2becat'} %}
{% endif %}
</div>
{% endif %}
</div>
<!-- END Menu deroulant -->
<!-- Menu deroulant mobile -->
<div class=\"tab-menu-deroulant {% if app.user is null %}user-logout{% endif %}\">
<div class=\"grid-container\">
<div class=\"grid-70\">{% if type == 'private' %}<a href=\"{{ path('frontend_vehicle_list') }}\" title=\"\" class=\"btn-rechercher\"><i class=\"icon-menu-rechercher\"></i><span>{{ 'frontend.header.navigation.globalSearch'|trans }}</span></a>{% else %} {% endif %}</div>
<div class=\"grid-30 txtright\">
<span class=\"bt-close tab-close-menu-deroulant 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>
<span class=\"bt-close m-close-menu-deroulant tab-l-hide tab-p-hide m-visible\">
<span class=\"lignes\">
<span class=\"ligne1\"></span>
<span class=\"ligne2\"></span>
<span class=\"ligne3\"></span>
</span>
</span>
</div>
</div>
{% if not app.user or not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
{% include 'login.html.twig' %}
{% endif %}
{% if type == 'private' %}
<div class=\"menuhaut tab-menuhaut clearfix prelative border01\">
<ul>
{% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<li class=\"grid-100\"><a href=\"{{ path('fos_user_profile_edit') }}\" title=\"\">{{ 'frontend.profile.edit'|trans }}</a></li>
<li class=\"grid-100\"><a href=\"{{ path('fos_user_security_logout') }}\" title=\"\">{{ 'frontend.profile.logout'|trans }}</a></li>
{% else %}
<li class=\"grid-100 u-login u-modal\"><a href=\"#\" title=\"\">{{ 'frontend.profile.login'|trans }}</a></li>
<li class=\"grid-100\"><a href=\"{{ path('registration_step') }}\">{{ 'frontend.profile.create'|trans }}</a></li>
{% endif %}
<li class=\"grid-40 btn-pro\"><a href=\"{{ path('homepage_pro') }}\" title=\"\">{{ \"frontend.header.button.pro\"|trans }}</a></li>
<li class=\"grid-60\">
<p><i class=\"icon-menu-tel\"></i> {% include 'Frontend/user/_tel_customer_service.html.twig' %}</p>
</li>
{% if not (is_current_website('showvroom')) %}
<li class=\"mobile-langue\">
<span class=\"tab-langue cursor 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>
{% elseif type == 'pro' %}
<div class=\"pro menuhaut tab-menuhaut clearfix prelative border01\">
<ul>
{% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<li class=\"grid-100 inscription\"><a href=\"{{ path('backend_user_view', {'id': app.user.id, '_switch_user': '_exit'})}}\" title=\"\">{{ 'frontend.switch.user.exit'|trans }}</a></li>
{% endif %}
{% else %}
<li class=\"grid-100 connexion\"><a href=\"{{ getADUrl() }}\" title=\"\" class=\"connexion\">{{ \"frontend.header.pro.link.sign_in\"|trans }}</a></li>
<li class=\"grid-100 inscription\"><a href=\"{{ getADUrl() }}\" title=\"\" class=\"inscription\">{{ \"frontend.header.pro.link.register\"|trans }}</a></li>
{% endif %}
{% if app.user is null %}
<li class=\"grid-40 btn-particulier\">
{% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
<a href=\"{{ path('homepage', {'_locale': default_locale}) }}\" title=\"\">{{ app.request.getHost }}</a>
{% else %} {% endif %}
</li>
<li class=\"grid-60 tel\"><i class=\"icon-menu-tel\"></i> {% include '/Frontend/pro/_tel_contact.html.twig' %}</li>
{% endif %}
{% if not (is_current_website('showvroom')) %}
<li class=\"mobile-langue\">
<span class=\"tab-langue cursor 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>
{% endif %}
{% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<div class=\"sidebar-menu border01 grid-hide tab-l-hide tab-p-visible m-visible\">
{% include '/Frontend/sidebar.html.twig' %}
</div>
{% endif %}
{% if type == 'private' %}
<div class=\"menu01 border01 marginT10\">
<ul>
<li><a href=\"{{ path('live_portal_next_sales') }}\" title=\"\"><i class=\"icon-menu-live\"></i><span>{{ 'frontend.navigation.live'|trans }}</span></a></li>
<li><a href=\"{{ path('frontend_vehicle_alert_search') }}\" title=\"\"><i class=\"icon-alerte04\"></i><span>{{ 'frontend.search.alert.create'|trans }}</span></a></li>
<li><a href=\"{{ path('frontend_client_opinion') }}\" title=\"\"><i class=\"icon-menu-avis\"></i><span>{{ 'frontend.navigation.reviews'|trans }}</span></a></li>
{% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
<li><a href=\"{{ sell_my_auto_url }}\" target=\"_blank\" title=\"\"><i class=\"icon-menu-vendre\"></i><span>{{ 'frontend.navigation.saleAuto'|trans }}</span></a></li>
{% endif %}
</ul>
</div>
{% elseif type == 'pro' %}
<div class=\"menu02 border01 paddingB5\">
<ul>
{% if not is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
<li><a href=\"{{ path('frontend_sale_auto_pro') }}\">{{ 'frontend.header.link.sell'|trans }}</a></li>
{% endif %}
{% include '/Frontend/pro/_help_manual.html.twig' %}
</ul>
</div>
{% endif %}
<div class=\"menu02\">
{% if type == 'private' %}
{% include 'frontend/cms_menu.html.twig' with {'root': 'b2c'} %}
{% elseif type == 'pro' %}
{% include 'frontend/cms_menu.html.twig' with {'root': 'b2b'} %}
{% endif %}
</div>
</div>
<!-- END Menu deroulant mobile -->
", "frontend/main_menu.html.twig", "/srv/templates/frontend/main_menu.html.twig");
}
}