var/cache/dev/twig/9d/9d592b172e07c8c5fe65983de5368861.php line 50

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/formation_live/index.html.twig */
  14. class __TwigTemplate_e7e6527bf97037a80b07d5d324df6996 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.             'bodyClass' => [$this'block_bodyClass'],
  24.             'content' => [$this'block_content'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/front.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/formation_live/index.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/formation_live/index.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/front.html.twig""front/formation_live/index.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_bodyClass($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  55.         echo "interne";
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.     }
  61.     // line 5
  62.     public function block_content($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  69.         // line 6
  70.         echo "    <section class=\"title-page\" style=\"background:url(";
  71.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" twig_get_attribute($this->env$this->sourcetwig_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.'6$this->source); })()), "live_bloc_title", [], "any"falsefalsefalse6), "image", [], "any"falsefalsefalse6))), "html"nulltrue);
  72.         echo ")\">
  73.         <div class=\"container\">
  74.             <div class=\"row\">
  75.                 <div class=\"head_page\">
  76.                     <div class=\"head\">  ";
  77.         // line 10
  78.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'10$this->source); })()), "live_bloc_title", [], "any"falsefalsefalse10), "title", [], "any"falsefalsefalse10), "html"nulltrue);
  79.         echo " </div>
  80.                     <div class=\"sperateur\"></div>
  81.                     <div class=\"sub_title\"> ";
  82.         // line 12
  83.         echo twig_get_attribute($this->env$this->sourcetwig_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.'12$this->source); })()), "live_bloc_title", [], "any"falsefalsefalse12), "description", [], "any"falsefalsefalse12);
  84.         echo "  </div>
  85.                 </div>
  86.                 <div class=\"arrows_head\">
  87.                     <a href=\"#\">
  88.                         <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  89.                              id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
  90.                              style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
  91.                     <g>
  92.                         <g>
  93.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  94.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  95.                         </g></svg>
  96.                     <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  97.                          id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
  98.                          xml:space=\"preserve\" fill=\"#fff\">
  99.                     <g>
  100.                         <g>
  101.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  102.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  103.                         </g></svg>
  104.                     </a>
  105.                 </div>
  106.             </div>
  107.         </div>
  108.     </section>
  109.     <section class=\"breadcumbs\">
  110.         <div class=\"container\">
  111.             <div class=\"row\">
  112.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formation en Live </a> > <a href=\"\"> Live </a>
  113.                 </div>
  114.             </div>
  115.         </div>
  116.     </section>
  117.     <section class=\"bloc1\">
  118.         <div class=\"container\">
  119.             <div class=\"row\">
  120.                 <div class=\"blocs\">
  121.                     <form id=\"filter\">
  122.                         <div class=\"colf\">
  123.                             <p class=\"title_filter\"> Vous recherchez ? </p>
  124.                         </div>
  125.                         <div class=\"colf\">
  126.                             <input id=\"keywords\" name=\"keywords\" type=\"text\" class=\"input\" placeholder=\"Mots clés..\"
  127.                                    value=\"";
  128.         // line 56
  129.         echo twig_escape_filter($this->envtwig_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.'56$this->source); })()), "request", [], "any"falsefalsefalse56), "get", [=> "keywords"=> ""], "method"falsefalsefalse56), "html"nulltrue);
  130.         echo "\">
  131.                         </div>
  132.                         <div class=\"colf\">
  133.                             <div id=\"date-picker-example\" class=\"md-form md-outline input-with-post-icon\">
  134.                                 <input name=\"date\" placeholder=\"Select date\" type=\"text\" id=\"date\"
  135.                                        class=\"form-control js-datepicker\" value=\"";
  136.         // line 61
  137.         echo twig_escape_filter($this->envtwig_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.'61$this->source); })()), "request", [], "any"falsefalsefalse61), "get", [=> "date"=> ""], "method"falsefalsefalse61), "html"nulltrue);
  138.         echo "\">
  139.                                 <i class=\"fa fa-calendar input-prefix\" tabindex=0></i>
  140.                             </div>
  141.                         </div>
  142.                         <div class=\"colf\">
  143.                             <button type=\"submit\" class=\"submit\" /><i class=\"icon icon-left-arrow gly-rotate\">  </i>  Rechercher</button>
  144.                         </div>
  145.                     </form>
  146.                 </div>
  147.             </div>
  148.         </div>
  149.     </section>
  150.     <section class=\"stage\">
  151.         <div class=\"container\">
  152.             <div class=\"row\">
  153.                 <h5 style=\"text-align: center;width: 60%;margin: auto;padding-bottom: 50px;\">Abonnez-vous aux abonnements Saco Education et souscrivez à l’option à 4€ par mois pour découvrir tous les live sur sacoeducation.com !</h5>
  154.                 <div class=\"stage_list\">
  155.                     ";
  156.         // line 78
  157.         if ((twig_length_filter($this->env, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'78$this->source); })())) > 0)) {
  158.             // line 79
  159.             echo "                        ";
  160.             $context['_parent'] = $context;
  161.             $context['_seq'] = twig_ensure_traversable((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'79$this->source); })()));
  162.             foreach ($context['_seq'] as $context["_key"] => $context["formation"]) {
  163.                 // line 80
  164.                 echo "                            <div class=\"forma forma_stage live\">
  165.                                 <div class=\"image\">
  166.                                     <a class=\"pointer_link\" href=\"";
  167.                 // line 82
  168.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_live_single", ["slug" => twig_get_attribute($this->env$this->source$context["formation"], "slug", [], "any"falsefalsefalse82)]), "html"nulltrue);
  169.                 echo "\"> </a>
  170.                                     <img src=\"";
  171.                 // line 83
  172.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" twig_get_attribute($this->env$this->source$context["formation"], "image", [], "any"falsefalsefalse83))), "html"nulltrue);
  173.                 echo "\">
  174.                                     <div class=\"formation_live\">
  175.                                         <div class=\"date_live\"> ";
  176.                 // line 85
  177.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->envtwig_get_attribute($this->env$this->source$context["formation"], "date", [], "any"falsefalsefalse85), "long""short"""null"gregorian""fr"), "html"nulltrue);
  178.                 echo " </div>
  179.                                         <div class=\"cat_live\"> #";
  180.                 // line 86
  181.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["formation"], "category", [], "any"falsefalsefalse86), "html"nulltrue);
  182.                 echo " </div>
  183.                                     </div>
  184.                                     <div class=\"bande_live\"> LIVE</div>
  185.                                 </div>
  186.                                 <div class=\"conten-formation\">
  187.                                     <div class=\"title-content-formation\"><a
  188.                                                 href=\"";
  189.                 // line 92
  190.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_live_single", ["slug" => twig_get_attribute($this->env$this->source$context["formation"], "slug", [], "any"falsefalsefalse92)]), "html"nulltrue);
  191.                 echo "\"> ";
  192.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["formation"], "coach", [], "any"falsefalsefalse92), "html"nulltrue);
  193.                 echo "  </a></div>
  194.                                     <div class=\"location\"><a href=\"";
  195.                 // line 93
  196.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_live_single", ["slug" => twig_get_attribute($this->env$this->source$context["formation"], "slug", [], "any"falsefalsefalse93)]), "html"nulltrue);
  197.                 echo "\"> ";
  198.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["formation"], "title", [], "any"falsefalsefalse93), "html"nulltrue);
  199.                 echo " </a></div>
  200.                                     <div class=\"sperateur\"></div>
  201.                                     <div class=\"expert\">";
  202.                 // line 95
  203.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env$this->source$context["formation"], "description", [], "any"falsefalsefalse95), 100), "html"nulltrue);
  204.                 echo "</div>
  205.                                 </div>
  206.                             </div>
  207.                         ";
  208.             }
  209.             $_parent $context['_parent'];
  210.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['formation'], $context['_parent'], $context['loop']);
  211.             $context array_intersect_key($context$_parent) + $_parent;
  212.             // line 99
  213.             echo "                    ";
  214.         } else {
  215.             // line 100
  216.             echo "                        <div class=\"alert alert-info\" role=\"alert\">
  217.                             <p>Aucun live n’est actuellement programmé, n’hésitez pas à consulter nos autres rubriques ! </p>
  218.                             <p> Restez connecté ou <a href=\"/connexion\"> inscrivez-vous </a> à notre newsletter <br> pour connaître les dates des prochains lives ! </p>
  219.                         </div>
  220.                     ";
  221.         }
  222.         // line 105
  223.         echo "                </div>
  224.             </div>
  225.             ";
  226.         // line 107
  227.         if ((twig_length_filter($this->env, (isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'107$this->source); })())) > 0)) {
  228.             // line 108
  229.             echo "                <div class=\"row\">
  230.                     <div class=\"link_actus\">
  231.                         <input type=\"hidden\" id=\"page\" value=\"";
  232.             // line 110
  233.             echo twig_escape_filter($this->env, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'110$this->source); })()), "html"nulltrue);
  234.             echo "\"/>
  235.                         <input type=\"hidden\" id=\"limit\" value=\"";
  236.             // line 111
  237.             echo twig_escape_filter($this->env, (isset($context["limit"]) || array_key_exists("limit"$context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.'111$this->source); })()), "html"nulltrue);
  238.             echo "\"/>
  239.                         <a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
  240.                         <img id=\"img-loading\" src=\"";
  241.             // line 113
  242.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/loading.gif"), "html"nulltrue);
  243.             echo "\" style=\"width: 80px; height: 80px; display: none;\">
  244.                     </div>
  245.                 </div>
  246.             ";
  247.         }
  248.         // line 117
  249.         echo "        </div>
  250.     </section>
  251.     ";
  252.         // line 120
  253.         if ((twig_length_filter($this->env, (isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'120$this->source); })())) > 0)) {
  254.             // line 121
  255.             echo "        <section class=\"actualite vidoes\">
  256.             <div class=\"container\">
  257.                 <div class=\"row section-head\">
  258.                     <h2 class=\"title\"> Découvrez aussi nos vidéos E-learning</h2>
  259.                     <div class=\"sperateur\"></div>
  260.                 </div>
  261.                 <div class=\"row\">
  262.                     <div class=\"list-actus live_video\">
  263.                         ";
  264.             // line 129
  265.             $context['_parent'] = $context;
  266.             $context['_seq'] = twig_ensure_traversable((isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'129$this->source); })()));
  267.             foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  268.                 // line 130
  269.                 echo "                            <div class=\"actus actus_video\">
  270.                                 <a class=\"pointer_link\" href=\"";
  271.                 // line 131
  272.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning_single", ["slug" => twig_get_attribute($this->env$this->source$context["video"], "slug", [], "any"falsefalsefalse131)]), "html"nulltrue);
  273.                 echo "\"> </a>
  274.                                 <div class=\"actus-img\" style=\"background:url('";
  275.                 // line 132
  276.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" twig_get_attribute($this->env$this->source$context["video"], "image", [], "any"falsefalsefalse132))), "html"nulltrue);
  277.                 echo "')\">
  278.                                     <video src=\"\"></video>
  279.                                 </div>
  280.                                 <div class=\"content-actus live_content\">
  281.                                     <div class=\"sous-titre\"><a href=\"";
  282.                 // line 136
  283.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning_single", ["slug" => twig_get_attribute($this->env$this->source$context["video"], "slug", [], "any"falsefalsefalse136)]), "html"nulltrue);
  284.                 echo "\"> ";
  285.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["video"], "title", [], "any"falsefalsefalse136), "html"nulltrue);
  286.                 echo " </a></div>
  287.                                     <div class=\"titre live_titre\"><a href=\"";
  288.                 // line 137
  289.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning_single", ["slug" => twig_get_attribute($this->env$this->source$context["video"], "slug", [], "any"falsefalsefalse137)]), "html"nulltrue);
  290.                 echo "\"> avec <b> ";
  291.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["video"], "coach", [], "any"falsefalsefalse137), "html"nulltrue);
  292.                 echo " </b> </a></div>
  293.                                     <div class=\"sperateur\"></div>
  294.                                     <div class=\"expert\">";
  295.                 // line 139
  296.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env$this->source$context["video"], "description", [], "any"falsefalsefalse139), 100), "html"nulltrue);
  297.                 echo "</div>
  298.                                 </div>
  299.                             </div>
  300.                         ";
  301.             }
  302.             $_parent $context['_parent'];
  303.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  304.             $context array_intersect_key($context$_parent) + $_parent;
  305.             // line 143
  306.             echo "                    </div>
  307.                 </div>
  308.                 <div class=\"row\">
  309.                     <div class=\"link_actus\">
  310.                         <a href=\"";
  311.             // line 147
  312.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning");
  313.             echo "\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Toutes nos vidéos E-learning </a>
  314.                     </div>
  315.                 </div>
  316.             </div>
  317.         </section>
  318.     ";
  319.         }
  320.         // line 153
  321.         echo "
  322. ";
  323.         
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  325.         
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  327.     }
  328.     // line 156
  329.     public function block_javascripts($context, array $blocks = [])
  330.     {
  331.         $macros $this->macros;
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  334.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  335.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  336.         // line 157
  337.         echo "    ";
  338.         $this->displayParentBlock("javascripts"$context$blocks);
  339.         echo "
  340.     <script type=\"text/javascript\">
  341.         \$(function () {
  342.             \$('#load-more').on('click', function (e) {
  343.                 e.preventDefault();
  344.                 \$('#load-more').hide();
  345.                 \$('#img-loading').show();
  346.                 \$.ajax({
  347.                     url: Routing.generate('page_nos_formations_live_paginate'),
  348.                     data: {
  349.                         'page': \$('#page').val(),
  350.                         'limit': \$('#limit').val(),
  351.                         'keywords': \$('#keywords').val(),
  352.                         'date': \$('#date').val(),
  353.                     },
  354.                     success: function (html) {
  355.                         if (html != '') {
  356.                             \$('.stage_list').append(html);
  357.                             var page = parseInt(\$('#page').val()) + 1;
  358.                             \$('#page').val(page);
  359.                             \$('#load-more').show();
  360.                         }
  361.                         \$('#img-loading').hide();
  362.                     }
  363.                 });
  364.             });
  365.         });
  366.     </script>
  367. ";
  368.         
  369.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  370.         
  371.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  372.     }
  373.     public function getTemplateName()
  374.     {
  375.         return "front/formation_live/index.html.twig";
  376.     }
  377.     public function isTraitable()
  378.     {
  379.         return false;
  380.     }
  381.     public function getDebugInfo()
  382.     {
  383.         return array (  363 => 157,  353 => 156,  342 => 153,  333 => 147,  327 => 143,  317 => 139,  310 => 137,  304 => 136,  297 => 132,  293 => 131,  290 => 130,  286 => 129,  276 => 121,  274 => 120,  269 => 117,  262 => 113,  257 => 111,  253 => 110,  249 => 108,  247 => 107,  243 => 105,  236 => 100,  233 => 99,  223 => 95,  216 => 93,  210 => 92,  201 => 86,  197 => 85,  192 => 83,  188 => 82,  184 => 80,  179 => 79,  177 => 78,  157 => 61,  149 => 56,  102 => 12,  97 => 10,  89 => 6,  79 => 5,  60 => 3,  37 => 1,);
  384.     }
  385.     public function getSourceContext()
  386.     {
  387.         return new Source("{% extends 'layouts/front.html.twig' %}
  388. {% block bodyClass %}interne{% endblock %}
  389. {% block content %}
  390.     <section class=\"title-page\" style=\"background:url({{ asset('uploads/'~blocs.live_bloc_title.image) }})\">
  391.         <div class=\"container\">
  392.             <div class=\"row\">
  393.                 <div class=\"head_page\">
  394.                     <div class=\"head\">  {{ blocs.live_bloc_title.title }} </div>
  395.                     <div class=\"sperateur\"></div>
  396.                     <div class=\"sub_title\"> {{ blocs.live_bloc_title.description|raw }}  </div>
  397.                 </div>
  398.                 <div class=\"arrows_head\">
  399.                     <a href=\"#\">
  400.                         <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  401.                              id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
  402.                              style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
  403.                     <g>
  404.                         <g>
  405.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  406.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  407.                         </g></svg>
  408.                     <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  409.                          id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
  410.                          xml:space=\"preserve\" fill=\"#fff\">
  411.                     <g>
  412.                         <g>
  413.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  414.                                   d=\"M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z\"/>
  415.                         </g></svg>
  416.                     </a>
  417.                 </div>
  418.             </div>
  419.         </div>
  420.     </section>
  421.     <section class=\"breadcumbs\">
  422.         <div class=\"container\">
  423.             <div class=\"row\">
  424.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formation en Live </a> > <a href=\"\"> Live </a>
  425.                 </div>
  426.             </div>
  427.         </div>
  428.     </section>
  429.     <section class=\"bloc1\">
  430.         <div class=\"container\">
  431.             <div class=\"row\">
  432.                 <div class=\"blocs\">
  433.                     <form id=\"filter\">
  434.                         <div class=\"colf\">
  435.                             <p class=\"title_filter\"> Vous recherchez ? </p>
  436.                         </div>
  437.                         <div class=\"colf\">
  438.                             <input id=\"keywords\" name=\"keywords\" type=\"text\" class=\"input\" placeholder=\"Mots clés..\"
  439.                                    value=\"{{ app.request.get('keywords', '') }}\">
  440.                         </div>
  441.                         <div class=\"colf\">
  442.                             <div id=\"date-picker-example\" class=\"md-form md-outline input-with-post-icon\">
  443.                                 <input name=\"date\" placeholder=\"Select date\" type=\"text\" id=\"date\"
  444.                                        class=\"form-control js-datepicker\" value=\"{{ app.request.get('date', '') }}\">
  445.                                 <i class=\"fa fa-calendar input-prefix\" tabindex=0></i>
  446.                             </div>
  447.                         </div>
  448.                         <div class=\"colf\">
  449.                             <button type=\"submit\" class=\"submit\" /><i class=\"icon icon-left-arrow gly-rotate\">  </i>  Rechercher</button>
  450.                         </div>
  451.                     </form>
  452.                 </div>
  453.             </div>
  454.         </div>
  455.     </section>
  456.     <section class=\"stage\">
  457.         <div class=\"container\">
  458.             <div class=\"row\">
  459.                 <h5 style=\"text-align: center;width: 60%;margin: auto;padding-bottom: 50px;\">Abonnez-vous aux abonnements Saco Education et souscrivez à l’option à 4€ par mois pour découvrir tous les live sur sacoeducation.com !</h5>
  460.                 <div class=\"stage_list\">
  461.                     {% if formations|length > 0 %}
  462.                         {% for formation in formations %}
  463.                             <div class=\"forma forma_stage live\">
  464.                                 <div class=\"image\">
  465.                                     <a class=\"pointer_link\" href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> </a>
  466.                                     <img src=\"{{ asset('uploads/'~formation.image) }}\">
  467.                                     <div class=\"formation_live\">
  468.                                         <div class=\"date_live\"> {{ formation.date|format_datetime('long', 'short', locale='fr') }} </div>
  469.                                         <div class=\"cat_live\"> #{{ formation.category }} </div>
  470.                                     </div>
  471.                                     <div class=\"bande_live\"> LIVE</div>
  472.                                 </div>
  473.                                 <div class=\"conten-formation\">
  474.                                     <div class=\"title-content-formation\"><a
  475.                                                 href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> {{ formation.coach }}  </a></div>
  476.                                     <div class=\"location\"><a href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> {{ formation.title }} </a></div>
  477.                                     <div class=\"sperateur\"></div>
  478.                                     <div class=\"expert\">{{ formation.description|excerpt(100) }}</div>
  479.                                 </div>
  480.                             </div>
  481.                         {% endfor %}
  482.                     {% else %}
  483.                         <div class=\"alert alert-info\" role=\"alert\">
  484.                             <p>Aucun live n’est actuellement programmé, n’hésitez pas à consulter nos autres rubriques ! </p>
  485.                             <p> Restez connecté ou <a href=\"/connexion\"> inscrivez-vous </a> à notre newsletter <br> pour connaître les dates des prochains lives ! </p>
  486.                         </div>
  487.                     {% endif %}
  488.                 </div>
  489.             </div>
  490.             {% if formations|length > 0 %}
  491.                 <div class=\"row\">
  492.                     <div class=\"link_actus\">
  493.                         <input type=\"hidden\" id=\"page\" value=\"{{ page }}\"/>
  494.                         <input type=\"hidden\" id=\"limit\" value=\"{{ limit }}\"/>
  495.                         <a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
  496.                         <img id=\"img-loading\" src=\"{{ asset('build/images/loading.gif') }}\" style=\"width: 80px; height: 80px; display: none;\">
  497.                     </div>
  498.                 </div>
  499.             {% endif %}
  500.         </div>
  501.     </section>
  502.     {% if videos|length > 0 %}
  503.         <section class=\"actualite vidoes\">
  504.             <div class=\"container\">
  505.                 <div class=\"row section-head\">
  506.                     <h2 class=\"title\"> Découvrez aussi nos vidéos E-learning</h2>
  507.                     <div class=\"sperateur\"></div>
  508.                 </div>
  509.                 <div class=\"row\">
  510.                     <div class=\"list-actus live_video\">
  511.                         {% for video in videos %}
  512.                             <div class=\"actus actus_video\">
  513.                                 <a class=\"pointer_link\" href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> </a>
  514.                                 <div class=\"actus-img\" style=\"background:url('{{ asset('uploads/'~video.image) }}')\">
  515.                                     <video src=\"\"></video>
  516.                                 </div>
  517.                                 <div class=\"content-actus live_content\">
  518.                                     <div class=\"sous-titre\"><a href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> {{ video.title }} </a></div>
  519.                                     <div class=\"titre live_titre\"><a href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> avec <b> {{ video.coach }} </b> </a></div>
  520.                                     <div class=\"sperateur\"></div>
  521.                                     <div class=\"expert\">{{ video.description|excerpt(100) }}</div>
  522.                                 </div>
  523.                             </div>
  524.                         {% endfor %}
  525.                     </div>
  526.                 </div>
  527.                 <div class=\"row\">
  528.                     <div class=\"link_actus\">
  529.                         <a href=\"{{ path('page_elearning') }}\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Toutes nos vidéos E-learning </a>
  530.                     </div>
  531.                 </div>
  532.             </div>
  533.         </section>
  534.     {% endif %}
  535. {% endblock %}
  536. {% block javascripts %}
  537.     {{ parent() }}
  538.     <script type=\"text/javascript\">
  539.         \$(function () {
  540.             \$('#load-more').on('click', function (e) {
  541.                 e.preventDefault();
  542.                 \$('#load-more').hide();
  543.                 \$('#img-loading').show();
  544.                 \$.ajax({
  545.                     url: Routing.generate('page_nos_formations_live_paginate'),
  546.                     data: {
  547.                         'page': \$('#page').val(),
  548.                         'limit': \$('#limit').val(),
  549.                         'keywords': \$('#keywords').val(),
  550.                         'date': \$('#date').val(),
  551.                     },
  552.                     success: function (html) {
  553.                         if (html != '') {
  554.                             \$('.stage_list').append(html);
  555.                             var page = parseInt(\$('#page').val()) + 1;
  556.                             \$('#page').val(page);
  557.                             \$('#load-more').show();
  558.                         }
  559.                         \$('#img-loading').hide();
  560.                     }
  561.                 });
  562.             });
  563.         });
  564.     </script>
  565. {% endblock %}""front/formation_live/index.html.twig""/home/saco/subdomains/preprod/templates/front/formation_live/index.html.twig");
  566.     }
  567. }