var/cache/dev/twig/55/55a97cc394f969627a5d321baaf8a2d1.php line 40

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/elearning/index.html.twig */
  14. class __TwigTemplate_789074b9c45bfab62ed6c9c3e5809c8f 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/elearning/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/elearning/index.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/front.html.twig""front/elearning/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 cours-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); })()), "e_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); })()), "e_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); })()), "e_bloc_title", [], "any"falsefalsefalse12), "description", [], "any"falsefalsefalse12);
  84.         echo "  </div>
  85.                     <!--<div class=\"acces\">
  86.                         <a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> E-mail </a>
  87.                         <a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Code d’accès Premium </a>
  88.                     </div>-->
  89.                 </div>
  90.                 <div class=\"arrows_head\">
  91.                 </div>
  92.             </div>
  93.         </div>
  94.     </section>
  95.     <section class=\"breadcumbs\">
  96.         <div class=\"container\">
  97.             <div class=\"row\">
  98.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> E-Learning </a></div>
  99.             </div>
  100.         </div>
  101.     </section>
  102.     <section class=\"section-tags\">
  103.         <div class=\"container\">
  104.             <div class=\"row section-head\">
  105.                 <h2 class=\"title\"> Vous recherchez ? </h2>
  106.                 <div class=\"sperateur\"></div>
  107.             </div>
  108.             <div class=\"row\">
  109.                 <div class=\"filter-items\">
  110.                     <a href=\"";
  111.         // line 40
  112.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning");
  113.         echo "\"
  114.                        ";
  115.         // line 41
  116.         if (("" == 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.'41$this->source); })()), "request", [], "any"falsefalsefalse41), "get", [=> "category"], "method"falsefalsefalse41))) {
  117.             echo "class=\"active\"";
  118.         }
  119.         echo "> ALL</a>
  120.                     ";
  121.         // line 42
  122.         $context['_parent'] = $context;
  123.         $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'42$this->source); })()));
  124.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  125.             // line 43
  126.             echo "                        <a href=\"";
  127.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning", ["category" => twig_get_attribute($this->env$this->source$context["category"], "slug", [], "any"falsefalsefalse43)]), "html"nulltrue);
  128.             echo "\"
  129.                            ";
  130.             // line 44
  131.             if ((twig_get_attribute($this->env$this->source$context["category"], "slug", [], "any"falsefalsefalse44) == 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.'44$this->source); })()), "request", [], "any"falsefalsefalse44), "get", [=> "category"=> ""], "method"falsefalsefalse44))) {
  132.                 echo "class=\"active\"";
  133.             }
  134.             echo "> ";
  135.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "libelle", [], "any"falsefalsefalse44), "html"nulltrue);
  136.             echo "</a>
  137.                     ";
  138.         }
  139.         $_parent $context['_parent'];
  140.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  141.         $context array_intersect_key($context$_parent) + $_parent;
  142.         // line 46
  143.         echo "                </div>
  144.             </div>
  145.             <div class=\"row\">
  146.                 <div class=\"stage_list learning_item\">
  147.                     ";
  148.         // line 50
  149.         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.'50$this->source); })())) > 0)) {
  150.             // line 51
  151.             echo "                        ";
  152.             $context['_parent'] = $context;
  153.             $context['_seq'] = twig_ensure_traversable((isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'51$this->source); })()));
  154.             foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  155.                 // line 52
  156.                 echo "                            <div class=\"forma forma_stage live forma_coach learning-item_bloc\">
  157.                                 <div class=\"image\"><a class=\"pointer_link\" href=\"";
  158.                 // line 53
  159.                 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"falsefalsefalse53)]), "html"nulltrue);
  160.                 echo "\"> </a>
  161.                                     <img src=\"";
  162.                 // line 54
  163.                 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"falsefalsefalse54))), "html"nulltrue);
  164.                 echo "\">
  165.                                     <div class=\"formation_live coach\">
  166.                                         <div class=\"cat_live\"> #";
  167.                 // line 56
  168.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["video"], "category", [], "any"falsefalsefalse56), "html"nulltrue);
  169.                 echo "</div>
  170.                                     </div>
  171.                                 </div>
  172.                                 <div class=\"conten-formation\">
  173.                                     <div class=\"title-content-formation\">
  174.                                         <a href=\"";
  175.                 // line 61
  176.                 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"falsefalsefalse61)]), "html"nulltrue);
  177.                 echo "\">";
  178.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["video"], "title", [], "any"falsefalsefalse61), "html"nulltrue);
  179.                 echo "</a>
  180.                                     </div>
  181.                                     <div class=\"location\">
  182.                                         <a href=\"";
  183.                 // line 64
  184.                 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"falsefalsefalse64)]), "html"nulltrue);
  185.                 echo "\"> avec <b> ";
  186.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["video"], "coach", [], "any"falsefalsefalse64), "html"nulltrue);
  187.                 echo " </b> </a>
  188.                                     </div>
  189.                                     <div class=\"sperateur\"></div>
  190.                                     <div class=\"expert\">";
  191.                 // line 67
  192.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env$this->source$context["video"], "description", [], "any"falsefalsefalse67), 100), "html"nulltrue);
  193.                 echo "</div>
  194.                                 </div>
  195.                             </div>
  196.                         ";
  197.             }
  198.             $_parent $context['_parent'];
  199.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  200.             $context array_intersect_key($context$_parent) + $_parent;
  201.             // line 71
  202.             echo "                    ";
  203.         } else {
  204.             // line 72
  205.             echo "                        <div class=\"alert alert-info\" role=\"alert\">
  206.                             Pas de vidéos disponible pour le moment.
  207.                         </div>
  208.                     ";
  209.         }
  210.         // line 76
  211.         echo "                </div>
  212.             </div>
  213.             ";
  214.         // line 78
  215.         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.'78$this->source); })())) > 0)) {
  216.             // line 79
  217.             echo "                <div class=\"row\">
  218.                     <div class=\"link_actus\">
  219.                         <input type=\"hidden\" id=\"page\" value=\"";
  220.             // line 81
  221.             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.'81$this->source); })()), "html"nulltrue);
  222.             echo "\"/>
  223.                         <input type=\"hidden\" id=\"limit\" value=\"";
  224.             // line 82
  225.             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.'82$this->source); })()), "html"nulltrue);
  226.             echo "\"/>
  227.                         <a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
  228.                         <img id=\"img-loading\" src=\"";
  229.             // line 84
  230.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/loading.gif"), "html"nulltrue);
  231.             echo "\" style=\"width: 80px; height: 80px; display: none;\">
  232.                     </div>
  233.                 </div>
  234.             ";
  235.         }
  236.         // line 88
  237.         echo "        </div>
  238.     </section>
  239.     <section class=\"learning-abone\" style=\"background:url(";
  240.         // line 91
  241.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/fond-learning1.jpg"), "html"nulltrue);
  242.         echo ")\">
  243.         <div class=\"container\">
  244.             <div class=\"row\">
  245.                 <div class=\"demo_elearning\">
  246.                     <div class=\"col-md-5 col-sm-5 col-xs-12 learning-abone-after\"></div>
  247.                     <div class=\"col-md-7 col-sm-7 col-xs-12\">
  248.                         <h2> ";
  249.         // line 97
  250.         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.'97$this->source); })()), "e_bloc_abonnement", [], "any"falsefalsefalse97), "title", [], "any"falsefalsefalse97), "html"nulltrue);
  251.         echo " </h2>
  252.                         <div class=\"sperateur\"></div>
  253.                         <div class=\"texte-video\">
  254.                             <p> ";
  255.         // line 100
  256.         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.'100$this->source); })()), "e_bloc_abonnement", [], "any"falsefalsefalse100), "description", [], "any"falsefalsefalse100);
  257.         echo " </p>
  258.                         </div>
  259.                         <a href=\"";
  260.         // line 102
  261.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_abonnnements_elearning");
  262.         echo "\" class=\"btn\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Nos abonnements </a>
  263.                     </div>
  264.                 </div>
  265.             </div>
  266.         </div>
  267.     </section>
  268.     ";
  269.         // line 109
  270.         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.'109$this->source); })())) > 0)) {
  271.             // line 110
  272.             echo "        <section class=\"actualite vidoes\">
  273.             <div class=\"container\">
  274.                 <div class=\"row section-head\">
  275.                     <h2 class=\"title\">Découvrez aussi nos formations Live </h2>
  276.                     <div class=\"sperateur\"></div>
  277.                 </div>
  278.                 <div class=\"row\">
  279.                     <div class=\"list-actus live_video\">
  280.                         ";
  281.             // line 118
  282.             $context['_parent'] = $context;
  283.             $context['_seq'] = twig_ensure_traversable((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'118$this->source); })()));
  284.             foreach ($context['_seq'] as $context["_key"] => $context["formation"]) {
  285.                 // line 119
  286.                 echo "                            <div class=\"forma forma_stage live\">
  287.                                 <div class=\"image\">
  288.                                     <a class=\"pointer_link\" href=\"";
  289.                 // line 121
  290.                 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"falsefalsefalse121)]), "html"nulltrue);
  291.                 echo "\"> </a>
  292.                                     <img src=\"";
  293.                 // line 122
  294.                 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"falsefalsefalse122))), "html"nulltrue);
  295.                 echo "\">
  296.                                     <div class=\"bande_live\"> LIVE</div>
  297.                                 </div>
  298.                                 <div class=\"conten-formation\">
  299.                                     <div class=\"title-content-formation\"><a
  300.                                                 href=\"";
  301.                 // line 127
  302.                 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"falsefalsefalse127)]), "html"nulltrue);
  303.                 echo "\"> ";
  304.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["formation"], "coach", [], "any"falsefalsefalse127), "html"nulltrue);
  305.                 echo " </a></div>
  306.                                     <div class=\"location\"><a href=\"";
  307.                 // line 128
  308.                 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"falsefalsefalse128)]), "html"nulltrue);
  309.                 echo "\"> Live Modern Salon </a></div>
  310.                                     <div class=\"sperateur\"></div>
  311.                                     <div class=\"expert\">Description de la formation ou une petite
  312.                                         présentation du formateur Lorem ipsum dolore iusmod tempor incididunt ...
  313.                                     </div>
  314.                                 </div>
  315.                             </div>
  316.                         ";
  317.             }
  318.             $_parent $context['_parent'];
  319.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['formation'], $context['_parent'], $context['loop']);
  320.             $context array_intersect_key($context$_parent) + $_parent;
  321.             // line 136
  322.             echo "                    </div>
  323.                 </div>
  324.                 <div class=\"row\">
  325.                     <div class=\"link_actus\">
  326.                         <a href=\"";
  327.             // line 140
  328.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_nos_formations_live");
  329.             echo "\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Tous les lives </a>
  330.                     </div>
  331.                 </div>
  332.             </div>
  333.         </section>
  334.     ";
  335.         }
  336.         // line 146
  337.         echo "
  338. ";
  339.         
  340.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  341.         
  342.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  343.     }
  344.     // line 149
  345.     public function block_javascripts($context, array $blocks = [])
  346.     {
  347.         $macros $this->macros;
  348.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  349.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  350.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  351.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  352.         // line 150
  353.         echo "    ";
  354.         $this->displayParentBlock("javascripts"$context$blocks);
  355.         echo "
  356.     <script type=\"text/javascript\">
  357.         \$(function () {
  358.             \$('#load-more').on('click', function (e) {
  359.                 e.preventDefault();
  360.                 \$('#load-more').hide();
  361.                 \$('#img-loading').show();
  362.                 \$.ajax({
  363.                     url: Routing.generate('page_elearning_paginate'),
  364.                     data: {
  365.                         'page': \$('#page').val(),
  366.                         'limit': \$('#limit').val(),
  367.                         'keywords': \$('#keywords').val(),
  368.                         'date': \$('#date').val(),
  369.                         'category': '";
  370.         // line 165
  371.         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.'165$this->source); })()), "request", [], "any"falsefalsefalse165), "get", [=> "category"], "method"falsefalsefalse165), "html"nulltrue);
  372.         echo "'
  373.                     },
  374.                     success: function (html) {
  375.                         if (html != '') {
  376.                             \$('.stage_list').append(html);
  377.                             var page = parseInt(\$('#page').val()) + 1;
  378.                             \$('#page').val(page);
  379.                             \$('#load-more').show();
  380.                         }
  381.                         \$('#img-loading').hide();
  382.                     }
  383.                 });
  384.             });
  385.         });
  386.     </script>
  387. ";
  388.         
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  390.         
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  392.     }
  393.     public function getTemplateName()
  394.     {
  395.         return "front/elearning/index.html.twig";
  396.     }
  397.     public function isTraitable()
  398.     {
  399.         return false;
  400.     }
  401.     public function getDebugInfo()
  402.     {
  403.         return array (  400 => 165,  381 => 150,  371 => 149,  360 => 146,  351 => 140,  345 => 136,  331 => 128,  325 => 127,  317 => 122,  313 => 121,  309 => 119,  305 => 118,  295 => 110,  293 => 109,  283 => 102,  278 => 100,  272 => 97,  263 => 91,  258 => 88,  251 => 84,  246 => 82,  242 => 81,  238 => 79,  236 => 78,  232 => 76,  226 => 72,  223 => 71,  213 => 67,  205 => 64,  197 => 61,  189 => 56,  184 => 54,  180 => 53,  177 => 52,  172 => 51,  170 => 50,  164 => 46,  152 => 44,  147 => 43,  143 => 42,  137 => 41,  133 => 40,  102 => 12,  97 => 10,  89 => 6,  79 => 5,  60 => 3,  37 => 1,);
  404.     }
  405.     public function getSourceContext()
  406.     {
  407.         return new Source("{% extends 'layouts/front.html.twig' %}
  408. {% block bodyClass %}interne{% endblock %}
  409. {% block content %}
  410.     <section class=\"title-page cours-page\" style=\"background:url({{ asset('uploads/'~blocs.e_bloc_title.image) }})\">
  411.         <div class=\"container\">
  412.             <div class=\"row\">
  413.                 <div class=\"head_page\">
  414.                     <div class=\"head\">  {{ blocs.e_bloc_title.title }} </div>
  415.                     <div class=\"sperateur\"></div>
  416.                     <div class=\"sub_title\"> {{ blocs.e_bloc_title.description|raw }}  </div>
  417.                     <!--<div class=\"acces\">
  418.                         <a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> E-mail </a>
  419.                         <a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Code d’accès Premium </a>
  420.                     </div>-->
  421.                 </div>
  422.                 <div class=\"arrows_head\">
  423.                 </div>
  424.             </div>
  425.         </div>
  426.     </section>
  427.     <section class=\"breadcumbs\">
  428.         <div class=\"container\">
  429.             <div class=\"row\">
  430.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> E-Learning </a></div>
  431.             </div>
  432.         </div>
  433.     </section>
  434.     <section class=\"section-tags\">
  435.         <div class=\"container\">
  436.             <div class=\"row section-head\">
  437.                 <h2 class=\"title\"> Vous recherchez ? </h2>
  438.                 <div class=\"sperateur\"></div>
  439.             </div>
  440.             <div class=\"row\">
  441.                 <div class=\"filter-items\">
  442.                     <a href=\"{{ path('page_elearning') }}\"
  443.                        {% if '' == app.request.get('category') %}class=\"active\"{% endif %}> ALL</a>
  444.                     {% for category in categories %}
  445.                         <a href=\"{{ path('page_elearning', {'category': category.slug}) }}\"
  446.                            {% if category.slug == app.request.get('category', '') %}class=\"active\"{% endif %}> {{ category.libelle }}</a>
  447.                     {% endfor %}
  448.                 </div>
  449.             </div>
  450.             <div class=\"row\">
  451.                 <div class=\"stage_list learning_item\">
  452.                     {% if videos|length > 0 %}
  453.                         {% for video in videos %}
  454.                             <div class=\"forma forma_stage live forma_coach learning-item_bloc\">
  455.                                 <div class=\"image\"><a class=\"pointer_link\" href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> </a>
  456.                                     <img src=\"{{ asset('uploads/'~video.image) }}\">
  457.                                     <div class=\"formation_live coach\">
  458.                                         <div class=\"cat_live\"> #{{ video.category }}</div>
  459.                                     </div>
  460.                                 </div>
  461.                                 <div class=\"conten-formation\">
  462.                                     <div class=\"title-content-formation\">
  463.                                         <a href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\">{{ video.title }}</a>
  464.                                     </div>
  465.                                     <div class=\"location\">
  466.                                         <a href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> avec <b> {{ video.coach }} </b> </a>
  467.                                     </div>
  468.                                     <div class=\"sperateur\"></div>
  469.                                     <div class=\"expert\">{{ video.description|excerpt(100) }}</div>
  470.                                 </div>
  471.                             </div>
  472.                         {% endfor %}
  473.                     {% else %}
  474.                         <div class=\"alert alert-info\" role=\"alert\">
  475.                             Pas de vidéos disponible pour le moment.
  476.                         </div>
  477.                     {% endif %}
  478.                 </div>
  479.             </div>
  480.             {% if videos|length > 0 %}
  481.                 <div class=\"row\">
  482.                     <div class=\"link_actus\">
  483.                         <input type=\"hidden\" id=\"page\" value=\"{{ page }}\"/>
  484.                         <input type=\"hidden\" id=\"limit\" value=\"{{ limit }}\"/>
  485.                         <a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
  486.                         <img id=\"img-loading\" src=\"{{ asset('build/images/loading.gif') }}\" style=\"width: 80px; height: 80px; display: none;\">
  487.                     </div>
  488.                 </div>
  489.             {% endif %}
  490.         </div>
  491.     </section>
  492.     <section class=\"learning-abone\" style=\"background:url({{ asset('build/images/fond-learning1.jpg') }})\">
  493.         <div class=\"container\">
  494.             <div class=\"row\">
  495.                 <div class=\"demo_elearning\">
  496.                     <div class=\"col-md-5 col-sm-5 col-xs-12 learning-abone-after\"></div>
  497.                     <div class=\"col-md-7 col-sm-7 col-xs-12\">
  498.                         <h2> {{ blocs.e_bloc_abonnement.title }} </h2>
  499.                         <div class=\"sperateur\"></div>
  500.                         <div class=\"texte-video\">
  501.                             <p> {{ blocs.e_bloc_abonnement.description|raw }} </p>
  502.                         </div>
  503.                         <a href=\"{{ path('page_abonnnements_elearning') }}\" class=\"btn\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Nos abonnements </a>
  504.                     </div>
  505.                 </div>
  506.             </div>
  507.         </div>
  508.     </section>
  509.     {% if formations|length > 0 %}
  510.         <section class=\"actualite vidoes\">
  511.             <div class=\"container\">
  512.                 <div class=\"row section-head\">
  513.                     <h2 class=\"title\">Découvrez aussi nos formations Live </h2>
  514.                     <div class=\"sperateur\"></div>
  515.                 </div>
  516.                 <div class=\"row\">
  517.                     <div class=\"list-actus live_video\">
  518.                         {% for formation in formations %}
  519.                             <div class=\"forma forma_stage live\">
  520.                                 <div class=\"image\">
  521.                                     <a class=\"pointer_link\" href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> </a>
  522.                                     <img src=\"{{ asset('uploads/'~formation.image) }}\">
  523.                                     <div class=\"bande_live\"> LIVE</div>
  524.                                 </div>
  525.                                 <div class=\"conten-formation\">
  526.                                     <div class=\"title-content-formation\"><a
  527.                                                 href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> {{ formation.coach }} </a></div>
  528.                                     <div class=\"location\"><a href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> Live Modern Salon </a></div>
  529.                                     <div class=\"sperateur\"></div>
  530.                                     <div class=\"expert\">Description de la formation ou une petite
  531.                                         présentation du formateur Lorem ipsum dolore iusmod tempor incididunt ...
  532.                                     </div>
  533.                                 </div>
  534.                             </div>
  535.                         {% endfor %}
  536.                     </div>
  537.                 </div>
  538.                 <div class=\"row\">
  539.                     <div class=\"link_actus\">
  540.                         <a href=\"{{ path('page_nos_formations_live') }}\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Tous les lives </a>
  541.                     </div>
  542.                 </div>
  543.             </div>
  544.         </section>
  545.     {% endif %}
  546. {% endblock %}
  547. {% block javascripts %}
  548.     {{ parent() }}
  549.     <script type=\"text/javascript\">
  550.         \$(function () {
  551.             \$('#load-more').on('click', function (e) {
  552.                 e.preventDefault();
  553.                 \$('#load-more').hide();
  554.                 \$('#img-loading').show();
  555.                 \$.ajax({
  556.                     url: Routing.generate('page_elearning_paginate'),
  557.                     data: {
  558.                         'page': \$('#page').val(),
  559.                         'limit': \$('#limit').val(),
  560.                         'keywords': \$('#keywords').val(),
  561.                         'date': \$('#date').val(),
  562.                         'category': '{{ app.request.get('category') }}'
  563.                     },
  564.                     success: function (html) {
  565.                         if (html != '') {
  566.                             \$('.stage_list').append(html);
  567.                             var page = parseInt(\$('#page').val()) + 1;
  568.                             \$('#page').val(page);
  569.                             \$('#load-more').show();
  570.                         }
  571.                         \$('#img-loading').hide();
  572.                     }
  573.                 });
  574.             });
  575.         });
  576.     </script>
  577. {% endblock %}""front/elearning/index.html.twig""/home/saco/subdomains/preprod/templates/front/elearning/index.html.twig");
  578.     }
  579. }