var/cache/dev/twig/6a/6a2f88b0cc507b97c1a0cd2033e8c1385c59618204e21137b82184c0bda9978a.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/theme1/produits/page_produit.html.twig */
  14. class __TwigTemplate_70862b2d0e67102d95eafc5b43d79d5e77b33961dd0e00fdc7d62aca30517c50 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'preload' => [$this'block_preload'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'body' => [$this'block_body'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return $this->loadTemplate((("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "server", [], "any"falsefalsefalse1), "get", [=> "APP_THEME"], "method"falsefalsefalse1)) . "/base.html.twig"), "front/theme1/produits/page_produit.html.twig"1);
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/produits/page_produit.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/theme1/produits/page_produit.html.twig"));
  41.         // line 2
  42.         $context["parametre"] = $this->extensions['App\Twig\ParametreSiteExtension']->ParametreSiteFunction();
  43.         // line 1
  44.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_preload($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preload"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""preload"));
  58.         // line 4
  59.         echo "    ";
  60.         if ((twig_get_attribute($this->env$this->source, ($context["post"] ?? null), "image", [], "any"truetruefalse4) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'4$this->source); })()), "image", [], "any"falsefalsefalse4)))) {
  61.             // line 5
  62.             echo "        ";
  63.             if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'5$this->source); })()), "image", [], "any"falsefalsefalse5)) {
  64.                 // line 6
  65.                 echo "            <link rel=\"preload\" as=\"image\" href=\"";
  66.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'6$this->source); })()), "image", [], "any"falsefalsefalse6)), "html"nulltrue);
  67.                 echo "\" />
  68.         ";
  69.             }
  70.             // line 8
  71.             echo "    ";
  72.         }
  73.         // line 9
  74.         echo "
  75.      ";
  76.         // line 10
  77.         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.'10$this->source); })())))) {
  78.             // line 11
  79.             echo "           ";
  80.             $context['_parent'] = $context;
  81.             $context['_seq'] = twig_ensure_traversable((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'11$this->source); })()));
  82.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  83.                 // line 12
  84.                 echo "                ";
  85.                 if (twig_get_attribute($this->env$this->source$context["item"], "path", [], "any"truetruefalse12)) {
  86.                     // line 13
  87.                     echo "                    <link rel=\"preload\" as=\"image\" href=\"";
  88.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env$this->source$context["item"], "path", [], "any"falsefalsefalse13)), "html"nulltrue);
  89.                     echo "\" />
  90.                 ";
  91.                 }
  92.                 // line 15
  93.                 echo "           ";
  94.             }
  95.             $_parent $context['_parent'];
  96.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  97.             $context array_intersect_key($context$_parent) + $_parent;
  98.             // line 16
  99.             echo "    ";
  100.         }
  101.         // line 17
  102.         echo "
  103. ";
  104.         
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  106.         
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  108.     }
  109.     // line 20
  110.     public function block_stylesheets($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  117.         // line 21
  118.         echo "    ";
  119.         $this->displayParentBlock("stylesheets"$context$blocks);
  120.         echo "
  121.     ";
  122.         // line 22
  123.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'22$this->source); })()), 0, [], "array"falsefalsefalse22), "type", [], "any"falsefalsefalse22) == 4)) {
  124.             // line 23
  125.             echo "        <link rel=\"stylesheet\" type=\"text/css\" href=\"";
  126.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/flexslider.css"), "html"nulltrue);
  127.             echo "\" media=\"screen\" >
  128.     ";
  129.         }
  130.         
  131.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  132.         
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  134.     }
  135.     // line 27
  136.     public function block_body($context, array $blocks = [])
  137.     {
  138.         $macros $this->macros;
  139.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  143.         // line 28
  144.         echo "
  145.     ";
  146.         // line 29
  147.         $context["position_image"] = twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'29$this->source); })()), "positionimage", [], "any"falsefalsefalse29);
  148.         // line 30
  149.         echo "    ";
  150.         $context["class_position"] = "";
  151.         // line 31
  152.         echo "    ";
  153.         if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'31$this->source); })()), "positionimage", [], "any"falsefalsefalse31) == 2)) {
  154.             // line 32
  155.             echo "        ";
  156.             $context["class_position"] = "float-md-left mb-2 mr-md-3";
  157.             // line 33
  158.             echo "    ";
  159.         } elseif ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'33$this->source); })()), "positionimage", [], "any"falsefalsefalse33) == 3)) {
  160.             // line 34
  161.             echo "        ";
  162.             $context["class_position"] = "float-md-right mb-2 ml-md-3";
  163.             // line 35
  164.             echo "    ";
  165.         }
  166.         // line 36
  167.         echo "
  168.     ";
  169.         // line 37
  170.         if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'37$this->source); })()), "imageBandeau", [], "any"falsefalsefalse37)) {
  171.             // line 38
  172.             echo "        ";
  173.             $context["imagebandeau"] = twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'38$this->source); })()), "imageBandeau", [], "any"falsefalsefalse38);
  174.             // line 39
  175.             echo "    ";
  176.         } elseif (twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'39$this->source); })()), "imageBandeau", [], "any"falsefalsefalse39)) {
  177.             // line 40
  178.             echo "        ";
  179.             $context["imagebandeau"] = ("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'40$this->source); })()), "imageBandeau", [], "any"falsefalsefalse40));
  180.             // line 41
  181.             echo "    ";
  182.         } else {
  183.             // line 42
  184.             echo "        ";
  185.             $context["imagebandeau"] = "";
  186.             // line 43
  187.             echo "    ";
  188.         }
  189.         // line 44
  190.         echo "    
  191.     ";
  192.         // line 45
  193.         if (((isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'45$this->source); })()) != "")) {
  194.             // line 46
  195.             echo "        <section class=\"image-bandeau text-center\">
  196.             <img class=\"lazyload\" alt=\"";
  197.             // line 47
  198.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'47$this->source); })()), "title", [], "any"falsefalsefalse47), "html"nulltrue);
  199.             echo "\" title=\"";
  200.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'47$this->source); })()), "title", [], "any"falsefalsefalse47), "html"nulltrue);
  201.             echo "\" data-srcset=\"";
  202.             echo twig_escape_filter($this->env, (isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'47$this->source); })()), "html"nulltrue);
  203.             echo "\" src=\"";
  204.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'47$this->source); })())), "html"nulltrue);
  205.             echo "\" />
  206.             <div class=\"cnt-bandeau text-center\">
  207. \t\t\t\t<div class=\"container-fluid wrapper\">
  208.                     <div class=\"breadcrumb-style-default\">
  209.                         <div class=\"row\">
  210.                             <div class=\"col-lg-12\">
  211.                                 <div class=\"inner text-center\">
  212.                                     ";
  213.             // line 54
  214.             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.'54$this->source); })())))) {
  215.                 // line 55
  216.                 echo "                                        ";
  217.                 echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "request", [], "any"falsefalsefalse55), "server", [], "any"falsefalsefalse55), "get", [=> "APP_THEME"], "method"falsefalsefalse55)) . "/partials/breadcrumb.html.twig"));
  218.                 echo "
  219.                                     ";
  220.             }
  221.             // line 57
  222.             echo "                                </div>
  223.                             </div>
  224.                         </div>
  225.                     </div>
  226.                     <h1 class=\"page-title\">";
  227.             // line 61
  228.             echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'61$this->source); })()), "title", [], "any"falsefalsefalse61);
  229.             echo "</h1>
  230.                 </div>
  231.             </div>
  232.         </section>
  233.     ";
  234.         }
  235.         // line 66
  236.         echo "
  237.     <div class=\"page_product pt-5\">
  238.         ";
  239.         // line 68
  240.         if (((isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'68$this->source); })()) == "")) {
  241.             // line 69
  242.             echo "        <div class=\"breadcrumb-style-default\">
  243.             <div class=\"container\">
  244.                 <div class=\"row\">
  245.                     <div class=\"col-lg-12\">
  246.                         <div class=\"inner text-center\">
  247.                             ";
  248.             // line 74
  249.             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.'74$this->source); })())))) {
  250.                 // line 75
  251.                 echo "                                ";
  252.                 echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'75$this->source); })()), "request", [], "any"falsefalsefalse75), "server", [], "any"falsefalsefalse75), "get", [=> "APP_THEME"], "method"falsefalsefalse75)) . "/partials/breadcrumb.html.twig"));
  253.                 echo "
  254.                                  ";
  255.                 // line 76
  256.                 if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'76$this->source); })()), "image", [], "any"falsefalsefalse76))) {
  257.                     // line 77
  258.                     echo "                                    <h1 class=\"page-title\">";
  259.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_last($this->env, (isset($context["breadcrumb"]) || array_key_exists("breadcrumb"$context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.'77$this->source); })())), "name", [], "any"falsefalsefalse77), "html"nulltrue);
  260.                     echo "</h1>
  261.                                 ";
  262.                 }
  263.                 // line 79
  264.                 echo "                            ";
  265.             }
  266.             // line 80
  267.             echo "                        </div>
  268.                     </div>
  269.                 </div>
  270.             </div>
  271.         </div>
  272.         ";
  273.         }
  274.         // line 86
  275.         echo "
  276.         <div class=\"container-fluid  ";
  277.         // line 87
  278.         echo (((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.'87$this->source); })())))) ? ("") : ("wrapper"));
  279.         echo " mt-3\">
  280.             <div class=\"row gx-5 py-2\">
  281.                 ";
  282.         // line 89
  283.         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.'89$this->source); })())))) {
  284.             // line 90
  285.             echo "                    <div class=\"col-sm-12 col-md-3 ";
  286.             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.'90$this->source); })()) == true))) ? ("") : ("d-none"));
  287.             echo "\">
  288.                          ";
  289.             // line 91
  290.             echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'91$this->source); })()), "request", [], "any"falsefalsefalse91), "server", [], "any"falsefalsefalse91), "get", [=> "APP_THEME"], "method"falsefalsefalse91)) . "/partials/product/_sidebar.html.twig"));
  291.             echo "
  292.                     </div>
  293.                 ";
  294.         }
  295.         // line 94
  296.         echo "                
  297.                 <div class=\"col-sm-12 col-md-";
  298.         // line 95
  299.         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.'95$this->source); })()) == true))) ? ("9") : ("12"));
  300.         echo " bloc-content-produit\">
  301.                      <div class=\"row\">
  302.                             <div class=\"col-sm-12 col-lg-6\">
  303.                                 ";
  304.         // line 98
  305.         if ( !((twig_get_attribute($this->env$this->sourcetwig_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.'98$this->source); })()), 0, [], "array"falsefalsefalse98), "type", [], "any"falsefalsefalse98) == 4) && (twig_length_filter($this->env, (isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'98$this->source); })())) > 1))) {
  306.             // line 99
  307.             echo "                                <div class=\"image-product\">
  308.                                     ";
  309.             // line 100
  310.             if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'100$this->source); })()), "image", [], "any"falsefalsefalse100) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'100$this->source); })()), "image", [], "any"falsefalsefalse100)))) {
  311.                 // line 101
  312.                 echo "                                        <a href=\"";
  313.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'101$this->source); })()), "image", [], "any"falsefalsefalse101), "medium"), "html"nulltrue);
  314.                 echo "\" data-fancybox=\"image\" tirle=\"";
  315.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'101$this->source); })()), "titre", [], "any"falsefalsefalse101), "html"nulltrue);
  316.                 echo "\" >
  317.                                            <img class=\"img-fluid\" data-srcset=\"";
  318.                 // line 102
  319.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'102$this->source); })()), "image", [], "any"falsefalsefalse102), "medium"), "html"nulltrue);
  320.                 echo "\" src=\"";
  321.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'102$this->source); })()), "image", [], "any"falsefalsefalse102), "medium"), "html"nulltrue);
  322.                 echo "\" alt=\"";
  323.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'102$this->source); })()), "titre", [], "any"falsefalsefalse102), "html"nulltrue);
  324.                 echo "\" />
  325.                                         </a>
  326.                                       
  327.                                     ";
  328.             } elseif ((            // line 105
  329. 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.'105$this->source); })())))) {
  330.                 // line 106
  331.                 echo "                                        <a href=\"";
  332.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'106$this->source); })()), 0, [], "array"falsefalsefalse106), "path", [], "any"falsefalsefalse106)), "html"nulltrue);
  333.                 echo "\" data-fancybox=\"image\" tirle=\"";
  334.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'106$this->source); })()), "titre", [], "any"falsefalsefalse106), "html"nulltrue);
  335.                 echo "\" >
  336.                                             <img class=\"img-fluid\" data-srcset=\"";
  337.                 // line 107
  338.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'107$this->source); })()), 0, [], "array"falsefalsefalse107), "path", [], "any"falsefalsefalse107)), "html"nulltrue);
  339.                 echo "\" src=\"";
  340.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'107$this->source); })()), 0, [], "array"falsefalsefalse107), "path", [], "any"falsefalsefalse107)), "html"nulltrue);
  341.                 echo "\" alt=\"";
  342.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'107$this->source); })()), "titre", [], "any"falsefalsefalse107), "html"nulltrue);
  343.                 echo "\" />
  344.                                         </a>
  345.                                        
  346.                                     ";
  347.             } elseif ((twig_get_attribute($this->env$this->source,             // line 110
  348. ($context["parametre"] ?? null), "imageVide", [], "any"truetruefalse110) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'110$this->source); })()), "imageVide", [], "any"falsefalsefalse110)))) {
  349.                 // line 111
  350.                 echo "                                         <a href=\"";
  351.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'111$this->source); })()), "imageVide", [], "any"falsefalsefalse111))), "html"nulltrue);
  352.                 echo "\" data-fancybox=\"image\" tirle=\"";
  353.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'111$this->source); })()), "titre", [], "any"falsefalsefalse111), "html"nulltrue);
  354.                 echo "\" >
  355.                                            <img class=\"img-fluid\" data-srcset=\"";
  356.                 // line 112
  357.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'112$this->source); })()), "imageVide", [], "any"falsefalsefalse112))), "html"nulltrue);
  358.                 echo "\" src=\"";
  359.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'112$this->source); })()), "imageVide", [], "any"falsefalsefalse112))), "html"nulltrue);
  360.                 echo "\" alt=\"";
  361.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'112$this->source); })()), "titre", [], "any"falsefalsefalse112), "html"nulltrue);
  362.                 echo "\" />
  363.                                         </a>
  364.                                     ";
  365.             }
  366.             // line 115
  367.             echo "
  368.                                     ";
  369.             // line 116
  370.             if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'116$this->source); })()), "disponibiliteproduit", [], "any"falsefalsefalse116)) {
  371.                 // line 117
  372.                 echo "                                        <span class=\"disponible\">";
  373.                 echo twig_escape_filter($this->envtwig_upper_filter($this->env"disponible"), "html"nulltrue);
  374.                 echo "</span>
  375.                                     ";
  376.             }
  377.             // line 119
  378.             echo "                                </div>
  379.                                 ";
  380.         } else {
  381.             // line 121
  382.             echo "                                    ";
  383.             if (((((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'121$this->source); })()) &&  !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'121$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.'121$this->source); })())))) {
  384.                 // line 122
  385.                 echo "                                        <div class=\"image-product\">
  386.                                             ";
  387.                 // line 123
  388.                 if ((twig_get_attribute($this->env$this->source, ($context["post"] ?? null), "image", [], "any"truetruefalse123) && (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'123$this->source); })()), "image", [], "any"falsefalsefalse123) == null))) {
  389.                     // line 124
  390.                     echo "                                                ";
  391.                     $context["galleries"] = twig_slice($this->env, (isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'124$this->source); })()), 1);
  392.                     // line 125
  393.                     echo "                                            ";
  394.                 }
  395.                 // line 126
  396.                 echo "                                            
  397.                                             ";
  398.                 // line 127
  399.                 echo twig_include($this->env$contexttwig_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.'127$this->source); })())));
  400.                 echo "
  401.                                             ";
  402.                 // line 128
  403.                 if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'128$this->source); })()), "disponibiliteproduit", [], "any"falsefalsefalse128)) {
  404.                     // line 129
  405.                     echo "                                                <span class=\"disponible\">";
  406.                     echo twig_escape_filter($this->envtwig_upper_filter($this->env"disponible"), "html"nulltrue);
  407.                     echo "</span>
  408.                                             ";
  409.                 }
  410.                 // line 131
  411.                 echo "                                        </div>
  412.                                     ";
  413.             }
  414.             // line 133
  415.             echo "                                ";
  416.         }
  417.         // line 134
  418.         echo "                            </div>
  419.                             <div class=\"col-sm-12 col-lg-6 mt-lg-0 mt-4\">
  420.                                 ";
  421.         // line 136
  422.         if (((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'136$this->source); })()), "image", [], "any"falsefalsefalse136) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'136$this->source); })()), "image", [], "any"falsefalsefalse136))) && ((isset($context["imagebandeau"]) || array_key_exists("imagebandeau"$context) ? $context["imagebandeau"] : (function () { throw new RuntimeError('Variable "imagebandeau" does not exist.'136$this->source); })()) == ""))) {
  423.             // line 137
  424.             echo "                                    <h1 class=\"page-title\">";
  425.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_last($this->env, (isset($context["breadcrumb"]) || array_key_exists("breadcrumb"$context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.'137$this->source); })())), "name", [], "any"falsefalsefalse137), "html"nulltrue);
  426.             echo "</h1>
  427.                                 ";
  428.         }
  429.         // line 139
  430.         echo "
  431.                                 ";
  432.         // line 140
  433.         if (( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'140$this->source); })()), "content", [], "any"falsefalsefalse140)) && (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'140$this->source); })()), "content", [], "any"falsefalsefalse140) != " "))) {
  434.             // line 141
  435.             echo "                                    ";
  436.             echo twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'141$this->source); })()), "content", [], "any"falsefalsefalse141);
  437.             echo "
  438.                                 ";
  439.         }
  440.         // line 143
  441.         echo "                               
  442.                                 ";
  443.         // line 145
  444.         if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'145$this->source); })()), "prixproduit", [], "any"falsefalsefalse145)) {
  445.             // line 146
  446.             echo "                                    <div class=\"price_product\"> Prix : <span>";
  447.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'146$this->source); })()), "prixproduit", [], "any"falsefalsefalse146), "html"nulltrue);
  448.             echo "</span> € </div>
  449.                                 ";
  450.         }
  451.         // line 148
  452.         echo "                                
  453.                                 ";
  454.         // line 149
  455.         if (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'149$this->source); })()), "referanceproduit", [], "any"falsefalsefalse149)) {
  456.             // line 150
  457.             echo "                                    <div class=\"ref_product\"> Réf : <strong>";
  458.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'150$this->source); })()), "referanceproduit", [], "any"falsefalsefalse150), "html"nulltrue);
  459.             echo " </strong></div>
  460.                                 ";
  461.         }
  462.         // line 152
  463.         echo "
  464.                                 ";
  465.         // line 153
  466.         if ((array_key_exists("champsPersonnalisesPost"$context) &&  !twig_test_empty((isset($context["champsPersonnalisesPost"]) || array_key_exists("champsPersonnalisesPost"$context) ? $context["champsPersonnalisesPost"] : (function () { throw new RuntimeError('Variable "champsPersonnalisesPost" does not exist.'153$this->source); })())))) {
  467.             // line 154
  468.             echo "                                    <div class=\"autre_info\">
  469.                                         ";
  470.             // line 155
  471.             $context['_parent'] = $context;
  472.             $context['_seq'] = twig_ensure_traversable((isset($context["champsPersonnalisesPost"]) || array_key_exists("champsPersonnalisesPost"$context) ? $context["champsPersonnalisesPost"] : (function () { throw new RuntimeError('Variable "champsPersonnalisesPost" does not exist.'155$this->source); })()));
  473.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  474.                 // line 156
  475.                 echo "                                             <div class=\"item d-flex\">
  476.                                                 <div class=\"label\"> ";
  477.                 // line 157
  478.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "label", [], "any"falsefalsefalse157), "html"nulltrue);
  479.                 echo " : </div>
  480.                                                 <div class=\"value\"> ";
  481.                 // line 158
  482.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "value", [], "any"falsefalsefalse158), "html"nulltrue);
  483.                 echo "</div>
  484.                                             </div>
  485.                                         ";
  486.             }
  487.             $_parent $context['_parent'];
  488.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  489.             $context array_intersect_key($context$_parent) + $_parent;
  490.             // line 161
  491.             echo "                                    </div>
  492.                                 ";
  493.         }
  494.         // line 163
  495.         echo "                                
  496.                                     
  497.                                     
  498.                                 ";
  499.         // line 166
  500.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'166$this->source); })()), "prixproduit", [], "any"falsefalsefalse166))) {
  501.             // line 167
  502.             echo "                                    ";
  503.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["post"] ?? null), "typepost", [], "any"falsetruefalse167), "parametrepost", [], "any"falsetruefalse167), 0, [], "array"truetruefalse167) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'167$this->source); })()), "typepost", [], "any"falsefalsefalse167), "parametrepost", [], "any"falsefalsefalse167), 0, [], "array"falsefalsefalse167), "actifpanier", [], "any"falsefalsefalse167) == true))) {
  504.                 // line 168
  505.                 echo "                                        <div class=\"input-quantite\">
  506.                                             <label>Quantité :</label>
  507.                                             <input type=\"number\" class=\"form-control quantite\" value=\"1\" min=\"1\" name=\"qte\" />
  508.                                         </div>
  509.                                     ";
  510.             }
  511.             // line 173
  512.             echo "                                ";
  513.         }
  514.         // line 174
  515.         echo "
  516.                                 ";
  517.         // line 175
  518.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["post"] ?? null), "typepost", [], "any"falsetruefalse175), "parametrepost", [], "any"falsetruefalse175), 0, [], "array"truetruefalse175) && ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'175$this->source); })()), "typepost", [], "any"falsefalsefalse175), "parametrepost", [], "any"falsefalsefalse175), 0, [], "array"falsefalsefalse175), "actifpanier", [], "any"falsefalsefalse175) == true) || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'175$this->source); })()), "typepost", [], "any"falsefalsefalse175), "parametrepost", [], "any"falsefalsefalse175), 0, [], "array"falsefalsefalse175), "buttoninteresse", [], "any"falsefalsefalse175) != "")))) {
  519.             // line 176
  520.             echo "                                    <div class=\"d-flex mt-3 boutons-panier\">
  521.                                         ";
  522.             // line 177
  523.             if (( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'177$this->source); })()), "prixproduit", [], "any"falsefalsefalse177)) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'177$this->source); })()), "typepost", [], "any"falsefalsefalse177), "parametrepost", [], "any"falsefalsefalse177), 0, [], "array"falsefalsefalse177), "actifpanier", [], "any"falsefalsefalse177) == true))) {
  524.                 // line 178
  525.                 echo "                                            <button title=\"Ajouter au panier\" class=\"btn btn-add-panier\">Ajouter au panier</button>
  526.                                         ";
  527.             }
  528.             // line 180
  529.             echo "                                        
  530.                                         ";
  531.             // line 181
  532.             if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'181$this->source); })()), "typepost", [], "any"falsefalsefalse181), "parametrepost", [], "any"falsefalsefalse181), 0, [], "array"falsefalsefalse181), "buttoninteresse", [], "any"falsefalsefalse181) != "") && ($this->extensions['App\Twig\FunctionExtension']->slugPageContactFunction("page-contact") != null))) {
  533.                 // line 182
  534.                 echo "                                           <a href=\"";
  535.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => $this->extensions['App\Twig\FunctionExtension']->slugPageContactFunction("page-contact")]), "html"nulltrue);
  536.                 echo "?product=";
  537.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'182$this->source); })()), "slug", [], "any"falsefalsefalse182), "html"nulltrue);
  538.                 echo "\" class=\"btn btn-interesse\">";
  539.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'182$this->source); })()), "typepost", [], "any"falsefalsefalse182), "parametrepost", [], "any"falsefalsefalse182), 0, [], "array"falsefalsefalse182), "buttoninteresse", [], "any"falsefalsefalse182), "html"nulltrue);
  540.                 echo "</a>
  541.                                         ";
  542.             }
  543.             // line 184
  544.             echo "                                    </div>
  545.                                 ";
  546.         }
  547.         // line 185
  548.         echo "                          
  549.                             </div>
  550.                             ";
  551.         // line 188
  552.         if ((twig_get_attribute($this->env$this->source, ($context["post"] ?? null), "produitsinfo", [], "any"truetruefalse188) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'188$this->source); })()), "produitsinfo", [], "any"falsefalsefalse188)))) {
  553.             // line 189
  554.             echo "                                <div class=\"col-md-12\">
  555.                                     <div class=\"product-tabs\">
  556.                                         <ul class=\"tabs\">
  557.                                             ";
  558.             // line 192
  559.             $context['_parent'] = $context;
  560.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'192$this->source); })()), "produitsinfo", [], "any"falsefalsefalse192));
  561.             foreach ($context['_seq'] as $context["key"] => $context["item"]) {
  562.                 // line 193
  563.                 echo "                                                <li class=\"tab-link ";
  564.                 echo ((($context["key"] == 0)) ? ("current") : (""));
  565.                 echo "\" data-tab=\"tab-";
  566.                 echo twig_escape_filter($this->env, ($context["key"] + 1), "html"nulltrue);
  567.                 echo "\">";
  568.                 echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "titre", [], "any"falsefalsefalse193)), "html"nulltrue);
  569.                 echo "</li>
  570.                                             ";
  571.             }
  572.             $_parent $context['_parent'];
  573.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
  574.             $context array_intersect_key($context$_parent) + $_parent;
  575.             // line 195
  576.             echo "                                        </ul>
  577.                                         <div class=\"\">
  578.                                             ";
  579.             // line 197
  580.             $context['_parent'] = $context;
  581.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'197$this->source); })()), "produitsinfo", [], "any"falsefalsefalse197));
  582.             foreach ($context['_seq'] as $context["key"] => $context["item"]) {
  583.                 // line 198
  584.                 echo "                                                <div id=\"tab-";
  585.                 echo twig_escape_filter($this->env, ($context["key"] + 1), "html"nulltrue);
  586.                 echo "\" class=\"tab-content ";
  587.                 echo ((($context["key"] == 0)) ? ("current") : (""));
  588.                 echo "\">";
  589.                 echo twig_get_attribute($this->env$this->source$context["item"], "text", [], "any"falsefalsefalse198);
  590.                 echo "</div>
  591.                                             ";
  592.             }
  593.             $_parent $context['_parent'];
  594.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
  595.             $context array_intersect_key($context$_parent) + $_parent;
  596.             // line 200
  597.             echo "                                        </div>
  598.                                     </div>
  599.                                 </div>
  600.                             ";
  601.         }
  602.         // line 204
  603.         echo "
  604.                             <div class=\"col-sm-12\">
  605.                                     ";
  606.         // line 206
  607.         if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'206$this->source); })()), "typelien", [], "any"falsefalsefalse206) == null)) {
  608.             // line 207
  609.             echo "                                            ";
  610.             if ((array_key_exists("categorieTree"$context) && twig_get_attribute($this->env$this->source, ($context["categorieTree"] ?? null), 0, [], "array"truetruefalse207))) {
  611.                 // line 208
  612.                 echo "                                                <div class=\"text-center py-2\">
  613.                                                     <a href=\"";
  614.                 // line 209
  615.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'209$this->source); })()), 0, [], "array"falsefalsefalse209), "slug", [], "any"falsefalsefalse209)]), "html"nulltrue);
  616.                 echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour à la liste ";
  617.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["categorieTree"]) || array_key_exists("categorieTree"$context) ? $context["categorieTree"] : (function () { throw new RuntimeError('Variable "categorieTree" does not exist.'209$this->source); })()), 0, [], "array"falsefalsefalse209), "titre", [], "any"falsefalsefalse209), "html"nulltrue);
  618.                 echo "</a>
  619.                                                 </div>
  620.                                             ";
  621.             }
  622.             // line 212
  623.             echo "                                    ";
  624.         } elseif ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'212$this->source); })()), "typelien", [], "any"falsefalsefalse212) != 1)) {
  625.             // line 213
  626.             echo "                                            ";
  627.             if ((twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'213$this->source); })()), "typelien", [], "any"falsefalsefalse213) == "4")) {
  628.                 // line 214
  629.                 echo "                                                <div class=\"text-center py-2\">
  630.                                                     <a href=\"javascript:void(0)\" onclick=\"window.location.href = 'tel:";
  631.                 // line 215
  632.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'215$this->source); })()), "telephone", [], "any"falsefalsefalse215), "html"nulltrue);
  633.                 echo "';\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  634.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'215$this->source); })()), "titrelien", [], "any"falsefalsefalse215), "html"nulltrue);
  635.                 echo "</a>
  636.                                                 </div>
  637.                                             ";
  638.             } elseif ((twig_get_attribute($this->env$this->source,             // line 217
  639. (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'217$this->source); })()), "typelien", [], "any"falsefalsefalse217) == "2")) {
  640.                 // line 218
  641.                 echo "                                                <div class=\"text-center py-2\">
  642.                                                     <a href=\"";
  643.                 // line 219
  644.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\FunctionExtension']->slugLinkInterneFunction(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'219$this->source); })()), "lieninterne", [], "any"falsefalsefalse219)), "html"nulltrue);
  645.                 echo "\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  646.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'219$this->source); })()), "titrelien", [], "any"falsefalsefalse219), "html"nulltrue);
  647.                 echo "</a>
  648.                                                 </div>
  649.                                             ";
  650.             } elseif ((twig_get_attribute($this->env$this->source,             // line 221
  651. (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'221$this->source); })()), "typelien", [], "any"falsefalsefalse221) == "3")) {
  652.                 // line 222
  653.                 echo "                                                <div class=\"text-center py-2\">
  654.                                                     <a href=\"";
  655.                 // line 223
  656.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'223$this->source); })()), "lienexterne", [], "any"falsefalsefalse223), "html"nulltrue);
  657.                 echo "\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">";
  658.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'223$this->source); })()), "titrelien", [], "any"falsefalsefalse223), "html"nulltrue);
  659.                 echo "</a>
  660.                                                 </div>
  661.                                             ";
  662.             }
  663.             // line 226
  664.             echo "                                    ";
  665.         }
  666.         // line 227
  667.         echo "
  668.                                     ";
  669.         // line 228
  670.         if (((isset($context["docs"]) || array_key_exists("docs"$context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.'228$this->source); })()) &&  !twig_test_empty((isset($context["docs"]) || array_key_exists("docs"$context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.'228$this->source); })())))) {
  671.             // line 229
  672.             echo "                                        <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
  673.                                             ";
  674.             // line 230
  675.             $context['_parent'] = $context;
  676.             $context['_seq'] = twig_ensure_traversable((isset($context["docs"]) || array_key_exists("docs"$context) ? $context["docs"] : (function () { throw new RuntimeError('Variable "docs" does not exist.'230$this->source); })()));
  677.             foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
  678.                 // line 231
  679.                 echo "                                                <a class=\"btn-back-pulse m-2\" href=\"";
  680.                 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["doc"], "location", [], "any"falsefalsefalse231) . twig_get_attribute($this->env$this->source$context["doc"], "path", [], "any"falsefalsefalse231)) . "/") . twig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse231)), "html"nulltrue);
  681.                 echo "\" title=\"";
  682.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "titre", [], "any"falsefalsefalse231), "html"nulltrue);
  683.                 echo "\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>";
  684.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "titre", [], "any"falsefalsefalse231), "html"nulltrue);
  685.                 echo "</a>   
  686.                                             ";
  687.             }
  688.             $_parent $context['_parent'];
  689.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
  690.             $context array_intersect_key($context$_parent) + $_parent;
  691.             // line 233
  692.             echo "                                        </div>
  693.                                     ";
  694.         }
  695.         // line 235
  696.         echo "                            </div>
  697.                      </div>
  698.                 </div>
  699.             </div>
  700.         </div>
  701.         ";
  702.         // line 240
  703.         if ((((((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'240$this->source); })()) &&  !twig_test_empty((isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'240$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.'240$this->source); })()))) && (twig_get_attribute($this->env$this->sourcetwig_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.'240$this->source); })()), 0, [], "array"falsefalsefalse240), "type", [], "any"falsefalsefalse240) != 4))) {
  704.             // line 241
  705.             echo "            ";
  706.             if ((twig_get_attribute($this->env$this->source, ($context["post"] ?? null), "image", [], "any"truetruefalse241) && (twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'241$this->source); })()), "image", [], "any"falsefalsefalse241) == null))) {
  707.                 // line 242
  708.                 echo "                  ";
  709.                 $context["galleries"] = twig_slice($this->env, (isset($context["galleries"]) || array_key_exists("galleries"$context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.'242$this->source); })()), 1);
  710.                 // line 243
  711.                 echo "            ";
  712.             }
  713.             // line 244
  714.             echo "            
  715.             ";
  716.             // line 245
  717.             echo twig_include($this->env$contexttwig_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.'245$this->source); })())));
  718.             echo "
  719.         ";
  720.         }
  721.         // line 247
  722.         echo "
  723.         ";
  724.         // line 248
  725.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'248$this->source); })()), "urlvideo", [], "any"falsefalsefalse248))) {
  726.             // line 249
  727.             echo "            <div class=\"container-fluid wrapper mt-3\">
  728.                 <div class=\"col-md-12 mt-1\">
  729.                     <div class=\"video\">
  730.                         ";
  731.             // line 252
  732.             $context["id_video_externe"] = twig_get_attribute($this->env$this->sourcetwig_split_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'252$this->source); })()), "urlvideo", [], "any"falsefalsefalse252), "?v="), 1, [], "array"falsefalsefalse252);
  733.             // line 253
  734.             echo "                        <a class=\"video-thumbnail m-0\" href=\"";
  735.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'253$this->source); })()), "urlvideo", [], "any"falsefalsefalse253), "html"nulltrue);
  736.             echo "\" data-fancybox=\"video\">
  737.                             <img src=\"https://img.youtube.com/vi/";
  738.             // line 254
  739.             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.'254$this->source); })()), "html"nulltrue);
  740.             echo "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
  741.                         </a>
  742.                     </div>
  743.                 </div>
  744.             </div>
  745.         ";
  746.         }
  747.         // line 260
  748.         echo "
  749.         ";
  750.         // line 263
  751.         if (array_key_exists("blocs"$context)) {
  752.             // line 264
  753.             echo "            ";
  754.             $context['_parent'] = $context;
  755.             $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.'264$this->source); })()), "Bloc", [], "any"falsefalsefalse264));
  756.             foreach ($context['_seq'] as $context["_key"] => $context["bloc"]) {
  757.                 // line 265
  758.                 echo "                ";
  759.                 if (($this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() && (twig_get_attribute($this->env$this->source$context["bloc"], "mobile", [], "any"falsefalsefalse265) == true))) {
  760.                     // line 266
  761.                     echo "                    ";
  762.                     echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'266$this->source); })()), "request", [], "any"falsefalsefalse266), "server", [], "any"falsefalsefalse266), "get", [=> "APP_THEME"], "method"falsefalsefalse266)) . "/bloc/bloc.html.twig"), ["bloc" =>                     // line 267
  763. $context["bloc"]], false);
  764.                     // line 268
  765.                     echo "
  766.                 ";
  767.                 }
  768.                 // line 270
  769.                 echo "                
  770.                 ";
  771.                 // line 271
  772.                 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"falsefalsefalse271) == true))) {
  773.                     // line 272
  774.                     echo "                    ";
  775.                     echo twig_include($this->env$context, (("front/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'272$this->source); })()), "request", [], "any"falsefalsefalse272), "server", [], "any"falsefalsefalse272), "get", [=> "APP_THEME"], "method"falsefalsefalse272)) . "/bloc/bloc.html.twig"), ["bloc" =>                     // line 273
  776. $context["bloc"]], false);
  777.                     // line 274
  778.                     echo "
  779.                 ";
  780.                 }
  781.                 // line 276
  782.                 echo "            ";
  783.             }
  784.             $_parent $context['_parent'];
  785.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bloc'], $context['_parent'], $context['loop']);
  786.             $context array_intersect_key($context$_parent) + $_parent;
  787.             // line 277
  788.             echo "        ";
  789.         }
  790.         echo 
  791.         ";
  792.         // line 279
  793.         if ((array_key_exists("produit_related"$context) &&  !twig_test_empty((isset($context["produit_related"]) || array_key_exists("produit_related"$context) ? $context["produit_related"] : (function () { throw new RuntimeError('Variable "produit_related" does not exist.'279$this->source); })())))) {
  794.             // line 280
  795.             echo "            <section class=\"\">
  796.                     <div class=\"container-fluid  mt-3\">
  797.                         <div class=\"row gx-5 py-2\">
  798.                             <div class=\"col-sm-12 text-center\">
  799.                                 ";
  800.             // line 284
  801.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["post"] ?? null), "typepost", [], "any"falsetruefalse284), "parametrepost", [], "any"falsetruefalse284), 0, [], "array"truetruefalse284)) {
  802.                 // line 285
  803.                 echo "                                    <h2 class=\"sub-title wow\">";
  804.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'285$this->source); })()), "typepost", [], "any"falsefalsefalse285), "parametrepost", [], "any"falsefalsefalse285), 0, [], "array"falsefalsefalse285), "titreblocproduitrelated", [], "any"falsefalsefalse285), "html"nulltrue);
  805.                 echo "</h2>
  806.                                 ";
  807.             }
  808.             // line 287
  809.             echo "                            </div>
  810.                             <div class=\"col-sm-12\">
  811.                                 <div class=\"list_blocs pos1\">
  812.                                     <div class=\"blocs\">
  813.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  814.                                             ";
  815.             // line 292
  816.             $context['_parent'] = $context;
  817.             $context['_seq'] = twig_ensure_traversable((isset($context["produit_related"]) || array_key_exists("produit_related"$context) ? $context["produit_related"] : (function () { throw new RuntimeError('Variable "produit_related" does not exist.'292$this->source); })()));
  818.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  819.                 // line 293
  820.                 echo "                                                ";
  821.                 $context["duree"] = 0.1;
  822.                 // line 294
  823.                 echo "                                                ";
  824.                 $context["prix"] = "";
  825.                 // line 295
  826.                 echo "                                                
  827.                                                 ";
  828.                 // line 296
  829.                 if (twig_get_attribute($this->env$this->source$context["item"], "prixproduit", [], "any"truetruefalse296)) {
  830.                     // line 297
  831.                     echo "                                                    ";
  832.                     $context["prix"] = twig_get_attribute($this->env$this->source$context["item"], "prixproduit", [], "any"falsefalsefalse297);
  833.                     // line 298
  834.                     echo "                                                ";
  835.                 }
  836.                 // line 299
  837.                 echo "                                                
  838.                                                 ";
  839.                 // line 300
  840.                 $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse300) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(twig_get_attribute($this->env$this->source$context["item"], "image", [], "any"falsefalsefalse300))) : (null));
  841.                 // line 301
  842.                 echo "                                                ";
  843.                 if (((isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'301$this->source); })()) == null)) {
  844.                     // line 302
  845.                     echo "
  846.                                                     ";
  847.                     // line 303
  848.                     $context["filteredItems"] = twig_array_filter($this->env, (isset($context["resultats_first_images_produits"]) || array_key_exists("resultats_first_images_produits"$context) ? $context["resultats_first_images_produits"] : (function () { throw new RuntimeError('Variable "resultats_first_images_produits" does not exist.'303$this->source); })()), function ($__p__) use ($context$macros) { $context["p"] = $__p__; return (twig_get_attribute($this->env$this->source, (isset($context["p"]) || array_key_exists("p"$context) ? $context["p"] : (function () { throw new RuntimeError('Variable "p" does not exist.'303$this->source); })()), "id", [], "any"falsefalsefalse303) == twig_get_attribute($this->env$this->source$context["item"], "id", [], "any"falsefalsefalse303)); });
  849.                     // line 304
  850.                     echo "
  851.                                                     ";
  852.                     // line 305
  853.                     $context['_parent'] = $context;
  854.                     $context['_seq'] = twig_ensure_traversable((isset($context["filteredItems"]) || array_key_exists("filteredItems"$context) ? $context["filteredItems"] : (function () { throw new RuntimeError('Variable "filteredItems" does not exist.'305$this->source); })()));
  855.                     foreach ($context['_seq'] as $context["_key"] => $context["first_gallerie_image"]) {
  856.                         // line 306
  857.                         echo "                                                        
  858.                                                         ";
  859.                         // line 307
  860.                         $context["image_item"] = (((twig_get_attribute($this->env$this->source$context["first_gallerie_image"], "galleries_first_image", [], "any"falsefalsefalse307) != null)) ? ($this->extensions['App\Twig\ImagesExtenstion']->AssetImageGalleryFunction(twig_get_attribute($this->env$this->source$context["first_gallerie_image"], "galleries_first_image", [], "any"falsefalsefalse307))) : (null));
  861.                         // line 308
  862.                         echo "                                                        
  863.                                                     ";
  864.                     }
  865.                     $_parent $context['_parent'];
  866.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['first_gallerie_image'], $context['_parent'], $context['loop']);
  867.                     $context array_intersect_key($context$_parent) + $_parent;
  868.                     // line 310
  869.                     echo "                                                ";
  870.                 }
  871.                 // line 311
  872.                 echo "                                                ";
  873.                 $context["image_item"] = ((((isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'311$this->source); })()) != null)) ? ((isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'311$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/images/" twig_get_attribute($this->env$this->source, (isset($context["parametre"]) || array_key_exists("parametre"$context) ? $context["parametre"] : (function () { throw new RuntimeError('Variable "parametre" does not exist.'311$this->source); })()), "imagevide", [], "any"falsefalsefalse311)))));
  874.                 // line 312
  875.                 echo "
  876.                                                 <div class=\"article wow zoomIn animated\" ";
  877.                 // line 313
  878.                 if (( !twig_test_empty((isset($context["prix"]) || array_key_exists("prix"$context) ? $context["prix"] : (function () { throw new RuntimeError('Variable "prix" does not exist.'313$this->source); })())) && ((array_key_exists("param_post"$context) && twig_get_attribute($this->env$this->source, ($context["param_post"] ?? null), "actifprixliste", [], "any"truetruefalse313)) && (twig_get_attribute($this->env$this->source, (isset($context["param_post"]) || array_key_exists("param_post"$context) ? $context["param_post"] : (function () { throw new RuntimeError('Variable "param_post" does not exist.'313$this->source); })()), "actifprixliste", [], "any"falsefalsefalse313) == 1)))) {
  879.                     echo "data-prix=\"";
  880.                     echo twig_escape_filter($this->env, (isset($context["prix"]) || array_key_exists("prix"$context) ? $context["prix"] : (function () { throw new RuntimeError('Variable "prix" does not exist.'313$this->source); })()), "html"nulltrue);
  881.                     echo "\"";
  882.                 }
  883.                 echo " data-wow-delay=\"";
  884.                 echo twig_escape_filter($this->env, (isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'313$this->source); })()), "html"nulltrue);
  885.                 echo "s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  886.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url(";
  887.                 // line 314
  888.                 echo twig_escape_filter($this->env, (isset($context["image_item"]) || array_key_exists("image_item"$context) ? $context["image_item"] : (function () { throw new RuntimeError('Variable "image_item" does not exist.'314$this->source); })()), "html"nulltrue);
  889.                 echo "); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  890.                                                     <span class=\"article-cnt\">
  891.                                                         ";
  892.                 // line 316
  893.                 if ($this->extensions['App\Twig\FunctionExtension']->GetCategoryFunction(twig_get_attribute($this->env$this->source$context["item"], "defaultcategorie", [], "any"falsefalsefalse316))) {
  894.                     // line 317
  895.                     echo "                                                            <a class=\"article-titre\" href=\"";
  896.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_sous_categorie", ["categorie1" => twig_get_attribute($this->env$this->source$this->extensions['App\Twig\FunctionExtension']->GetCategoryFunction(twig_get_attribute($this->env$this->source$context["item"], "defaultcategorie", [], "any"falsefalsefalse317)), "slugurl", [], "any"falsefalsefalse317), "categorie2" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse317)]), "html"nulltrue);
  897.                     echo "\" title=\"";
  898.                     echo twig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse317);
  899.                     echo "\">";
  900.                     echo twig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse317);
  901.                     echo "</a> 
  902.                                                         ";
  903.                 }
  904.                 // line 318
  905.                 echo 
  906.                                                         ";
  907.                 // line 320
  908.                 if (( !twig_test_empty((isset($context["prix"]) || array_key_exists("prix"$context) ? $context["prix"] : (function () { throw new RuntimeError('Variable "prix" does not exist.'320$this->source); })())) && ((array_key_exists("param_post"$context) && twig_get_attribute($this->env$this->source, ($context["param_post"] ?? null), "actifprixliste", [], "any"truetruefalse320)) && (twig_get_attribute($this->env$this->source, (isset($context["param_post"]) || array_key_exists("param_post"$context) ? $context["param_post"] : (function () { throw new RuntimeError('Variable "param_post" does not exist.'320$this->source); })()), "actifprixliste", [], "any"falsefalsefalse320) == 1)))) {
  909.                     // line 321
  910.                     echo "                                                            <span class=\"article-prix\">";
  911.                     echo twig_escape_filter($this->env, (isset($context["prix"]) || array_key_exists("prix"$context) ? $context["prix"] : (function () { throw new RuntimeError('Variable "prix" does not exist.'321$this->source); })()), "html"nulltrue);
  912.                     echo " €</span>
  913.                                                         ";
  914.                 }
  915.                 // line 323
  916.                 echo "
  917.                                                         ";
  918.                 // line 324
  919.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse324))) {
  920.                     // line 325
  921.                     echo "                                                            <span class=\"article-txt\">
  922.                                                                 ";
  923.                     // line 326
  924.                     echo twig_get_attribute($this->env$this->source$context["item"], "summary", [], "any"falsefalsefalse326);
  925.                     echo "
  926.                                                             </span>
  927.                                                         ";
  928.                 } else {
  929.                     // line 329
  930.                     echo "                                                            <span class=\"article-txt\">
  931.                                                             ";
  932.                     // line 330
  933.                     if ((twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse330) != "")) {
  934.                         // line 331
  935.                         echo "                                                                ";
  936.                         echo $this->extensions['App\Twig\FunctionExtension']->cutTextFunction(twig_get_attribute($this->env$this->source$context["item"], "content", [], "any"falsefalsefalse331));
  937.                         echo "
  938.                                                             ";
  939.                     }
  940.                     // line 333
  941.                     echo "                                                            </span>
  942.                                                         ";
  943.                 }
  944.                 // line 335
  945.                 echo "                                                       
  946.                                                         ";
  947.                 // line 336
  948.                 if ($this->extensions['App\Twig\FunctionExtension']->GetCategoryFunction(twig_get_attribute($this->env$this->source$context["item"], "defaultcategorie", [], "any"falsefalsefalse336))) {
  949.                     // line 337
  950.                     echo "                                                            <span class=\"article-bts\">
  951.                                                                 <button class=\"article-plus btn-fade\" onclick=\"window.open('";
  952.                     // line 338
  953.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_sous_categorie", ["categorie1" => twig_get_attribute($this->env$this->source$this->extensions['App\Twig\FunctionExtension']->GetCategoryFunction(twig_get_attribute($this->env$this->source$context["item"], "defaultcategorie", [], "any"falsefalsefalse338)), "slugurl", [], "any"falsefalsefalse338), "categorie2" => twig_get_attribute($this->env$this->source$context["item"], "slug", [], "any"falsefalsefalse338)]), "html"nulltrue);
  954.                     echo "', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  955.                                                             </span> 
  956.                                                         ";
  957.                 }
  958.                 // line 340
  959.                 echo 
  960.                                                     </span>
  961.                                                 </div>
  962.                                                 ";
  963.                 // line 343
  964.                 $context["duree"] = ((isset($context["duree"]) || array_key_exists("duree"$context) ? $context["duree"] : (function () { throw new RuntimeError('Variable "duree" does not exist.'343$this->source); })()) + 0.2);
  965.                 // line 344
  966.                 echo "                                            ";
  967.             }
  968.             $_parent $context['_parent'];
  969.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  970.             $context array_intersect_key($context$_parent) + $_parent;
  971.             // line 345
  972.             echo "                                        </section>
  973.                                     </div>
  974.                                 </div>
  975.                             </div>
  976.                         </div>
  977.                     </div>
  978.             </section>
  979.         ";
  980.         }
  981.         // line 354
  982.         echo "
  983.     </div> 
  984.     ";
  985.         // line 357
  986.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["post"] ?? null), "typepost", [], "any"falsetruefalse357), "parametrepost", [], "any"falsetruefalse357), 0, [], "array"truetruefalse357) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'357$this->source); })()), "typepost", [], "any"falsefalsefalse357), "parametrepost", [], "any"falsefalsefalse357), 0, [], "array"falsefalsefalse357), "actifpanier", [], "any"falsefalsefalse357) == true))) {
  987.             // line 358
  988.             echo "        <div id=\"ModalAjoutPanier\" class=\"modal modal_cart\">
  989.             <!-- Modal content -->
  990.             <div class=\"modal-content\">
  991.                 <div  class='top_prod'>Votre produit a été ajouté avec succès<span class=\"close\">&times;</span></div>
  992.                 <div class=\"modal_content bg_bot\">
  993.                         <div id=\"name_produit2\">Produit : <span></span> </div>             
  994.                         <div class=\"prix_vente2\">Prix : <span></span> &euro;</div>
  995.                     <button title=\"Continuer mes achats\" class=\"btn-continuer link_addSelection_detail2\" id=\"addthis_selection2\">Continuer mes achats</button>  
  996.                     ";
  997.             // line 367
  998.             $context["espace_client"] = 1;
  999.             echo 
  1000.                     ";
  1001.             // line 369
  1002.             if ((isset($context["espace_client"]) || array_key_exists("espace_client"$context) ? $context["espace_client"] : (function () { throw new RuntimeError('Variable "espace_client" does not exist.'369$this->source); })())) {
  1003.                 // line 370
  1004.                 echo "                        <button onclick=\"window.location.href = '/espace-client/login'\" title=\"Ajouter à ma commande\" class=\"btn-back-pulse link_addSelection_detail\" id=\"addthis_selection22\">Je termine ma commande</button>  
  1005.                     ";
  1006.             } else {
  1007.                 // line 372
  1008.                 echo "                        <button onclick=\"window.location.href = '/contact'\" title=\"Ajouter à ma commande\" class=\"btn-back-pulse link_addSelection_detail\" id=\"addthis_selection22\">Je termine ma commande</button>
  1009.                     ";
  1010.             }
  1011.             // line 374
  1012.             echo "
  1013.                 </div>
  1014.             </div>
  1015.         </div> 
  1016.     ";
  1017.         }
  1018.         // line 380
  1019.         echo "
  1020. ";
  1021.         
  1022.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1023.         
  1024.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1025.     }
  1026.     // line 383
  1027.     public function block_javascripts($context, array $blocks = [])
  1028.     {
  1029.         $macros $this->macros;
  1030.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1031.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1032.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1033.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1034.         // line 384
  1035.         echo "    ";
  1036.         $this->displayParentBlock("javascripts"$context$blocks);
  1037.         echo "
  1038.     ";
  1039.         // line 385
  1040.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["post"] ?? null), "typepost", [], "any"falsetruefalse385), "parametrepost", [], "any"falsetruefalse385), 0, [], "array"truetruefalse385) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'385$this->source); })()), "typepost", [], "any"falsefalsefalse385), "parametrepost", [], "any"falsefalsefalse385), 0, [], "array"falsefalsefalse385), "actifpanier", [], "any"falsefalsefalse385) == true))) {
  1041.             // line 386
  1042.             echo "        <script>
  1043.             \$(document).ready(function() {
  1044.                 var modal = document.getElementById('ModalAjoutPanier');
  1045.                 var closeBtn = modal.getElementsByClassName(\"close\");
  1046.                 var continuerBtn = modal.getElementsByClassName(\"link_addSelection_detail2\");
  1047.                 \$('.btn-add-panier').click(function() {
  1048.                     var productId = ";
  1049.             // line 392
  1050.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'392$this->source); })()), "id", [], "any"falsefalsefalse392), "html"nulltrue);
  1051.             echo ";
  1052.                     var qte = \$('.quantite').val();
  1053.                     \$.ajax({
  1054.                         url: '/panier/add/'+escape(productId)+'/'+escape(qte),
  1055.                         type: 'POST',
  1056.                         dataType: 'JSON',
  1057.                         success: function(response) {
  1058.                             var panier = response.panier;
  1059.                             updatePanier(panier);
  1060.                             if(response.success){
  1061.                                 var titre_produit = \$('.page-title').text();
  1062.                                 var prix_produit = \$('.price_product span').text();
  1063.                                 \$('#name_produit2 span').text(titre_produit);
  1064.                                 \$('.prix_vente2 span').text(prix_produit);
  1065.                                 modal.style.display = \"block\";
  1066.                             }
  1067.                         },
  1068.                         error: function(xhr, status, error) {
  1069.                             console.log(error); // Affichez l'erreur pour le débogage
  1070.                         }
  1071.                     });
  1072.                 });
  1073.                 function closeModal() {
  1074.                     modal.style.display = \"none\";
  1075.                 }
  1076.                 
  1077.                 \$(closeBtn).click(closeModal);
  1078.                 \$(continuerBtn).click(closeModal);
  1079.             });
  1080.         </script>
  1081.     ";
  1082.         }
  1083.         // line 426
  1084.         echo "
  1085.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
  1086.     ";
  1087.         // line 428
  1088.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'428$this->source); })()), 0, [], "array"falsefalsefalse428), "type", [], "any"falsefalsefalse428) == 4)) {
  1089.             // line 429
  1090.             echo "        <script src=\"";
  1091.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js"), "html"nulltrue);
  1092.             echo "\" ></script>
  1093.         <script>    
  1094.             if (\$(\".sx_flexslider\").length) {
  1095.                 \$('.flex-carousel').flexslider({
  1096.                     animation: \"slide\",
  1097.                     controlNav: false,
  1098.                     animationLoop: true,
  1099.                     slideshow: false,
  1100.                     itemWidth: 150,
  1101.                     asNavFor: '.flex-slider'
  1102.                 });
  1103.                 \$('.flex-slider').flexslider({
  1104.                     animation: \"slide\",
  1105.                     controlNav: false,
  1106.                     animationLoop: true,
  1107.                     slideshow: false,
  1108.                     sync: \".flex-carousel\"
  1109.                 });
  1110.             }
  1111.         </script>
  1112.     ";
  1113.         }
  1114.         // line 452
  1115.         echo "
  1116.     <script>
  1117.         \$(document).ready(function(){
  1118.             \$('ul.tabs li').click(function(){
  1119.                 var tab_id = \$(this).attr('data-tab');
  1120.                 \$('ul.tabs li').removeClass('current');
  1121.                 \$('.tab-content').removeClass('current');
  1122.                 \$(this).addClass('current');
  1123.                 \$(\"#\"+tab_id).addClass('current');
  1124.             })
  1125.         })
  1126.     </script>
  1127. ";
  1128.         
  1129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1130.         
  1131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1132.     }
  1133.     public function getTemplateName()
  1134.     {
  1135.         return "front/theme1/produits/page_produit.html.twig";
  1136.     }
  1137.     public function isTraitable()
  1138.     {
  1139.         return false;
  1140.     }
  1141.     public function getDebugInfo()
  1142.     {
  1143.         return array (  1160 => 452,  1133 => 429,  1131 => 428,  1127 => 426,  1090 => 392,  1082 => 386,  1080 => 385,  1075 => 384,  1065 => 383,  1054 => 380,  1046 => 374,  1042 => 372,  1038 => 370,  1036 => 369,  1031 => 367,  1020 => 358,  1018 => 357,  1013 => 354,  1002 => 345,  996 => 344,  994 => 343,  989 => 340,  983 => 338,  980 => 337,  978 => 336,  975 => 335,  971 => 333,  965 => 331,  963 => 330,  960 => 329,  954 => 326,  951 => 325,  949 => 324,  946 => 323,  940 => 321,  938 => 320,  934 => 318,  924 => 317,  922 => 316,  917 => 314,  907 => 313,  904 => 312,  901 => 311,  898 => 310,  891 => 308,  889 => 307,  886 => 306,  882 => 305,  879 => 304,  877 => 303,  874 => 302,  871 => 301,  869 => 300,  866 => 299,  863 => 298,  860 => 297,  858 => 296,  855 => 295,  852 => 294,  849 => 293,  845 => 292,  838 => 287,  832 => 285,  830 => 284,  824 => 280,  822 => 279,  816 => 277,  810 => 276,  806 => 274,  804 => 273,  802 => 272,  800 => 271,  797 => 270,  793 => 268,  791 => 267,  789 => 266,  786 => 265,  781 => 264,  779 => 263,  774 => 260,  765 => 254,  760 => 253,  758 => 252,  753 => 249,  751 => 248,  748 => 247,  743 => 245,  740 => 244,  737 => 243,  734 => 242,  731 => 241,  729 => 240,  722 => 235,  718 => 233,  705 => 231,  701 => 230,  698 => 229,  696 => 228,  693 => 227,  690 => 226,  682 => 223,  679 => 222,  677 => 221,  670 => 219,  667 => 218,  665 => 217,  658 => 215,  655 => 214,  652 => 213,  649 => 212,  641 => 209,  638 => 208,  635 => 207,  633 => 206,  629 => 204,  623 => 200,  610 => 198,  606 => 197,  602 => 195,  589 => 193,  585 => 192,  580 => 189,  578 => 188,  573 => 185,  569 => 184,  559 => 182,  557 => 181,  554 => 180,  550 => 178,  548 => 177,  545 => 176,  543 => 175,  540 => 174,  537 => 173,  530 => 168,  527 => 167,  525 => 166,  520 => 163,  516 => 161,  507 => 158,  503 => 157,  500 => 156,  496 => 155,  493 => 154,  491 => 153,  488 => 152,  482 => 150,  480 => 149,  477 => 148,  471 => 146,  469 => 145,  465 => 143,  459 => 141,  457 => 140,  454 => 139,  448 => 137,  446 => 136,  442 => 134,  439 => 133,  435 => 131,  429 => 129,  427 => 128,  423 => 127,  420 => 126,  417 => 125,  414 => 124,  412 => 123,  409 => 122,  406 => 121,  402 => 119,  396 => 117,  394 => 116,  391 => 115,  381 => 112,  374 => 111,  372 => 110,  362 => 107,  355 => 106,  353 => 105,  343 => 102,  336 => 101,  334 => 100,  331 => 99,  329 => 98,  323 => 95,  320 => 94,  314 => 91,  309 => 90,  307 => 89,  302 => 87,  299 => 86,  291 => 80,  288 => 79,  282 => 77,  280 => 76,  275 => 75,  273 => 74,  266 => 69,  264 => 68,  260 => 66,  252 => 61,  246 => 57,  240 => 55,  238 => 54,  222 => 47,  219 => 46,  217 => 45,  214 => 44,  211 => 43,  208 => 42,  205 => 41,  202 => 40,  199 => 39,  196 => 38,  194 => 37,  191 => 36,  188 => 35,  185 => 34,  182 => 33,  179 => 32,  176 => 31,  173 => 30,  171 => 29,  168 => 28,  158 => 27,  144 => 23,  142 => 22,  137 => 21,  127 => 20,  116 => 17,  113 => 16,  107 => 15,  101 => 13,  98 => 12,  93 => 11,  91 => 10,  88 => 9,  85 => 8,  79 => 6,  76 => 5,  73 => 4,  63 => 3,  53 => 1,  51 => 2,  38 => 1,);
  1144.     }
  1145.     public function getSourceContext()
  1146.     {
  1147.         return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
  1148. {% set parametre = ParametreSite() %}
  1149. {% block preload %}
  1150.     {% if post.image is defined  and post.image is not empty %}
  1151.         {% if post.image %}
  1152.             <link rel=\"preload\" as=\"image\" href=\"{{asset_image(post.image)}}\" />
  1153.         {% endif %}
  1154.     {% endif %}
  1155.      {% if galleries is defined and galleries is not empty %}
  1156.            {% for item in galleries %}
  1157.                 {% if item.path is defined %}
  1158.                     <link rel=\"preload\" as=\"image\" href=\"{{asset_image_gallery(item.path)}}\" />
  1159.                 {% endif %}
  1160.            {% endfor %}
  1161.     {% endif %}
  1162. {% endblock %}
  1163. {% block stylesheets %}
  1164.     {{parent()}}
  1165.     {% if modele_galerie[0].type == 4 %}
  1166.         <link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('templates/front/theme1/assets/plugins/flexslider/flexslider.css')}}\" media=\"screen\" >
  1167.     {% endif %}
  1168. {% endblock %}
  1169. {% block body %}
  1170.     {% set position_image = post.positionimage %}
  1171.     {% set class_position = \"\" %}
  1172.     {% if post.positionimage == 2 %}
  1173.         {% set class_position = \"float-md-left mb-2 mr-md-3\"  %}
  1174.     {% elseif post.positionimage == 3 %}
  1175.         {% set class_position = \"float-md-right mb-2 ml-md-3\" %}
  1176.     {% endif %}
  1177.     {% if post.imageBandeau %}
  1178.         {% set imagebandeau = post.imageBandeau %}
  1179.     {% elseif parametre.imageBandeau %}
  1180.         {% set imagebandeau = 'uploads/images/' ~ parametre.imageBandeau %}
  1181.     {% else %}
  1182.         {% set imagebandeau = '' %}
  1183.     {% endif %}
  1184.     
  1185.     {% if imagebandeau != '' %}
  1186.         <section class=\"image-bandeau text-center\">
  1187.             <img class=\"lazyload\" alt=\"{{post.title}}\" title=\"{{post.title}}\" data-srcset=\"{{imagebandeau}}\" src=\"{{asset(imagebandeau)}}\" />
  1188.             <div class=\"cnt-bandeau text-center\">
  1189. \t\t\t\t<div class=\"container-fluid wrapper\">
  1190.                     <div class=\"breadcrumb-style-default\">
  1191.                         <div class=\"row\">
  1192.                             <div class=\"col-lg-12\">
  1193.                                 <div class=\"inner text-center\">
  1194.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  1195.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  1196.                                     {% endif %}
  1197.                                 </div>
  1198.                             </div>
  1199.                         </div>
  1200.                     </div>
  1201.                     <h1 class=\"page-title\">{{post.title|raw}}</h1>
  1202.                 </div>
  1203.             </div>
  1204.         </section>
  1205.     {% endif %}
  1206.     <div class=\"page_product pt-5\">
  1207.         {% if imagebandeau == '' %}
  1208.         <div class=\"breadcrumb-style-default\">
  1209.             <div class=\"container\">
  1210.                 <div class=\"row\">
  1211.                     <div class=\"col-lg-12\">
  1212.                         <div class=\"inner text-center\">
  1213.                             {% if breadcrumb is defined and breadcrumb is not empty %}
  1214.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  1215.                                  {% if post.image is empty  %}
  1216.                                     <h1 class=\"page-title\">{{breadcrumb|last.name}}</h1>
  1217.                                 {% endif %}
  1218.                             {% endif %}
  1219.                         </div>
  1220.                     </div>
  1221.                 </div>
  1222.             </div>
  1223.         </div>
  1224.         {% endif %}
  1225.         <div class=\"container-fluid  {{categories_tree is defined and categories_tree is not empty?'':'wrapper'}} mt-3\">
  1226.             <div class=\"row gx-5 py-2\">
  1227.                 {% if categories_tree is defined and categories_tree is not empty %}
  1228.                     <div class=\"col-sm-12 col-md-3 {{show_filter_categorie is defined and show_filter_categorie == true ?'':'d-none'}}\">
  1229.                          {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/product/_sidebar.html.twig')}}
  1230.                     </div>
  1231.                 {% endif %}
  1232.                 
  1233.                 <div class=\"col-sm-12 col-md-{{show_filter_categorie is defined and show_filter_categorie == true?'9':'12'}} bloc-content-produit\">
  1234.                      <div class=\"row\">
  1235.                             <div class=\"col-sm-12 col-lg-6\">
  1236.                                 {% if not (modele_galerie[0].type == 4 and galleries|length > 1) %}
  1237.                                 <div class=\"image-product\">
  1238.                                     {% if post.image and post.image is not empty  %}
  1239.                                         <a href=\"{{asset_image(post.image,'medium')}}\" data-fancybox=\"image\" tirle=\"{{post.titre}}\" >
  1240.                                            <img class=\"img-fluid\" data-srcset=\"{{asset_image(post.image,'medium')}}\" src=\"{{asset_image(post.image,'medium')}}\" alt=\"{{post.titre}}\" />
  1241.                                         </a>
  1242.                                       
  1243.                                     {% elseif galleries is defined and galleries is not empty %}
  1244.                                         <a href=\"{{asset_image_gallery(galleries[0].path)}}\" data-fancybox=\"image\" tirle=\"{{post.titre}}\" >
  1245.                                             <img class=\"img-fluid\" data-srcset=\"{{asset_image_gallery(galleries[0].path)}}\" src=\"{{asset_image_gallery(galleries[0].path)}}\" alt=\"{{post.titre}}\" />
  1246.                                         </a>
  1247.                                        
  1248.                                     {% elseif parametre.imageVide is defined and parametre.imageVide is not empty %}
  1249.                                          <a href=\"{{asset('/uploads/images/'~ parametre.imageVide)}}\" data-fancybox=\"image\" tirle=\"{{post.titre}}\" >
  1250.                                            <img class=\"img-fluid\" data-srcset=\"{{asset('/uploads/images/'~ parametre.imageVide)}}\" src=\"{{asset('/uploads/images/'~ parametre.imageVide)}}\" alt=\"{{post.titre}}\" />
  1251.                                         </a>
  1252.                                     {% endif %}
  1253.                                     {% if post.disponibiliteproduit %}
  1254.                                         <span class=\"disponible\">{{'disponible'|upper}}</span>
  1255.                                     {% endif %}
  1256.                                 </div>
  1257.                                 {% else %}
  1258.                                     {% if galleries and galleries is not empty and template_model_gallerie is defined and template_model_gallerie is not empty %}
  1259.                                         <div class=\"image-product\">
  1260.                                             {% if (post.image is defined and post.image == null) %}
  1261.                                                 {% set galleries = galleries|slice(1) %}
  1262.                                             {% endif %}
  1263.                                             
  1264.                                             {{ include(template_from_string(template_model_gallerie)) }}
  1265.                                             {% if post.disponibiliteproduit %}
  1266.                                                 <span class=\"disponible\">{{'disponible'|upper}}</span>
  1267.                                             {% endif %}
  1268.                                         </div>
  1269.                                     {% endif %}
  1270.                                 {% endif %}
  1271.                             </div>
  1272.                             <div class=\"col-sm-12 col-lg-6 mt-lg-0 mt-4\">
  1273.                                 {% if post.image and post.image is not empty and imagebandeau == ''  %}
  1274.                                     <h1 class=\"page-title\">{{breadcrumb|last.name}}</h1>
  1275.                                 {% endif %}
  1276.                                 {% if post.content is not empty and post.content != \" \" %}
  1277.                                     {{post.content|raw}}
  1278.                                 {% endif %}
  1279.                                
  1280.                                 {% if post.prixproduit %}
  1281.                                     <div class=\"price_product\"> Prix : <span>{{post.prixproduit}}</span> € </div>
  1282.                                 {% endif %}
  1283.                                 
  1284.                                 {% if post.referanceproduit %}
  1285.                                     <div class=\"ref_product\"> Réf : <strong>{{post.referanceproduit}} </strong></div>
  1286.                                 {% endif %}
  1287.                                 {% if champsPersonnalisesPost is defined and champsPersonnalisesPost is not empty %}
  1288.                                     <div class=\"autre_info\">
  1289.                                         {% for item in champsPersonnalisesPost %}
  1290.                                              <div class=\"item d-flex\">
  1291.                                                 <div class=\"label\"> {{item.label}} : </div>
  1292.                                                 <div class=\"value\"> {{item.value}}</div>
  1293.                                             </div>
  1294.                                         {% endfor %}
  1295.                                     </div>
  1296.                                 {% endif %}
  1297.                                 
  1298.                                     
  1299.                                     
  1300.                                 {% if post.prixproduit is not empty %}
  1301.                                     {% if post.typepost.parametrepost[0] is defined and  post.typepost.parametrepost[0].actifpanier == true %}
  1302.                                         <div class=\"input-quantite\">
  1303.                                             <label>Quantité :</label>
  1304.                                             <input type=\"number\" class=\"form-control quantite\" value=\"1\" min=\"1\" name=\"qte\" />
  1305.                                         </div>
  1306.                                     {% endif %}
  1307.                                 {% endif %}
  1308.                                 {% if post.typepost.parametrepost[0] is defined and (post.typepost.parametrepost[0].actifpanier == true or post.typepost.parametrepost[0].buttoninteresse != \"\") %}
  1309.                                     <div class=\"d-flex mt-3 boutons-panier\">
  1310.                                         {% if post.prixproduit is not empty and post.typepost.parametrepost[0].actifpanier == true %}
  1311.                                             <button title=\"Ajouter au panier\" class=\"btn btn-add-panier\">Ajouter au panier</button>
  1312.                                         {% endif %}
  1313.                                         
  1314.                                         {% if post.typepost.parametrepost[0].buttoninteresse != \"\" and slug_page_contact('page-contact') != null %}
  1315.                                            <a href=\"{{path('page',{slug:slug_page_contact('page-contact')})}}?product={{post.slug}}\" class=\"btn btn-interesse\">{{post.typepost.parametrepost[0].buttoninteresse}}</a>
  1316.                                         {% endif %}
  1317.                                     </div>
  1318.                                 {% endif %}                          
  1319.                             </div>
  1320.                             {% if post.produitsinfo is defined and post.produitsinfo is not empty %}
  1321.                                 <div class=\"col-md-12\">
  1322.                                     <div class=\"product-tabs\">
  1323.                                         <ul class=\"tabs\">
  1324.                                             {% for key,item in post.produitsinfo %}
  1325.                                                 <li class=\"tab-link {{key == 0?'current':''}}\" data-tab=\"tab-{{key + 1}}\">{{item.titre|upper}}</li>
  1326.                                             {% endfor %}
  1327.                                         </ul>
  1328.                                         <div class=\"\">
  1329.                                             {% for key,item in post.produitsinfo %}
  1330.                                                 <div id=\"tab-{{key + 1}}\" class=\"tab-content {{key == 0?'current':''}}\">{{item.text|raw}}</div>
  1331.                                             {% endfor %}
  1332.                                         </div>
  1333.                                     </div>
  1334.                                 </div>
  1335.                             {% endif %}
  1336.                             <div class=\"col-sm-12\">
  1337.                                     {% if post.typelien == null %}
  1338.                                             {% if categorieTree is defined and categorieTree[0] is defined  %}
  1339.                                                 <div class=\"text-center py-2\">
  1340.                                                     <a href=\"{{path('page',{slug:categorieTree[0].slug})}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">Retour à la liste {{categorieTree[0].titre}}</a>
  1341.                                                 </div>
  1342.                                             {% endif %}
  1343.                                     {% elseif post.typelien != 1 %}
  1344.                                             {% if post.typelien == '4' %}
  1345.                                                 <div class=\"text-center py-2\">
  1346.                                                     <a href=\"javascript:void(0)\" onclick=\"window.location.href = 'tel:{{post.telephone}}';\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  1347.                                                 </div>
  1348.                                             {% elseif post.typelien == '2' %}
  1349.                                                 <div class=\"text-center py-2\">
  1350.                                                     <a href=\"{{slug_link_interne(post.lieninterne)}}\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  1351.                                                 </div>
  1352.                                             {% elseif post.typelien == '3' %}
  1353.                                                 <div class=\"text-center py-2\">
  1354.                                                     <a href=\"{{post.lienexterne}}\" target=\"_blank\" class=\"btn btn-cms py-3 px-5 mt-3 btn-plus\">{{post.titrelien}}</a>
  1355.                                                 </div>
  1356.                                             {% endif %}
  1357.                                     {% endif %}
  1358.                                     {% if docs and docs is not empty %}
  1359.                                         <div class=\"col-md-12 bloc-docs d-flex justify-content-center\">
  1360.                                             {% for doc in docs %}
  1361.                                                 <a class=\"btn-back-pulse m-2\" href=\"{{doc.location ~ doc.path ~ '/' ~ doc.fileName}}\" title=\"{{doc.titre}}\" target=\"_blank\"><i class=\"fa fa-file-pdf-o mr-2\"></i>{{doc.titre}}</a>   
  1362.                                             {% endfor %}
  1363.                                         </div>
  1364.                                     {% endif %}
  1365.                             </div>
  1366.                      </div>
  1367.                 </div>
  1368.             </div>
  1369.         </div>
  1370.         {% if galleries and galleries is not empty and template_model_gallerie is defined and template_model_gallerie is not empty and modele_galerie[0].type != 4 %}
  1371.             {% if (post.image is defined and post.image == null) %}
  1372.                   {% set galleries = galleries|slice(1) %}
  1373.             {% endif %}
  1374.             
  1375.             {{ include(template_from_string(template_model_gallerie)) }}
  1376.         {% endif %}
  1377.         {% if post.urlvideo is not empty %}
  1378.             <div class=\"container-fluid wrapper mt-3\">
  1379.                 <div class=\"col-md-12 mt-1\">
  1380.                     <div class=\"video\">
  1381.                         {% set id_video_externe = post.urlvideo|split('?v=')[1] %}
  1382.                         <a class=\"video-thumbnail m-0\" href=\"{{post.urlvideo}}\" data-fancybox=\"video\">
  1383.                             <img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"\"/>
  1384.                         </a>
  1385.                     </div>
  1386.                 </div>
  1387.             </div>
  1388.         {% endif %}
  1389.         {% if blocs is defined  %}
  1390.             {% for bloc in blocs.Bloc %}
  1391.                 {% if is_mobile() and  bloc.mobile == true   %}
  1392.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
  1393.                         bloc: bloc,
  1394.                     }, with_context = false)}}
  1395.                 {% endif %}
  1396.                 
  1397.                 {% if is_full_view() and is_mobile() == false and bloc.desktop == true %}
  1398.                     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc.html.twig',{
  1399.                         bloc: bloc,
  1400.                     }, with_context = false)}}
  1401.                 {% endif %}
  1402.             {% endfor %}
  1403.         {% endif %} 
  1404.         {% if produit_related is defined and produit_related is not empty %}
  1405.             <section class=\"\">
  1406.                     <div class=\"container-fluid  mt-3\">
  1407.                         <div class=\"row gx-5 py-2\">
  1408.                             <div class=\"col-sm-12 text-center\">
  1409.                                 {% if post.typepost.parametrepost[0] is defined %}
  1410.                                     <h2 class=\"sub-title wow\">{{post.typepost.parametrepost[0].titreblocproduitrelated}}</h2>
  1411.                                 {% endif %}
  1412.                             </div>
  1413.                             <div class=\"col-sm-12\">
  1414.                                 <div class=\"list_blocs pos1\">
  1415.                                     <div class=\"blocs\">
  1416.                                         <section class=\"results dynam-affichage affichage1 type_affiche3 \">
  1417.                                             {% for item in produit_related %}
  1418.                                                 {% set duree = 0.1 %}
  1419.                                                 {% set prix = \"\" %}
  1420.                                                 
  1421.                                                 {% if item.prixproduit is defined %}
  1422.                                                     {% set prix = item.prixproduit %}
  1423.                                                 {% endif %}
  1424.                                                 
  1425.                                                 {% set image_item = item.image != null? asset_image(item.image): null %}
  1426.                                                 {% if image_item == null %}
  1427.                                                     {% set filteredItems = resultats_first_images_produits|filter(p => p.id == item.id) %}
  1428.                                                     {% for first_gallerie_image in filteredItems %}
  1429.                                                         
  1430.                                                         {% set image_item = first_gallerie_image.galleries_first_image != null? asset_image_gallery(first_gallerie_image.galleries_first_image): null %}
  1431.                                                         
  1432.                                                     {% endfor %}
  1433.                                                 {% endif %}
  1434.                                                 {% set image_item = image_item != null? image_item :asset('uploads/images/' ~ parametre.imagevide) %}
  1435.                                                 <div class=\"article wow zoomIn animated\" {% if prix is not empty and (param_post is defined and param_post.actifprixliste is defined and param_post.actifprixliste == 1) %}data-prix=\"{{prix}}\"{% endif %} data-wow-delay=\"{{duree}}s\" style=\"visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;\">
  1436.                                                     <span class=\"article-image lazyloaded\"  style=\"background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;\"> </span>                 
  1437.                                                     <span class=\"article-cnt\">
  1438.                                                         {% if GetCategory(item.defaultcategorie) %}
  1439.                                                             <a class=\"article-titre\" href=\"{{path('page_sous_categorie',{categorie1:GetCategory(item.defaultcategorie).slugurl,categorie2:item.slug})}}\" title=\"{{item.title|raw}}\">{{item.title|raw}}</a> 
  1440.                                                         {% endif %} 
  1441.                                                         {% if prix is not empty and (param_post is defined and param_post.actifprixliste is defined and param_post.actifprixliste == 1) %}
  1442.                                                             <span class=\"article-prix\">{{prix}} €</span>
  1443.                                                         {% endif %}
  1444.                                                         {% if item.summary is not empty %}
  1445.                                                             <span class=\"article-txt\">
  1446.                                                                 {{item.summary|raw}}
  1447.                                                             </span>
  1448.                                                         {% else %}
  1449.                                                             <span class=\"article-txt\">
  1450.                                                             {% if item.content != \"\" %}
  1451.                                                                 {{cutText(item.content)|raw}}
  1452.                                                             {% endif %}
  1453.                                                             </span>
  1454.                                                         {% endif %}
  1455.                                                        
  1456.                                                         {% if GetCategory(item.defaultcategorie) %}
  1457.                                                             <span class=\"article-bts\">
  1458.                                                                 <button class=\"article-plus btn-fade\" onclick=\"window.open('{{path('page_sous_categorie',{categorie1:GetCategory(item.defaultcategorie).slugurl,categorie2:item.slug})}}', '_self');\" title=\"En savoir plus\">En savoir plus</button>
  1459.                                                             </span> 
  1460.                                                         {% endif %} 
  1461.                                                     </span>
  1462.                                                 </div>
  1463.                                                 {% set duree = duree + 0.2 %}
  1464.                                             {% endfor %}
  1465.                                         </section>
  1466.                                     </div>
  1467.                                 </div>
  1468.                             </div>
  1469.                         </div>
  1470.                     </div>
  1471.             </section>
  1472.         {% endif %}
  1473.     </div> 
  1474.     {% if post.typepost.parametrepost[0] is defined and post.typepost.parametrepost[0].actifpanier == true %}
  1475.         <div id=\"ModalAjoutPanier\" class=\"modal modal_cart\">
  1476.             <!-- Modal content -->
  1477.             <div class=\"modal-content\">
  1478.                 <div  class='top_prod'>Votre produit a été ajouté avec succès<span class=\"close\">&times;</span></div>
  1479.                 <div class=\"modal_content bg_bot\">
  1480.                         <div id=\"name_produit2\">Produit : <span></span> </div>             
  1481.                         <div class=\"prix_vente2\">Prix : <span></span> &euro;</div>
  1482.                     <button title=\"Continuer mes achats\" class=\"btn-continuer link_addSelection_detail2\" id=\"addthis_selection2\">Continuer mes achats</button>  
  1483.                     {% set espace_client = 1 %} 
  1484.                     {% if espace_client %}
  1485.                         <button onclick=\"window.location.href = '/espace-client/login'\" title=\"Ajouter à ma commande\" class=\"btn-back-pulse link_addSelection_detail\" id=\"addthis_selection22\">Je termine ma commande</button>  
  1486.                     {% else %}
  1487.                         <button onclick=\"window.location.href = '/contact'\" title=\"Ajouter à ma commande\" class=\"btn-back-pulse link_addSelection_detail\" id=\"addthis_selection22\">Je termine ma commande</button>
  1488.                     {% endif %}
  1489.                 </div>
  1490.             </div>
  1491.         </div> 
  1492.     {% endif %}
  1493. {% endblock %}
  1494. {% block javascripts %}
  1495.     {{parent()}}
  1496.     {% if post.typepost.parametrepost[0] is defined and post.typepost.parametrepost[0].actifpanier == true %}
  1497.         <script>
  1498.             \$(document).ready(function() {
  1499.                 var modal = document.getElementById('ModalAjoutPanier');
  1500.                 var closeBtn = modal.getElementsByClassName(\"close\");
  1501.                 var continuerBtn = modal.getElementsByClassName(\"link_addSelection_detail2\");
  1502.                 \$('.btn-add-panier').click(function() {
  1503.                     var productId = {{ post.id }};
  1504.                     var qte = \$('.quantite').val();
  1505.                     \$.ajax({
  1506.                         url: '/panier/add/'+escape(productId)+'/'+escape(qte),
  1507.                         type: 'POST',
  1508.                         dataType: 'JSON',
  1509.                         success: function(response) {
  1510.                             var panier = response.panier;
  1511.                             updatePanier(panier);
  1512.                             if(response.success){
  1513.                                 var titre_produit = \$('.page-title').text();
  1514.                                 var prix_produit = \$('.price_product span').text();
  1515.                                 \$('#name_produit2 span').text(titre_produit);
  1516.                                 \$('.prix_vente2 span').text(prix_produit);
  1517.                                 modal.style.display = \"block\";
  1518.                             }
  1519.                         },
  1520.                         error: function(xhr, status, error) {
  1521.                             console.log(error); // Affichez l'erreur pour le débogage
  1522.                         }
  1523.                     });
  1524.                 });
  1525.                 function closeModal() {
  1526.                     modal.style.display = \"none\";
  1527.                 }
  1528.                 
  1529.                 \$(closeBtn).click(closeModal);
  1530.                 \$(continuerBtn).click(closeModal);
  1531.             });
  1532.         </script>
  1533.     {% endif %}
  1534.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js\"></script>
  1535.     {% if modele_galerie[0].type == 4 %}
  1536.         <script src=\"{{asset('templates/front/theme1/assets/plugins/flexslider/jquery.flexslider.js')}}\" ></script>
  1537.         <script>    
  1538.             if (\$(\".sx_flexslider\").length) {
  1539.                 \$('.flex-carousel').flexslider({
  1540.                     animation: \"slide\",
  1541.                     controlNav: false,
  1542.                     animationLoop: true,
  1543.                     slideshow: false,
  1544.                     itemWidth: 150,
  1545.                     asNavFor: '.flex-slider'
  1546.                 });
  1547.                 \$('.flex-slider').flexslider({
  1548.                     animation: \"slide\",
  1549.                     controlNav: false,
  1550.                     animationLoop: true,
  1551.                     slideshow: false,
  1552.                     sync: \".flex-carousel\"
  1553.                 });
  1554.             }
  1555.         </script>
  1556.     {% endif %}
  1557.     <script>
  1558.         \$(document).ready(function(){
  1559.             \$('ul.tabs li').click(function(){
  1560.                 var tab_id = \$(this).attr('data-tab');
  1561.                 \$('ul.tabs li').removeClass('current');
  1562.                 \$('.tab-content').removeClass('current');
  1563.                 \$(this).addClass('current');
  1564.                 \$(\"#\"+tab_id).addClass('current');
  1565.             })
  1566.         })
  1567.     </script>
  1568. {% endblock %}
  1569. ""front/theme1/produits/page_produit.html.twig""/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/produits/page_produit.html.twig");
  1570.     }
  1571. }