var/cache/dev/twig/e8/e845a109a6a5f487084e28b120d3dd9efb0cee1ad10b8e85714190fde320e238.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* frontend/base.html.twig */
  14. class __TwigTemplate_942873e53296c84f39fb0bc7892dfe9010b6d54bf117d2b8639dda8106097480 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'JS' => [$this'block_JS'],
  25.             'body' => [$this'block_body'],
  26.             'styleContainer' => [$this'block_styleContainer'],
  27.             'content' => [$this'block_content'],
  28.             'mainJS' => [$this'block_mainJS'],
  29.             'mainCSS' => [$this'block_mainCSS'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/base.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/base.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""frontend/base.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 2
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         echo "Maturin";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 3
  66.     public function block_JS($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.     }
  78.     // line 5
  79.     public function block_body($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  86.         // line 6
  87.         echo "<div class=\"container-fluid\" style=\"background-color: white;\">
  88.     <div class=\"row\" >
  89.         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\" style=\"";
  90.         // line 8
  91.         $this->displayBlock('styleContainer'$context$blocks);
  92.         echo "\">
  93.             ";
  94.         // line 9
  95.         $this->loadTemplate("menu.html.twig""frontend/base.html.twig"9)->display($context);
  96.         // line 10
  97.         echo "           ";
  98.         // line 11
  99.         echo "          ";
  100.         $context["current_path"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'11$this->source); })()), "request", [], "any"falsefalsefalse11), "get", [=> "_route"], "method"falsefalsefalse11);
  101.         // line 12
  102.         echo "           ";
  103.         if (((isset($context["current_path"]) || array_key_exists("current_path"$context) ? $context["current_path"] : (function () { throw new RuntimeError('Variable "current_path" does not exist.'12$this->source); })()) != "fos_user_security_login")) {
  104.             // line 13
  105.             echo "        ";
  106.             if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'13$this->source); })()), "associationUserIsBrowsing", [], "any"falsefalsefalse13)) {
  107.                 echo "  
  108.          ";
  109.                 // line 14
  110.                 $this->loadTemplate("frontend/fullmenu.html.twig""frontend/base.html.twig"14)->display($context);
  111.                 echo 
  112.         ";
  113.             } else {
  114.                 // line 16
  115.                 echo "            ";
  116.                 $this->loadTemplate("frontend/fullmenu.html.twig""frontend/base.html.twig"16)->display($context);
  117.                 echo 
  118.         ";
  119.             }
  120.             // line 18
  121.             echo "
  122.               
  123.             ";
  124.         }
  125.         // line 21
  126.         echo "            ";
  127.         $this->displayBlock('content'$context$blocks);
  128.         // line 22
  129.         echo "        </div>
  130.     </div>
  131.     ";
  132.         // line 24
  133.         if ((( !(isset($context["page"]) || array_key_exists("page"$context)) || (isset($context["forceFooter"]) || array_key_exists("forceFooter"$context))) || ((isset($context["page"]) || array_key_exists("page"$context)) && (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'24$this->source); })()), "template", [], "any"falsefalsefalse24) == "footer.html.twig")))) {
  134.             // line 25
  135.             echo "    ";
  136.             $this->loadTemplate("Omelo/Templates/footer.html.twig""frontend/base.html.twig"25)->displayBlock("footer"$context);
  137.             echo "
  138.     ";
  139.         }
  140.         // line 27
  141.         echo "</div>
  142. ";
  143.         // line 28
  144.         if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'28$this->source); })()), "displayStarterKits", [], "any"falsefalsefalse28)) {
  145.             // line 30
  146.             echo "<!-- START COPYING -->
  147.     ";
  148.             // line 31
  149.             if ( !twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'31$this->source); })()), "associationUserIsBrowsing", [], "any"falsefalsefalse31)) {
  150.                 // line 32
  151.                 echo "
  152. <div class=\"carouselSlider\" data-sm-init=\"true\">
  153.     <div class=\"title\">OBTENEZ 10% SUR VOTRE PREMIER ACHAT</div>
  154.     <p style=\"\">Abonnez-vous à notre infolettre et recevez les suggestions que nous préparerons pour vous ainsi que des idées-repas.</p>
  155.     <div class=\"row\">
  156.       <div class=\"col-md-12\">
  157.         <form method=\"post\" action=\"/\">
  158.           <input type=\"hidden\" name=\"action\" value=\"newsletter_subscribe\">
  159.           <input type=\"text\" class=\"form-control\" name=\"newsletter_email\" placeholder=\"Entrez votre courriel\">
  160.           <br>
  161.           <button class=\"btn btn-success btn-block\">M'inscrire</button>
  162.         </form>
  163.       </div>
  164.     </div>
  165. </div>
  166. <!--
  167. <div class=\"carouselSlider\" data-sm-init=\"true\">
  168.     <div class=\"title\"><span>&star;</span>Ensembles découvertes<span>&star;</span></div>
  169.     <p style=\"\">Simplifiez-vous la vie sans compromis de qualité avec un ensemble découverte 100% local.</p>
  170.     ";
  171.                 // line 53
  172.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'53$this->source); })()), "starterKits", [], "any"falsefalsefalse53)) > 2)) {
  173.                     // line 54
  174.                     echo "    <div class=\"actions\">
  175.         <button class=\"nav prev\">&larr;</button>
  176.         <button class=\"nav next\">&rarr;</button>
  177.     </div>
  178.     ";
  179.                 }
  180.                 // line 59
  181.                 echo "    <div class=\"carouselWrapper\">
  182.         <ul class=\"carouselList\" data-show=\"2\" data-padding=\"20\">
  183.             ";
  184.                 // line 61
  185.                 $context['_parent'] = $context;
  186.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'61$this->source); })()), "starterKits", [], "any"falsefalsefalse61));
  187.                 foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
  188.                     // line 62
  189.                     echo "            <li>
  190.                 <a href=\"";
  191.                     // line 63
  192.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewProduct", ["producerUrl" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse63), "company", [], "any"falsefalsefalse63), "UrlName", [], "any"falsefalsefalse63), "productName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse63), "UrlName", [], "any"falsefalsefalse63), "id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse63), "Id", [], "any"falsefalsefalse63)]), "html"nulltrue);
  193.                     echo "\"><img src=\"";
  194.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsCroppedThumb", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "image", [], "any"falsefalsefalse63), "id", [], "any"falsefalsefalse63), "height" => "100""width" => "100"]), "html"nulltrue);
  195.                     echo "\" style=\"width:auto!important;\"/></a>
  196.                 <a href=\"";
  197.                     // line 64
  198.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewProduct", ["producerUrl" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse64), "company", [], "any"falsefalsefalse64), "UrlName", [], "any"falsefalsefalse64), "productName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse64), "UrlName", [], "any"falsefalsefalse64), "id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse64), "Id", [], "any"falsefalsefalse64)]), "html"nulltrue);
  199.                     echo "\" class=\"name\">";
  200.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse64), "nameWithDetails", [], "any"falsefalsefalse64), "html"nulltrue);
  201.                     echo "</a>
  202.                 <div class=\"price\" style=\"padding: 0px;\">";
  203.                     // line 65
  204.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse65), "displayPrice", [], "any"falsefalsefalse65), "html"nulltrue);
  205.                     echo "</div>
  206.                 ";
  207.                     // line 66
  208.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse66), "isSalable", [], "any"falsefalsefalse66)) {
  209.                         // line 67
  210.                         echo "                <br>
  211.                 <div class=\"button button-100 button-orange add-to-cart\" data-type=\"product\" data-id=\"";
  212.                         // line 68
  213.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["p"], "product", [], "any"falsefalsefalse68), "id", [], "any"falsefalsefalse68), "html"nulltrue);
  214.                         echo "\" style=\"font-size: 12px;\">
  215.                    ACHETER
  216.                 </div>
  217.                 ";
  218.                     }
  219.                     // line 72
  220.                     echo "            </li>
  221.             ";
  222.                 }
  223.                 $_parent $context['_parent'];
  224.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
  225.                 $context array_intersect_key($context$_parent) + $_parent;
  226.                 // line 74
  227.                 echo "        </ul>
  228.     </div>
  229. </div> -->
  230. ";
  231.             }
  232.             // line 79
  233.             echo "
  234. ";
  235.         }
  236.         // line 82
  237.         echo "
  238. ";
  239.         // line 83
  240.         if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'83$this->source); })()), "displaySurvey", [], "any"falsefalsefalse83)) {
  241.             // line 84
  242.             echo "<div class=\"surveyDialog\" data-sm-init=\"true\">
  243.     <div class=\"title\">AIDEZ NOUS À MIEUX VOUS CONNAÎTRE</div>
  244.     <p style=\"\">Remplissez un court sondage pour nous aider à vous connaître.</p>
  245.     <div class=\"row\">
  246.       <div class=\"col-md-12\">
  247.           <br>
  248.          <div class=\"btn-group\">
  249.             <a href=\"";
  250.             // line 91
  251.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("survey", ["id" => 1]);
  252.             echo "\"  class=\"btn btn-success btn-block\"  style=\"background-color:green;\">Répondre</a>
  253.         </div>
  254.          <div class=\"btn-group\">
  255.             <a href=\"";
  256.             // line 94
  257.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("survey", ["id" => 2]);
  258.             echo "\"  class=\"btn btn-success btn-block\"  style=\"background-color:green;\">Plus-tard</a>
  259.         </div>
  260.          <div class=\"btn-group\">
  261.             <a href=\"";
  262.             // line 97
  263.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("survey", ["id" => 3]);
  264.             echo "\"  class=\"btn btn-success btn-block\" style=\"background-color:green;\">Ne plus afficher</a>
  265.         </div>
  266.       </div>
  267.     </div>
  268. </div>
  269. ";
  270.         }
  271.         // line 103
  272.         echo "
  273. ";
  274.         // line 104
  275.         $this->loadTemplate("frontend/menu_mobile.html.twig""frontend/base.html.twig"104)->display($context);
  276.         
  277.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  278.         
  279.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  280.     }
  281.     // line 8
  282.     public function block_styleContainer($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styleContainer"));
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styleContainer"));
  289.         
  290.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  291.         
  292.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  293.     }
  294.     // line 21
  295.     public function block_content($context, array $blocks = [])
  296.     {
  297.         $macros $this->macros;
  298.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  300.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  302.         
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  304.         
  305.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  306.     }
  307.     // line 106
  308.     public function block_mainJS($context, array $blocks = [])
  309.     {
  310.         $macros $this->macros;
  311.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  312.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainJS"));
  313.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  314.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainJS"));
  315.         // line 107
  316.         echo "
  317. ";
  318.         // line 109
  319.         $this->displayParentBlock("mainJS"$context$blocks);
  320.         echo "
  321. <script src=\"/assets/frontend/js/jquery-3.1.1.min.js\"></script>
  322. <script src=\"/assets/admin/plugins/notifyjs/js/notify.js\"></script>
  323. <script src=\"/assets/admin/plugins/notifications/notify-metro.js\"></script>
  324. <script src=\"/assets/admin/js/jquery.core.js\"></script>
  325. <script src=\"https://cdn.jsdelivr.net/npm/lazyload@2.0.0-rc.2/lazyload.js\"></script>
  326. <script>
  327.     \$(function() {
  328.         lazyload();
  329.         /*
  330.         \$('#flashMessages').find('.flashMessage').each(function(){
  331.             var type = \$(this).data('type');
  332.             if(type == 'focus'){
  333.                 var html = \$(this).text();
  334.                 var targetOffset= \$(html).offset().top;
  335.                 \$('html, body').animate({scrollTop: targetOffset}, 1000);
  336.             }else{
  337.                 \$.Notification.autoHideNotify(\$(this).data('type'),'bottom right','Informations', \$(this).text());
  338.             }
  339.         });
  340.          */
  341.     });
  342. </script>
  343. ";
  344.         
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  346.         
  347.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  348.     }
  349.     // line 134
  350.     public function block_mainCSS($context, array $blocks = [])
  351.     {
  352.         $macros $this->macros;
  353.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  354.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainCSS"));
  355.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainCSS"));
  357.         // line 135
  358.         $this->displayParentBlock("mainCSS"$context$blocks);
  359.         echo "
  360. <link href=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/plugin/css/slickmodal.min.css\" rel=\"stylesheet\" type=\"text/css\" />
  361. <link href=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/demos/css/carousel_slider.css\" rel=\"stylesheet\" type=\"text/css\" />
  362. ";
  363.         
  364.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  365.         
  366.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  367.     }
  368.     public function getTemplateName()
  369.     {
  370.         return "frontend/base.html.twig";
  371.     }
  372.     public function isTraitable()
  373.     {
  374.         return false;
  375.     }
  376.     public function getDebugInfo()
  377.     {
  378.         return array (  408 => 135,  398 => 134,  363 => 109,  359 => 107,  349 => 106,  331 => 21,  313 => 8,  303 => 104,  300 => 103,  291 => 97,  285 => 94,  279 => 91,  270 => 84,  268 => 83,  265 => 82,  260 => 79,  253 => 74,  246 => 72,  239 => 68,  236 => 67,  234 => 66,  230 => 65,  224 => 64,  218 => 63,  215 => 62,  211 => 61,  207 => 59,  200 => 54,  198 => 53,  175 => 32,  173 => 31,  170 => 30,  168 => 28,  165 => 27,  159 => 25,  157 => 24,  153 => 22,  150 => 21,  145 => 18,  139 => 16,  134 => 14,  129 => 13,  126 => 12,  123 => 11,  121 => 10,  119 => 9,  115 => 8,  111 => 6,  101 => 5,  83 => 3,  64 => 2,  41 => 1,);
  379.     }
  380.     public function getSourceContext()
  381.     {
  382.         return new Source("{% extends 'base.html.twig' %}
  383. {% block title %}Maturin{% endblock %}
  384. {% block JS %}
  385. {% endblock %}
  386. {% block body %}
  387. <div class=\"container-fluid\" style=\"background-color: white;\">
  388.     <div class=\"row\" >
  389.         <div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\" style=\"{% block styleContainer %}{% endblock %}\">
  390.             {% include 'menu.html.twig' %}
  391.            {#  {% include 'frontend/menu.html.twig' %}  #}
  392.           {% set current_path = app.request.get('_route') %}
  393.            {% if current_path != \"fos_user_security_login\" %}
  394.         {% if global.associationUserIsBrowsing %}  
  395.          {% include 'frontend/fullmenu.html.twig' %} 
  396.         {% else %}
  397.             {% include 'frontend/fullmenu.html.twig' %} 
  398.         {% endif %}
  399.               
  400.             {% endif %}
  401.             {% block content %}{% endblock %}
  402.         </div>
  403.     </div>
  404.     {% if page is not defined or forceFooter is defined or (page is defined and page.template == 'footer.html.twig') %}
  405.     {{ block('footer', 'Omelo/Templates/footer.html.twig') }}
  406.     {% endif %}
  407. </div>
  408. {% if global.displayStarterKits  %}
  409. {# Doing the modal for suggestions of products #}
  410. <!-- START COPYING -->
  411.     {% if not global.associationUserIsBrowsing %}
  412. <div class=\"carouselSlider\" data-sm-init=\"true\">
  413.     <div class=\"title\">OBTENEZ 10% SUR VOTRE PREMIER ACHAT</div>
  414.     <p style=\"\">Abonnez-vous à notre infolettre et recevez les suggestions que nous préparerons pour vous ainsi que des idées-repas.</p>
  415.     <div class=\"row\">
  416.       <div class=\"col-md-12\">
  417.         <form method=\"post\" action=\"/\">
  418.           <input type=\"hidden\" name=\"action\" value=\"newsletter_subscribe\">
  419.           <input type=\"text\" class=\"form-control\" name=\"newsletter_email\" placeholder=\"Entrez votre courriel\">
  420.           <br>
  421.           <button class=\"btn btn-success btn-block\">M'inscrire</button>
  422.         </form>
  423.       </div>
  424.     </div>
  425. </div>
  426. <!--
  427. <div class=\"carouselSlider\" data-sm-init=\"true\">
  428.     <div class=\"title\"><span>&star;</span>Ensembles découvertes<span>&star;</span></div>
  429.     <p style=\"\">Simplifiez-vous la vie sans compromis de qualité avec un ensemble découverte 100% local.</p>
  430.     {% if global.starterKits | length > 2 %}
  431.     <div class=\"actions\">
  432.         <button class=\"nav prev\">&larr;</button>
  433.         <button class=\"nav next\">&rarr;</button>
  434.     </div>
  435.     {% endif %}
  436.     <div class=\"carouselWrapper\">
  437.         <ul class=\"carouselList\" data-show=\"2\" data-padding=\"20\">
  438.             {% for p in global.starterKits %}
  439.             <li>
  440.                 <a href=\"{{path('viewProduct', {'producerUrl': p.product.company.UrlName, 'productName': p.product.UrlName, 'id': p.product.Id })}}\"><img src=\"{{path('getImageAsCroppedThumb', {'id': p.image.id, 'height': '100', 'width': '100'})}}\" style=\"width:auto!important;\"/></a>
  441.                 <a href=\"{{path('viewProduct', {'producerUrl': p.product.company.UrlName, 'productName': p.product.UrlName, 'id': p.product.Id })}}\" class=\"name\">{{p.product.nameWithDetails}}</a>
  442.                 <div class=\"price\" style=\"padding: 0px;\">{{p.product.displayPrice}}</div>
  443.                 {% if p.product.isSalable %}
  444.                 <br>
  445.                 <div class=\"button button-100 button-orange add-to-cart\" data-type=\"product\" data-id=\"{{p.product.id}}\" style=\"font-size: 12px;\">
  446.                    ACHETER
  447.                 </div>
  448.                 {% endif %}
  449.             </li>
  450.             {% endfor %}
  451.         </ul>
  452.     </div>
  453. </div> -->
  454. {% endif %}
  455. {% endif %}
  456. {% if global.displaySurvey  %}
  457. <div class=\"surveyDialog\" data-sm-init=\"true\">
  458.     <div class=\"title\">AIDEZ NOUS À MIEUX VOUS CONNAÎTRE</div>
  459.     <p style=\"\">Remplissez un court sondage pour nous aider à vous connaître.</p>
  460.     <div class=\"row\">
  461.       <div class=\"col-md-12\">
  462.           <br>
  463.          <div class=\"btn-group\">
  464.             <a href=\"{{path('survey',{id:1})}}\"  class=\"btn btn-success btn-block\"  style=\"background-color:green;\">Répondre</a>
  465.         </div>
  466.          <div class=\"btn-group\">
  467.             <a href=\"{{path('survey',{id:2})}}\"  class=\"btn btn-success btn-block\"  style=\"background-color:green;\">Plus-tard</a>
  468.         </div>
  469.          <div class=\"btn-group\">
  470.             <a href=\"{{path('survey',{id:3})}}\"  class=\"btn btn-success btn-block\" style=\"background-color:green;\">Ne plus afficher</a>
  471.         </div>
  472.       </div>
  473.     </div>
  474. </div>
  475. {% endif %}
  476. {% include 'frontend/menu_mobile.html.twig' %}
  477. {% endblock %}
  478. {% block mainJS %}
  479. {{parent()}}
  480. <script src=\"/assets/frontend/js/jquery-3.1.1.min.js\"></script>
  481. <script src=\"/assets/admin/plugins/notifyjs/js/notify.js\"></script>
  482. <script src=\"/assets/admin/plugins/notifications/notify-metro.js\"></script>
  483. <script src=\"/assets/admin/js/jquery.core.js\"></script>
  484. <script src=\"https://cdn.jsdelivr.net/npm/lazyload@2.0.0-rc.2/lazyload.js\"></script>
  485. <script>
  486.     \$(function() {
  487.         lazyload();
  488.         /*
  489.         \$('#flashMessages').find('.flashMessage').each(function(){
  490.             var type = \$(this).data('type');
  491.             if(type == 'focus'){
  492.                 var html = \$(this).text();
  493.                 var targetOffset= \$(html).offset().top;
  494.                 \$('html, body').animate({scrollTop: targetOffset}, 1000);
  495.             }else{
  496.                 \$.Notification.autoHideNotify(\$(this).data('type'),'bottom right','Informations', \$(this).text());
  497.             }
  498.         });
  499.          */
  500.     });
  501. </script>
  502. {% endblock %}
  503. {% block mainCSS %}
  504. {{parent()}}
  505. <link href=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/plugin/css/slickmodal.min.css\" rel=\"stylesheet\" type=\"text/css\" />
  506. <link href=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/demos/css/carousel_slider.css\" rel=\"stylesheet\" type=\"text/css\" />
  507. {% endblock %}
  508. ""frontend/base.html.twig""/var/www/html/Markego/templates/frontend/base.html.twig");
  509.     }
  510. }