var/cache/dev/twig/29/29d0147f280f3c021b4fe79e902d5b65.php line 637

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. /* baseFront.html.twig */
  14. class __TwigTemplate_69071c042efb0ebd995c01ff549505ff 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->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'keywords' => [$this'block_keywords'],
  26.             'description' => [$this'block_description'],
  27.             'metaheader' => [$this'block_metaheader'],
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""baseFront.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""baseFront.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. <html>
  41. <head>
  42.     <meta charset=\"UTF-8\">
  43.     
  44.     <title>";
  45.         // line 6
  46.         $this->displayBlock('title'$context$blocks);
  47.         echo "</title>
  48.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no\">
  49.     <meta name=\"keywords\" content=\"tennis, around, around me, aroundme, tennis aroundme, ";
  50.         // line 8
  51.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("partner"), "html"nulltrue);
  52.         echo ", ";
  53.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("partners"), "html"nulltrue);
  54.         echo ", ";
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("partnerTennis"), "html"nulltrue);
  56.         echo ", ";
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("club"), "html"nulltrue);
  58.         echo ", ";
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("praticeTennis"), "html"nulltrue);
  60.         echo ",";
  61.         $this->displayBlock('keywords'$context$blocks);
  62.         echo "\">
  63.     <meta name=\"description\" content=\"";
  64.         // line 9
  65.         $this->displayBlock('description'$context$blocks);
  66.         echo "\">
  67.     
  68.     <link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"";
  69.         // line 11
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-57x57.png"), "html"nulltrue);
  71.         echo "\">
  72.     <link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"";
  73.         // line 12
  74.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-60x60.png"), "html"nulltrue);
  75.         echo "\">
  76.     <link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"";
  77.         // line 13
  78.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-72x72.png"), "html"nulltrue);
  79.         echo "\">
  80.     <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"";
  81.         // line 14
  82.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-76x76.png"), "html"nulltrue);
  83.         echo "\">
  84.     <link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"";
  85.         // line 15
  86.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-114x114.png"), "html"nulltrue);
  87.         echo "\">
  88.     <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
  89.         // line 16
  90.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-120x120.png"), "html"nulltrue);
  91.         echo "\">
  92.     <link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"";
  93.         // line 17
  94.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-144x144.png"), "html"nulltrue);
  95.         echo "\">
  96.     <link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"";
  97.         // line 18
  98.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-152x152.png"), "html"nulltrue);
  99.         echo "\">
  100.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  101.         // line 19
  102.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-180x180.png"), "html"nulltrue);
  103.         echo "\">
  104.     <link rel=\"icon\" type=\"image/png\" sizes=\"192x192\"  href=\"";
  105.         // line 20
  106.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/android-icon-192x192.png"), "html"nulltrue);
  107.         echo "\">
  108.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  109.         // line 21
  110.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/favicon-32x32.png"), "html"nulltrue);
  111.         echo "\">
  112.     <link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"";
  113.         // line 22
  114.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/favicon-96x96.png"), "html"nulltrue);
  115.         echo "\">
  116.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  117.         // line 23
  118.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/favicon-16x16.png"), "html"nulltrue);
  119.         echo "\">
  120.     <link rel=\"manifest\" href=\"";
  121.         // line 24
  122.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/manifest.json"), "html"nulltrue);
  123.         echo "\">
  124.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  125.     <meta name=\"msapplication-TileImage\" content=\"";
  126.         // line 26
  127.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/ms-icon-144x144.png"), "html"nulltrue);
  128.         echo "\">
  129.     <meta name=\"theme-color\" content=\"#ffffff\">
  130.     
  131.     
  132.     <meta name=\"apple-itunes-app\" content=\"app-id=641673963\">
  133.     <meta name=\"google-play-app\" content=\"app-id=com.ildev_software.tam\">
  134.     
  135.     ";
  136.         // line 33
  137.         $this->displayBlock('metaheader'$context$blocks);
  138.         // line 36
  139.         echo "    
  140.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\" crossorigin=\"anonymous\">
  141.     <link href=\"";
  142.         // line 38
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap-datetimepicker.min.css"), "html"nulltrue);
  144.         echo "\" rel=\"stylesheet\" type=\"text/css\"/>
  145.     
  146.     <script src=\"https://kit.fontawesome.com/71852361a5.js\" crossorigin=\"anonymous\"></script>
  147.     
  148.     <link href=\"";
  149.         // line 42
  150.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/tam.css"), "html"nulltrue);
  151.         echo "\" rel=\"stylesheet\" type=\"text/css\"/>
  152.     
  153.     
  154.     <script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9609279630646939\" crossorigin=\"anonymous\"></script>
  155.     
  156.     
  157. </head>
  158. <body>
  159.     
  160.     ";
  161.         // line 52
  162.         if (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); })()), "session", [], "any"falsefalsefalse52), "started", [], "any"falsefalsefalse52)) {
  163.             // line 53
  164.             echo "        ";
  165.             $context['_parent'] = $context;
  166.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'53$this->source); })()), "session", [], "any"falsefalsefalse53), "flashbag", [], "any"falsefalsefalse53), "all", [], "any"falsefalsefalse53));
  167.             foreach ($context['_seq'] as $context["type"] => $context["flashes"]) {
  168.                 // line 54
  169.                 echo "            ";
  170.                 $context['_parent'] = $context;
  171.                 $context['_seq'] = twig_ensure_traversable($context["flashes"]);
  172.                 foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  173.                     // line 55
  174.                     echo "                <div class=\"alert-wrapper\">
  175.                     <div class=\"alert alert-";
  176.                     // line 56
  177.                     echo twig_escape_filter($this->env$context["type"], "html"nulltrue);
  178.                     echo " alert-dismissible\" role=\"alert\">
  179.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  180.                             <span aria-hidden=\"true\">&times;</span><span class=\"sr-only\">Close</span>
  181.                         </button>
  182.                         ";
  183.                     // line 60
  184.                     echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  185.                     echo "
  186.                     </div>
  187.                 </div>
  188.             ";
  189.                 }
  190.                 $_parent $context['_parent'];
  191.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  192.                 $context array_intersect_key($context$_parent) + $_parent;
  193.                 // line 64
  194.                 echo "        ";
  195.             }
  196.             $_parent $context['_parent'];
  197.             unset($context['_seq'], $context['_iterated'], $context['type'], $context['flashes'], $context['_parent'], $context['loop']);
  198.             $context array_intersect_key($context$_parent) + $_parent;
  199.             // line 65
  200.             echo "    ";
  201.         }
  202.         // line 66
  203.         echo "    
  204.     
  205.     <input type=\"hidden\" name=\"appEnvironment\" id=\"appEnvironment\" value=\"";
  206.         // line 68
  207.         echo twig_escape_filter($this->envtwig_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.'68$this->source); })()), "environment", [], "any"falsefalsefalse68), "html"nulltrue);
  208.         echo "\" />
  209.     <input type=\"hidden\" name=\"appTamLocale\" id=\"appTamLocale\" value=\"";
  210.         // line 69
  211.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'69$this->source); })()), "request", [], "any"falsefalsefalse69), "locale", [], "any"falsefalsefalse69), "html"nulltrue);
  212.         echo "\" />
  213.     <nav class=\"navbar navbar-expand-md navbar-dark fixed-top\">
  214.         <div class=\"container\">
  215.             <a class=\"navbar-brand\" href=\"http://tennis-aroundme.com\"><img alt=\"Tennis Aroundme\" src=\"";
  216.         // line 72
  217.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html"nulltrue);
  218.         echo "\" width=\"40\" style=\"margin-top:-10px;\"></a>
  219.             <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#tam-navbar-collapse\" aria-controls=\"tam-navbar-collapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  220.                 <span class=\"navbar-toggler-icon\"></span>
  221.                 <!--<span class=\"sr-only\">Toggle navigation</span>
  222.                 <span class=\"icon-bar\"></span>
  223.                 <span class=\"icon-bar\"></span>
  224.                 <span class=\"icon-bar\"></span>-->
  225.             </button>
  226.             
  227.             <div class=\"collapse navbar-collapse\" id = \"tam-navbar-collapse\">
  228.                 <ul class=\"navbar-nav mr-auto\" id=\"tam-menu-topleft\">
  229.                     <li class=\"hidden\"><a class=\"page-scroll\" href=\"#page-top\"></a></li>
  230.                     ";
  231.         // line 84
  232.         if (((twig_get_attribute($this->env$this->sourcetwig_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.'84$this->source); })()), "request", [], "any"falsefalsefalse84), "attributes", [], "any"falsefalsefalse84), "get", [=> "_route"], "method"falsefalsefalse84) != "homepage") && (twig_get_attribute($this->env$this->sourcetwig_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.'84$this->source); })()), "request", [], "any"falsefalsefalse84), "attributes", [], "any"falsefalsefalse84), "get", [=> "_route"], "method"falsefalsefalse84) != "index"))) {
  233.             // line 85
  234.             echo "                    <li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"";
  235.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  236.             echo "#home\">";
  237.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home"), "html"nulltrue);
  238.             echo "</a></li>
  239.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"";
  240.             // line 86
  241.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  242.             echo "#app\">";
  243.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app"), "html"nulltrue);
  244.             echo "</a></li>
  245.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"";
  246.             // line 87
  247.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  248.             echo "#club\">";
  249.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("club"), "html"nulltrue);
  250.             echo "</a></li>
  251.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"";
  252.             // line 88
  253.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  254.             echo "#professional\">";
  255.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("professional"), "html"nulltrue);
  256.             echo "</a></li>
  257.                     ";
  258.         } else {
  259.             // line 90
  260.             echo "                    <li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"#home\">";
  261.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home"), "html"nulltrue);
  262.             echo "</a></li>
  263.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#app\">";
  264.             // line 91
  265.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app"), "html"nulltrue);
  266.             echo "</a></li>
  267.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#club\">";
  268.             // line 92
  269.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("club"), "html"nulltrue);
  270.             echo "</a></li>
  271.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#professional\">";
  272.             // line 93
  273.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("professional"), "html"nulltrue);
  274.             echo "</a></li>
  275.                     ";
  276.         }
  277.         // line 95
  278.         echo "                    
  279.                     <li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  280.         // line 96
  281.         if (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.'96$this->source); })()), "user", [], "any"falsefalsefalse96)) {
  282.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
  283.         } else {
  284.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("searchAroundPublic");
  285.         }
  286.         echo "\">";
  287.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search"), "html"nulltrue);
  288.         echo "</a></li>
  289.                     <li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  290.         // line 97
  291.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
  292.         echo "\">";
  293.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about"), "html"nulltrue);
  294.         echo "</a></li>
  295.                     <li class=\"nav-item\"><a class=\"nav-link\" href=\"";
  296.         // line 98
  297.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  298.         echo "\">";
  299.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact"), "html"nulltrue);
  300.         echo "</a></li>
  301.                     ";
  302.         // line 99
  303.         if (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.'99$this->source); })()), "user", [], "any"falsefalsefalse99)) {
  304.             // line 100
  305.             echo "                    <li class=\"nav-item d-block d-sm-none mb-3\"><a class=\"nav-link\" href=\"";
  306.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
  307.             echo "\">";
  308.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAccount"), "html"nulltrue);
  309.             echo "</a></li>
  310.                     ";
  311.         }
  312.         // line 102
  313.         echo "                </ul>
  314.                 
  315.                 <ul class=\"mt-2 mt-md-0 top-social-network\">
  316.                     <li>
  317.                         <a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
  318.                             <span class=\"fab fa-facebook-f\"></span>
  319.                         </a>
  320.                     </li>
  321.                     <li>
  322.                         <a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
  323.                             <span class=\"fab fa-google-plus-g\"></span>
  324.                         </a>
  325.                     </li>
  326.                     <li>
  327.                         <a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
  328.                             <span class=\"fab fa-twitter\"></span>
  329.                         </a>
  330.                     </li>
  331.                 </ul>
  332.                     
  333.                 ";
  334.         // line 122
  335.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  336.             // line 123
  337.             echo "                <div class=\"mt-2 mt-md-0 d-none d-md-block\">
  338.                     <div class=\"dropdown\">
  339.                         <a href=\"#\" class=\"dropdown-toggle p-t-5 nickname-top\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\">
  340.                             ";
  341.             // line 126
  342.             if ((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.'126$this->source); })()), "user", [], "any"falsefalsefalse126), "provider", [], "any"falsefalsefalse126) == "facebook")) {
  343.                 // line 127
  344.                 echo "                                <img class=\"rounded-circle avatar40\" src=\"https://graph.facebook.com/";
  345.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'127$this->source); })()), "user", [], "any"falsefalsefalse127), "providerClientId", [], "any"falsefalsefalse127), "html"nulltrue);
  346.                 echo "/picture?type=large\">
  347.                             ";
  348.             } else {
  349.                 // line 129
  350.                 echo "                                ";
  351.                 if (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.'129$this->source); })()), "user", [], "any"falsefalsefalse129), "getAvatar", [], "method"falsefalsefalse129)) {
  352.                     // line 130
  353.                     echo "                                    <img class=\"rounded-circle avatar40\" src=\"";
  354.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'130$this->source); })()), "user", [], "any"falsefalsefalse130), "getLinkAvatar", [], "method"falsefalsefalse130), "html"nulltrue);
  355.                     echo "\">
  356.                                 ";
  357.                 } else {
  358.                     // line 132
  359.                     echo "                                    <img class=\"rounded-circle avatar40\" src=\"";
  360.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/common/defaultAvatar.png"), "html"nulltrue);
  361.                     echo "\">
  362.                                 ";
  363.                 }
  364.                 // line 134
  365.                 echo "                            ";
  366.             }
  367.             // line 135
  368.             echo "                            <span class=\"m-l-10\">";
  369.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'135$this->source); })()), "user", [], "any"falsefalsefalse135), "nickname", [], "any"falsefalsefalse135), "html"nulltrue);
  370.             echo "</span>
  371.                             <span class=\"caret\"></span>
  372.                         </a>
  373.                         <div class=\"dropdown-menu\" role=\"menu\">
  374.                             <div class=\"dropdown-item text-center f-s-14b\">";
  375.             // line 139
  376.             if (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.'139$this->source); })()), "user", [], "any"falsefalsefalse139), "nickname", [], "any"falsefalsefalse139)) {
  377.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'139$this->source); })()), "user", [], "any"falsefalsefalse139), "nickname", [], "any"falsefalsefalse139), "html"nulltrue);
  378.             } else {
  379.                 echo twig_escape_filter($this->env, (((twig_upper_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'139$this->source); })()), "user", [], "any"falsefalsefalse139), "getLastname", [], "method"falsefalsefalse139)) . " ") . twig_slice($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'139$this->source); })()), "user", [], "any"falsefalsefalse139), "getFirstname", [], "method"falsefalsefalse139), 01)) . "."), "html"nulltrue);
  380.             }
  381.             echo "</div>
  382.                             <a class=\"dropdown-item\" href=\"";
  383.             // line 140
  384.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
  385.             echo "\">";
  386.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAccount"), "html"nulltrue);
  387.             echo "</a>
  388.                             ";
  389.             // line 141
  390.             if ((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.'141$this->source); })()), "user", [], "any"falsefalsefalse141), "provider", [], "any"falsefalsefalse141) == "facebook")) {
  391.                 // line 142
  392.                 echo "                                ";
  393.                 // line 143
  394.                 echo "                                <a class=\"dropdown-item\" href=\"";
  395.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogout");
  396.                 echo "\">";
  397.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("logout"), "html"nulltrue);
  398.                 echo "</a>
  399.                             ";
  400.             } else {
  401.                 // line 145
  402.                 echo "                                <a class=\"dropdown-item\" href=\"";
  403.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogout");
  404.                 echo "\">";
  405.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("logout"), "html"nulltrue);
  406.                 echo "</a>
  407.                             ";
  408.             }
  409.             // line 147
  410.             echo "                        </div>
  411.                     </div>
  412.                 </div>
  413.                 
  414.                 ";
  415.         }
  416.         // line 152
  417.         echo "                    
  418.                 
  419.             </div>
  420.         </div>
  421.     </nav>
  422.     
  423.     ";
  424.         // line 158
  425.         if (((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.'158$this->source); })()), "user", [], "any"falsefalsefalse158) && (twig_get_attribute($this->env$this->sourcetwig_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.'158$this->source); })()), "request", [], "any"falsefalsefalse158), "attributes", [], "any"falsefalsefalse158), "get", [=> "_route"], "method"falsefalsefalse158) != "homepage")) && (twig_get_attribute($this->env$this->sourcetwig_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.'158$this->source); })()), "request", [], "any"falsefalsefalse158), "attributes", [], "any"falsefalsefalse158), "get", [=> "_route"], "method"falsefalsefalse158) != "index"))) {
  426.             // line 159
  427.             echo "        <section id=\"content\" class=\"content-section\">
  428.             <div class=\"container\">
  429.                 <div class=\"row mr-0 ml-0\">
  430.                 
  431.                     <div class=\"d-block d-sm-none mb-3\">
  432.                         <div id=\"menuWebMobile\" class=\"dropdown\">
  433.                             <button class=\"btn btn-success\" data-toggle=\"dropdown\">";
  434.             // line 165
  435.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAccount"), "html"nulltrue);
  436.             echo "</button>
  437.                             <div class=\"dropdown-menu\">
  438.                                 <a href=\"";
  439.             // line 167
  440.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
  441.             echo "\" class=\"dropdown-item\">
  442.                                     <span class=\"fas fa-tachometer-alt\"></span> ";
  443.             // line 168
  444.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("dashboard"), "html"nulltrue);
  445.             echo "
  446.                                 </a>
  447.                                 <a href=\"";
  448.             // line 170
  449.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountProfile");
  450.             echo "\" class=\"dropdown-item\">
  451.                                     <span class=\"fas fa-user\"></span> ";
  452.             // line 171
  453.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile"), "html"nulltrue);
  454.             echo "
  455.                                 </a>
  456.                                 ";
  457.             // line 173
  458.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PLAYER")) {
  459.                 // line 174
  460.                 echo "                                <a href=\"";
  461.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFriends");
  462.                 echo "\" class=\"dropdown-item\">
  463.                                     <span class=\"fas fa-users\"></span> ";
  464.                 // line 175
  465.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("friends"), "html"nulltrue);
  466.                 echo "
  467.                                     <span class=\"badge\" id=\"badgeNbRequestFriend\" ";
  468.                 // line 176
  469.                 if ((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.'176$this->source); })()), "user", [], "any"falsefalsefalse176), "nbRequestFriend", [], "method"falsefalsefalse176) == 0)) {
  470.                     echo " style=\"display:none\"";
  471.                 }
  472.                 echo ">";
  473.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'176$this->source); })()), "user", [], "any"falsefalsefalse176), "nbRequestFriend", [], "method"falsefalsefalse176), "html"nulltrue);
  474.                 echo "</span>
  475.                                 </a>
  476.                                 <a href=\"";
  477.                 // line 178
  478.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountTams");
  479.                 echo "\" class=\"dropdown-item\">
  480.                                     <img class=\"rounded-circle avatar15\" src=\"";
  481.                 // line 179
  482.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html"nulltrue);
  483.                 echo "\" /> ";
  484.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myTams"), "html"nulltrue);
  485.                 echo "
  486.                                 </a>
  487.                                 ";
  488.             } elseif (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CLUB") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PRO"))) {
  489.                 // line 182
  490.                 echo "                                <a href=\"";
  491.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFollowers");
  492.                 echo "\" class=\"dropdown-item\">
  493.                                     <span class=\"fas fa-users\"></span> Followers
  494.                                 </a>
  495.                                 ";
  496.             }
  497.             // line 186
  498.             echo "                                <a href=\"";
  499.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountMessages");
  500.             echo "\" class=\"dropdown-item\">
  501.                                     <span class=\"fa fa-envelope\"></span> ";
  502.             // line 187
  503.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("messages"), "html"nulltrue);
  504.             echo "
  505.                                     <span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
  506.                                 </a>
  507.                             </div>
  508.                         </div>
  509.                     </div>
  510.                 
  511.                     <div class=\"col-2 d-none d-md-block\">
  512.                         <div class=\"panel panel-info\">
  513.                             <div class=\"list-group\">
  514.     
  515.                                 <a href=\"";
  516.             // line 198
  517.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
  518.             echo "\" class=\"list-group-item\">
  519.                                     <span class=\"fas fa-tachometer-alt\"></span> ";
  520.             // line 199
  521.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("dashboard"), "html"nulltrue);
  522.             echo "
  523.                                 </a>
  524.                                 <a href=\"";
  525.             // line 201
  526.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountProfile");
  527.             echo "\" class=\"list-group-item\">
  528.                                     <span class=\"fas fa-user\"></span> ";
  529.             // line 202
  530.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile"), "html"nulltrue);
  531.             echo "
  532.                                 </a>
  533.                                 ";
  534.             // line 204
  535.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PLAYER")) {
  536.                 // line 205
  537.                 echo "                                <a href=\"";
  538.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFriends");
  539.                 echo "\" class=\"list-group-item\">
  540.                                     <span class=\"fas fa-users\"></span> ";
  541.                 // line 206
  542.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("friends"), "html"nulltrue);
  543.                 echo "
  544.                                     <span class=\"badge\" id=\"badgeNbRequestFriend\" ";
  545.                 // line 207
  546.                 if ((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.'207$this->source); })()), "user", [], "any"falsefalsefalse207), "nbRequestFriend", [], "method"falsefalsefalse207) == 0)) {
  547.                     echo " style=\"display:none\"";
  548.                 }
  549.                 echo ">";
  550.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'207$this->source); })()), "user", [], "any"falsefalsefalse207), "nbRequestFriend", [], "method"falsefalsefalse207), "html"nulltrue);
  551.                 echo "</span>
  552.                                 </a>
  553.                                 <a href=\"";
  554.                 // line 209
  555.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountTams");
  556.                 echo "\" class=\"list-group-item\">
  557.                                     <img class=\"rounded-circle avatar15\" src=\"";
  558.                 // line 210
  559.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html"nulltrue);
  560.                 echo "\" /> ";
  561.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myTams"), "html"nulltrue);
  562.                 echo "
  563.                                 </a>
  564.                                 ";
  565.             } elseif (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CLUB") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PRO"))) {
  566.                 // line 213
  567.                 echo "                                <a href=\"";
  568.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFollowers");
  569.                 echo "\" class=\"list-group-item\">
  570.                                     <span class=\"fas fa-users\"></span> Followers
  571.                                 </a>
  572.                                 <a href=\"";
  573.                 // line 216
  574.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountAdverts");
  575.                 echo "\" class=\"list-group-item\">
  576.                                     <img class=\"rounded-circle avatar15\" src=\"";
  577.                 // line 217
  578.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html"nulltrue);
  579.                 echo "\" /> ";
  580.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAdverts"), "html"nulltrue);
  581.                 echo "
  582.                                 </a>
  583.                                     ";
  584.                 // line 219
  585.                 if (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.'219$this->source); })()), "user", [], "any"falsefalsefalse219), "hasInvoice", [], "method"falsefalsefalse219)) {
  586.                     // line 220
  587.                     echo "                                    <a href=\"";
  588.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountInvoiceList");
  589.                     echo "\" class=\"list-group-item\">
  590.                                         <span class=\"fas fa-file-invoice\"></span> ";
  591.                     // line 221
  592.                     echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("invoices")), "html"nulltrue);
  593.                     echo "
  594.                                     </a>
  595.                                     ";
  596.                 }
  597.                 // line 224
  598.                 echo "                                ";
  599.             }
  600.             // line 225
  601.             echo "                                <a href=\"";
  602.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountMessages");
  603.             echo "\" class=\"list-group-item\">
  604.                                     <span class=\"fa fa-envelope\"></span> ";
  605.             // line 226
  606.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("messages"), "html"nulltrue);
  607.             echo "
  608.                                     <span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
  609.                                 </a>
  610.                             </div>
  611.                         </div>
  612.                     </div>
  613.                     <div class=\"col-12 col-md-10\">
  614.                     
  615.     ";
  616.         } elseif ((( !twig_get_attribute($this->env$this->source,         // line 234
  617. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'234$this->source); })()), "user", [], "any"falsefalsefalse234) && (twig_get_attribute($this->env$this->sourcetwig_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.'234$this->source); })()), "request", [], "any"falsefalsefalse234), "attributes", [], "any"falsefalsefalse234), "get", [=> "_route"], "method"falsefalsefalse234) != "homepage")) && (twig_get_attribute($this->env$this->sourcetwig_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.'234$this->source); })()), "request", [], "any"falsefalsefalse234), "attributes", [], "any"falsefalsefalse234), "get", [=> "_route"], "method"falsefalsefalse234) != "index"))) {
  618.             // line 235
  619.             echo "        <section id=\"content\" class=\"content-section section-public\">
  620.             <div class=\"container\">
  621.                 <div class=\"row mr-1 ml-1\">
  622.                     <div class=\"col-12 col-md-10\">
  623.     ";
  624.         }
  625.         // line 240
  626.         echo "        ";
  627.         $this->displayBlock('content'$context$blocks);
  628.         // line 242
  629.         echo "    ";
  630.         if (((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.'242$this->source); })()), "user", [], "any"falsefalsefalse242) && (twig_get_attribute($this->env$this->sourcetwig_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.'242$this->source); })()), "request", [], "any"falsefalsefalse242), "attributes", [], "any"falsefalsefalse242), "get", [=> "_route"], "method"falsefalsefalse242) != "homepage")) && (twig_get_attribute($this->env$this->sourcetwig_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.'242$this->source); })()), "request", [], "any"falsefalsefalse242), "attributes", [], "any"falsefalsefalse242), "get", [=> "_route"], "method"falsefalsefalse242) != "index"))) {
  631.             // line 243
  632.             echo "                    </div>
  633.                 </div>
  634.             </div>
  635.         </section>
  636.     ";
  637.         } elseif ((( !twig_get_attribute($this->env$this->source,         // line 247
  638. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'247$this->source); })()), "user", [], "any"falsefalsefalse247) && (twig_get_attribute($this->env$this->sourcetwig_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.'247$this->source); })()), "request", [], "any"falsefalsefalse247), "attributes", [], "any"falsefalsefalse247), "get", [=> "_route"], "method"falsefalsefalse247) != "homepage")) && (twig_get_attribute($this->env$this->sourcetwig_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.'247$this->source); })()), "request", [], "any"falsefalsefalse247), "attributes", [], "any"falsefalsefalse247), "get", [=> "_route"], "method"falsefalsefalse247) != "index"))) {
  639.             // line 248
  640.             echo "                    </div>
  641.                     <div class=\"col-2 d-none d-md-block\" id=\"advertPublic\">
  642.                     </div>
  643.                 </div>
  644.             </div>
  645.         </section>
  646.     ";
  647.         }
  648.         // line 255
  649.         echo "    
  650.     
  651.     <div id=\"tam-footer\" class=\"d-none d-block d-sm-none\">";
  652.         // line 258
  653.         echo "        <div class=\"container\">
  654.             <div class=\"row\">
  655.                 <div class=\"col col-sm-12 col-md-4\">
  656.                     <img src=\"";
  657.         // line 261
  658.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html"nulltrue);
  659.         echo "\" height=\"80\">
  660.                 </div>
  661.                 <div class=\"col col-sm-12 col-md-4\">
  662.                     <h3>ACCES RAPIDE</h3>
  663.                     <a href=\"";
  664.         // line 265
  665.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacyPolicy");
  666.         echo "\">";
  667.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("privacyPolicy"), "html"nulltrue);
  668.         echo "</a><br />
  669.                     <a href=\"";
  670.         // line 266
  671.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("legalMention");
  672.         echo "\">";
  673.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("legalMention"), "html"nulltrue);
  674.         echo "</a><br />
  675.                     ";
  676.         // line 272
  677.         echo "                </div>
  678.                 <div class=\"col-12 text-center\">
  679.                     <h3>Suivez-nous</h3>
  680.                     <div class=\"footer-social-network d-flex\">
  681.                         <ul class=\"list-unstyled mx-auto justify-content-center\">
  682.                             <li class=\"social-item\">
  683.                                 <a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
  684.                                     <span class=\"fab fa-facebook-f fa-xs\"></span>
  685.                                 </a>
  686.                             </li>
  687.                             <li class=\"social-item\">
  688.                                 <a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
  689.                                     <span class=\"fab fa-google-plus-g fa-xs\"></span>
  690.                                 </a>
  691.                             </li>
  692.                             <li class=\"social-item\">
  693.                                 <a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
  694.                                     <span class=\"fab fa-twitter fa-xs\"></span>
  695.                                 </a>
  696.                             </li>
  697.                         </ul>
  698.                     </div>
  699.                 </div>
  700.             </div>
  701.         </div>
  702.     </div>
  703.     <div id=\"tam-footer\" class=\"d-none d-md-block\">";
  704.         // line 299
  705.         echo "        <div class=\"container\">
  706.             <div class=\"row\">
  707.                 <div class=\"col col-sm-12 col-md-4\">
  708.                     <img src=\"";
  709.         // line 302
  710.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html"nulltrue);
  711.         echo "\" height=\"120\">
  712.                 </div>
  713.                 <div class=\"col col-sm-12 col-md-4\">
  714.                     <h3>ACCES RAPIDE</h3>
  715.                     <a href=\"";
  716.         // line 306
  717.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacyPolicy");
  718.         echo "\">";
  719.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("privacyPolicy"), "html"nulltrue);
  720.         echo "</a><br />
  721.                     <a href=\"";
  722.         // line 307
  723.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("legalMention");
  724.         echo "\">";
  725.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("legalMention"), "html"nulltrue);
  726.         echo "</a><br />
  727.                     ";
  728.         // line 313
  729.         echo "                </div>
  730.                 <div class=\"col col-sm-12 col-md-4\">
  731.                     <h3>Suivez-nous</h3>
  732.                     <div class=\"footer-social-network\">
  733.                         <ul class=\"list-unstyled\">
  734.                             <li class=\"social-item\">
  735.                                 <a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
  736.                                     <span class=\"fab fa-facebook-f\"></span>
  737.                                 </a>
  738.                             </li>
  739.                             <li class=\"social-item\">
  740.                                 <a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
  741.                                     <span class=\"fab fa-google-plus-g\"></span>
  742.                                 </a>
  743.                             </li>
  744.                             <li class=\"social-item\">
  745.                                 <a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
  746.                                     <span class=\"fab fa-twitter\"></span>
  747.                                 </a>
  748.                             </li>
  749.                         </ul>
  750.                     </div>
  751.                 </div>
  752.             </div>
  753.         </div>
  754.     </div>
  755.     <div id=\"tam-footer-black\">
  756.         <div class=\"container text-center\">
  757.             Eurl Ildev-Software - SIRET 799 258 991 00014 - APE 6201Z - TVA FR35799258991
  758.         </div>
  759.     </div>
  760.     
  761.     
  762.     <div id=\"divModalGeneral\"></div>
  763.     
  764.     <div id=\"fb-root\"></div>
  765.     <script>
  766.         window.fbAsyncInit = function() {
  767.             // init the FB JS SDK
  768.             FB.init({
  769.                 appId      : '580481168669513',                        // App ID from the app dashboard
  770.                 status     : true,                                 // Check Facebook Login status
  771.                 xfbml      : true                               // Look for social plugins on the page
  772.                 //version    : 3.1
  773.             });
  774.         };
  775.     
  776.         // Load the SDK asynchronously
  777.         (function(d, s, id){
  778.             var js, fjs = d.getElementsByTagName(s)[0];
  779.             if (d.getElementById(id)) {return;}
  780.             js = d.createElement(s); js.id = id;
  781.             ";
  782.         // line 365
  783.         if ((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.'365$this->source); })()), "session", [], "any"falsefalsefalse365), "get", [=> "_locale"], "method"falsefalsefalse365) == "fr")) {
  784.             // line 366
  785.             echo "                js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
  786.             ";
  787.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 367
  788. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'367$this->source); })()), "session", [], "any"falsefalsefalse367), "get", [=> "_locale"], "method"falsefalsefalse367) == "es")) {
  789.             // line 368
  790.             echo "                js.src = \"//connect.facebook.net/es_ES/sdk.js\";
  791.             ";
  792.         } else {
  793.             // line 370
  794.             echo "                js.src = \"//connect.facebook.net/en_US/sdk.js\";
  795.             ";
  796.         }
  797.         // line 372
  798.         echo "            //js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
  799.             fjs.parentNode.insertBefore(js, fjs);
  800.         }(document, 'script', 'facebook-jssdk'));
  801.     
  802.         ";
  803.         // line 407
  804.         echo "        
  805.     </script>
  806.     ";
  807.         // line 409
  808.         $this->loadTemplate("Common/scripts.html.twig""baseFront.html.twig"409)->display($context);
  809.         // line 410
  810.         echo "</body>
  811. </html>
  812. ";
  813.         
  814.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  815.         
  816.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  817.     }
  818.     // line 6
  819.     public function block_title($context, array $blocks = [])
  820.     {
  821.         $macros $this->macros;
  822.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  823.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  824.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  825.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  826.         echo "Tennis Aroundme";
  827.         
  828.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  829.         
  830.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  831.     }
  832.     // line 8
  833.     public function block_keywords($context, array $blocks = [])
  834.     {
  835.         $macros $this->macros;
  836.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  837.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  838.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  839.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""keywords"));
  840.         
  841.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  842.         
  843.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  844.     }
  845.     // line 9
  846.     public function block_description($context, array $blocks = [])
  847.     {
  848.         $macros $this->macros;
  849.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  850.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  851.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  852.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  853.         echo "Tennis Aroundme";
  854.         
  855.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  856.         
  857.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  858.     }
  859.     // line 33
  860.     public function block_metaheader($context, array $blocks = [])
  861.     {
  862.         $macros $this->macros;
  863.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  864.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaheader"));
  865.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  866.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaheader"));
  867.         // line 34
  868.         echo "    
  869.     ";
  870.         
  871.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  872.         
  873.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  874.     }
  875.     // line 240
  876.     public function block_content($context, array $blocks = [])
  877.     {
  878.         $macros $this->macros;
  879.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  880.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  881.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  882.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  883.         // line 241
  884.         echo "        ";
  885.         
  886.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  887.         
  888.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  889.     }
  890.     public function getTemplateName()
  891.     {
  892.         return "baseFront.html.twig";
  893.     }
  894.     public function isTraitable()
  895.     {
  896.         return false;
  897.     }
  898.     public function getDebugInfo()
  899.     {
  900.         return array (  920 => 241,  910 => 240,  899 => 34,  889 => 33,  870 => 9,  852 => 8,  833 => 6,  820 => 410,  818 => 409,  814 => 407,  808 => 372,  804 => 370,  800 => 368,  798 => 367,  795 => 366,  793 => 365,  739 => 313,  733 => 307,  727 => 306,  720 => 302,  715 => 299,  687 => 272,  681 => 266,  675 => 265,  668 => 261,  663 => 258,  659 => 255,  650 => 248,  648 => 247,  642 => 243,  639 => 242,  636 => 240,  629 => 235,  627 => 234,  616 => 226,  611 => 225,  608 => 224,  602 => 221,  597 => 220,  595 => 219,  588 => 217,  584 => 216,  577 => 213,  569 => 210,  565 => 209,  556 => 207,  552 => 206,  547 => 205,  545 => 204,  540 => 202,  536 => 201,  531 => 199,  527 => 198,  513 => 187,  508 => 186,  500 => 182,  492 => 179,  488 => 178,  479 => 176,  475 => 175,  470 => 174,  468 => 173,  463 => 171,  459 => 170,  454 => 168,  450 => 167,  445 => 165,  437 => 159,  435 => 158,  427 => 152,  420 => 147,  412 => 145,  404 => 143,  402 => 142,  400 => 141,  394 => 140,  386 => 139,  378 => 135,  375 => 134,  369 => 132,  363 => 130,  360 => 129,  354 => 127,  352 => 126,  347 => 123,  345 => 122,  323 => 102,  315 => 100,  313 => 99,  307 => 98,  301 => 97,  291 => 96,  288 => 95,  283 => 93,  279 => 92,  275 => 91,  270 => 90,  263 => 88,  257 => 87,  251 => 86,  244 => 85,  242 => 84,  227 => 72,  221 => 69,  217 => 68,  213 => 66,  210 => 65,  204 => 64,  194 => 60,  187 => 56,  184 => 55,  179 => 54,  174 => 53,  172 => 52,  159 => 42,  152 => 38,  148 => 36,  146 => 33,  136 => 26,  131 => 24,  127 => 23,  123 => 22,  119 => 21,  115 => 20,  111 => 19,  107 => 18,  103 => 17,  99 => 16,  95 => 15,  91 => 14,  87 => 13,  83 => 12,  79 => 11,  74 => 9,  60 => 8,  55 => 6,  48 => 1,);
  901.     }
  902.     public function getSourceContext()
  903.     {
  904.         return new Source("<!DOCTYPE html>
  905. <html>
  906. <head>
  907.     <meta charset=\"UTF-8\">
  908.     
  909.     <title>{% block title %}Tennis Aroundme{% endblock %}</title>
  910.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no\">
  911.     <meta name=\"keywords\" content=\"tennis, around, around me, aroundme, tennis aroundme, {{ 'partner'|trans }}, {{ 'partners'|trans }}, {{ 'partnerTennis'|trans }}, {{ 'club'| trans}}, {{ 'praticeTennis'|trans }},{% block keywords %}{% endblock %}\">
  912.     <meta name=\"description\" content=\"{% block description %}Tennis Aroundme{% endblock %}\">
  913.     
  914.     <link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"{{ asset('images/favicon/apple-icon-57x57.png') }}\">
  915.     <link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"{{ asset('images/favicon/apple-icon-60x60.png') }}\">
  916.     <link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"{{ asset('images/favicon/apple-icon-72x72.png') }}\">
  917.     <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"{{ asset('images/favicon/apple-icon-76x76.png') }}\">
  918.     <link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"{{ asset('images/favicon/apple-icon-114x114.png') }}\">
  919.     <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ asset('images/favicon/apple-icon-120x120.png') }}\">
  920.     <link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"{{ asset('images/favicon/apple-icon-144x144.png') }}\">
  921.     <link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"{{ asset('images/favicon/apple-icon-152x152.png') }}\">
  922.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('images/favicon/apple-icon-180x180.png') }}\">
  923.     <link rel=\"icon\" type=\"image/png\" sizes=\"192x192\"  href=\"{{ asset('images/favicon/android-icon-192x192.png') }}\">
  924.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('images/favicon/favicon-32x32.png') }}\">
  925.     <link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"{{ asset('images/favicon/favicon-96x96.png') }}\">
  926.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('images/favicon/favicon-16x16.png') }}\">
  927.     <link rel=\"manifest\" href=\"{{ asset('images/favicon/manifest.json') }}\">
  928.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  929.     <meta name=\"msapplication-TileImage\" content=\"{{ asset('images/favicon/ms-icon-144x144.png') }}\">
  930.     <meta name=\"theme-color\" content=\"#ffffff\">
  931.     
  932.     
  933.     <meta name=\"apple-itunes-app\" content=\"app-id=641673963\">
  934.     <meta name=\"google-play-app\" content=\"app-id=com.ildev_software.tam\">
  935.     
  936.     {% block metaheader %}
  937.     
  938.     {% endblock %}
  939.     
  940.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\" crossorigin=\"anonymous\">
  941.     <link href=\"{{asset('css/bootstrap-datetimepicker.min.css')}}\" rel=\"stylesheet\" type=\"text/css\"/>
  942.     
  943.     <script src=\"https://kit.fontawesome.com/71852361a5.js\" crossorigin=\"anonymous\"></script>
  944.     
  945.     <link href=\"{{asset('css/tam.css')}}\" rel=\"stylesheet\" type=\"text/css\"/>
  946.     
  947.     
  948.     <script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9609279630646939\" crossorigin=\"anonymous\"></script>
  949.     
  950.     
  951. </head>
  952. <body>
  953.     
  954.     {% if app.session.started %}
  955.         {% for type, flashes in app.session.flashbag.all %}
  956.             {% for message in flashes %}
  957.                 <div class=\"alert-wrapper\">
  958.                     <div class=\"alert alert-{{ type }} alert-dismissible\" role=\"alert\">
  959.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  960.                             <span aria-hidden=\"true\">&times;</span><span class=\"sr-only\">Close</span>
  961.                         </button>
  962.                         {{ message }}
  963.                     </div>
  964.                 </div>
  965.             {% endfor %}
  966.         {% endfor %}
  967.     {% endif %}
  968.     
  969.     
  970.     <input type=\"hidden\" name=\"appEnvironment\" id=\"appEnvironment\" value=\"{{ app.environment }}\" />
  971.     <input type=\"hidden\" name=\"appTamLocale\" id=\"appTamLocale\" value=\"{{ app.request.locale }}\" />
  972.     <nav class=\"navbar navbar-expand-md navbar-dark fixed-top\">
  973.         <div class=\"container\">
  974.             <a class=\"navbar-brand\" href=\"http://tennis-aroundme.com\"><img alt=\"Tennis Aroundme\" src=\"{{ asset('images/tam_logo.jpg') }}\" width=\"40\" style=\"margin-top:-10px;\"></a>
  975.             <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#tam-navbar-collapse\" aria-controls=\"tam-navbar-collapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  976.                 <span class=\"navbar-toggler-icon\"></span>
  977.                 <!--<span class=\"sr-only\">Toggle navigation</span>
  978.                 <span class=\"icon-bar\"></span>
  979.                 <span class=\"icon-bar\"></span>
  980.                 <span class=\"icon-bar\"></span>-->
  981.             </button>
  982.             
  983.             <div class=\"collapse navbar-collapse\" id = \"tam-navbar-collapse\">
  984.                 <ul class=\"navbar-nav mr-auto\" id=\"tam-menu-topleft\">
  985.                     <li class=\"hidden\"><a class=\"page-scroll\" href=\"#page-top\"></a></li>
  986.                     {% if app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
  987.                     <li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#home\">{{ 'home'|trans }}</a></li>
  988.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#app\">{{ 'app'|trans }}</a></li>
  989.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#club\">{{ 'club'|trans }}</a></li>
  990.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#professional\">{{ 'professional'|trans }}</a></li>
  991.                     {% else %}
  992.                     <li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"#home\">{{ 'home'|trans }}</a></li>
  993.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#app\">{{ 'app'|trans }}</a></li>
  994.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#club\">{{ 'club'|trans }}</a></li>
  995.                     <li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#professional\">{{ 'professional'|trans }}</a></li>
  996.                     {% endif %}
  997.                     
  998.                     <li class=\"nav-item\"><a class=\"nav-link\" href=\"{% if app.user %}{{ path('myAccountDashboard') }}{% else %}{{ path('searchAroundPublic') }}{% endif %}\">{{ 'search'|trans}}</a></li>
  999.                     <li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path('about') }}\">{{ 'about'|trans}}</a></li>
  1000.                     <li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path('contact') }}\">{{ 'contact'|trans}}</a></li>
  1001.                     {% if app.user%}
  1002.                     <li class=\"nav-item d-block d-sm-none mb-3\"><a class=\"nav-link\" href=\"{{ path('myAccountDashboard') }}\">{{ 'myAccount'|trans}}</a></li>
  1003.                     {% endif %}
  1004.                 </ul>
  1005.                 
  1006.                 <ul class=\"mt-2 mt-md-0 top-social-network\">
  1007.                     <li>
  1008.                         <a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
  1009.                             <span class=\"fab fa-facebook-f\"></span>
  1010.                         </a>
  1011.                     </li>
  1012.                     <li>
  1013.                         <a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
  1014.                             <span class=\"fab fa-google-plus-g\"></span>
  1015.                         </a>
  1016.                     </li>
  1017.                     <li>
  1018.                         <a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
  1019.                             <span class=\"fab fa-twitter\"></span>
  1020.                         </a>
  1021.                     </li>
  1022.                 </ul>
  1023.                     
  1024.                 {% if is_granted('ROLE_USER') %}
  1025.                 <div class=\"mt-2 mt-md-0 d-none d-md-block\">
  1026.                     <div class=\"dropdown\">
  1027.                         <a href=\"#\" class=\"dropdown-toggle p-t-5 nickname-top\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\">
  1028.                             {% if app.user.provider == 'facebook' %}
  1029.                                 <img class=\"rounded-circle avatar40\" src=\"https://graph.facebook.com/{{ app.user.providerClientId }}/picture?type=large\">
  1030.                             {% else %}
  1031.                                 {% if app.user.getAvatar() %}
  1032.                                     <img class=\"rounded-circle avatar40\" src=\"{{ app.user.getLinkAvatar() }}\">
  1033.                                 {% else %}
  1034.                                     <img class=\"rounded-circle avatar40\" src=\"{{asset('images/common/defaultAvatar.png')}}\">
  1035.                                 {% endif %}
  1036.                             {% endif %}
  1037.                             <span class=\"m-l-10\">{{ app.user.nickname }}</span>
  1038.                             <span class=\"caret\"></span>
  1039.                         </a>
  1040.                         <div class=\"dropdown-menu\" role=\"menu\">
  1041.                             <div class=\"dropdown-item text-center f-s-14b\">{% if app.user.nickname %}{{ app.user.nickname }}{% else %}{{app.user.getLastname()|upper ~ ' ' ~ app.user.getFirstname()|slice(0,1) ~ '.' }}{% endif %}</div>
  1042.                             <a class=\"dropdown-item\" href=\"{{ path('myAccountDashboard') }}\">{{ 'myAccount'|trans }}</a>
  1043.                             {% if app.user.provider == 'facebook' %}
  1044.                                 {#<a class=\"dropdown-item\" href=\"#\" onClick=\"fb_logout();\">D&eacute;connexion</a>#}
  1045.                                 <a class=\"dropdown-item\" href=\"{{ path('myAccountLogout') }}\">{{ 'logout'|trans }}</a>
  1046.                             {% else %}
  1047.                                 <a class=\"dropdown-item\" href=\"{{ path('myAccountLogout') }}\">{{ 'logout'|trans }}</a>
  1048.                             {% endif %}
  1049.                         </div>
  1050.                     </div>
  1051.                 </div>
  1052.                 
  1053.                 {% endif %}
  1054.                     
  1055.                 
  1056.             </div>
  1057.         </div>
  1058.     </nav>
  1059.     
  1060.     {% if app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
  1061.         <section id=\"content\" class=\"content-section\">
  1062.             <div class=\"container\">
  1063.                 <div class=\"row mr-0 ml-0\">
  1064.                 
  1065.                     <div class=\"d-block d-sm-none mb-3\">
  1066.                         <div id=\"menuWebMobile\" class=\"dropdown\">
  1067.                             <button class=\"btn btn-success\" data-toggle=\"dropdown\">{{ 'myAccount'|trans }}</button>
  1068.                             <div class=\"dropdown-menu\">
  1069.                                 <a href=\"{{ path('myAccountDashboard') }}\" class=\"dropdown-item\">
  1070.                                     <span class=\"fas fa-tachometer-alt\"></span> {{ 'dashboard'|trans }}
  1071.                                 </a>
  1072.                                 <a href=\"{{ path('myAccountProfile') }}\" class=\"dropdown-item\">
  1073.                                     <span class=\"fas fa-user\"></span> {{ 'profile'|trans }}
  1074.                                 </a>
  1075.                                 {% if is_granted('ROLE_PLAYER') %}
  1076.                                 <a href=\"{{ path('myAccountFriends') }}\" class=\"dropdown-item\">
  1077.                                     <span class=\"fas fa-users\"></span> {{ 'friends'|trans }}
  1078.                                     <span class=\"badge\" id=\"badgeNbRequestFriend\" {% if app.user.nbRequestFriend() == 0%} style=\"display:none\"{% endif %}>{{ app.user.nbRequestFriend() }}</span>
  1079.                                 </a>
  1080.                                 <a href=\"{{ path('myAccountTams') }}\" class=\"dropdown-item\">
  1081.                                     <img class=\"rounded-circle avatar15\" src=\"{{ asset('images/tam_logo.jpg') }}\" /> {{ 'myTams'|trans }}
  1082.                                 </a>
  1083.                                 {% elseif is_granted('ROLE_CLUB') or is_granted('ROLE_PRO') %}
  1084.                                 <a href=\"{{ path('myAccountFollowers') }}\" class=\"dropdown-item\">
  1085.                                     <span class=\"fas fa-users\"></span> Followers
  1086.                                 </a>
  1087.                                 {% endif %}
  1088.                                 <a href=\"{{ path('myAccountMessages') }}\" class=\"dropdown-item\">
  1089.                                     <span class=\"fa fa-envelope\"></span> {{ 'messages'|trans }}
  1090.                                     <span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
  1091.                                 </a>
  1092.                             </div>
  1093.                         </div>
  1094.                     </div>
  1095.                 
  1096.                     <div class=\"col-2 d-none d-md-block\">
  1097.                         <div class=\"panel panel-info\">
  1098.                             <div class=\"list-group\">
  1099.     
  1100.                                 <a href=\"{{ path('myAccountDashboard') }}\" class=\"list-group-item\">
  1101.                                     <span class=\"fas fa-tachometer-alt\"></span> {{ 'dashboard'|trans }}
  1102.                                 </a>
  1103.                                 <a href=\"{{ path('myAccountProfile') }}\" class=\"list-group-item\">
  1104.                                     <span class=\"fas fa-user\"></span> {{ 'profile'|trans }}
  1105.                                 </a>
  1106.                                 {% if is_granted('ROLE_PLAYER') %}
  1107.                                 <a href=\"{{ path('myAccountFriends') }}\" class=\"list-group-item\">
  1108.                                     <span class=\"fas fa-users\"></span> {{ 'friends'|trans }}
  1109.                                     <span class=\"badge\" id=\"badgeNbRequestFriend\" {% if app.user.nbRequestFriend() == 0%} style=\"display:none\"{% endif %}>{{ app.user.nbRequestFriend() }}</span>
  1110.                                 </a>
  1111.                                 <a href=\"{{ path('myAccountTams') }}\" class=\"list-group-item\">
  1112.                                     <img class=\"rounded-circle avatar15\" src=\"{{ asset('images/tam_logo.jpg') }}\" /> {{ 'myTams'|trans }}
  1113.                                 </a>
  1114.                                 {% elseif is_granted('ROLE_CLUB') or is_granted('ROLE_PRO') %}
  1115.                                 <a href=\"{{ path('myAccountFollowers') }}\" class=\"list-group-item\">
  1116.                                     <span class=\"fas fa-users\"></span> Followers
  1117.                                 </a>
  1118.                                 <a href=\"{{ path('myAccountAdverts') }}\" class=\"list-group-item\">
  1119.                                     <img class=\"rounded-circle avatar15\" src=\"{{ asset('images/tam_logo.jpg') }}\" /> {{ 'myAdverts'|trans }}
  1120.                                 </a>
  1121.                                     {% if app.user.hasInvoice()%}
  1122.                                     <a href=\"{{ path('myAccountInvoiceList') }}\" class=\"list-group-item\">
  1123.                                         <span class=\"fas fa-file-invoice\"></span> {{ 'invoices'|trans|capitalize }}
  1124.                                     </a>
  1125.                                     {% endif%}
  1126.                                 {% endif %}
  1127.                                 <a href=\"{{ path('myAccountMessages') }}\" class=\"list-group-item\">
  1128.                                     <span class=\"fa fa-envelope\"></span> {{ 'messages'|trans }}
  1129.                                     <span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
  1130.                                 </a>
  1131.                             </div>
  1132.                         </div>
  1133.                     </div>
  1134.                     <div class=\"col-12 col-md-10\">
  1135.                     
  1136.     {% elseif not app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
  1137.         <section id=\"content\" class=\"content-section section-public\">
  1138.             <div class=\"container\">
  1139.                 <div class=\"row mr-1 ml-1\">
  1140.                     <div class=\"col-12 col-md-10\">
  1141.     {% endif %}
  1142.         {% block content %}
  1143.         {% endblock %}
  1144.     {% if app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index'%}
  1145.                     </div>
  1146.                 </div>
  1147.             </div>
  1148.         </section>
  1149.     {% elseif not app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
  1150.                     </div>
  1151.                     <div class=\"col-2 d-none d-md-block\" id=\"advertPublic\">
  1152.                     </div>
  1153.                 </div>
  1154.             </div>
  1155.         </section>
  1156.     {% endif %}
  1157.     
  1158.     
  1159.     <div id=\"tam-footer\" class=\"d-none d-block d-sm-none\">{# MOBILE #}
  1160.         <div class=\"container\">
  1161.             <div class=\"row\">
  1162.                 <div class=\"col col-sm-12 col-md-4\">
  1163.                     <img src=\"{{ asset('images/tam_logo.jpg')}}\" height=\"80\">
  1164.                 </div>
  1165.                 <div class=\"col col-sm-12 col-md-4\">
  1166.                     <h3>ACCES RAPIDE</h3>
  1167.                     <a href=\"{{ path('privacyPolicy') }}\">{{ 'privacyPolicy'|trans }}</a><br />
  1168.                     <a href=\"{{ path('legalMention') }}\">{{ 'legalMention'|trans }}</a><br />
  1169.                     {#<a href=\"{{ path('pagesPlanDuSite') }}\">Plan du site</a><br />
  1170.                     <a href=\"{{ path('pagesVIP') }}\">Offre VIP</a><br />
  1171.                     <a href=\"{{ path('listNews') }}\">News</a><br />
  1172.                     <a href=\"{{ path ('pages', {'page':38, 'label':'Mentions-Légales'}) }}\">Informations légales</a><br />
  1173.                     <a href=\"{{ path('pagesContacts') }}\">Contact</a><br />#}
  1174.                 </div>
  1175.                 <div class=\"col-12 text-center\">
  1176.                     <h3>Suivez-nous</h3>
  1177.                     <div class=\"footer-social-network d-flex\">
  1178.                         <ul class=\"list-unstyled mx-auto justify-content-center\">
  1179.                             <li class=\"social-item\">
  1180.                                 <a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
  1181.                                     <span class=\"fab fa-facebook-f fa-xs\"></span>
  1182.                                 </a>
  1183.                             </li>
  1184.                             <li class=\"social-item\">
  1185.                                 <a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
  1186.                                     <span class=\"fab fa-google-plus-g fa-xs\"></span>
  1187.                                 </a>
  1188.                             </li>
  1189.                             <li class=\"social-item\">
  1190.                                 <a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
  1191.                                     <span class=\"fab fa-twitter fa-xs\"></span>
  1192.                                 </a>
  1193.                             </li>
  1194.                         </ul>
  1195.                     </div>
  1196.                 </div>
  1197.             </div>
  1198.         </div>
  1199.     </div>
  1200.     <div id=\"tam-footer\" class=\"d-none d-md-block\">{# WEB #}
  1201.         <div class=\"container\">
  1202.             <div class=\"row\">
  1203.                 <div class=\"col col-sm-12 col-md-4\">
  1204.                     <img src=\"{{ asset('images/tam_logo.jpg')}}\" height=\"120\">
  1205.                 </div>
  1206.                 <div class=\"col col-sm-12 col-md-4\">
  1207.                     <h3>ACCES RAPIDE</h3>
  1208.                     <a href=\"{{ path('privacyPolicy') }}\">{{ 'privacyPolicy'|trans }}</a><br />
  1209.                     <a href=\"{{ path('legalMention') }}\">{{ 'legalMention'|trans }}</a><br />
  1210.                     {#<a href=\"{{ path('pagesPlanDuSite') }}\">Plan du site</a><br />
  1211.                     <a href=\"{{ path('pagesVIP') }}\">Offre VIP</a><br />
  1212.                     <a href=\"{{ path('listNews') }}\">News</a><br />
  1213.                     <a href=\"{{ path ('pages', {'page':38, 'label':'Mentions-Légales'}) }}\">Informations légales</a><br />
  1214.                     <a href=\"{{ path('pagesContacts') }}\">Contact</a><br />#}
  1215.                 </div>
  1216.                 <div class=\"col col-sm-12 col-md-4\">
  1217.                     <h3>Suivez-nous</h3>
  1218.                     <div class=\"footer-social-network\">
  1219.                         <ul class=\"list-unstyled\">
  1220.                             <li class=\"social-item\">
  1221.                                 <a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
  1222.                                     <span class=\"fab fa-facebook-f\"></span>
  1223.                                 </a>
  1224.                             </li>
  1225.                             <li class=\"social-item\">
  1226.                                 <a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
  1227.                                     <span class=\"fab fa-google-plus-g\"></span>
  1228.                                 </a>
  1229.                             </li>
  1230.                             <li class=\"social-item\">
  1231.                                 <a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
  1232.                                     <span class=\"fab fa-twitter\"></span>
  1233.                                 </a>
  1234.                             </li>
  1235.                         </ul>
  1236.                     </div>
  1237.                 </div>
  1238.             </div>
  1239.         </div>
  1240.     </div>
  1241.     <div id=\"tam-footer-black\">
  1242.         <div class=\"container text-center\">
  1243.             Eurl Ildev-Software - SIRET 799 258 991 00014 - APE 6201Z - TVA FR35799258991
  1244.         </div>
  1245.     </div>
  1246.     
  1247.     
  1248.     <div id=\"divModalGeneral\"></div>
  1249.     
  1250.     <div id=\"fb-root\"></div>
  1251.     <script>
  1252.         window.fbAsyncInit = function() {
  1253.             // init the FB JS SDK
  1254.             FB.init({
  1255.                 appId      : '580481168669513',                        // App ID from the app dashboard
  1256.                 status     : true,                                 // Check Facebook Login status
  1257.                 xfbml      : true                               // Look for social plugins on the page
  1258.                 //version    : 3.1
  1259.             });
  1260.         };
  1261.     
  1262.         // Load the SDK asynchronously
  1263.         (function(d, s, id){
  1264.             var js, fjs = d.getElementsByTagName(s)[0];
  1265.             if (d.getElementById(id)) {return;}
  1266.             js = d.createElement(s); js.id = id;
  1267.             {% if app.session.get('_locale') == 'fr'%}
  1268.                 js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
  1269.             {% elseif app.session.get('_locale') == 'es'%}
  1270.                 js.src = \"//connect.facebook.net/es_ES/sdk.js\";
  1271.             {% else %}
  1272.                 js.src = \"//connect.facebook.net/en_US/sdk.js\";
  1273.             {% endif %}
  1274.             //js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
  1275.             fjs.parentNode.insertBefore(js, fjs);
  1276.         }(document, 'script', 'facebook-jssdk'));
  1277.     
  1278.         {#function fb_login() {
  1279.             FB.getLoginStatus(function(response) {
  1280.                 if (response.status === 'connected') {
  1281.                     // connected
  1282.                     //alert('Already connected, redirect to login page to create token.');
  1283.                     document.location = \"{{ url(\"hwi_oauth_service_redirect\", {service: \"facebook\"}) }}\";
  1284.                 } else {
  1285.                     // not_authorized
  1286.                     FB.login(function(response) {
  1287.                         if (response.authResponse) {
  1288.                             document.location = \"{{ url(\"hwi_oauth_service_redirect\", {service: \"facebook\"}) }}\";
  1289.                         } else {
  1290.                             alert('Cancelled.');
  1291.                         }
  1292.                     }, {scope: 'email'});
  1293.                 }
  1294.             });
  1295.         }
  1296.         
  1297.         function fb_logout() {
  1298.             FB.getLoginStatus(function(response) {
  1299.                 if (response.status === 'connected') {
  1300.                     FB.logout(function(response) {
  1301.                         console.log(response);
  1302.                         document.location = \"{{ url(\"myAccountLogout\") }}\";
  1303.                     });
  1304.                 }else{
  1305.                     document.location = \"{{ url(\"myAccountLogout\") }}\";
  1306.                 }
  1307.             });
  1308.         }#}
  1309.         
  1310.     </script>
  1311.     {% include 'Common/scripts.html.twig' %}
  1312. </body>
  1313. </html>
  1314. ""baseFront.html.twig""/home/tam/www.reset/templates/baseFront.html.twig");
  1315.     }
  1316. }