var/cache/dev/twig/d0/d0a2187906e33addbc7ba533d81791e2.php line 118

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Front/index.html.twig */
  14. class __TwigTemplate_6b77f0d0551b4940b71ea2b0f90fe3aa extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'keywords' => [$this'block_keywords'],
  25.             'description' => [$this'block_description'],
  26.             'content' => [$this'block_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "baseFront.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Front/index.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Front/index.html.twig"));
  41.         $this->parent $this->loadTemplate("baseFront.html.twig""Front/index.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("metaTitleHomepage"), "html"nulltrue);
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 4
  63.     public function block_keywords($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("metaKeywordHomepage"), "html"nulltrue);
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.     }
  76.     // line 5
  77.     public function block_description($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("metaDescriptionHomepage"), "html"nulltrue);
  85.         
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  87.         
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  89.     }
  90.     // line 7
  91.     public function block_content($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  98.         // line 8
  99.         echo "\t
  100. \t<section id=\"homemobile\" class=\"mobile-section d-block d-sm-none\">";
  101.         // line 10
  102.         echo "\t\t<div id=\"home-edito\">
  103. \t\t\t<h2>Edito</h2>
  104. \t\t\t";
  105.         // line 12
  106.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("edito");
  107.         echo "
  108. \t\t</div>
  109. \t\t<div>
  110. \t\t\t";
  111.         // line 15
  112.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mobileLinkAppText");
  113.         echo "
  114. \t\t</div>
  115. \t\t
  116. \t\t<div id=\"connection\" class=\"connection-section d-block d-sm-none text-center\">
  117. \t\t\t<h2>Connexion</h2>
  118. \t\t\t<br />
  119. \t\t\t";
  120.         // line 22
  121.         echo "\t\t\t<a class=\"btn btn-facebook\" href=\"";
  122.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_facebook_start");
  123.         echo "\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
  124. \t\t\t<div class=\"col-md-12 text-center\">
  125. \t\t\t\t";
  126.         // line 24
  127.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or");
  128.         echo "
  129. \t\t\t</div>
  130. \t\t\t<div class=\"col-12\">
  131. \t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"";
  132.         // line 27
  133.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogin");
  134.         echo "\">
  135. \t\t\t\t\t<div class=\"form-group\">
  136. \t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"";
  137.         // line 29
  138.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email"), "html"nulltrue);
  139.         echo "\" value=\"\" required autofocus />
  140. \t\t\t\t\t</div>
  141. \t\t\t\t\t<div class=\"form-group\">
  142. \t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"";
  143.         // line 32
  144.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password"), "html"nulltrue);
  145.         echo "\" required />
  146. \t\t\t\t\t</div>
  147. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  148. \t\t\t\t\t\t";
  149.         // line 36
  150.         echo "\t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">";
  151.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("passwordLost"), "html"nulltrue);
  152.         echo "</span>
  153. \t\t\t\t\t</div>
  154. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  155. \t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">";
  156.         // line 39
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login"), "html"nulltrue);
  158.         echo "</button>
  159. \t\t\t\t\t</div>
  160. \t\t\t\t</form>
  161. \t\t\t</div>
  162. \t\t\t<div class=\"col-12 mt-2\">
  163. \t\t\t\t<hr />
  164. \t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">";
  165.         // line 45
  166.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html"nulltrue);
  167.         echo "</a>
  168. \t\t\t</div>
  169. \t\t\t<br />
  170. \t\t</div>
  171. \t\t
  172. \t\t<div id=\"app\" class=\"app-section d-block d-sm-none\">
  173. \t\t\t<h2>Applications</h2>
  174. \t\t\t<img src=\"";
  175.         // line 52
  176.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/tam-app-home-" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'52$this->source); })()), "request", [], "any"falsefalsefalse52), "locale", [], "any"falsefalsefalse52)) . ".png")), "html"nulltrue);
  177.         echo "\" style=\"width:80vw; height:auto;\"/>
  178. \t\t\t<div class=\"row\">
  179. \t\t\t\t<div class=\"col-6 text-right\">
  180. \t\t\t\t\t<img src=\"";
  181.         // line 55
  182.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/google-play-badge-" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "request", [], "any"falsefalsefalse55), "locale", [], "any"falsefalsefalse55)) . ".png")), "html"nulltrue);
  183.         echo "\" style=\"width:auto;height:60px;\"/>
  184. \t\t\t\t</div>
  185. \t\t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
  186. \t\t\t\t\t<img src=\"";
  187.         // line 58
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/app-store-" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "request", [], "any"falsefalsefalse58), "locale", [], "any"falsefalsefalse58)) . ".png")), "html"nulltrue);
  189.         echo "\" style=\"width:auto;height:40px;\"/>
  190. \t\t\t\t</div>
  191. \t\t\t</div>
  192. \t\t\t<h4>";
  193.         // line 61
  194.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPlayer")), "html"nulltrue);
  195.         echo "</h4>
  196. \t\t\t<div class=\"row mb-3 mt-3\">
  197. \t\t\t\t<div class=\"col-2\"></div>
  198. \t\t\t\t<div class=\"col-8\">
  199. \t\t\t\t\t<div class=\"container-fluid\">
  200. \t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  201. \t\t\t\t\t\t\t";
  202.         // line 67
  203.         $context['_parent'] = $context;
  204.         $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); })()));
  205.         $context['loop'] = [
  206.           'parent' => $context['_parent'],
  207.           'index0' => 0,
  208.           'index'  => 1,
  209.           'first'  => true,
  210.         ];
  211.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  212.             $length count($context['_seq']);
  213.             $context['loop']['revindex0'] = $length 1;
  214.             $context['loop']['revindex'] = $length;
  215.             $context['loop']['length'] = $length;
  216.             $context['loop']['last'] = === $length;
  217.         }
  218.         foreach ($context['_seq'] as $context["_key"] => $context["player"]) {
  219.             // line 68
  220.             echo "\t\t\t\t\t\t\t";
  221.             $this->loadTemplate("Common/blocLastHomepage.html.twig""Front/index.html.twig"68)->display(twig_array_merge($context, ["user" => $context["player"]]));
  222.             // line 69
  223.             echo "\t\t\t\t\t\t\t";
  224.             ++$context['loop']['index0'];
  225.             ++$context['loop']['index'];
  226.             $context['loop']['first'] = false;
  227.             if (isset($context['loop']['length'])) {
  228.                 --$context['loop']['revindex0'];
  229.                 --$context['loop']['revindex'];
  230.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  231.             }
  232.         }
  233.         $_parent $context['_parent'];
  234.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['player'], $context['_parent'], $context['loop']);
  235.         $context array_intersect_key($context$_parent) + $_parent;
  236.         // line 70
  237.         echo "\t\t\t\t\t\t</div>
  238. \t\t\t\t\t</div>
  239. \t\t\t\t</div>
  240. \t\t\t\t<div class=\"col-2\"></div>
  241. \t\t\t</div>
  242. \t\t</div>
  243. \t\t
  244. \t\t<div id=\"club\" class=\"club-section d-block d-sm-none\">
  245. \t\t\t<h2>Clubs</h2>
  246. \t\t\t";
  247.         // line 79
  248.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextClub");
  249.         echo "
  250. \t\t\t<h4>";
  251.         // line 80
  252.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastClub")), "html"nulltrue);
  253.         echo "</h4>
  254. \t\t\t<div class=\"row mb-3 mt-3\">
  255. \t\t\t\t<div class=\"col-2\"></div>
  256. \t\t\t\t<div class=\"col-8\">
  257. \t\t\t\t\t<div class=\"container-fluid\">
  258. \t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  259. \t\t\t\t\t\t\t";
  260.         // line 86
  261.         $context['_parent'] = $context;
  262.         $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); })()));
  263.         $context['loop'] = [
  264.           'parent' => $context['_parent'],
  265.           'index0' => 0,
  266.           'index'  => 1,
  267.           'first'  => true,
  268.         ];
  269.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  270.             $length count($context['_seq']);
  271.             $context['loop']['revindex0'] = $length 1;
  272.             $context['loop']['revindex'] = $length;
  273.             $context['loop']['length'] = $length;
  274.             $context['loop']['last'] = === $length;
  275.         }
  276.         foreach ($context['_seq'] as $context["_key"] => $context["club"]) {
  277.             // line 87
  278.             echo "\t\t\t\t\t\t\t";
  279.             $this->loadTemplate("Common/blocLastHomepage.html.twig""Front/index.html.twig"87)->display(twig_array_merge($context, ["user" => $context["club"]]));
  280.             // line 88
  281.             echo "\t\t\t\t\t\t\t";
  282.             ++$context['loop']['index0'];
  283.             ++$context['loop']['index'];
  284.             $context['loop']['first'] = false;
  285.             if (isset($context['loop']['length'])) {
  286.                 --$context['loop']['revindex0'];
  287.                 --$context['loop']['revindex'];
  288.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  289.             }
  290.         }
  291.         $_parent $context['_parent'];
  292.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['club'], $context['_parent'], $context['loop']);
  293.         $context array_intersect_key($context$_parent) + $_parent;
  294.         // line 89
  295.         echo "\t\t\t\t\t\t</div>
  296. \t\t\t\t\t</div>
  297. \t\t\t\t</div>
  298. \t\t\t\t<div class=\"col-2\"></div>
  299. \t\t\t</div>
  300. \t
  301. \t\t</div>
  302. \t\t<div id=\"professional\" class=\"professional-section d-block d-sm-none\">
  303. \t\t\t<h2>Professionnels</h2>
  304. \t\t\t";
  305.         // line 98
  306.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextPro");
  307.         echo "
  308. \t\t\t<h4>";
  309.         // line 99
  310.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPro")), "html"nulltrue);
  311.         echo "</h4>
  312. \t\t\t<div class=\"row mb-3 mt-3\">
  313. \t\t\t\t<div class=\"col-2\"></div>
  314. \t\t\t\t<div class=\"col-8\">
  315. \t\t\t\t\t<div class=\"container-fluid\">
  316. \t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  317. \t\t\t\t\t\t\t";
  318.         // line 105
  319.         $context['_parent'] = $context;
  320.         $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); })()));
  321.         $context['loop'] = [
  322.           'parent' => $context['_parent'],
  323.           'index0' => 0,
  324.           'index'  => 1,
  325.           'first'  => true,
  326.         ];
  327.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  328.             $length count($context['_seq']);
  329.             $context['loop']['revindex0'] = $length 1;
  330.             $context['loop']['revindex'] = $length;
  331.             $context['loop']['length'] = $length;
  332.             $context['loop']['last'] = === $length;
  333.         }
  334.         foreach ($context['_seq'] as $context["_key"] => $context["pro"]) {
  335.             // line 106
  336.             echo "\t\t\t\t\t\t\t";
  337.             $this->loadTemplate("Common/blocLastHomepage.html.twig""Front/index.html.twig"106)->display(twig_array_merge($context, ["user" => $context["pro"]]));
  338.             // line 107
  339.             echo "\t\t\t\t\t\t\t";
  340.             ++$context['loop']['index0'];
  341.             ++$context['loop']['index'];
  342.             $context['loop']['first'] = false;
  343.             if (isset($context['loop']['length'])) {
  344.                 --$context['loop']['revindex0'];
  345.                 --$context['loop']['revindex'];
  346.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  347.             }
  348.         }
  349.         $_parent $context['_parent'];
  350.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pro'], $context['_parent'], $context['loop']);
  351.         $context array_intersect_key($context$_parent) + $_parent;
  352.         // line 108
  353.         echo "\t\t\t\t\t\t</div>
  354. \t\t\t\t\t</div>
  355. \t\t\t\t</div>
  356. \t\t\t\t<div class=\"col-2\"></div>
  357. \t\t\t</div>
  358. \t\t</div>
  359. \t</section>
  360. \t
  361. \t<input type=\"hidden\" id=\"hiddenRegisterSuccess\" value=\"";
  362.         // line 116
  363.         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"nulltrue);
  364.         echo "\" />
  365. \t<section id=\"home\" class=\"home-section d-none d-md-block\">
  366. \t\t<div id=\"home-edito\">
  367. \t\t\t<h2>Edito</h2>
  368. \t\t\t";
  369.         // line 120
  370.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("edito");
  371.         echo "
  372. \t\t</div>
  373. \t\t";
  374.         // line 122
  375.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  376.             // line 123
  377.             echo "\t\t";
  378.         } else {
  379.             // line 124
  380.             echo "\t\t<div id=\"home-bloc-connect\">
  381. \t\t\t<h2>Connexion</h2>
  382. \t\t\t<br />
  383. \t\t\t";
  384.             // line 128
  385.             echo "\t\t\t<a class=\"btn btn-facebook\" href=\"";
  386.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_facebook_start");
  387.             echo "\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
  388. \t\t\t<div class=\"col-md-12 text-center\">
  389. \t\t\t\t";
  390.             // line 130
  391.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or");
  392.             echo "
  393. \t\t\t</div>
  394. \t\t\t<div class=\"col-12\">
  395. \t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"";
  396.             // line 133
  397.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogin");
  398.             echo "\">
  399. \t\t\t\t\t<div class=\"form-group\">
  400. \t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"";
  401.             // line 135
  402.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email"), "html"nulltrue);
  403.             echo "\" value=\"\" required autofocus />
  404. \t\t\t\t\t</div>
  405. \t\t\t\t\t<div class=\"form-group\">
  406. \t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"";
  407.             // line 138
  408.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password"), "html"nulltrue);
  409.             echo "\" required />
  410. \t\t\t\t\t</div>
  411. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  412. \t\t\t\t\t\t";
  413.             // line 142
  414.             echo "\t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">";
  415.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("passwordLost"), "html"nulltrue);
  416.             echo "</span>
  417. \t\t\t\t\t</div>
  418. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  419. \t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">";
  420.             // line 145
  421.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login"), "html"nulltrue);
  422.             echo "</button>
  423. \t\t\t\t\t</div>
  424. \t\t\t\t</form>
  425. \t\t\t</div>
  426. \t\t\t<div class=\"col-12 mt-2\">
  427. \t\t\t\t<hr />
  428. \t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">";
  429.             // line 151
  430.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html"nulltrue);
  431.             echo "</a>
  432. \t\t\t</div>
  433. \t\t\t<br />
  434. \t\t</div>
  435. \t\t";
  436.         }
  437.         // line 156
  438.         echo "\t</section>
  439. \t
  440. \t<section id=\"app\" class=\"app-section d-none d-md-block\">
  441. \t\t<h2>Applications</h2>
  442. \t\t<img src=\"";
  443.         // line 160
  444.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/tam-app-home-" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'160$this->source); })()), "request", [], "any"falsefalsefalse160), "locale", [], "any"falsefalsefalse160)) . ".png")), "html"nulltrue);
  445.         echo "\"/>
  446. \t\t<div class=\"row\">
  447. \t\t\t<div class=\"col-6 text-right\">
  448. \t\t\t\t<img src=\"";
  449.         // line 163
  450.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/google-play-badge-" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'163$this->source); })()), "request", [], "any"falsefalsefalse163), "locale", [], "any"falsefalsefalse163)) . ".png")), "html"nulltrue);
  451.         echo "\" style=\"width:auto;height:60px;\"/>
  452. \t\t\t</div>
  453. \t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
  454. \t\t\t\t<img src=\"";
  455.         // line 166
  456.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/app-store-" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'166$this->source); })()), "request", [], "any"falsefalsefalse166), "locale", [], "any"falsefalsefalse166)) . ".png")), "html"nulltrue);
  457.         echo "\" style=\"width:auto;height:40px;\"/>
  458. \t\t\t</div>
  459. \t\t</div>
  460. \t\t<h4>";
  461.         // line 169
  462.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPlayer")), "html"nulltrue);
  463.         echo "</h4>
  464. \t\t<div class=\"row mb-3 mt-3\">
  465. \t\t\t<div class=\"col-2\"></div>
  466. \t\t\t<div class=\"col-8\">
  467. \t\t\t\t<div class=\"container-fluid\">
  468. \t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  469. \t\t\t\t\t\t";
  470.         // line 175
  471.         $context['_parent'] = $context;
  472.         $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); })()));
  473.         $context['loop'] = [
  474.           'parent' => $context['_parent'],
  475.           'index0' => 0,
  476.           'index'  => 1,
  477.           'first'  => true,
  478.         ];
  479.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  480.             $length count($context['_seq']);
  481.             $context['loop']['revindex0'] = $length 1;
  482.             $context['loop']['revindex'] = $length;
  483.             $context['loop']['length'] = $length;
  484.             $context['loop']['last'] = === $length;
  485.         }
  486.         foreach ($context['_seq'] as $context["_key"] => $context["player"]) {
  487.             // line 176
  488.             echo "\t\t\t\t\t\t";
  489.             $this->loadTemplate("Common/blocLastHomepage.html.twig""Front/index.html.twig"176)->display(twig_array_merge($context, ["user" => $context["player"]]));
  490.             // line 177
  491.             echo "\t\t\t\t\t\t";
  492.             ++$context['loop']['index0'];
  493.             ++$context['loop']['index'];
  494.             $context['loop']['first'] = false;
  495.             if (isset($context['loop']['length'])) {
  496.                 --$context['loop']['revindex0'];
  497.                 --$context['loop']['revindex'];
  498.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  499.             }
  500.         }
  501.         $_parent $context['_parent'];
  502.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['player'], $context['_parent'], $context['loop']);
  503.         $context array_intersect_key($context$_parent) + $_parent;
  504.         // line 178
  505.         echo "\t\t\t\t\t</div>
  506. \t\t\t\t</div>
  507. \t\t\t</div>
  508. \t\t\t<div class=\"col-2\"></div>
  509. \t\t</div>
  510. \t</section>
  511. \t
  512. \t<section id=\"club\" class=\"club-section d-none d-md-block\">
  513. \t\t<h2>Clubs</h2>
  514. \t\t";
  515.         // line 187
  516.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextClub");
  517.         echo "
  518. \t\t<h4>";
  519.         // line 188
  520.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastClub")), "html"nulltrue);
  521.         echo "</h4>
  522. \t\t<div class=\"row mb-3 mt-3\">
  523. \t\t\t<div class=\"col-2\"></div>
  524. \t\t\t<div class=\"col-8\">
  525. \t\t\t\t<div class=\"container-fluid\">
  526. \t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  527. \t\t\t\t\t\t";
  528.         // line 194
  529.         $context['_parent'] = $context;
  530.         $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); })()));
  531.         $context['loop'] = [
  532.           'parent' => $context['_parent'],
  533.           'index0' => 0,
  534.           'index'  => 1,
  535.           'first'  => true,
  536.         ];
  537.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  538.             $length count($context['_seq']);
  539.             $context['loop']['revindex0'] = $length 1;
  540.             $context['loop']['revindex'] = $length;
  541.             $context['loop']['length'] = $length;
  542.             $context['loop']['last'] = === $length;
  543.         }
  544.         foreach ($context['_seq'] as $context["_key"] => $context["club"]) {
  545.             // line 195
  546.             echo "\t\t\t\t\t\t";
  547.             $this->loadTemplate("Common/blocLastHomepage.html.twig""Front/index.html.twig"195)->display(twig_array_merge($context, ["user" => $context["club"]]));
  548.             // line 196
  549.             echo "\t\t\t\t\t\t";
  550.             ++$context['loop']['index0'];
  551.             ++$context['loop']['index'];
  552.             $context['loop']['first'] = false;
  553.             if (isset($context['loop']['length'])) {
  554.                 --$context['loop']['revindex0'];
  555.                 --$context['loop']['revindex'];
  556.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  557.             }
  558.         }
  559.         $_parent $context['_parent'];
  560.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['club'], $context['_parent'], $context['loop']);
  561.         $context array_intersect_key($context$_parent) + $_parent;
  562.         // line 197
  563.         echo "\t\t\t\t\t</div>
  564. \t\t\t\t</div>
  565. \t\t\t</div>
  566. \t\t\t<div class=\"col-2\"></div>
  567. \t\t</div>
  568. \t</section>
  569. \t
  570. \t<section id=\"professional\" class=\"professional-section d-none d-md-block\">
  571. \t\t<h2>Professionnels</h2>
  572. \t\t";
  573.         // line 207
  574.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("indexTextPro");
  575.         echo "
  576. \t\t<h4>";
  577.         // line 208
  578.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lastPro")), "html"nulltrue);
  579.         echo "</h4>
  580. \t\t<div class=\"row mb-3 mt-3\">
  581. \t\t\t<div class=\"col-2\"></div>
  582. \t\t\t<div class=\"col-8\">
  583. \t\t\t\t<div class=\"container-fluid\">
  584. \t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  585. \t\t\t\t\t\t";
  586.         // line 214
  587.         $context['_parent'] = $context;
  588.         $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); })()));
  589.         $context['loop'] = [
  590.           'parent' => $context['_parent'],
  591.           'index0' => 0,
  592.           'index'  => 1,
  593.           'first'  => true,
  594.         ];
  595.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  596.             $length count($context['_seq']);
  597.             $context['loop']['revindex0'] = $length 1;
  598.             $context['loop']['revindex'] = $length;
  599.             $context['loop']['length'] = $length;
  600.             $context['loop']['last'] = === $length;
  601.         }
  602.         foreach ($context['_seq'] as $context["_key"] => $context["pro"]) {
  603.             // line 215
  604.             echo "\t\t\t\t\t\t";
  605.             $this->loadTemplate("Common/blocLastHomepage.html.twig""Front/index.html.twig"215)->display(twig_array_merge($context, ["user" => $context["pro"]]));
  606.             // line 216
  607.             echo "\t\t\t\t\t\t";
  608.             ++$context['loop']['index0'];
  609.             ++$context['loop']['index'];
  610.             $context['loop']['first'] = false;
  611.             if (isset($context['loop']['length'])) {
  612.                 --$context['loop']['revindex0'];
  613.                 --$context['loop']['revindex'];
  614.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  615.             }
  616.         }
  617.         $_parent $context['_parent'];
  618.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pro'], $context['_parent'], $context['loop']);
  619.         $context array_intersect_key($context$_parent) + $_parent;
  620.         // line 217
  621.         echo "\t\t\t\t\t</div>
  622. \t\t\t\t</div>
  623. \t\t\t</div>
  624. \t\t\t<div class=\"col-2\"></div>
  625. \t\t</div>
  626. \t</section>
  627. \t
  628. \t
  629. \t<div id=\"divFrontModal\"></div>
  630. \t
  631. \t<div class=\"modal fade\" id=\"modalCreateAccount\" tabindex=\"-1\" role=\"dialog\">
  632. \t\t<div class=\"modal-dialog\" role=\"document\">
  633. \t\t\t<div class=\"modal-content\">
  634. \t\t\t\t<div class=\"modal-header\">
  635. \t\t\t\t\t<h4 class=\"modal-title\">";
  636.         // line 231
  637.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html"nulltrue);
  638.         echo "</h4>
  639. \t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
  640. \t\t\t\t</div>
  641. \t\t\t\t<div class=\"modal-body\">
  642. \t\t\t\t\t<div class=\"row\">
  643. \t\t\t\t\t\t<div class=\"col-12 text-center\">
  644. \t\t\t\t\t\t\t<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>
  645. \t\t\t\t\t\t</div>
  646. \t\t\t\t\t\t<div class=\"col-md-12 text-center\">
  647. \t\t\t\t\t\t\t";
  648.         // line 240
  649.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or");
  650.         echo "
  651. \t\t\t\t\t\t</div>
  652. \t\t\t\t\t\t<div class=\"col-12 mt-2\">
  653. \t\t\t\t\t\t\t";
  654.         // line 243
  655.         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');
  656.         echo "
  657. \t\t\t\t\t\t\t\t";
  658.         // line 244
  659.         $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); })()), [=> "Form/bootstrapColsOnly12.html.twig"], true);
  660.         // line 245
  661.         echo "\t\t\t\t\t\t\t\t";
  662.         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"falsefalsefalse245), 'row');
  663.         echo "
  664. \t\t\t\t\t\t\t\t";
  665.         // line 246
  666.         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"falsefalsefalse246), 'row');
  667.         echo "
  668. \t\t\t\t\t\t\t\t";
  669.         // line 247
  670.         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"falsefalsefalse247), 'row');
  671.         echo "
  672. \t\t\t\t\t\t\t\t";
  673.         // line 248
  674.         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"falsefalsefalse248), 'row');
  675.         echo "
  676. \t\t\t\t\t\t\t\t";
  677.         // line 249
  678.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse249), "first", [], "any"falsefalsefalse249), 'row');
  679.         echo "
  680. \t\t\t\t\t\t\t\t";
  681.         // line 250
  682.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse250), "second", [], "any"falsefalsefalse250), 'row');
  683.         echo "
  684. \t\t\t\t\t\t\t\t
  685. \t\t\t\t\t\t\t\t<div class=\"col-12 text-center\">
  686. \t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-success\">";
  687.         // line 253
  688.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html"nulltrue);
  689.         echo "</button>
  690. \t\t\t\t\t\t\t\t</div>
  691. \t\t\t\t\t\t\t";
  692.         // line 255
  693.         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');
  694.         echo "
  695. \t\t\t\t\t\t</div>
  696. \t\t\t\t\t</div>
  697. \t\t\t\t</div>
  698. \t\t\t   
  699. \t\t\t</div>
  700. \t\t</div>
  701. \t</div>
  702. \t
  703. \t
  704. \t
  705. \t
  706. \t<div class=\"modal fade\" id=\"registerConfirmEmail\" tabindex=\"-1\" role=\"dialog\">
  707. \t\t<div class=\"modal-dialog\" role=\"document\">
  708. \t\t\t<div class=\"modal-content\">
  709. \t\t\t\t<div class=\"modal-header\">
  710. \t\t\t\t\t<h4 class=\"modal-title\">";
  711.         // line 271
  712.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("iRegister"), "html"nulltrue);
  713.         echo "</h4>
  714. \t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
  715. \t\t\t\t</div>
  716. \t\t\t\t<div class=\"modal-body\">
  717. \t\t\t\t\t<div class=\"row\">
  718. \t\t\t\t\t\t<div class=\"col-12 text-center\">
  719. \t\t\t\t\t\t\t";
  720.         // line 277
  721.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("confirmEmail");
  722.         echo "
  723. \t\t\t\t\t\t</div>
  724. \t\t\t\t\t</div>
  725. \t\t\t\t</div>
  726. \t\t\t   
  727. \t\t\t</div>
  728. \t\t</div>
  729. \t</div>
  730. \t
  731. \t
  732. ";
  733.         
  734.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  735.         
  736.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  737.     }
  738.     public function getTemplateName()
  739.     {
  740.         return "Front/index.html.twig";
  741.     }
  742.     public function isTraitable()
  743.     {
  744.         return false;
  745.     }
  746.     public function getDebugInfo()
  747.     {
  748.         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,);
  749.     }
  750.     public function getSourceContext()
  751.     {
  752.         return new Source("{% extends 'baseFront.html.twig' %}
  753. {% block title %}{{ 'metaTitleHomepage'|trans }}{% endblock %}
  754. {% block keywords %}{{ 'metaKeywordHomepage'|trans }}{% endblock %}
  755. {% block description %}{{ 'metaDescriptionHomepage'|trans }}{% endblock %}
  756. {% block content %}
  757. \t
  758. \t<section id=\"homemobile\" class=\"mobile-section d-block d-sm-none\">{# MOBILE #}
  759. \t\t<div id=\"home-edito\">
  760. \t\t\t<h2>Edito</h2>
  761. \t\t\t{{ 'edito'|trans|raw }}
  762. \t\t</div>
  763. \t\t<div>
  764. \t\t\t{{ 'mobileLinkAppText'|trans|raw }}
  765. \t\t</div>
  766. \t\t
  767. \t\t<div id=\"connection\" class=\"connection-section d-block d-sm-none text-center\">
  768. \t\t\t<h2>Connexion</h2>
  769. \t\t\t<br />
  770. \t\t\t{#<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>#}
  771. \t\t\t<a class=\"btn btn-facebook\" href=\"{{ path('connect_facebook_start') }}\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
  772. \t\t\t<div class=\"col-md-12 text-center\">
  773. \t\t\t\t{{ 'or'|trans|raw }}
  774. \t\t\t</div>
  775. \t\t\t<div class=\"col-12\">
  776. \t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"{{ path('myAccountLogin') }}\">
  777. \t\t\t\t\t<div class=\"form-group\">
  778. \t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"{{'email'|trans}}\" value=\"\" required autofocus />
  779. \t\t\t\t\t</div>
  780. \t\t\t\t\t<div class=\"form-group\">
  781. \t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"{{'password'|trans}}\" required />
  782. \t\t\t\t\t</div>
  783. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  784. \t\t\t\t\t\t{#<button id=\"btnRecoveryPassword\" class=\"btn btn-secondary\">Mot de passe perdu ?</button>#}
  785. \t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">{{ 'passwordLost'|trans }}</span>
  786. \t\t\t\t\t</div>
  787. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  788. \t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">{{ 'login'|trans }}</button>
  789. \t\t\t\t\t</div>
  790. \t\t\t\t</form>
  791. \t\t\t</div>
  792. \t\t\t<div class=\"col-12 mt-2\">
  793. \t\t\t\t<hr />
  794. \t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">{{ 'iRegister'|trans }}</a>
  795. \t\t\t</div>
  796. \t\t\t<br />
  797. \t\t</div>
  798. \t\t
  799. \t\t<div id=\"app\" class=\"app-section d-block d-sm-none\">
  800. \t\t\t<h2>Applications</h2>
  801. \t\t\t<img src=\"{{ asset('images/tam-app-home-'~app.request.locale~'.png') }}\" style=\"width:80vw; height:auto;\"/>
  802. \t\t\t<div class=\"row\">
  803. \t\t\t\t<div class=\"col-6 text-right\">
  804. \t\t\t\t\t<img src=\"{{ asset('images/google-play-badge-'~app.request.locale~'.png') }}\" style=\"width:auto;height:60px;\"/>
  805. \t\t\t\t</div>
  806. \t\t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
  807. \t\t\t\t\t<img src=\"{{ asset('images/app-store-'~app.request.locale~'.png') }}\" style=\"width:auto;height:40px;\"/>
  808. \t\t\t\t</div>
  809. \t\t\t</div>
  810. \t\t\t<h4>{{ 'lastPlayer'|trans|capitalize }}</h4>
  811. \t\t\t<div class=\"row mb-3 mt-3\">
  812. \t\t\t\t<div class=\"col-2\"></div>
  813. \t\t\t\t<div class=\"col-8\">
  814. \t\t\t\t\t<div class=\"container-fluid\">
  815. \t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  816. \t\t\t\t\t\t\t{% for player in listLastPlayer %}
  817. \t\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': player} %}
  818. \t\t\t\t\t\t\t{% endfor %}
  819. \t\t\t\t\t\t</div>
  820. \t\t\t\t\t</div>
  821. \t\t\t\t</div>
  822. \t\t\t\t<div class=\"col-2\"></div>
  823. \t\t\t</div>
  824. \t\t</div>
  825. \t\t
  826. \t\t<div id=\"club\" class=\"club-section d-block d-sm-none\">
  827. \t\t\t<h2>Clubs</h2>
  828. \t\t\t{{'indexTextClub'|trans|raw}}
  829. \t\t\t<h4>{{ 'lastClub'|trans|capitalize }}</h4>
  830. \t\t\t<div class=\"row mb-3 mt-3\">
  831. \t\t\t\t<div class=\"col-2\"></div>
  832. \t\t\t\t<div class=\"col-8\">
  833. \t\t\t\t\t<div class=\"container-fluid\">
  834. \t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  835. \t\t\t\t\t\t\t{% for club in listLastClub %}
  836. \t\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': club} %}
  837. \t\t\t\t\t\t\t{% endfor %}
  838. \t\t\t\t\t\t</div>
  839. \t\t\t\t\t</div>
  840. \t\t\t\t</div>
  841. \t\t\t\t<div class=\"col-2\"></div>
  842. \t\t\t</div>
  843. \t
  844. \t\t</div>
  845. \t\t<div id=\"professional\" class=\"professional-section d-block d-sm-none\">
  846. \t\t\t<h2>Professionnels</h2>
  847. \t\t\t{{'indexTextPro'|trans|raw}}
  848. \t\t\t<h4>{{ 'lastPro'|trans|capitalize }}</h4>
  849. \t\t\t<div class=\"row mb-3 mt-3\">
  850. \t\t\t\t<div class=\"col-2\"></div>
  851. \t\t\t\t<div class=\"col-8\">
  852. \t\t\t\t\t<div class=\"container-fluid\">
  853. \t\t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  854. \t\t\t\t\t\t\t{% for pro in listLastPro %}
  855. \t\t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': pro} %}
  856. \t\t\t\t\t\t\t{% endfor %}
  857. \t\t\t\t\t\t</div>
  858. \t\t\t\t\t</div>
  859. \t\t\t\t</div>
  860. \t\t\t\t<div class=\"col-2\"></div>
  861. \t\t\t</div>
  862. \t\t</div>
  863. \t</section>
  864. \t
  865. \t<input type=\"hidden\" id=\"hiddenRegisterSuccess\" value=\"{{registerSuccess}}\" />
  866. \t<section id=\"home\" class=\"home-section d-none d-md-block\">
  867. \t\t<div id=\"home-edito\">
  868. \t\t\t<h2>Edito</h2>
  869. \t\t\t{{ 'edito'|trans|raw }}
  870. \t\t</div>
  871. \t\t{% if is_granted('ROLE_USER') %}
  872. \t\t{% else %}
  873. \t\t<div id=\"home-bloc-connect\">
  874. \t\t\t<h2>Connexion</h2>
  875. \t\t\t<br />
  876. \t\t\t{#<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>#}
  877. \t\t\t<a class=\"btn btn-facebook\" href=\"{{ path('connect_facebook_start') }}\"><span class=\"fa fa-facebook-official\"></span> Facebook</a>
  878. \t\t\t<div class=\"col-md-12 text-center\">
  879. \t\t\t\t{{ 'or'|trans|raw }}
  880. \t\t\t</div>
  881. \t\t\t<div class=\"col-12\">
  882. \t\t\t\t<form name=\"formLogin\" method=\"post\" action=\"{{ path('myAccountLogin') }}\">
  883. \t\t\t\t\t<div class=\"form-group\">
  884. \t\t\t\t\t\t<input type=\"email\" id=\"username\" name=\"_username\" class=\"form-control\" placeholder=\"{{'email'|trans}}\" value=\"\" required autofocus />
  885. \t\t\t\t\t</div>
  886. \t\t\t\t\t<div class=\"form-group\">
  887. \t\t\t\t\t\t<input type=\"password\" id=\"password\" name=\"_password\" class=\"form-control input-login\" placeholder=\"{{'password'|trans}}\" required />
  888. \t\t\t\t\t</div>
  889. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  890. \t\t\t\t\t\t{#<button id=\"btnRecoveryPassword\" class=\"btn btn-secondary\">Mot de passe perdu ?</button>#}
  891. \t\t\t\t\t\t<span id=\"btnRecoveryPassword\" class=\"btn\" style=\"font-size:12px;\">{{ 'passwordLost'|trans }}</span>
  892. \t\t\t\t\t</div>
  893. \t\t\t\t\t<div class=\"col-md-12 m-t-20 text-center\">
  894. \t\t\t\t\t\t<button id=\"btnConnect\" type=\"submit\" class=\"btn btn-success\">{{ 'login'|trans }}</button>
  895. \t\t\t\t\t</div>
  896. \t\t\t\t</form>
  897. \t\t\t</div>
  898. \t\t\t<div class=\"col-12 mt-2\">
  899. \t\t\t\t<hr />
  900. \t\t\t\t<a data-toggle=\"modal\" href=\"#modalCreateAccount\" class=\"btn btn-primary\">{{ 'iRegister'|trans }}</a>
  901. \t\t\t</div>
  902. \t\t\t<br />
  903. \t\t</div>
  904. \t\t{% endif %}
  905. \t</section>
  906. \t
  907. \t<section id=\"app\" class=\"app-section d-none d-md-block\">
  908. \t\t<h2>Applications</h2>
  909. \t\t<img src=\"{{ asset('images/tam-app-home-'~app.request.locale~'.png') }}\"/>
  910. \t\t<div class=\"row\">
  911. \t\t\t<div class=\"col-6 text-right\">
  912. \t\t\t\t<img src=\"{{ asset('images/google-play-badge-'~app.request.locale~'.png') }}\" style=\"width:auto;height:60px;\"/>
  913. \t\t\t</div>
  914. \t\t\t<div class=\"col-6 text-left d-flex align-items-center\">
  915. \t\t\t\t<img src=\"{{ asset('images/app-store-'~app.request.locale~'.png') }}\" style=\"width:auto;height:40px;\"/>
  916. \t\t\t</div>
  917. \t\t</div>
  918. \t\t<h4>{{ 'lastPlayer'|trans|capitalize }}</h4>
  919. \t\t<div class=\"row mb-3 mt-3\">
  920. \t\t\t<div class=\"col-2\"></div>
  921. \t\t\t<div class=\"col-8\">
  922. \t\t\t\t<div class=\"container-fluid\">
  923. \t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  924. \t\t\t\t\t\t{% for player in listLastPlayer %}
  925. \t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': player} %}
  926. \t\t\t\t\t\t{% endfor %}
  927. \t\t\t\t\t</div>
  928. \t\t\t\t</div>
  929. \t\t\t</div>
  930. \t\t\t<div class=\"col-2\"></div>
  931. \t\t</div>
  932. \t</section>
  933. \t
  934. \t<section id=\"club\" class=\"club-section d-none d-md-block\">
  935. \t\t<h2>Clubs</h2>
  936. \t\t{{'indexTextClub'|trans|raw}}
  937. \t\t<h4>{{ 'lastClub'|trans|capitalize }}</h4>
  938. \t\t<div class=\"row mb-3 mt-3\">
  939. \t\t\t<div class=\"col-2\"></div>
  940. \t\t\t<div class=\"col-8\">
  941. \t\t\t\t<div class=\"container-fluid\">
  942. \t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  943. \t\t\t\t\t\t{% for club in listLastClub %}
  944. \t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': club} %}
  945. \t\t\t\t\t\t{% endfor %}
  946. \t\t\t\t\t</div>
  947. \t\t\t\t</div>
  948. \t\t\t</div>
  949. \t\t\t<div class=\"col-2\"></div>
  950. \t\t</div>
  951. \t</section>
  952. \t
  953. \t<section id=\"professional\" class=\"professional-section d-none d-md-block\">
  954. \t\t<h2>Professionnels</h2>
  955. \t\t{{'indexTextPro'|trans|raw}}
  956. \t\t<h4>{{ 'lastPro'|trans|capitalize }}</h4>
  957. \t\t<div class=\"row mb-3 mt-3\">
  958. \t\t\t<div class=\"col-2\"></div>
  959. \t\t\t<div class=\"col-8\">
  960. \t\t\t\t<div class=\"container-fluid\">
  961. \t\t\t\t\t<div class=\"row d-flex justify-content-between\">
  962. \t\t\t\t\t\t{% for pro in listLastPro %}
  963. \t\t\t\t\t\t{% include 'Common/blocLastHomepage.html.twig' with {'user': pro} %}
  964. \t\t\t\t\t\t{% endfor %}
  965. \t\t\t\t\t</div>
  966. \t\t\t\t</div>
  967. \t\t\t</div>
  968. \t\t\t<div class=\"col-2\"></div>
  969. \t\t</div>
  970. \t</section>
  971. \t
  972. \t
  973. \t<div id=\"divFrontModal\"></div>
  974. \t
  975. \t<div class=\"modal fade\" id=\"modalCreateAccount\" tabindex=\"-1\" role=\"dialog\">
  976. \t\t<div class=\"modal-dialog\" role=\"document\">
  977. \t\t\t<div class=\"modal-content\">
  978. \t\t\t\t<div class=\"modal-header\">
  979. \t\t\t\t\t<h4 class=\"modal-title\">{{ 'iRegister'|trans }}</h4>
  980. \t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
  981. \t\t\t\t</div>
  982. \t\t\t\t<div class=\"modal-body\">
  983. \t\t\t\t\t<div class=\"row\">
  984. \t\t\t\t\t\t<div class=\"col-12 text-center\">
  985. \t\t\t\t\t\t\t<button class=\"btn btn-facebook\" onclick=\"fb_login();\"><span class=\"fa fa-facebook-official\"></span> Facebook</button>
  986. \t\t\t\t\t\t</div>
  987. \t\t\t\t\t\t<div class=\"col-md-12 text-center\">
  988. \t\t\t\t\t\t\t{{ 'or'|trans|raw }}
  989. \t\t\t\t\t\t</div>
  990. \t\t\t\t\t\t<div class=\"col-12 mt-2\">
  991. \t\t\t\t\t\t\t{{ form_start(form) }}
  992. \t\t\t\t\t\t\t\t{% form_theme form 'Form/bootstrapColsOnly12.html.twig' %}
  993. \t\t\t\t\t\t\t\t{{ form_row(form.typeUser) }}
  994. \t\t\t\t\t\t\t\t{{ form_row(form.country) }}
  995. \t\t\t\t\t\t\t\t{{ form_row(form.nickname) }}
  996. \t\t\t\t\t\t\t\t{{ form_row(form.email) }}
  997. \t\t\t\t\t\t\t\t{{ form_row(form.password.first) }}
  998. \t\t\t\t\t\t\t\t{{ form_row(form.password.second) }}
  999. \t\t\t\t\t\t\t\t
  1000. \t\t\t\t\t\t\t\t<div class=\"col-12 text-center\">
  1001. \t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-success\">{{ 'iRegister'|trans }}</button>
  1002. \t\t\t\t\t\t\t\t</div>
  1003. \t\t\t\t\t\t\t{{ form_end(form) }}
  1004. \t\t\t\t\t\t</div>
  1005. \t\t\t\t\t</div>
  1006. \t\t\t\t</div>
  1007. \t\t\t   
  1008. \t\t\t</div>
  1009. \t\t</div>
  1010. \t</div>
  1011. \t
  1012. \t
  1013. \t
  1014. \t
  1015. \t<div class=\"modal fade\" id=\"registerConfirmEmail\" tabindex=\"-1\" role=\"dialog\">
  1016. \t\t<div class=\"modal-dialog\" role=\"document\">
  1017. \t\t\t<div class=\"modal-content\">
  1018. \t\t\t\t<div class=\"modal-header\">
  1019. \t\t\t\t\t<h4 class=\"modal-title\">{{ 'iRegister'|trans }}</h4>
  1020. \t\t\t\t\t<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>
  1021. \t\t\t\t</div>
  1022. \t\t\t\t<div class=\"modal-body\">
  1023. \t\t\t\t\t<div class=\"row\">
  1024. \t\t\t\t\t\t<div class=\"col-12 text-center\">
  1025. \t\t\t\t\t\t\t{{ 'confirmEmail'|trans|raw}}
  1026. \t\t\t\t\t\t</div>
  1027. \t\t\t\t\t</div>
  1028. \t\t\t\t</div>
  1029. \t\t\t   
  1030. \t\t\t</div>
  1031. \t\t</div>
  1032. \t</div>
  1033. \t
  1034. \t
  1035. {% endblock %}""Front/index.html.twig""/home/tam/www.reset/templates/Front/index.html.twig");
  1036.     }
  1037. }