<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* front/elearning/index.html.twig */
class __TwigTemplate_789074b9c45bfab62ed6c9c3e5809c8f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'bodyClass' => [$this, 'block_bodyClass'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layouts/front.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/elearning/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/elearning/index.html.twig"));
$this->parent = $this->loadTemplate("layouts/front.html.twig", "front/elearning/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_bodyClass($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
echo "interne";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
echo " <section class=\"title-page cours-page\" style=\"background:url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 6, $this->source); })()), "e_bloc_title", [], "any", false, false, false, 6), "image", [], "any", false, false, false, 6))), "html", null, true);
echo ")\">
<div class=\"container\">
<div class=\"row\">
<div class=\"head_page\">
<div class=\"head\"> ";
// line 10
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 10, $this->source); })()), "e_bloc_title", [], "any", false, false, false, 10), "title", [], "any", false, false, false, 10), "html", null, true);
echo " </div>
<div class=\"sperateur\"></div>
<div class=\"sub_title\"> ";
// line 12
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 12, $this->source); })()), "e_bloc_title", [], "any", false, false, false, 12), "description", [], "any", false, false, false, 12);
echo " </div>
<!--<div class=\"acces\">
<a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> E-mail </a>
<a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Code d’accès Premium </a>
</div>-->
</div>
<div class=\"arrows_head\">
</div>
</div>
</div>
</section>
<section class=\"breadcumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> E-Learning </a></div>
</div>
</div>
</section>
<section class=\"section-tags\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\"> Vous recherchez ? </h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"filter-items\">
<a href=\"";
// line 40
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning");
echo "\"
";
// line 41
if (("" == twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 41), "get", [0 => "category"], "method", false, false, false, 41))) {
echo "class=\"active\"";
}
echo "> ALL</a>
";
// line 42
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 43
echo " <a href=\"";
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", false, false, false, 43)]), "html", null, true);
echo "\"
";
// line 44
if ((twig_get_attribute($this->env, $this->source, $context["category"], "slug", [], "any", false, false, false, 44) == twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 44), "get", [0 => "category", 1 => ""], "method", false, false, false, 44))) {
echo "class=\"active\"";
}
echo "> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "libelle", [], "any", false, false, false, 44), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 46
echo " </div>
</div>
<div class=\"row\">
<div class=\"stage_list learning_item\">
";
// line 50
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)) {
// line 51
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 52
echo " <div class=\"forma forma_stage live forma_coach learning-item_bloc\">
<div class=\"image\"><a class=\"pointer_link\" href=\"";
// line 53
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", false, false, false, 53)]), "html", null, true);
echo "\"> </a>
<img src=\"";
// line 54
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", false, false, false, 54))), "html", null, true);
echo "\">
<div class=\"formation_live coach\">
<div class=\"cat_live\"> #";
// line 56
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["video"], "category", [], "any", false, false, false, 56), "html", null, true);
echo "</div>
</div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\">
<a href=\"";
// line 61
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", false, false, false, 61)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["video"], "title", [], "any", false, false, false, 61), "html", null, true);
echo "</a>
</div>
<div class=\"location\">
<a href=\"";
// line 64
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", false, false, false, 64)]), "html", null, true);
echo "\"> avec <b> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["video"], "coach", [], "any", false, false, false, 64), "html", null, true);
echo " </b> </a>
</div>
<div class=\"sperateur\"></div>
<div class=\"expert\">";
// line 67
echo twig_escape_filter($this->env, $this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env, $this->source, $context["video"], "description", [], "any", false, false, false, 67), 100), "html", null, true);
echo "</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
echo " ";
} else {
// line 72
echo " <div class=\"alert alert-info\" role=\"alert\">
Pas de vidéos disponible pour le moment.
</div>
";
}
// line 76
echo " </div>
</div>
";
// line 78
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)) {
// line 79
echo " <div class=\"row\">
<div class=\"link_actus\">
<input type=\"hidden\" id=\"page\" value=\"";
// line 81
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", null, true);
echo "\"/>
<input type=\"hidden\" id=\"limit\" value=\"";
// line 82
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", null, true);
echo "\"/>
<a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
<img id=\"img-loading\" src=\"";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/loading.gif"), "html", null, true);
echo "\" style=\"width: 80px; height: 80px; display: none;\">
</div>
</div>
";
}
// line 88
echo " </div>
</section>
<section class=\"learning-abone\" style=\"background:url(";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/fond-learning1.jpg"), "html", null, true);
echo ")\">
<div class=\"container\">
<div class=\"row\">
<div class=\"demo_elearning\">
<div class=\"col-md-5 col-sm-5 col-xs-12 learning-abone-after\"></div>
<div class=\"col-md-7 col-sm-7 col-xs-12\">
<h2> ";
// line 97
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 97, $this->source); })()), "e_bloc_abonnement", [], "any", false, false, false, 97), "title", [], "any", false, false, false, 97), "html", null, true);
echo " </h2>
<div class=\"sperateur\"></div>
<div class=\"texte-video\">
<p> ";
// line 100
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 100, $this->source); })()), "e_bloc_abonnement", [], "any", false, false, false, 100), "description", [], "any", false, false, false, 100);
echo " </p>
</div>
<a href=\"";
// line 102
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_abonnnements_elearning");
echo "\" class=\"btn\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Nos abonnements </a>
</div>
</div>
</div>
</div>
</section>
";
// line 109
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)) {
// line 110
echo " <section class=\"actualite vidoes\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\">Découvrez aussi nos formations Live </h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"list-actus live_video\">
";
// line 118
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["formation"]) {
// line 119
echo " <div class=\"forma forma_stage live\">
<div class=\"image\">
<a class=\"pointer_link\" href=\"";
// line 121
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", false, false, false, 121)]), "html", null, true);
echo "\"> </a>
<img src=\"";
// line 122
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", false, false, false, 122))), "html", null, true);
echo "\">
<div class=\"bande_live\"> LIVE</div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\"><a
href=\"";
// line 127
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", false, false, false, 127)]), "html", null, true);
echo "\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "coach", [], "any", false, false, false, 127), "html", null, true);
echo " </a></div>
<div class=\"location\"><a href=\"";
// line 128
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", false, false, false, 128)]), "html", null, true);
echo "\"> Live Modern Salon </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">Description de la formation ou une petite
présentation du formateur Lorem ipsum dolore iusmod tempor incididunt ...
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['formation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 136
echo " </div>
</div>
<div class=\"row\">
<div class=\"link_actus\">
<a href=\"";
// line 140
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_nos_formations_live");
echo "\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Tous les lives </a>
</div>
</div>
</div>
</section>
";
}
// line 146
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 149
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 150
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script type=\"text/javascript\">
\$(function () {
\$('#load-more').on('click', function (e) {
e.preventDefault();
\$('#load-more').hide();
\$('#img-loading').show();
\$.ajax({
url: Routing.generate('page_elearning_paginate'),
data: {
'page': \$('#page').val(),
'limit': \$('#limit').val(),
'keywords': \$('#keywords').val(),
'date': \$('#date').val(),
'category': '";
// line 165
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 165), "get", [0 => "category"], "method", false, false, false, 165), "html", null, true);
echo "'
},
success: function (html) {
if (html != '') {
\$('.stage_list').append(html);
var page = parseInt(\$('#page').val()) + 1;
\$('#page').val(page);
\$('#load-more').show();
}
\$('#img-loading').hide();
}
});
});
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "front/elearning/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/front.html.twig' %}
{% block bodyClass %}interne{% endblock %}
{% block content %}
<section class=\"title-page cours-page\" style=\"background:url({{ asset('uploads/'~blocs.e_bloc_title.image) }})\">
<div class=\"container\">
<div class=\"row\">
<div class=\"head_page\">
<div class=\"head\"> {{ blocs.e_bloc_title.title }} </div>
<div class=\"sperateur\"></div>
<div class=\"sub_title\"> {{ blocs.e_bloc_title.description|raw }} </div>
<!--<div class=\"acces\">
<a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> E-mail </a>
<a href=\"#\" class=\"btn-head\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Code d’accès Premium </a>
</div>-->
</div>
<div class=\"arrows_head\">
</div>
</div>
</div>
</section>
<section class=\"breadcumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> E-Learning </a></div>
</div>
</div>
</section>
<section class=\"section-tags\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\"> Vous recherchez ? </h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"filter-items\">
<a href=\"{{ path('page_elearning') }}\"
{% if '' == app.request.get('category') %}class=\"active\"{% endif %}> ALL</a>
{% for category in categories %}
<a href=\"{{ path('page_elearning', {'category': category.slug}) }}\"
{% if category.slug == app.request.get('category', '') %}class=\"active\"{% endif %}> {{ category.libelle }}</a>
{% endfor %}
</div>
</div>
<div class=\"row\">
<div class=\"stage_list learning_item\">
{% if videos|length > 0 %}
{% for video in videos %}
<div class=\"forma forma_stage live forma_coach learning-item_bloc\">
<div class=\"image\"><a class=\"pointer_link\" href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> </a>
<img src=\"{{ asset('uploads/'~video.image) }}\">
<div class=\"formation_live coach\">
<div class=\"cat_live\"> #{{ video.category }}</div>
</div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\">
<a href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\">{{ video.title }}</a>
</div>
<div class=\"location\">
<a href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> avec <b> {{ video.coach }} </b> </a>
</div>
<div class=\"sperateur\"></div>
<div class=\"expert\">{{ video.description|excerpt(100) }}</div>
</div>
</div>
{% endfor %}
{% else %}
<div class=\"alert alert-info\" role=\"alert\">
Pas de vidéos disponible pour le moment.
</div>
{% endif %}
</div>
</div>
{% if videos|length > 0 %}
<div class=\"row\">
<div class=\"link_actus\">
<input type=\"hidden\" id=\"page\" value=\"{{ page }}\"/>
<input type=\"hidden\" id=\"limit\" value=\"{{ limit }}\"/>
<a id=\"load-more\" href=\"#\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> charger plus </a>
<img id=\"img-loading\" src=\"{{ asset('build/images/loading.gif') }}\" style=\"width: 80px; height: 80px; display: none;\">
</div>
</div>
{% endif %}
</div>
</section>
<section class=\"learning-abone\" style=\"background:url({{ asset('build/images/fond-learning1.jpg') }})\">
<div class=\"container\">
<div class=\"row\">
<div class=\"demo_elearning\">
<div class=\"col-md-5 col-sm-5 col-xs-12 learning-abone-after\"></div>
<div class=\"col-md-7 col-sm-7 col-xs-12\">
<h2> {{ blocs.e_bloc_abonnement.title }} </h2>
<div class=\"sperateur\"></div>
<div class=\"texte-video\">
<p> {{ blocs.e_bloc_abonnement.description|raw }} </p>
</div>
<a href=\"{{ path('page_abonnnements_elearning') }}\" class=\"btn\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Nos abonnements </a>
</div>
</div>
</div>
</div>
</section>
{% if formations|length > 0 %}
<section class=\"actualite vidoes\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\">Découvrez aussi nos formations Live </h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"list-actus live_video\">
{% for formation in formations %}
<div class=\"forma forma_stage live\">
<div class=\"image\">
<a class=\"pointer_link\" href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> </a>
<img src=\"{{ asset('uploads/'~formation.image) }}\">
<div class=\"bande_live\"> LIVE</div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\"><a
href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> {{ formation.coach }} </a></div>
<div class=\"location\"><a href=\"{{ path('page_formation_live_single', {slug: formation.slug}) }}\"> Live Modern Salon </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">Description de la formation ou une petite
présentation du formateur Lorem ipsum dolore iusmod tempor incididunt ...
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<div class=\"row\">
<div class=\"link_actus\">
<a href=\"{{ path('page_nos_formations_live') }}\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Tous les lives </a>
</div>
</div>
</div>
</section>
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\">
\$(function () {
\$('#load-more').on('click', function (e) {
e.preventDefault();
\$('#load-more').hide();
\$('#img-loading').show();
\$.ajax({
url: Routing.generate('page_elearning_paginate'),
data: {
'page': \$('#page').val(),
'limit': \$('#limit').val(),
'keywords': \$('#keywords').val(),
'date': \$('#date').val(),
'category': '{{ app.request.get('category') }}'
},
success: function (html) {
if (html != '') {
\$('.stage_list').append(html);
var page = parseInt(\$('#page').val()) + 1;
\$('#page').val(page);
\$('#load-more').show();
}
\$('#img-loading').hide();
}
});
});
});
</script>
{% endblock %}", "front/elearning/index.html.twig", "/home/saco/subdomains/preprod/templates/front/elearning/index.html.twig");
}
}