<?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;
/* front/theme1/produits/page_sous_sous_categorie.html.twig */
class __TwigTemplate_c1036919035fdb45f71add0df594b943c9c3ee586405f52bc676dfd34af01764 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'preload' => [$this, 'block_preload'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("front/" . twig_get_attribute($this->env, $this->source, 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", [0 => "APP_THEME"], "method", false, false, false, 1)) . "/base.html.twig"), "front/theme1/produits/page_sous_sous_categorie.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/produits/page_sous_sous_categorie.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/produits/page_sous_sous_categorie.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_preload($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preload"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "preload"));
// line 4
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["categorie"] ?? null), "image", [], "any", true, true, false, 4) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 4, $this->source); })()), "image", [], "any", false, false, false, 4)))) {
// line 5
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 5, $this->source); })()), "image", [], "any", false, false, false, 5)), "html", null, true);
echo "\" />
";
}
// line 7
echo "
";
// line 8
if ((array_key_exists("resultats", $context) && !twig_test_empty((isset($context["resultats"]) || array_key_exists("resultats", $context) ? $context["resultats"] : (function () { throw new RuntimeError('Variable "resultats" does not exist.', 8, $this->source); })())))) {
// line 9
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["resultats"]) || array_key_exists("resultats", $context) ? $context["resultats"] : (function () { throw new RuntimeError('Variable "resultats" does not exist.', 9, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 10
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 10)) {
// line 11
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 11)), "html", null, true);
echo "\" />
";
}
// line 13
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "
";
}
// line 15
echo "
";
// line 16
if ((array_key_exists("galleries", $context) && !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 16, $this->source); })())))) {
// line 17
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 17, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 18
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["item"], "path", [], "any", true, true, false, 18)) {
// line 19
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env, $this->source, $context["item"], "path", [], "any", false, false, false, 19)), "html", null, true);
echo "\" />
";
}
// line 21
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo " ";
}
// line 23
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 27
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 28
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
// line 29
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie", $context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.', 29, $this->source); })()), 0, [], "array", false, false, false, 29), "type", [], "any", false, false, false, 29) == 4)) {
// line 30
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/flexslider.css"), "html", null, true);
echo "\" media=\"screen\" >
";
}
// line 32
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["template"] ?? null), "css", [], "any", true, true, false, 32)) {
// line 33
echo " <style>
";
// line 34
echo twig_get_attribute($this->env, $this->source, (isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 34, $this->source); })()), "css", [], "any", false, false, false, 34);
echo "
</style>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 40
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 41
echo "
";
// line 42
if ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 42, $this->source); })()), "positiontext", [], "any", false, false, false, 42) == 3)) {
// line 43
echo " ";
$context["position_texte"] = "text-left";
// line 44
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 44, $this->source); })()), "positiontext", [], "any", false, false, false, 44) == 2)) {
// line 45
echo " ";
$context["position_texte"] = "text-right";
// line 46
echo " ";
} else {
// line 47
echo " ";
$context["position_texte"] = "text-center";
// line 48
echo " ";
}
// line 49
echo "
";
// line 51
$context["type_affiche"] = "";
// line 52
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 52, $this->source); })()), "nombrearticle", [], "any", false, false, false, 52) == 1)) {
// line 53
echo " ";
$context["type_affiche"] = "type_affiche1";
// line 54
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 54, $this->source); })()), "nombrearticle", [], "any", false, false, false, 54) == 2)) {
// line 55
echo " ";
$context["type_affiche"] = "type_affiche2";
// line 56
echo " ";
} else {
// line 57
echo " ";
$context["type_affiche"] = "type_affiche3";
// line 58
echo " ";
}
// line 59
echo "
";
// line 60
if ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 60, $this->source); })()), "actif_slider", [], "any", false, false, false, 60) == 1)) {
// line 61
echo " ";
$context["type_affiche"] = ((isset($context["type_affiche"]) || array_key_exists("type_affiche", $context) ? $context["type_affiche"] : (function () { throw new RuntimeError('Variable "type_affiche" does not exist.', 61, $this->source); })()) . " owl-carousel");
// line 62
echo " ";
}
// line 63
echo "
";
// line 64
$context["multi_affichage"] = "affichage1";
// line 65
echo "
";
// line 66
if ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 66, $this->source); })()), "multi_affichage", [], "any", false, false, false, 66) == 1)) {
// line 67
echo " ";
$context["multi_affichage"] = "affichage1";
// line 68
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 68, $this->source); })()), "multi_affichage", [], "any", false, false, false, 68) == 2)) {
// line 69
echo " ";
$context["multi_affichage"] = "affichage2";
// line 70
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 70, $this->source); })()), "multi_affichage", [], "any", false, false, false, 70) == 3)) {
// line 71
echo " ";
$context["multi_affichage"] = "affichage3";
// line 72
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 72, $this->source); })()), "multi_affichage", [], "any", false, false, false, 72) == 4)) {
// line 73
echo " ";
$context["multi_affichage"] = "affichage4";
// line 74
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 74, $this->source); })()), "multi_affichage", [], "any", false, false, false, 74) == 5)) {
// line 75
echo " ";
$context["multi_affichage"] = "affichage5";
// line 76
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 76, $this->source); })()), "multi_affichage", [], "any", false, false, false, 76) == 6)) {
// line 77
echo " ";
$context["multi_affichage"] = "affichage6";
// line 78
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 78, $this->source); })()), "multi_affichage", [], "any", false, false, false, 78) == 7)) {
// line 79
echo " ";
$context["multi_affichage"] = "affichage7";
// line 80
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 80, $this->source); })()), "multi_affichage", [], "any", false, false, false, 80) == 8)) {
// line 81
echo " ";
$context["multi_affichage"] = "affichage8";
// line 82
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 82, $this->source); })()), "multi_affichage", [], "any", false, false, false, 82) == 9)) {
// line 83
echo " ";
$context["multi_affichage"] = "affichage9";
// line 84
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 84, $this->source); })()), "multi_affichage", [], "any", false, false, false, 84) == 10)) {
// line 85
echo " ";
$context["multi_affichage"] = "affichage10";
// line 86
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 86, $this->source); })()), "multi_affichage", [], "any", false, false, false, 86) == 11)) {
// line 87
echo " ";
$context["multi_affichage"] = "affichage11";
// line 88
echo " ";
} elseif ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 88, $this->source); })()), "multi_affichage", [], "any", false, false, false, 88) == 12)) {
// line 89
echo " ";
$context["multi_affichage"] = "affichage12";
// line 90
echo " ";
}
// line 91
echo "
<div class=\"page_cms pt-5 page_product\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
";
// line 98
if ((array_key_exists("breadcrumb", $context) && !twig_test_empty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 98, $this->source); })())))) {
// line 99
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 99, $this->source); })()), "request", [], "any", false, false, false, 99), "server", [], "any", false, false, false, 99), "get", [0 => "APP_THEME"], "method", false, false, false, 99)) . "/partials/breadcrumb.html.twig"));
echo "
<h1 class=\"page-title\">";
// line 100
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_last($this->env, (isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 100, $this->source); })())), "name", [], "any", false, false, false, 100), "html", null, true);
echo "</h1>
";
}
// line 102
echo " </div>
</div>
</div>
</div>
</div>
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
";
// line 111
if ((array_key_exists("categories_tree", $context) && !twig_test_empty((isset($context["categories_tree"]) || array_key_exists("categories_tree", $context) ? $context["categories_tree"] : (function () { throw new RuntimeError('Variable "categories_tree" does not exist.', 111, $this->source); })())))) {
// line 112
echo " <div class=\"col-lg-3 ";
echo (((array_key_exists("show_filter_categorie", $context) && ((isset($context["show_filter_categorie"]) || array_key_exists("show_filter_categorie", $context) ? $context["show_filter_categorie"] : (function () { throw new RuntimeError('Variable "show_filter_categorie" does not exist.', 112, $this->source); })()) == true))) ? ("") : ("d-none"));
echo "\">
";
// line 113
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 113, $this->source); })()), "request", [], "any", false, false, false, 113), "server", [], "any", false, false, false, 113), "get", [0 => "APP_THEME"], "method", false, false, false, 113)) . "/partials/product/_sidebar.html.twig"));
echo "
</div>
";
}
// line 116
echo "
<div class=\"col-lg-";
// line 117
echo (((array_key_exists("show_filter_categorie", $context) && ((isset($context["show_filter_categorie"]) || array_key_exists("show_filter_categorie", $context) ? $context["show_filter_categorie"] : (function () { throw new RuntimeError('Variable "show_filter_categorie" does not exist.', 117, $this->source); })()) == true))) ? ("9") : ("12"));
echo " bloc-content-sous-sous-categorie ";
echo ((((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 117, $this->source); })()), "actif_haut", [], "any", false, false, false, 117) == false) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 117, $this->source); })()), "textecategorie", [], "any", false, false, false, 117)))) ? ("d-flex flex-column-reverse") : (""));
echo "\">
";
// line 118
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 118, $this->source); })()), "textecategorie", [], "any", false, false, false, 118)) && (twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 118, $this->source); })()), "textecategorie", [], "any", false, false, false, 118) != ""))) {
// line 119
echo " <div class=\"list_blocs ";
echo twig_escape_filter($this->env, (isset($context["position_texte"]) || array_key_exists("position_texte", $context) ? $context["position_texte"] : (function () { throw new RuntimeError('Variable "position_texte" does not exist.', 119, $this->source); })()), "html", null, true);
echo "\">
<div class=\"col-lg-12 content_post\">
";
// line 121
echo twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 121, $this->source); })()), "textecategorie", [], "any", false, false, false, 121);
echo "
";
// line 122
if ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 122, $this->source); })()), "typelien", [], "any", false, false, false, 122) != 1)) {
// line 123
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 123, $this->source); })()), "typelien", [], "any", false, false, false, 123) == "4")) {
// line 124
echo " <div class=\"text-center py-2\">
<a href=\"tel:";
// line 125
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 125, $this->source); })()), "telephone", [], "any", false, false, false, 125), "html", null, true);
echo "\" class=\"btn btn-back-pulse\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 125, $this->source); })()), "titrelien", [], "any", false, false, false, 125), "html", null, true);
echo "</a>
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 127
(isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 127, $this->source); })()), "typelien", [], "any", false, false, false, 127) == "2")) {
// line 128
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 129
echo twig_escape_filter($this->env, $this->extensions['App\Twig\FunctionExtension']->slugLinkInterneFunction(twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 129, $this->source); })()), "lieninterne", [], "any", false, false, false, 129)), "html", null, true);
echo "\" class=\"btn btn-back-pulse\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 129, $this->source); })()), "titrelien", [], "any", false, false, false, 129), "html", null, true);
echo "</a>
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 131
(isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 131, $this->source); })()), "typelien", [], "any", false, false, false, 131) == "3")) {
// line 132
echo " <div class=\"text-center py-2\">
<a href=\"";
// line 133
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 133, $this->source); })()), "lienexterne", [], "any", false, false, false, 133), "html", null, true);
echo "\" class=\"btn btn-back-pulse\" target=\"_blank\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 133, $this->source); })()), "titrelien", [], "any", false, false, false, 133), "html", null, true);
echo "</a>
</div>
";
}
// line 136
echo " ";
}
// line 137
echo " </div>
</div>
";
}
// line 140
echo "
<div class=\"blocs\">
";
// line 143
if ((array_key_exists("template", $context) && !twig_test_empty((isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 143, $this->source); })())))) {
// line 144
echo " ";
echo twig_include($this->env, $context, twig_template_from_string($this->env, twig_get_attribute($this->env, $this->source, (isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 144, $this->source); })()), "twig", [], "any", false, false, false, 144)));
echo "
";
}
// line 146
echo "
";
// line 147
if (((((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 147, $this->source); })()) == true) && twig_get_attribute($this->env, $this->source, (isset($context["posts"]) || array_key_exists("posts", $context) ? $context["posts"] : (function () { throw new RuntimeError('Variable "posts" does not exist.', 147, $this->source); })()), "hasToPaginate", [], "any", false, false, false, 147)) && twig_get_attribute($this->env, $this->source, (isset($context["posts"]) || array_key_exists("posts", $context) ? $context["posts"] : (function () { throw new RuntimeError('Variable "posts" does not exist.', 147, $this->source); })()), "pageSize", [], "any", false, false, false, 147))) {
// line 148
echo " <div class=\"pagination-items\">
";
// line 149
$context["paginator"] = (isset($context["posts"]) || array_key_exists("posts", $context) ? $context["posts"] : (function () { throw new RuntimeError('Variable "posts" does not exist.', 149, $this->source); })());
// line 150
echo " <div class=\"navigation text-center\">
<ul class=\"pagination d-felx justify-content-center my-4\">
";
// line 152
if (twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 152, $this->source); })()), "hasPreviousPage", [], "any", false, false, false, 152)) {
// line 153
echo " <li class=\"prev mx-1\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_sous_sous_categorie", ["categorie1" => twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 153, $this->source); })()), "slugurl", [], "any", false, false, false, 153), "categorie2" => twig_get_attribute($this->env, $this->source, (isset($context["sous_categorie"]) || array_key_exists("sous_categorie", $context) ? $context["sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_categorie" does not exist.', 153, $this->source); })()), "slugurl", [], "any", false, false, false, 153), "categorie3" => twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 153, $this->source); })()), "slugurl", [], "any", false, false, false, 153)]), "html", null, true);
echo "?page=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 153, $this->source); })()), "previousPage", [], "any", false, false, false, 153), "html", null, true);
echo "\" rel=\"previous\"><i class=\"fa fw fa-long-arrow-left\"></i> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("paginator.previous", [], "variable"), "html", null, true);
echo "</a></li>
";
} else {
// line 155
echo " <li class=\"prev disabled mx-1\"><span><i class=\"fa fw fa-long-arrow-left\"></i> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("paginator.previous", [], "variable"), "html", null, true);
echo "</span></li>
";
}
// line 157
echo " ";
if (((isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 157, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 157, $this->source); })()), "pageSize", [], "any", false, false, false, 157))) {
// line 158
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 158, $this->source); })()), "lastPage", [], "any", false, false, false, 158)));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 159
echo " ";
if (($context["i"] == twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 159, $this->source); })()), "currentPage", [], "any", false, false, false, 159))) {
// line 160
echo " <li class=\"active number mx-1\"><span>";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo " </span></li>
";
} else {
// line 162
echo " <li class=\"number mx-1\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_sous_sous_categorie", ["categorie1" => twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 162, $this->source); })()), "slugurl", [], "any", false, false, false, 162), "categorie2" => twig_get_attribute($this->env, $this->source, (isset($context["sous_categorie"]) || array_key_exists("sous_categorie", $context) ? $context["sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_categorie" does not exist.', 162, $this->source); })()), "slugurl", [], "any", false, false, false, 162), "categorie3" => twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 162, $this->source); })()), "slugurl", [], "any", false, false, false, 162)]), "html", null, true);
echo "?page=";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a></li>
";
}
// line 164
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 165
echo " ";
}
// line 166
echo "
";
// line 167
if (((isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 167, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 167, $this->source); })()), "pageSize", [], "any", false, false, false, 167))) {
// line 168
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 168, $this->source); })()), "hasNextPage", [], "any", false, false, false, 168)) {
// line 169
echo " <li class=\"next mx-1\"><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_sous_sous_categorie", ["categorie1" => twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 169, $this->source); })()), "slugurl", [], "any", false, false, false, 169), "categorie2" => twig_get_attribute($this->env, $this->source, (isset($context["sous_categorie"]) || array_key_exists("sous_categorie", $context) ? $context["sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_categorie" does not exist.', 169, $this->source); })()), "slugurl", [], "any", false, false, false, 169), "categorie3" => twig_get_attribute($this->env, $this->source, (isset($context["sous_sous_categorie"]) || array_key_exists("sous_sous_categorie", $context) ? $context["sous_sous_categorie"] : (function () { throw new RuntimeError('Variable "sous_sous_categorie" does not exist.', 169, $this->source); })()), "slugurl", [], "any", false, false, false, 169)]), "html", null, true);
echo "?page=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["paginator"]) || array_key_exists("paginator", $context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.', 169, $this->source); })()), "nextPage", [], "any", false, false, false, 169), "html", null, true);
echo "\" rel=\"next\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("paginator.next", [], "variable"), "html", null, true);
echo " <i class=\"fa fw fa-long-arrow-right\"></i></a></li>
";
} else {
// line 171
echo " <li class=\"next disabled mx-1\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("paginator.next", [], "variable"), "html", null, true);
echo " <i class=\"fa fw fa-long-arrow-right\"></i></span></li>
";
}
// line 173
echo " ";
}
// line 174
echo "
</ul>
</div>
</div>
";
}
// line 179
echo " </div>
</div>
</div>
</div>
";
// line 184
if (((((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 184, $this->source); })()) && !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 184, $this->source); })()))) && array_key_exists("template_model_gallerie", $context)) && !twig_test_empty((isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie", $context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.', 184, $this->source); })())))) {
// line 185
echo " ";
echo twig_include($this->env, $context, twig_template_from_string($this->env, (isset($context["template_model_gallerie"]) || array_key_exists("template_model_gallerie", $context) ? $context["template_model_gallerie"] : (function () { throw new RuntimeError('Variable "template_model_gallerie" does not exist.', 185, $this->source); })())));
echo "
";
}
// line 187
echo "
";
// line 188
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 188, $this->source); })()), "urlvideo", [], "any", false, false, false, 188))) {
// line 189
echo " <div class=\"container-fluid wrapper mt-3\">
<div class=\"col-md-12 mt-1\">
<div class=\"video\">
";
// line 192
$context["id_video_externe"] = ((twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 192, $this->source); })()), "urlvideo", [], "any", false, false, false, 192), "?v="), 1, [], "array", true, true, false, 192)) ? (twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 192, $this->source); })()), "urlvideo", [], "any", false, false, false, 192), "?v="), 1, [], "array", false, false, false, 192)) : (null));
// line 193
echo " <a class=\"video-thumbnail m-0\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["categorie"]) || array_key_exists("categorie", $context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.', 193, $this->source); })()), "urlvideo", [], "any", false, false, false, 193), "html", null, true);
echo "\" data-fancybox=\"video\">
<img src=\"https://img.youtube.com/vi/";
// line 194
echo twig_escape_filter($this->env, (isset($context["id_video_externe"]) || array_key_exists("id_video_externe", $context) ? $context["id_video_externe"] : (function () { throw new RuntimeError('Variable "id_video_externe" does not exist.', 194, $this->source); })()), "html", null, true);
echo "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
</a>
</div>
</div>
</div>
";
}
// line 200
echo "
";
// line 201
if (array_key_exists("blocs", $context)) {
// line 202
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 202, $this->source); })()), "Bloc", [], "any", false, false, false, 202));
foreach ($context['_seq'] as $context["_key"] => $context["bloc"]) {
// line 203
echo " ";
if (($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && (twig_get_attribute($this->env, $this->source, $context["bloc"], "mobile", [], "any", false, false, false, 203) == true))) {
// line 204
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 204, $this->source); })()), "request", [], "any", false, false, false, 204), "server", [], "any", false, false, false, 204), "get", [0 => "APP_THEME"], "method", false, false, false, 204)) . "/bloc/bloc.html.twig"), ["bloc" => // line 205
$context["bloc"]], false);
// line 206
echo "
";
}
// line 208
echo "
";
// line 209
if ((($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isFullView() && ($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() == false)) && (twig_get_attribute($this->env, $this->source, $context["bloc"], "desktop", [], "any", false, false, false, 209) == true))) {
// line 210
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 210, $this->source); })()), "request", [], "any", false, false, false, 210), "server", [], "any", false, false, false, 210), "get", [0 => "APP_THEME"], "method", false, false, false, 210)) . "/bloc/bloc.html.twig"), ["bloc" => // line 211
$context["bloc"]], false);
// line 212
echo "
";
}
// line 214
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bloc'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 215
echo " ";
}
echo "
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 220
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 221
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 222
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["modele_galerie"]) || array_key_exists("modele_galerie", $context) ? $context["modele_galerie"] : (function () { throw new RuntimeError('Variable "modele_galerie" does not exist.', 222, $this->source); })()), 0, [], "array", false, false, false, 222), "type", [], "any", false, false, false, 222) == 4)) {
// line 223
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js"), "html", null, true);
echo "\" ></script>
<script>
/*-------------------------------------------------*/
/* = Sx flexslider
/*-------------------------------------------------*/
if (\$(\".sx_flexslider\").length) {
\$('.flex-carousel').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
itemWidth: 150,
asNavFor: '.flex-slider'
});
\$('.flex-slider').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
sync: \".flex-carousel\"
});
}
</script>
";
}
// line 247
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/theme1/produits/page_sous_sous_categorie.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 712 => 247, 684 => 223, 682 => 222, 677 => 221, 667 => 220, 652 => 215, 646 => 214, 642 => 212, 640 => 211, 638 => 210, 636 => 209, 633 => 208, 629 => 206, 627 => 205, 625 => 204, 622 => 203, 617 => 202, 615 => 201, 612 => 200, 603 => 194, 598 => 193, 596 => 192, 591 => 189, 589 => 188, 586 => 187, 580 => 185, 578 => 184, 571 => 179, 564 => 174, 561 => 173, 555 => 171, 545 => 169, 542 => 168, 540 => 167, 537 => 166, 534 => 165, 528 => 164, 518 => 162, 512 => 160, 509 => 159, 504 => 158, 501 => 157, 495 => 155, 485 => 153, 483 => 152, 479 => 150, 477 => 149, 474 => 148, 472 => 147, 469 => 146, 463 => 144, 461 => 143, 456 => 140, 451 => 137, 448 => 136, 440 => 133, 437 => 132, 435 => 131, 428 => 129, 425 => 128, 423 => 127, 416 => 125, 413 => 124, 410 => 123, 408 => 122, 404 => 121, 398 => 119, 396 => 118, 390 => 117, 387 => 116, 381 => 113, 376 => 112, 374 => 111, 363 => 102, 358 => 100, 353 => 99, 351 => 98, 342 => 91, 339 => 90, 336 => 89, 333 => 88, 330 => 87, 327 => 86, 324 => 85, 321 => 84, 318 => 83, 315 => 82, 312 => 81, 309 => 80, 306 => 79, 303 => 78, 300 => 77, 297 => 76, 294 => 75, 291 => 74, 288 => 73, 285 => 72, 282 => 71, 279 => 70, 276 => 69, 273 => 68, 270 => 67, 268 => 66, 265 => 65, 263 => 64, 260 => 63, 257 => 62, 254 => 61, 252 => 60, 249 => 59, 246 => 58, 243 => 57, 240 => 56, 237 => 55, 234 => 54, 231 => 53, 228 => 52, 226 => 51, 222 => 49, 219 => 48, 216 => 47, 213 => 46, 210 => 45, 207 => 44, 204 => 43, 202 => 42, 199 => 41, 189 => 40, 175 => 34, 172 => 33, 169 => 32, 163 => 30, 161 => 29, 156 => 28, 146 => 27, 135 => 23, 132 => 22, 126 => 21, 120 => 19, 117 => 18, 112 => 17, 110 => 16, 107 => 15, 98 => 13, 92 => 11, 89 => 10, 84 => 9, 82 => 8, 79 => 7, 73 => 5, 70 => 4, 60 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
{% block preload %}
{% if categorie.image is defined and categorie.image is not empty %}
<link rel=\"preload\" as=\"image\" href=\"{{asset_image(categorie.image)}}\" />
{% endif %}
{% if resultats is defined and resultats is not empty %}
{% for item in resultats %}
{% if item.image %}
<link rel=\"preload\" as=\"image\" href=\"{{asset_image(item.image)}}\" />
{% endif %}
{% endfor %}
{% endif %}
{% if galleries is defined and galleries is not empty %}
{% for item in galleries %}
{% if item.path is defined %}
<link rel=\"preload\" as=\"image\" href=\"{{asset_image_gallery(item.path)}}\" />
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}
{% block stylesheets %}
{{parent()}}
{% if modele_galerie[0].type == 4 %}
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('templates/front/theme1/assets/plugins/flexslider/flexslider.css')}}\" media=\"screen\" >
{% endif %}
{% if template.css is defined %}
<style>
{{template.css|raw}}
</style>
{% endif %}
{% endblock %}
{% block body %}
{% if sous_sous_categorie.positiontext == 3 %}
{% set position_texte = \"text-left\" %}
{% elseif sous_sous_categorie.positiontext == 2 %}
{% set position_texte = \"text-right\" %}
{% else %}
{% set position_texte = \"text-center\" %}
{% endif %}
{% set type_affiche = \"\" %}
{% if sous_sous_categorie.nombrearticle == 1 %}
{% set type_affiche = \"type_affiche1\" %}
{% elseif sous_sous_categorie.nombrearticle == 2 %}
{% set type_affiche = \"type_affiche2\" %}
{% else %}
{% set type_affiche = \"type_affiche3\" %}
{% endif %}
{% if sous_sous_categorie.actif_slider == 1 %}
{% set type_affiche = type_affiche ~ \" owl-carousel\" %}
{% endif %}
{% set multi_affichage = \"affichage1\" %}
{% if sous_sous_categorie.multi_affichage == 1 %}
{% set multi_affichage = \"affichage1\" %}
{% elseif sous_sous_categorie.multi_affichage == 2 %}
{% set multi_affichage = \"affichage2\" %}
{% elseif sous_sous_categorie.multi_affichage == 3 %}
{% set multi_affichage = \"affichage3\" %}
{% elseif sous_sous_categorie.multi_affichage == 4 %}
{% set multi_affichage = \"affichage4\" %}
{% elseif sous_sous_categorie.multi_affichage == 5 %}
{% set multi_affichage = \"affichage5\" %}
{% elseif sous_sous_categorie.multi_affichage == 6 %}
{% set multi_affichage = \"affichage6\" %}
{% elseif sous_sous_categorie.multi_affichage == 7 %}
{% set multi_affichage = \"affichage7\" %}
{% elseif sous_sous_categorie.multi_affichage == 8 %}
{% set multi_affichage = \"affichage8\" %}
{% elseif sous_sous_categorie.multi_affichage == 9 %}
{% set multi_affichage = \"affichage9\" %}
{% elseif sous_sous_categorie.multi_affichage == 10 %}
{% set multi_affichage = \"affichage10\" %}
{% elseif sous_sous_categorie.multi_affichage == 11 %}
{% set multi_affichage = \"affichage11\" %}
{% elseif sous_sous_categorie.multi_affichage == 12 %}
{% set multi_affichage = \"affichage12\" %}
{% endif %}
<div class=\"page_cms pt-5 page_product\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
{% if breadcrumb is defined and breadcrumb is not empty %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
<h1 class=\"page-title\">{{breadcrumb|last.name}}</h1>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"container-fluid mt-3\">
<div class=\"row gx-5 py-2\">
{% if categories_tree is defined and categories_tree is not empty %}
<div class=\"col-lg-3 {{show_filter_categorie is defined and show_filter_categorie == true ?'':'d-none'}}\">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/product/_sidebar.html.twig')}}
</div>
{% endif %}
<div class=\"col-lg-{{show_filter_categorie is defined and show_filter_categorie == true?'9':'12'}} bloc-content-sous-sous-categorie {{sous_sous_categorie.actif_haut == false and sous_sous_categorie.textecategorie is not empty ? \"d-flex flex-column-reverse\"}}\">
{% if sous_sous_categorie.textecategorie is not empty and sous_sous_categorie.textecategorie != \"\" %}
<div class=\"list_blocs {{position_texte}}\">
<div class=\"col-lg-12 content_post\">
{{sous_sous_categorie.textecategorie|raw}}
{% if sous_sous_categorie.typelien != 1 %}
{% if sous_sous_categorie.typelien == '4' %}
<div class=\"text-center py-2\">
<a href=\"tel:{{sous_sous_categorie.telephone}}\" class=\"btn btn-back-pulse\">{{sous_sous_categorie.titrelien}}</a>
</div>
{% elseif sous_sous_categorie.typelien == '2' %}
<div class=\"text-center py-2\">
<a href=\"{{slug_link_interne(sous_sous_categorie.lieninterne)}}\" class=\"btn btn-back-pulse\">{{sous_sous_categorie.titrelien}}</a>
</div>
{% elseif sous_sous_categorie.typelien == '3' %}
<div class=\"text-center py-2\">
<a href=\"{{sous_sous_categorie.lienexterne}}\" class=\"btn btn-back-pulse\" target=\"_blank\">{{sous_sous_categorie.titrelien}}</a>
</div>
{% endif %}
{% endif %}
</div>
</div>
{% endif %}
<div class=\"blocs\">
{% if template is defined and template is not empty %}
{{ include(template_from_string(template.twig)) }}
{% endif %}
{% if pagination == true and posts.hasToPaginate and posts.pageSize %}
<div class=\"pagination-items\">
{% set paginator = posts %}
<div class=\"navigation text-center\">
<ul class=\"pagination d-felx justify-content-center my-4\">
{% if paginator.hasPreviousPage %}
<li class=\"prev mx-1\"><a href=\"{{ path('page_sous_sous_categorie', {categorie1:categorie.slugurl,categorie2:sous_categorie.slugurl,categorie3:sous_sous_categorie.slugurl}) }}?page={{paginator.previousPage}}\" rel=\"previous\"><i class=\"fa fw fa-long-arrow-left\"></i> {{ 'paginator.previous'|trans([],'variable') }}</a></li>
{% else %}
<li class=\"prev disabled mx-1\"><span><i class=\"fa fw fa-long-arrow-left\"></i> {{ 'paginator.previous'|trans([],'variable') }}</span></li>
{% endif %}
{% if paginator and paginator.pageSize %}
{% for i in 1..paginator.lastPage %}
{% if i == paginator.currentPage %}
<li class=\"active number mx-1\"><span>{{ i }} </span></li>
{% else %}
<li class=\"number mx-1\"><a href=\"{{ path('page_sous_sous_categorie', {categorie1:categorie.slugurl,categorie2:sous_categorie.slugurl,categorie3:sous_sous_categorie.slugurl}) }}?page={{i}}\">{{ i }}</a></li>
{% endif %}
{% endfor %}
{% endif %}
{% if paginator and paginator.pageSize %}
{% if paginator.hasNextPage %}
<li class=\"next mx-1\"><a href=\"{{ path('page_sous_sous_categorie', {categorie1:categorie.slugurl,categorie2:sous_categorie.slugurl,categorie3:sous_sous_categorie.slugurl}) }}?page={{paginator.nextPage}}\" rel=\"next\">{{ 'paginator.next'|trans([],'variable') }} <i class=\"fa fw fa-long-arrow-right\"></i></a></li>
{% else %}
<li class=\"next disabled mx-1\"><span>{{ 'paginator.next'|trans([],'variable')}} <i class=\"fa fw fa-long-arrow-right\"></i></span></li>
{% endif %}
{% endif %}
</ul>
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% if galleries and galleries is not empty and template_model_gallerie is defined and template_model_gallerie is not empty %}
{{ include(template_from_string(template_model_gallerie)) }}
{% endif %}
{% if categorie.urlvideo is not empty %}
<div class=\"container-fluid wrapper mt-3\">
<div class=\"col-md-12 mt-1\">
<div class=\"video\">
{% set id_video_externe = categorie.urlvideo|split('?v=')[1] is defined ? categorie.urlvideo|split('?v=')[1] : null %}
<a class=\"video-thumbnail m-0\" href=\"{{categorie.urlvideo}}\" data-fancybox=\"video\">
<img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
</a>
</div>
</div>
</div>
{% endif %}
{% if blocs is defined %}
{% for bloc in blocs.Bloc %}
{% if is_mobile() and bloc.mobile == true %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if is_full_view() and is_mobile() == false and bloc.desktop == true %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% endfor %}
{% endif %}
</div>
{% endblock %}
{% block javascripts %}
{{parent()}}
{% if modele_galerie[0].type == 4 %}
<script src=\"{{asset('templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js')}}\" ></script>
<script>
/*-------------------------------------------------*/
/* = Sx flexslider
/*-------------------------------------------------*/
if (\$(\".sx_flexslider\").length) {
\$('.flex-carousel').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
itemWidth: 150,
asNavFor: '.flex-slider'
});
\$('.flex-slider').flexslider({
animation: \"slide\",
controlNav: false,
animationLoop: true,
slideshow: false,
sync: \".flex-carousel\"
});
}
</script>
{% endif %}
{% endblock %}
", "front/theme1/produits/page_sous_sous_categorie.html.twig", "/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/produits/page_sous_sous_categorie.html.twig");
}
}