<?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/index.html.twig */
class __TwigTemplate_6b77f0d0551b4940b71ea2b0f90fe3aa extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'keywords' => [$this, 'block_keywords'],
'description' => [$this, 'block_description'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "baseFront.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/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/index.html.twig"));
$this->parent = $this->loadTemplate("baseFront.html.twig", "Front/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_title($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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("metaTitleHomepage"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_keywords($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", "keywords"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("metaKeywordHomepage"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_description($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", "description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("metaDescriptionHomepage"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
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 8
echo "\t
\t<section id=\"homemobile\" class=\"mobile-section d-block d-sm-none\">";
// line 10
echo "\t\t<div id=\"home-edito\">
\t\t\t<h2>Edito</h2>
\t\t\t";
// line 12
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("edito");
echo "
\t\t</div>
\t\t<div>
\t\t\t";
// line 15
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mobileLinkAppText");
echo "
\t\t</div>
\t\t
\t\t<div id=\"connection\" class=\"connection-section d-block d-sm-none text-center\">
\t\t\t<h2>Connexion</h2>
\t\t\t<br />
\t\t\t";
// line 22
echo "\t\t\t<a class=\"btn btn-facebook\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_facebook_start");
echo "\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
\t\t\t<div class=\"col-md-12 text-center\">
\t\t\t\t";
// line 24
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or");
echo "
\t\t\t</div>
\t\t\t<div class=\"col-12\">
\t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"";
// line 27
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogin");
echo "\">
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email"), "html", null, true);
echo "\" value=\"\" required autofocus />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password"), "html", null, true);
echo "\" required />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t";
// line 36
echo "\t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("passwordLost"), "html", null, true);
echo "</span>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login"), "html", null, true);
echo "</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t\t<div class=\"col-12 mt-2\">
\t\t\t\t<hr />
\t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html", null, true);
echo "</a>
\t\t\t</div>
\t\t\t<br />
\t\t</div>
\t\t
\t\t<div id=\"app\" class=\"app-section d-block d-sm-none\">
\t\t\t<h2>Applications</h2>
\t\t\t<img src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/tam-app-home-" . 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.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "locale", [], "any", false, false, false, 52)) . ".png")), "html", null, true);
echo "\" style=\"width:80vw; height:auto;\"/>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-6 text-right\">
\t\t\t\t\t<img src=\"";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/google-play-badge-" . 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.', 55, $this->source); })()), "request", [], "any", false, false, false, 55), "locale", [], "any", false, false, false, 55)) . ".png")), "html", null, true);
echo "\" style=\"width:auto;height:60px;\"/>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
\t\t\t\t\t<img src=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/app-store-" . 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.', 58, $this->source); })()), "request", [], "any", false, false, false, 58), "locale", [], "any", false, false, false, 58)) . ".png")), "html", null, true);
echo "\" style=\"width:auto;height:40px;\"/>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<h4>";
// line 61
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPlayer")), "html", null, true);
echo "</h4>
\t\t\t<div class=\"row mb-3 mt-3\">
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t\t";
// line 67
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["listLastPlayer"]) || array_key_exists("listLastPlayer", $context) ? $context["listLastPlayer"] : (function () { throw new RuntimeError('Variable "listLastPlayer" does not exist.', 67, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["player"]) {
// line 68
echo "\t\t\t\t\t\t\t";
$this->loadTemplate("Common/blocLastHomepage.html.twig", "Front/index.html.twig", 68)->display(twig_array_merge($context, ["user" => $context["player"]]));
// line 69
echo "\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['player'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t</div>
\t\t</div>
\t\t
\t\t<div id=\"club\" class=\"club-section d-block d-sm-none\">
\t\t\t<h2>Clubs</h2>
\t\t\t";
// line 79
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextClub");
echo "
\t\t\t<h4>";
// line 80
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastClub")), "html", null, true);
echo "</h4>
\t\t\t<div class=\"row mb-3 mt-3\">
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t\t";
// line 86
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["listLastClub"]) || array_key_exists("listLastClub", $context) ? $context["listLastClub"] : (function () { throw new RuntimeError('Variable "listLastClub" does not exist.', 86, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["club"]) {
// line 87
echo "\t\t\t\t\t\t\t";
$this->loadTemplate("Common/blocLastHomepage.html.twig", "Front/index.html.twig", 87)->display(twig_array_merge($context, ["user" => $context["club"]]));
// line 88
echo "\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['club'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 89
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t</div>
\t
\t\t</div>
\t\t<div id=\"professional\" class=\"professional-section d-block d-sm-none\">
\t\t\t<h2>Professionnels</h2>
\t\t\t";
// line 98
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextPro");
echo "
\t\t\t<h4>";
// line 99
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPro")), "html", null, true);
echo "</h4>
\t\t\t<div class=\"row mb-3 mt-3\">
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t\t";
// line 105
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["listLastPro"]) || array_key_exists("listLastPro", $context) ? $context["listLastPro"] : (function () { throw new RuntimeError('Variable "listLastPro" does not exist.', 105, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["pro"]) {
// line 106
echo "\t\t\t\t\t\t\t";
$this->loadTemplate("Common/blocLastHomepage.html.twig", "Front/index.html.twig", 106)->display(twig_array_merge($context, ["user" => $context["pro"]]));
// line 107
echo "\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pro'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 108
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t</div>
\t\t</div>
\t</section>
\t
\t<input type=\"hidden\" id=\"hiddenRegisterSuccess\" value=\"";
// line 116
echo twig_escape_filter($this->env, (isset($context["registerSuccess"]) || array_key_exists("registerSuccess", $context) ? $context["registerSuccess"] : (function () { throw new RuntimeError('Variable "registerSuccess" does not exist.', 116, $this->source); })()), "html", null, true);
echo "\" />
\t<section id=\"home\" class=\"home-section d-none d-md-block\">
\t\t<div id=\"home-edito\">
\t\t\t<h2>Edito</h2>
\t\t\t";
// line 120
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("edito");
echo "
\t\t</div>
\t\t";
// line 122
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 123
echo "\t\t";
} else {
// line 124
echo "\t\t<div id=\"home-bloc-connect\">
\t\t\t<h2>Connexion</h2>
\t\t\t<br />
\t\t\t";
// line 128
echo "\t\t\t<a class=\"btn btn-facebook\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_facebook_start");
echo "\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
\t\t\t<div class=\"col-md-12 text-center\">
\t\t\t\t";
// line 130
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or");
echo "
\t\t\t</div>
\t\t\t<div class=\"col-12\">
\t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"";
// line 133
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogin");
echo "\">
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"";
// line 135
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email"), "html", null, true);
echo "\" value=\"\" required autofocus />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"";
// line 138
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password"), "html", null, true);
echo "\" required />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t";
// line 142
echo "\t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("passwordLost"), "html", null, true);
echo "</span>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">";
// line 145
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login"), "html", null, true);
echo "</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t\t<div class=\"col-12 mt-2\">
\t\t\t\t<hr />
\t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">";
// line 151
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html", null, true);
echo "</a>
\t\t\t</div>
\t\t\t<br />
\t\t</div>
\t\t";
}
// line 156
echo "\t</section>
\t
\t<section id=\"app\" class=\"app-section d-none d-md-block\">
\t\t<h2>Applications</h2>
\t\t<img src=\"";
// line 160
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/tam-app-home-" . 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.', 160, $this->source); })()), "request", [], "any", false, false, false, 160), "locale", [], "any", false, false, false, 160)) . ".png")), "html", null, true);
echo "\"/>
\t\t<div class=\"row\">
\t\t\t<div class=\"col-6 text-right\">
\t\t\t\t<img src=\"";
// line 163
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/google-play-badge-" . 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.', 163, $this->source); })()), "request", [], "any", false, false, false, 163), "locale", [], "any", false, false, false, 163)) . ".png")), "html", null, true);
echo "\" style=\"width:auto;height:60px;\"/>
\t\t\t</div>
\t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
\t\t\t\t<img src=\"";
// line 166
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/app-store-" . 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.', 166, $this->source); })()), "request", [], "any", false, false, false, 166), "locale", [], "any", false, false, false, 166)) . ".png")), "html", null, true);
echo "\" style=\"width:auto;height:40px;\"/>
\t\t\t</div>
\t\t</div>
\t\t<h4>";
// line 169
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPlayer")), "html", null, true);
echo "</h4>
\t\t<div class=\"row mb-3 mt-3\">
\t\t\t<div class=\"col-2\"></div>
\t\t\t<div class=\"col-8\">
\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t";
// line 175
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["listLastPlayer"]) || array_key_exists("listLastPlayer", $context) ? $context["listLastPlayer"] : (function () { throw new RuntimeError('Variable "listLastPlayer" does not exist.', 175, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["player"]) {
// line 176
echo "\t\t\t\t\t\t";
$this->loadTemplate("Common/blocLastHomepage.html.twig", "Front/index.html.twig", 176)->display(twig_array_merge($context, ["user" => $context["player"]]));
// line 177
echo "\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['player'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 178
echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"col-2\"></div>
\t\t</div>
\t</section>
\t
\t<section id=\"club\" class=\"club-section d-none d-md-block\">
\t\t<h2>Clubs</h2>
\t\t";
// line 187
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextClub");
echo "
\t\t<h4>";
// line 188
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastClub")), "html", null, true);
echo "</h4>
\t\t<div class=\"row mb-3 mt-3\">
\t\t\t<div class=\"col-2\"></div>
\t\t\t<div class=\"col-8\">
\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t";
// line 194
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["listLastClub"]) || array_key_exists("listLastClub", $context) ? $context["listLastClub"] : (function () { throw new RuntimeError('Variable "listLastClub" does not exist.', 194, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["club"]) {
// line 195
echo "\t\t\t\t\t\t";
$this->loadTemplate("Common/blocLastHomepage.html.twig", "Front/index.html.twig", 195)->display(twig_array_merge($context, ["user" => $context["club"]]));
// line 196
echo "\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['club'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 197
echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"col-2\"></div>
\t\t</div>
\t</section>
\t
\t<section id=\"professional\" class=\"professional-section d-none d-md-block\">
\t\t<h2>Professionnels</h2>
\t\t";
// line 207
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextPro");
echo "
\t\t<h4>";
// line 208
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPro")), "html", null, true);
echo "</h4>
\t\t<div class=\"row mb-3 mt-3\">
\t\t\t<div class=\"col-2\"></div>
\t\t\t<div class=\"col-8\">
\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t";
// line 214
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["listLastPro"]) || array_key_exists("listLastPro", $context) ? $context["listLastPro"] : (function () { throw new RuntimeError('Variable "listLastPro" does not exist.', 214, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["pro"]) {
// line 215
echo "\t\t\t\t\t\t";
$this->loadTemplate("Common/blocLastHomepage.html.twig", "Front/index.html.twig", 215)->display(twig_array_merge($context, ["user" => $context["pro"]]));
// line 216
echo "\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pro'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 217
echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"col-2\"></div>
\t\t</div>
\t</section>
\t
\t
\t<div id=\"divFrontModal\"></div>
\t
\t<div class=\"modal fade\" id=\"modalCreateAccount\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\">
\t\t\t\t\t<h4 class=\"modal-title\">";
// line 231
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html", null, true);
echo "</h4>
\t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">×</button>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-12 text-center\">
\t\t\t\t\t\t\t<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-md-12 text-center\">
\t\t\t\t\t\t\t";
// line 240
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or");
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-12 mt-2\">
\t\t\t\t\t\t\t";
// line 243
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 243, $this->source); })()), 'form_start');
echo "
\t\t\t\t\t\t\t\t";
// line 244
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 244, $this->source); })()), [0 => "Form/bootstrapColsOnly12.html.twig"], true);
// line 245
echo "\t\t\t\t\t\t\t\t";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 245, $this->source); })()), "typeUser", [], "any", false, false, false, 245), 'row');
echo "
\t\t\t\t\t\t\t\t";
// line 246
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 246, $this->source); })()), "country", [], "any", false, false, false, 246), 'row');
echo "
\t\t\t\t\t\t\t\t";
// line 247
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 247, $this->source); })()), "nickname", [], "any", false, false, false, 247), 'row');
echo "
\t\t\t\t\t\t\t\t";
// line 248
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 248, $this->source); })()), "email", [], "any", false, false, false, 248), 'row');
echo "
\t\t\t\t\t\t\t\t";
// line 249
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 249, $this->source); })()), "password", [], "any", false, false, false, 249), "first", [], "any", false, false, false, 249), 'row');
echo "
\t\t\t\t\t\t\t\t";
// line 250
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 250, $this->source); })()), "password", [], "any", false, false, false, 250), "second", [], "any", false, false, false, 250), 'row');
echo "
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div class=\"col-12 text-center\">
\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-success\">";
// line 253
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html", null, true);
echo "</button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
// line 255
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 255, $this->source); })()), 'form_end');
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t
\t\t\t</div>
\t\t</div>
\t</div>
\t
\t
\t
\t
\t<div class=\"modal fade\" id=\"registerConfirmEmail\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\">
\t\t\t\t\t<h4 class=\"modal-title\">";
// line 271
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html", null, true);
echo "</h4>
\t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">×</button>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-12 text-center\">
\t\t\t\t\t\t\t";
// line 277
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("confirmEmail");
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t
\t\t\t</div>
\t\t</div>
\t</div>
\t
\t
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Front/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 751 => 277, 742 => 271, 723 => 255, 718 => 253, 712 => 250, 708 => 249, 704 => 248, 700 => 247, 696 => 246, 691 => 245, 689 => 244, 685 => 243, 679 => 240, 667 => 231, 651 => 217, 637 => 216, 634 => 215, 617 => 214, 608 => 208, 604 => 207, 592 => 197, 578 => 196, 575 => 195, 558 => 194, 549 => 188, 545 => 187, 534 => 178, 520 => 177, 517 => 176, 500 => 175, 491 => 169, 485 => 166, 479 => 163, 473 => 160, 467 => 156, 459 => 151, 450 => 145, 443 => 142, 437 => 138, 431 => 135, 426 => 133, 420 => 130, 414 => 128, 409 => 124, 406 => 123, 404 => 122, 399 => 120, 392 => 116, 382 => 108, 368 => 107, 365 => 106, 348 => 105, 339 => 99, 335 => 98, 324 => 89, 310 => 88, 307 => 87, 290 => 86, 281 => 80, 277 => 79, 266 => 70, 252 => 69, 249 => 68, 232 => 67, 223 => 61, 217 => 58, 211 => 55, 205 => 52, 195 => 45, 186 => 39, 179 => 36, 173 => 32, 167 => 29, 162 => 27, 156 => 24, 150 => 22, 141 => 15, 135 => 12, 131 => 10, 128 => 8, 118 => 7, 99 => 5, 80 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'baseFront.html.twig' %}
{% block title %}{{ 'metaTitleHomepage'|trans }}{% endblock %}
{% block keywords %}{{ 'metaKeywordHomepage'|trans }}{% endblock %}
{% block description %}{{ 'metaDescriptionHomepage'|trans }}{% endblock %}
{% block content %}
\t
\t<section id=\"homemobile\" class=\"mobile-section d-block d-sm-none\">{# MOBILE #}
\t\t<div id=\"home-edito\">
\t\t\t<h2>Edito</h2>
\t\t\t{{ 'edito'|trans|raw }}
\t\t</div>
\t\t<div>
\t\t\t{{ 'mobileLinkAppText'|trans|raw }}
\t\t</div>
\t\t
\t\t<div id=\"connection\" class=\"connection-section d-block d-sm-none text-center\">
\t\t\t<h2>Connexion</h2>
\t\t\t<br />
\t\t\t{#<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>#}
\t\t\t<a class=\"btn btn-facebook\" href=\"{{ path('connect_facebook_start') }}\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
\t\t\t<div class=\"col-md-12 text-center\">
\t\t\t\t{{ 'or'|trans|raw }}
\t\t\t</div>
\t\t\t<div class=\"col-12\">
\t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"{{ path('myAccountLogin') }}\">
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"{{'email'|trans}}\" value=\"\" required autofocus />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"{{'password'|trans}}\" required />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t{#<button id=\"btnRecoveryPassword\" class=\"btn btn-secondary\">Mot de passe perdu ?</button>#}
\t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">{{ 'passwordLost'|trans }}</span>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">{{ 'login'|trans }}</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t\t<div class=\"col-12 mt-2\">
\t\t\t\t<hr />
\t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">{{ 'iRegister'|trans }}</a>
\t\t\t</div>
\t\t\t<br />
\t\t</div>
\t\t
\t\t<div id=\"app\" class=\"app-section d-block d-sm-none\">
\t\t\t<h2>Applications</h2>
\t\t\t<img src=\"{{ asset('images/tam-app-home-'~app.request.locale~'.png') }}\" style=\"width:80vw; height:auto;\"/>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-6 text-right\">
\t\t\t\t\t<img src=\"{{ asset('images/google-play-badge-'~app.request.locale~'.png') }}\" style=\"width:auto;height:60px;\"/>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
\t\t\t\t\t<img src=\"{{ asset('images/app-store-'~app.request.locale~'.png') }}\" style=\"width:auto;height:40px;\"/>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<h4>{{ 'lastPlayer'|trans|capitalize }}</h4>
\t\t\t<div class=\"row mb-3 mt-3\">
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t\t{% for player in listLastPlayer %}
\t\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': player} %}
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t</div>
\t\t</div>
\t\t
\t\t<div id=\"club\" class=\"club-section d-block d-sm-none\">
\t\t\t<h2>Clubs</h2>
\t\t\t{{'indexTextClub'|trans|raw}}
\t\t\t<h4>{{ 'lastClub'|trans|capitalize }}</h4>
\t\t\t<div class=\"row mb-3 mt-3\">
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t\t{% for club in listLastClub %}
\t\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': club} %}
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t</div>
\t
\t\t</div>
\t\t<div id=\"professional\" class=\"professional-section d-block d-sm-none\">
\t\t\t<h2>Professionnels</h2>
\t\t\t{{'indexTextPro'|trans|raw}}
\t\t\t<h4>{{ 'lastPro'|trans|capitalize }}</h4>
\t\t\t<div class=\"row mb-3 mt-3\">
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t\t{% for pro in listLastPro %}
\t\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': pro} %}
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-2\"></div>
\t\t\t</div>
\t\t</div>
\t</section>
\t
\t<input type=\"hidden\" id=\"hiddenRegisterSuccess\" value=\"{{registerSuccess}}\" />
\t<section id=\"home\" class=\"home-section d-none d-md-block\">
\t\t<div id=\"home-edito\">
\t\t\t<h2>Edito</h2>
\t\t\t{{ 'edito'|trans|raw }}
\t\t</div>
\t\t{% if is_granted('ROLE_USER') %}
\t\t{% else %}
\t\t<div id=\"home-bloc-connect\">
\t\t\t<h2>Connexion</h2>
\t\t\t<br />
\t\t\t{#<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>#}
\t\t\t<a class=\"btn btn-facebook\" href=\"{{ path('connect_facebook_start') }}\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
\t\t\t<div class=\"col-md-12 text-center\">
\t\t\t\t{{ 'or'|trans|raw }}
\t\t\t</div>
\t\t\t<div class=\"col-12\">
\t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"{{ path('myAccountLogin') }}\">
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"{{'email'|trans}}\" value=\"\" required autofocus />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"{{'password'|trans}}\" required />
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t{#<button id=\"btnRecoveryPassword\" class=\"btn btn-secondary\">Mot de passe perdu ?</button>#}
\t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">{{ 'passwordLost'|trans }}</span>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
\t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">{{ 'login'|trans }}</button>
\t\t\t\t\t</div>
\t\t\t\t</form>
\t\t\t</div>
\t\t\t<div class=\"col-12 mt-2\">
\t\t\t\t<hr />
\t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">{{ 'iRegister'|trans }}</a>
\t\t\t</div>
\t\t\t<br />
\t\t</div>
\t\t{% endif %}
\t</section>
\t
\t<section id=\"app\" class=\"app-section d-none d-md-block\">
\t\t<h2>Applications</h2>
\t\t<img src=\"{{ asset('images/tam-app-home-'~app.request.locale~'.png') }}\"/>
\t\t<div class=\"row\">
\t\t\t<div class=\"col-6 text-right\">
\t\t\t\t<img src=\"{{ asset('images/google-play-badge-'~app.request.locale~'.png') }}\" style=\"width:auto;height:60px;\"/>
\t\t\t</div>
\t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
\t\t\t\t<img src=\"{{ asset('images/app-store-'~app.request.locale~'.png') }}\" style=\"width:auto;height:40px;\"/>
\t\t\t</div>
\t\t</div>
\t\t<h4>{{ 'lastPlayer'|trans|capitalize }}</h4>
\t\t<div class=\"row mb-3 mt-3\">
\t\t\t<div class=\"col-2\"></div>
\t\t\t<div class=\"col-8\">
\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t{% for player in listLastPlayer %}
\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': player} %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"col-2\"></div>
\t\t</div>
\t</section>
\t
\t<section id=\"club\" class=\"club-section d-none d-md-block\">
\t\t<h2>Clubs</h2>
\t\t{{'indexTextClub'|trans|raw}}
\t\t<h4>{{ 'lastClub'|trans|capitalize }}</h4>
\t\t<div class=\"row mb-3 mt-3\">
\t\t\t<div class=\"col-2\"></div>
\t\t\t<div class=\"col-8\">
\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t{% for club in listLastClub %}
\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': club} %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"col-2\"></div>
\t\t</div>
\t</section>
\t
\t<section id=\"professional\" class=\"professional-section d-none d-md-block\">
\t\t<h2>Professionnels</h2>
\t\t{{'indexTextPro'|trans|raw}}
\t\t<h4>{{ 'lastPro'|trans|capitalize }}</h4>
\t\t<div class=\"row mb-3 mt-3\">
\t\t\t<div class=\"col-2\"></div>
\t\t\t<div class=\"col-8\">
\t\t\t\t<div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
\t\t\t\t\t\t{% for pro in listLastPro %}
\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': pro} %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"col-2\"></div>
\t\t</div>
\t</section>
\t
\t
\t<div id=\"divFrontModal\"></div>
\t
\t<div class=\"modal fade\" id=\"modalCreateAccount\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\">
\t\t\t\t\t<h4 class=\"modal-title\">{{ 'iRegister'|trans }}</h4>
\t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">×</button>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-12 text-center\">
\t\t\t\t\t\t\t<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-md-12 text-center\">
\t\t\t\t\t\t\t{{ 'or'|trans|raw }}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-12 mt-2\">
\t\t\t\t\t\t\t{{ form_start(form) }}
\t\t\t\t\t\t\t\t{% form_theme form 'Form/bootstrapColsOnly12.html.twig' %}
\t\t\t\t\t\t\t\t{{ form_row(form.typeUser) }}
\t\t\t\t\t\t\t\t{{ form_row(form.country) }}
\t\t\t\t\t\t\t\t{{ form_row(form.nickname) }}
\t\t\t\t\t\t\t\t{{ form_row(form.email) }}
\t\t\t\t\t\t\t\t{{ form_row(form.password.first) }}
\t\t\t\t\t\t\t\t{{ form_row(form.password.second) }}
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<div class=\"col-12 text-center\">
\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-success\">{{ 'iRegister'|trans }}</button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{{ form_end(form) }}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t
\t\t\t</div>
\t\t</div>
\t</div>
\t
\t
\t
\t
\t<div class=\"modal fade\" id=\"registerConfirmEmail\" tabindex=\"-1\" role=\"dialog\">
\t\t<div class=\"modal-dialog\" role=\"document\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\">
\t\t\t\t\t<h4 class=\"modal-title\">{{ 'iRegister'|trans }}</h4>
\t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">×</button>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-12 text-center\">
\t\t\t\t\t\t\t{{ 'confirmEmail'|trans|raw}}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t
\t\t\t</div>
\t\t</div>
\t</div>
\t
\t
{% endblock %}", "Front/index.html.twig", "/home/tam/www.reset/templates/Front/index.html.twig");
}
}