var/cache/dev/twig/f8/f82896f77b7c6572b5e9454dc909cb15.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_coaching/index.html.twig */
  14. class __TwigTemplate_3eee2d0fa9e7fe7a9ceff69f02dc2941 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_coaching/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_coaching/index.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/front.html.twig""front/formation_coaching/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 coach-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); })()), "coaching_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); })()), "coaching_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); })()), "coaching_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;\"
  91.                              xml:space=\"preserve\" fill=\"#fff\">
  92.                     <g>
  93.                         <g>
  94.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  95.                                   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\"/>
  96.                         </g></svg>
  97.                     <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  98.                          id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
  99.                          xml:space=\"preserve\" fill=\"#fff\">
  100.                     <g>
  101.                         <g>
  102.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  103.                                   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\"/>
  104.                         </g></svg>
  105.                     </a>
  106.                 </div>
  107.             </div>
  108.         </div>
  109.     </section>
  110.     <section class=\"breadcumbs\">
  111.         <div class=\"container\">
  112.             <div class=\"row\">
  113.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formation en Live </a> > <a
  114.                             href=\"\">Coaching</a>
  115.                 </div>
  116.             </div>
  117.         </div>
  118.     </section>
  119.     <section class=\"bloc1\">
  120.         <div class=\"container\">
  121.             <div class=\"row\">
  122.                 <div class=\"blocs\">
  123.                     <form id=\"filter\">
  124.                         <div class=\"colf\">
  125.                             <p class=\"title_filter\"> Vous recherchez ? </p>
  126.                         </div>
  127.                         <div class=\"colf\">
  128.                             <input id=\"keywords\" name=\"keywords\" type=\"text\" class=\"input\" placeholder=\"Mots clés..\"
  129.                                    value=\"";
  130.         // line 58
  131.         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.'58$this->source); })()), "request", [], "any"falsefalsefalse58), "get", [=> "keywords"=> ""], "method"falsefalsefalse58), "html"nulltrue);
  132.         echo "\">
  133.                         </div>
  134.                         <div class=\"colf\">
  135.                               <button type=\"submit\" class=\"submit\" /><i class=\"icon icon-left-arrow gly-rotate\">  </i>  Rechercher</button>
  136.                         </div>
  137.                     </form>
  138.                 </div>
  139.             </div>
  140.         </div>
  141.     </section>
  142.     <section class=\"stage coach-section\">
  143.         <div class=\"container\">
  144.             <div class=\"row\">
  145.                 <div class=\"stage_list\">
  146.                     ";
  147.         // line 73
  148.         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.'73$this->source); })())) > 0)) {
  149.             // line 74
  150.             echo "                        ";
  151.             $context['_parent'] = $context;
  152.             $context['_seq'] = twig_ensure_traversable((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'74$this->source); })()));
  153.             foreach ($context['_seq'] as $context["_key"] => $context["formation"]) {
  154.                 // line 75
  155.                 echo "                            <div class=\"forma forma_stage live forma_coach\">
  156.                                 <div class=\"image\"><a class=\"pointer_link\"
  157.                                                       href=\"";
  158.                 // line 77
  159.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_coaching_single", ["slug" => twig_get_attribute($this->env$this->source$context["formation"], "slug", [], "any"falsefalsefalse77)]), "html"nulltrue);
  160.                 echo "\"> </a>
  161.                                     <img src=\"";
  162.                 // line 78
  163.                 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"falsefalsefalse78))), "html"nulltrue);
  164.                 echo "\">
  165.                                     <div class=\"formation_live coach\">
  166.                                         <div class=\"cat_live\"> #";
  167.                 // line 80
  168.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["formation"], "category", [], "any"falsefalsefalse80), "html"nulltrue);
  169.                 echo " </div>
  170.                                     </div>
  171.                                     <div class=\"bande_live\"> Coaching</div>
  172.                                 </div>
  173.                                 <div class=\"conten-formation\">
  174.                                     <div class=\"title-content-formation\">
  175.                                         <a href=\"";
  176.                 // line 86
  177.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_coaching_single", ["slug" => twig_get_attribute($this->env$this->source$context["formation"], "slug", [], "any"falsefalsefalse86)]), "html"nulltrue);
  178.                 echo "\">";
  179.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["formation"], "title", [], "any"falsefalsefalse86), "html"nulltrue);
  180.                 echo "</a>
  181.                                     </div>
  182.                                     <div class=\"location\">
  183.                                         <a href=\"";
  184.                 // line 89
  185.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_formation_coaching_single", ["slug" => twig_get_attribute($this->env$this->source$context["formation"], "slug", [], "any"falsefalsefalse89)]), "html"nulltrue);
  186.                 echo "\">
  187.                                             Par <b> ";
  188.                 // line 90
  189.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["formation"], "coach", [], "any"falsefalsefalse90), "utilisateur", [], "any"falsefalsefalse90), "html"nulltrue);
  190.                 echo " </b> </a>
  191.                                     </div>
  192.                                     <div class=\"sperateur\"></div>
  193.                                     <div class=\"expert\">";
  194.                 // line 93
  195.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env$this->source$context["formation"], "description", [], "any"falsefalsefalse93), 100), "html"nulltrue);
  196.                 echo "</div>
  197.                                 </div>
  198.                             </div>
  199.                         ";
  200.             }
  201.             $_parent $context['_parent'];
  202.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['formation'], $context['_parent'], $context['loop']);
  203.             $context array_intersect_key($context$_parent) + $_parent;
  204.             // line 97
  205.             echo "                    ";
  206.         } else {
  207.             // line 98
  208.             echo "                        <div class=\"alert alert-info\" role=\"alert\">
  209.                             Pas de formation disponible pour le moment.
  210.                         </div>
  211.                     ";
  212.         }
  213.         // line 102
  214.         echo "                </div>
  215.             </div>
  216.             ";
  217.         // line 104
  218.         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.'104$this->source); })())) > 0)) {
  219.             // line 105
  220.             echo "                <div class=\"row\">
  221.                     <div class=\"link_actus\">
  222.                         <input type=\"hidden\" id=\"page\" value=\"";
  223.             // line 107
  224.             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.'107$this->source); })()), "html"nulltrue);
  225.             echo "\"/>
  226.                         <input type=\"hidden\" id=\"limit\" value=\"";
  227.             // line 108
  228.             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.'108$this->source); })()), "html"nulltrue);
  229.             echo "\"/>
  230.                         <a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
  231.                         <img id=\"img-loading\" src=\"";
  232.             // line 110
  233.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/loading.gif"), "html"nulltrue);
  234.             echo "\" style=\"width: 80px; height: 80px; display: none;\">
  235.                     </div>
  236.                 </div>
  237.             ";
  238.         }
  239.         // line 114
  240.         echo "        </div>
  241.     </section>
  242.     ";
  243.         // line 117
  244.         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.'117$this->source); })())) > 0)) {
  245.             // line 118
  246.             echo "        <section class=\"actualite vidoes\">
  247.             <div class=\"container\">
  248.                 <div class=\"row section-head\">
  249.                     <h2 class=\"title\"> Découvrez aussi nos vidéos E-learning</h2>
  250.                     <div class=\"sperateur\"></div>
  251.                 </div>
  252.                 <div class=\"row\">
  253.                     <div class=\"list-actus live_video\">
  254.                         ";
  255.             // line 126
  256.             $context['_parent'] = $context;
  257.             $context['_seq'] = twig_ensure_traversable((isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'126$this->source); })()));
  258.             foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  259.                 // line 127
  260.                 echo "                            <div class=\"actus actus_video\">
  261.                                 <a class=\"pointer_link\"
  262.                                    href=\"";
  263.                 // line 129
  264.                 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"falsefalsefalse129)]), "html"nulltrue);
  265.                 echo "\"> </a>
  266.                                 <div class=\"actus-img\" style=\"background:url('";
  267.                 // line 130
  268.                 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"falsefalsefalse130))), "html"nulltrue);
  269.                 echo "')\">
  270.                                     <video src=\"\"></video>
  271.                                 </div>
  272.                                 <div class=\"content-actus live_content\">
  273.                                     <div class=\"sous-titre\"><a
  274.                                                 href=\"";
  275.                 // line 135
  276.                 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"falsefalsefalse135)]), "html"nulltrue);
  277.                 echo "\"> ";
  278.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["video"], "title", [], "any"falsefalsefalse135), "html"nulltrue);
  279.                 echo " </a>
  280.                                     </div>
  281.                                     <div class=\"titre live_titre\"><a
  282.                                                 href=\"";
  283.                 // line 138
  284.                 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"falsefalsefalse138)]), "html"nulltrue);
  285.                 echo "\"> avec
  286.                                             <b> ";
  287.                 // line 139
  288.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["video"], "coach", [], "any"falsefalsefalse139), "html"nulltrue);
  289.                 echo " </b> </a></div>
  290.                                     <div class=\"sperateur\"></div>
  291.                                     <div class=\"expert\">";
  292.                 // line 141
  293.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env$this->source$context["video"], "description", [], "any"falsefalsefalse141), 100), "html"nulltrue);
  294.                 echo "</div>
  295.                                 </div>
  296.                             </div>
  297.                         ";
  298.             }
  299.             $_parent $context['_parent'];
  300.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  301.             $context array_intersect_key($context$_parent) + $_parent;
  302.             // line 145
  303.             echo "                    </div>
  304.                 </div>
  305.                 <div class=\"row\">
  306.                     <div class=\"link_actus\">
  307.                         <a href=\"";
  308.             // line 149
  309.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning");
  310.             echo "\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Toutes nos vidéos
  311.                             E-learning </a>
  312.                     </div>
  313.                 </div>
  314.             </div>
  315.         </section>
  316.     ";
  317.         }
  318.         
  319.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  320.         
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  322.     }
  323.     // line 158
  324.     public function block_javascripts($context, array $blocks = [])
  325.     {
  326.         $macros $this->macros;
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  329.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  331.         // line 159
  332.         echo "            ";
  333.         $this->displayParentBlock("javascripts"$context$blocks);
  334.         echo "
  335.             <script type=\"text/javascript\">
  336.                 \$(function () {
  337.                     \$('#load-more').on('click', function (e) {
  338.                         e.preventDefault();
  339.                         \$('#load-more').hide();
  340.                         \$('#img-loading').show();
  341.                         \$.ajax({
  342.                             url: Routing.generate('page_nos_formations_live_paginate'),
  343.                             data: {
  344.                                 'page': \$('#page').val(),
  345.                                 'limit': \$('#limit').val(),
  346.                                 'keywords': \$('#keywords').val(),
  347.                                 'date': \$('#date').val(),
  348.                             },
  349.                             success: function (html) {
  350.                                 if (html != '') {
  351.                                     \$('.stage_list').append(html);
  352.                                     var page = parseInt(\$('#page').val()) + 1;
  353.                                     \$('#page').val(page);
  354.                                     \$('#load-more').show();
  355.                                 }
  356.                                 \$('#img-loading').hide();
  357.                             }
  358.                         });
  359.                     });
  360.                 });
  361.             </script>
  362.         ";
  363.         
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  365.         
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  367.     }
  368.     public function getTemplateName()
  369.     {
  370.         return "front/formation_coaching/index.html.twig";
  371.     }
  372.     public function isTraitable()
  373.     {
  374.         return false;
  375.     }
  376.     public function getDebugInfo()
  377.     {
  378.         return array (  359 => 159,  349 => 158,  331 => 149,  325 => 145,  315 => 141,  310 => 139,  306 => 138,  298 => 135,  290 => 130,  286 => 129,  282 => 127,  278 => 126,  268 => 118,  266 => 117,  261 => 114,  254 => 110,  249 => 108,  245 => 107,  241 => 105,  239 => 104,  235 => 102,  229 => 98,  226 => 97,  216 => 93,  210 => 90,  206 => 89,  198 => 86,  189 => 80,  184 => 78,  180 => 77,  176 => 75,  171 => 74,  169 => 73,  151 => 58,  102 => 12,  97 => 10,  89 => 6,  79 => 5,  60 => 3,  37 => 1,);
  379.     }
  380.     public function getSourceContext()
  381.     {
  382.         return new Source("{% extends 'layouts/front.html.twig' %}
  383. {% block bodyClass %}interne{% endblock %}
  384. {% block content %}
  385.     <section class=\"title-page coach-page\" style=\"background:url({{ asset('uploads/'~blocs.coaching_bloc_title.image) }})\">
  386.         <div class=\"container\">
  387.             <div class=\"row\">
  388.                 <div class=\"head_page\">
  389.                     <div class=\"head\">  {{ blocs.coaching_bloc_title.title }} </div>
  390.                     <div class=\"sperateur\"></div>
  391.                     <div class=\"sub_title\"> {{ blocs.coaching_bloc_title.description|raw }}  </div>
  392.                 </div>
  393.                 <div class=\"arrows_head\">
  394.                     <a href=\"#\">
  395.                         <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  396.                              id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
  397.                              style=\"enable-background:new 0 0 492 492;\"
  398.                              xml:space=\"preserve\" fill=\"#fff\">
  399.                     <g>
  400.                         <g>
  401.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  402.                                   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\"/>
  403.                         </g></svg>
  404.                     <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
  405.                          id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
  406.                          xml:space=\"preserve\" fill=\"#fff\">
  407.                     <g>
  408.                         <g>
  409.                             <path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
  410.                                   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\"/>
  411.                         </g></svg>
  412.                     </a>
  413.                 </div>
  414.             </div>
  415.         </div>
  416.     </section>
  417.     <section class=\"breadcumbs\">
  418.         <div class=\"container\">
  419.             <div class=\"row\">
  420.                 <div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formation en Live </a> > <a
  421.                             href=\"\">Coaching</a>
  422.                 </div>
  423.             </div>
  424.         </div>
  425.     </section>
  426.     <section class=\"bloc1\">
  427.         <div class=\"container\">
  428.             <div class=\"row\">
  429.                 <div class=\"blocs\">
  430.                     <form id=\"filter\">
  431.                         <div class=\"colf\">
  432.                             <p class=\"title_filter\"> Vous recherchez ? </p>
  433.                         </div>
  434.                         <div class=\"colf\">
  435.                             <input id=\"keywords\" name=\"keywords\" type=\"text\" class=\"input\" placeholder=\"Mots clés..\"
  436.                                    value=\"{{ app.request.get('keywords', '') }}\">
  437.                         </div>
  438.                         <div class=\"colf\">
  439.                               <button type=\"submit\" class=\"submit\" /><i class=\"icon icon-left-arrow gly-rotate\">  </i>  Rechercher</button>
  440.                         </div>
  441.                     </form>
  442.                 </div>
  443.             </div>
  444.         </div>
  445.     </section>
  446.     <section class=\"stage coach-section\">
  447.         <div class=\"container\">
  448.             <div class=\"row\">
  449.                 <div class=\"stage_list\">
  450.                     {% if formations|length > 0 %}
  451.                         {% for formation in formations %}
  452.                             <div class=\"forma forma_stage live forma_coach\">
  453.                                 <div class=\"image\"><a class=\"pointer_link\"
  454.                                                       href=\"{{ path('page_formation_coaching_single', {slug: formation.slug}) }}\"> </a>
  455.                                     <img src=\"{{ asset('uploads/'~formation.image) }}\">
  456.                                     <div class=\"formation_live coach\">
  457.                                         <div class=\"cat_live\"> #{{ formation.category }} </div>
  458.                                     </div>
  459.                                     <div class=\"bande_live\"> Coaching</div>
  460.                                 </div>
  461.                                 <div class=\"conten-formation\">
  462.                                     <div class=\"title-content-formation\">
  463.                                         <a href=\"{{ path('page_formation_coaching_single', {slug: formation.slug}) }}\">{{ formation.title }}</a>
  464.                                     </div>
  465.                                     <div class=\"location\">
  466.                                         <a href=\"{{ path('page_formation_coaching_single', {slug: formation.slug}) }}\">
  467.                                             Par <b> {{ formation.coach.utilisateur }} </b> </a>
  468.                                     </div>
  469.                                     <div class=\"sperateur\"></div>
  470.                                     <div class=\"expert\">{{ formation.description|excerpt(100) }}</div>
  471.                                 </div>
  472.                             </div>
  473.                         {% endfor %}
  474.                     {% else %}
  475.                         <div class=\"alert alert-info\" role=\"alert\">
  476.                             Pas de formation disponible pour le moment.
  477.                         </div>
  478.                     {% endif %}
  479.                 </div>
  480.             </div>
  481.             {% if formations|length > 0 %}
  482.                 <div class=\"row\">
  483.                     <div class=\"link_actus\">
  484.                         <input type=\"hidden\" id=\"page\" value=\"{{ page }}\"/>
  485.                         <input type=\"hidden\" id=\"limit\" value=\"{{ limit }}\"/>
  486.                         <a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
  487.                         <img id=\"img-loading\" src=\"{{ asset('build/images/loading.gif') }}\" style=\"width: 80px; height: 80px; display: none;\">
  488.                     </div>
  489.                 </div>
  490.             {% endif %}
  491.         </div>
  492.     </section>
  493.     {% if videos|length > 0 %}
  494.         <section class=\"actualite vidoes\">
  495.             <div class=\"container\">
  496.                 <div class=\"row section-head\">
  497.                     <h2 class=\"title\"> Découvrez aussi nos vidéos E-learning</h2>
  498.                     <div class=\"sperateur\"></div>
  499.                 </div>
  500.                 <div class=\"row\">
  501.                     <div class=\"list-actus live_video\">
  502.                         {% for video in videos %}
  503.                             <div class=\"actus actus_video\">
  504.                                 <a class=\"pointer_link\"
  505.                                    href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> </a>
  506.                                 <div class=\"actus-img\" style=\"background:url('{{ asset('uploads/'~video.image) }}')\">
  507.                                     <video src=\"\"></video>
  508.                                 </div>
  509.                                 <div class=\"content-actus live_content\">
  510.                                     <div class=\"sous-titre\"><a
  511.                                                 href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> {{ video.title }} </a>
  512.                                     </div>
  513.                                     <div class=\"titre live_titre\"><a
  514.                                                 href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> avec
  515.                                             <b> {{ video.coach }} </b> </a></div>
  516.                                     <div class=\"sperateur\"></div>
  517.                                     <div class=\"expert\">{{ video.description|excerpt(100) }}</div>
  518.                                 </div>
  519.                             </div>
  520.                         {% endfor %}
  521.                     </div>
  522.                 </div>
  523.                 <div class=\"row\">
  524.                     <div class=\"link_actus\">
  525.                         <a href=\"{{ path('page_elearning') }}\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Toutes nos vidéos
  526.                             E-learning </a>
  527.                     </div>
  528.                 </div>
  529.             </div>
  530.         </section>
  531.     {% endif %}
  532. {% endblock %}
  533.         {% block javascripts %}
  534.             {{ parent() }}
  535.             <script type=\"text/javascript\">
  536.                 \$(function () {
  537.                     \$('#load-more').on('click', function (e) {
  538.                         e.preventDefault();
  539.                         \$('#load-more').hide();
  540.                         \$('#img-loading').show();
  541.                         \$.ajax({
  542.                             url: Routing.generate('page_nos_formations_live_paginate'),
  543.                             data: {
  544.                                 'page': \$('#page').val(),
  545.                                 'limit': \$('#limit').val(),
  546.                                 'keywords': \$('#keywords').val(),
  547.                                 'date': \$('#date').val(),
  548.                             },
  549.                             success: function (html) {
  550.                                 if (html != '') {
  551.                                     \$('.stage_list').append(html);
  552.                                     var page = parseInt(\$('#page').val()) + 1;
  553.                                     \$('#page').val(page);
  554.                                     \$('#load-more').show();
  555.                                 }
  556.                                 \$('#img-loading').hide();
  557.                             }
  558.                         });
  559.                     });
  560.                 });
  561.             </script>
  562.         {% endblock %}""front/formation_coaching/index.html.twig""/home/saco/subdomains/preprod/templates/front/formation_coaching/index.html.twig");
  563.     }
  564. }