<?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/formation_live/index.html.twig */
class __TwigTemplate_e7e6527bf97037a80b07d5d324df6996 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/formation_live/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/formation_live/index.html.twig"));
$this->parent = $this->loadTemplate("layouts/front.html.twig", "front/formation_live/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\" 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); })()), "live_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); })()), "live_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); })()), "live_bloc_title", [], "any", false, false, false, 12), "description", [], "any", false, false, false, 12);
echo " </div>
</div>
<div class=\"arrows_head\">
<a href=\"#\">
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
<g>
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
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\"/>
</g></svg>
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
xml:space=\"preserve\" fill=\"#fff\">
<g>
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
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\"/>
</g></svg>
</a>
</div>
</div>
</div>
</section>
<section class=\"breadcumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formation en Live </a> > <a href=\"\"> Live </a>
</div>
</div>
</div>
</section>
<section class=\"bloc1\">
<div class=\"container\">
<div class=\"row\">
<div class=\"blocs\">
<form id=\"filter\">
<div class=\"colf\">
<p class=\"title_filter\"> Vous recherchez ? </p>
</div>
<div class=\"colf\">
<input id=\"keywords\" name=\"keywords\" type=\"text\" class=\"input\" placeholder=\"Mots clés..\"
value=\"";
// line 56
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.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "get", [0 => "keywords", 1 => ""], "method", false, false, false, 56), "html", null, true);
echo "\">
</div>
<div class=\"colf\">
<div id=\"date-picker-example\" class=\"md-form md-outline input-with-post-icon\">
<input name=\"date\" placeholder=\"Select date\" type=\"text\" id=\"date\"
class=\"form-control js-datepicker\" value=\"";
// line 61
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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "get", [0 => "date", 1 => ""], "method", false, false, false, 61), "html", null, true);
echo "\">
<i class=\"fa fa-calendar input-prefix\" tabindex=0></i>
</div>
</div>
<div class=\"colf\">
<button type=\"submit\" class=\"submit\" /><i class=\"icon icon-left-arrow gly-rotate\"> </i> Rechercher</button>
</div>
</form>
</div>
</div>
</div>
</section>
<section class=\"stage\">
<div class=\"container\">
<div class=\"row\">
<h5 style=\"text-align: center;width: 60%;margin: auto;padding-bottom: 50px;\">Abonnez-vous aux abonnements Saco Education et souscrivez à l’option à 4€ par mois pour découvrir tous les live sur sacoeducation.com !</h5>
<div class=\"stage_list\">
";
// line 78
if ((twig_length_filter($this->env, (isset($context["formations"]) || array_key_exists("formations", $context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.', 78, $this->source); })())) > 0)) {
// line 79
echo " ";
$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.', 79, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["formation"]) {
// line 80
echo " <div class=\"forma forma_stage live\">
<div class=\"image\">
<a class=\"pointer_link\" href=\"";
// line 82
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, 82)]), "html", null, true);
echo "\"> </a>
<img src=\"";
// line 83
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, 83))), "html", null, true);
echo "\">
<div class=\"formation_live\">
<div class=\"date_live\"> ";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "date", [], "any", false, false, false, 85), "long", "short", "", null, "gregorian", "fr"), "html", null, true);
echo " </div>
<div class=\"cat_live\"> #";
// line 86
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "category", [], "any", false, false, false, 86), "html", null, true);
echo " </div>
</div>
<div class=\"bande_live\"> LIVE</div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\"><a
href=\"";
// line 92
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, 92)]), "html", null, true);
echo "\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "coach", [], "any", false, false, false, 92), "html", null, true);
echo " </a></div>
<div class=\"location\"><a href=\"";
// line 93
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, 93)]), "html", null, true);
echo "\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["formation"], "title", [], "any", false, false, false, 93), "html", null, true);
echo " </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">";
// line 95
echo twig_escape_filter($this->env, $this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env, $this->source, $context["formation"], "description", [], "any", false, false, false, 95), 100), "html", null, true);
echo "</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 99
echo " ";
} else {
// line 100
echo " <div class=\"alert alert-info\" role=\"alert\">
<p>Aucun live n’est actuellement programmé, n’hésitez pas à consulter nos autres rubriques ! </p>
<p> Restez connecté ou <a href=\"/connexion\"> inscrivez-vous </a> à notre newsletter <br> pour connaître les dates des prochains lives ! </p>
</div>
";
}
// line 105
echo " </div>
</div>
";
// line 107
if ((twig_length_filter($this->env, (isset($context["formations"]) || array_key_exists("formations", $context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.', 107, $this->source); })())) > 0)) {
// line 108
echo " <div class=\"row\">
<div class=\"link_actus\">
<input type=\"hidden\" id=\"page\" value=\"";
// line 110
echo twig_escape_filter($this->env, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 110, $this->source); })()), "html", null, true);
echo "\"/>
<input type=\"hidden\" id=\"limit\" value=\"";
// line 111
echo twig_escape_filter($this->env, (isset($context["limit"]) || array_key_exists("limit", $context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.', 111, $this->source); })()), "html", 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 113
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 117
echo " </div>
</section>
";
// line 120
if ((twig_length_filter($this->env, (isset($context["videos"]) || array_key_exists("videos", $context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.', 120, $this->source); })())) > 0)) {
// line 121
echo " <section class=\"actualite vidoes\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\"> Découvrez aussi nos vidéos E-learning</h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"list-actus live_video\">
";
// line 129
$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.', 129, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
// line 130
echo " <div class=\"actus actus_video\">
<a class=\"pointer_link\" href=\"";
// line 131
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, 131)]), "html", null, true);
echo "\"> </a>
<div class=\"actus-img\" style=\"background:url('";
// line 132
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, 132))), "html", null, true);
echo "')\">
<video src=\"\"></video>
</div>
<div class=\"content-actus live_content\">
<div class=\"sous-titre\"><a href=\"";
// line 136
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, 136)]), "html", null, true);
echo "\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["video"], "title", [], "any", false, false, false, 136), "html", null, true);
echo " </a></div>
<div class=\"titre live_titre\"><a href=\"";
// line 137
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, 137)]), "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, 137), "html", null, true);
echo " </b> </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">";
// line 139
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, 139), 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 143
echo " </div>
</div>
<div class=\"row\">
<div class=\"link_actus\">
<a href=\"";
// line 147
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_elearning");
echo "\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Toutes nos vidéos E-learning </a>
</div>
</div>
</div>
</section>
";
}
// line 153
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 156
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 157
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_nos_formations_live_paginate'),
data: {
'page': \$('#page').val(),
'limit': \$('#limit').val(),
'keywords': \$('#keywords').val(),
'date': \$('#date').val(),
},
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/formation_live/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 363 => 157, 353 => 156, 342 => 153, 333 => 147, 327 => 143, 317 => 139, 310 => 137, 304 => 136, 297 => 132, 293 => 131, 290 => 130, 286 => 129, 276 => 121, 274 => 120, 269 => 117, 262 => 113, 257 => 111, 253 => 110, 249 => 108, 247 => 107, 243 => 105, 236 => 100, 233 => 99, 223 => 95, 216 => 93, 210 => 92, 201 => 86, 197 => 85, 192 => 83, 188 => 82, 184 => 80, 179 => 79, 177 => 78, 157 => 61, 149 => 56, 102 => 12, 97 => 10, 89 => 6, 79 => 5, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/front.html.twig' %}
{% block bodyClass %}interne{% endblock %}
{% block content %}
<section class=\"title-page\" style=\"background:url({{ asset('uploads/'~blocs.live_bloc_title.image) }})\">
<div class=\"container\">
<div class=\"row\">
<div class=\"head_page\">
<div class=\"head\"> {{ blocs.live_bloc_title.title }} </div>
<div class=\"sperateur\"></div>
<div class=\"sub_title\"> {{ blocs.live_bloc_title.description|raw }} </div>
</div>
<div class=\"arrows_head\">
<a href=\"#\">
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\"
style=\"enable-background:new 0 0 492 492;\" xml:space=\"preserve\" fill=\"#fff\">
<g>
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
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\"/>
</g></svg>
<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\"
id=\"Layer_1\" x=\"0px\" y=\"0px\" viewBox=\"0 0 492 492\" style=\"enable-background:new 0 0 492 492;\"
xml:space=\"preserve\" fill=\"#fff\">
<g>
<g>
<path xmlns=\"http://www.w3.org/2000/svg\" fill=\"\"
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\"/>
</g></svg>
</a>
</div>
</div>
</div>
</section>
<section class=\"breadcumbs\">
<div class=\"container\">
<div class=\"row\">
<div class=\"crumbs\"><a href=\"#\"> Home </a> > <a href=\"\"> Formation en Live </a> > <a href=\"\"> Live </a>
</div>
</div>
</div>
</section>
<section class=\"bloc1\">
<div class=\"container\">
<div class=\"row\">
<div class=\"blocs\">
<form id=\"filter\">
<div class=\"colf\">
<p class=\"title_filter\"> Vous recherchez ? </p>
</div>
<div class=\"colf\">
<input id=\"keywords\" name=\"keywords\" type=\"text\" class=\"input\" placeholder=\"Mots clés..\"
value=\"{{ app.request.get('keywords', '') }}\">
</div>
<div class=\"colf\">
<div id=\"date-picker-example\" class=\"md-form md-outline input-with-post-icon\">
<input name=\"date\" placeholder=\"Select date\" type=\"text\" id=\"date\"
class=\"form-control js-datepicker\" value=\"{{ app.request.get('date', '') }}\">
<i class=\"fa fa-calendar input-prefix\" tabindex=0></i>
</div>
</div>
<div class=\"colf\">
<button type=\"submit\" class=\"submit\" /><i class=\"icon icon-left-arrow gly-rotate\"> </i> Rechercher</button>
</div>
</form>
</div>
</div>
</div>
</section>
<section class=\"stage\">
<div class=\"container\">
<div class=\"row\">
<h5 style=\"text-align: center;width: 60%;margin: auto;padding-bottom: 50px;\">Abonnez-vous aux abonnements Saco Education et souscrivez à l’option à 4€ par mois pour découvrir tous les live sur sacoeducation.com !</h5>
<div class=\"stage_list\">
{% if formations|length > 0 %}
{% 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=\"formation_live\">
<div class=\"date_live\"> {{ formation.date|format_datetime('long', 'short', locale='fr') }} </div>
<div class=\"cat_live\"> #{{ formation.category }} </div>
</div>
<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}) }}\"> {{ formation.title }} </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">{{ formation.description|excerpt(100) }}</div>
</div>
</div>
{% endfor %}
{% else %}
<div class=\"alert alert-info\" role=\"alert\">
<p>Aucun live n’est actuellement programmé, n’hésitez pas à consulter nos autres rubriques ! </p>
<p> Restez connecté ou <a href=\"/connexion\"> inscrivez-vous </a> à notre newsletter <br> pour connaître les dates des prochains lives ! </p>
</div>
{% endif %}
</div>
</div>
{% if formations|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>
{% if videos|length > 0 %}
<section class=\"actualite vidoes\">
<div class=\"container\">
<div class=\"row section-head\">
<h2 class=\"title\"> Découvrez aussi nos vidéos E-learning</h2>
<div class=\"sperateur\"></div>
</div>
<div class=\"row\">
<div class=\"list-actus live_video\">
{% for video in videos %}
<div class=\"actus actus_video\">
<a class=\"pointer_link\" href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> </a>
<div class=\"actus-img\" style=\"background:url('{{ asset('uploads/'~video.image) }}')\">
<video src=\"\"></video>
</div>
<div class=\"content-actus live_content\">
<div class=\"sous-titre\"><a href=\"{{ path('page_elearning_single', {slug: video.slug}) }}\"> {{ video.title }} </a></div>
<div class=\"titre live_titre\"><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 %}
</div>
</div>
<div class=\"row\">
<div class=\"link_actus\">
<a href=\"{{ path('page_elearning') }}\"> <i class=\"icon icon-left-arrow gly-rotate\"></i> Toutes nos vidéos E-learning </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_nos_formations_live_paginate'),
data: {
'page': \$('#page').val(),
'limit': \$('#limit').val(),
'keywords': \$('#keywords').val(),
'date': \$('#date').val(),
},
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/formation_live/index.html.twig", "/home/saco/subdomains/preprod/templates/front/formation_live/index.html.twig");
}
}