<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* baseFront.html.twig */
class __TwigTemplate_69071c042efb0ebd995c01ff549505ff extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'keywords' => [$this, 'block_keywords'],
'description' => [$this, 'block_description'],
'metaheader' => [$this, 'block_metaheader'],
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "baseFront.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "baseFront.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>";
// line 6
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no\">
<meta name=\"keywords\" content=\"tennis, around, around me, aroundme, tennis aroundme, ";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("partner"), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("partners"), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("partnerTennis"), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("club"), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("praticeTennis"), "html", null, true);
echo ",";
$this->displayBlock('keywords', $context, $blocks);
echo "\">
<meta name=\"description\" content=\"";
// line 9
$this->displayBlock('description', $context, $blocks);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-57x57.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-60x60.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-72x72.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-76x76.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-114x114.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-120x120.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-144x144.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-152x152.png"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/apple-icon-180x180.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/android-icon-192x192.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/favicon-32x32.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/favicon-96x96.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/favicon-16x16.png"), "html", null, true);
echo "\">
<link rel=\"manifest\" href=\"";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/manifest.json"), "html", null, true);
echo "\">
<meta name=\"msapplication-TileColor\" content=\"#ffffff\">
<meta name=\"msapplication-TileImage\" content=\"";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/favicon/ms-icon-144x144.png"), "html", null, true);
echo "\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"apple-itunes-app\" content=\"app-id=641673963\">
<meta name=\"google-play-app\" content=\"app-id=com.ildev_software.tam\">
";
// line 33
$this->displayBlock('metaheader', $context, $blocks);
// line 36
echo "
<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\" crossorigin=\"anonymous\">
<link href=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap-datetimepicker.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\"/>
<script src=\"https://kit.fontawesome.com/71852361a5.js\" crossorigin=\"anonymous\"></script>
<link href=\"";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/tam.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\"/>
<script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9609279630646939\" crossorigin=\"anonymous\"></script>
</head>
<body>
";
// line 52
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "session", [], "any", false, false, false, 52), "started", [], "any", false, false, false, 52)) {
// line 53
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "session", [], "any", false, false, false, 53), "flashbag", [], "any", false, false, false, 53), "all", [], "any", false, false, false, 53));
foreach ($context['_seq'] as $context["type"] => $context["flashes"]) {
// line 54
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["flashes"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 55
echo " <div class=\"alert-wrapper\">
<div class=\"alert alert-";
// line 56
echo twig_escape_filter($this->env, $context["type"], "html", null, true);
echo " alert-dismissible\" role=\"alert\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">
<span aria-hidden=\"true\">×</span><span class=\"sr-only\">Close</span>
</button>
";
// line 60
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['type'], $context['flashes'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 65
echo " ";
}
// line 66
echo "
<input type=\"hidden\" name=\"appEnvironment\" id=\"appEnvironment\" value=\"";
// line 68
echo twig_escape_filter($this->env, 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.', 68, $this->source); })()), "environment", [], "any", false, false, false, 68), "html", null, true);
echo "\" />
<input type=\"hidden\" name=\"appTamLocale\" id=\"appTamLocale\" value=\"";
// line 69
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "locale", [], "any", false, false, false, 69), "html", null, true);
echo "\" />
<nav class=\"navbar navbar-expand-md navbar-dark fixed-top\">
<div class=\"container\">
<a class=\"navbar-brand\" href=\"http://tennis-aroundme.com\"><img alt=\"Tennis Aroundme\" src=\"";
// line 72
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html", null, true);
echo "\" width=\"40\" style=\"margin-top:-10px;\"></a>
<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\">
<span class=\"navbar-toggler-icon\"></span>
<!--<span class=\"sr-only\">Toggle navigation</span>
<span class=\"icon-bar\"></span>
<span class=\"icon-bar\"></span>
<span class=\"icon-bar\"></span>-->
</button>
<div class=\"collapse navbar-collapse\" id = \"tam-navbar-collapse\">
<ul class=\"navbar-nav mr-auto\" id=\"tam-menu-topleft\">
<li class=\"hidden\"><a class=\"page-scroll\" href=\"#page-top\"></a></li>
";
// line 84
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 84, $this->source); })()), "request", [], "any", false, false, false, 84), "attributes", [], "any", false, false, false, 84), "get", [0 => "_route"], "method", false, false, false, 84) != "homepage") && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 84, $this->source); })()), "request", [], "any", false, false, false, 84), "attributes", [], "any", false, false, false, 84), "get", [0 => "_route"], "method", false, false, false, 84) != "index"))) {
// line 85
echo " <li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "#home\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"";
// line 86
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "#app\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"";
// line 87
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "#club\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("club"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"";
// line 88
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "#professional\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("professional"), "html", null, true);
echo "</a></li>
";
} else {
// line 90
echo " <li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"#home\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#app\">";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#club\">";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("club"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#professional\">";
// line 93
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("professional"), "html", null, true);
echo "</a></li>
";
}
// line 95
echo "
<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
// line 96
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", false, false, false, 96)) {
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
} else {
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("searchAroundPublic");
}
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
// line 97
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about"), "html", null, true);
echo "</a></li>
<li class=\"nav-item\"><a class=\"nav-link\" href=\"";
// line 98
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact"), "html", null, true);
echo "</a></li>
";
// line 99
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", false, false, false, 99)) {
// line 100
echo " <li class=\"nav-item d-block d-sm-none mb-3\"><a class=\"nav-link\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAccount"), "html", null, true);
echo "</a></li>
";
}
// line 102
echo " </ul>
<ul class=\"mt-2 mt-md-0 top-social-network\">
<li>
<a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
<span class=\"fab fa-facebook-f\"></span>
</a>
</li>
<li>
<a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
<span class=\"fab fa-google-plus-g\"></span>
</a>
</li>
<li>
<a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
<span class=\"fab fa-twitter\"></span>
</a>
</li>
</ul>
";
// line 122
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 123
echo " <div class=\"mt-2 mt-md-0 d-none d-md-block\">
<div class=\"dropdown\">
<a href=\"#\" class=\"dropdown-toggle p-t-5 nickname-top\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\">
";
// line 126
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 126, $this->source); })()), "user", [], "any", false, false, false, 126), "provider", [], "any", false, false, false, 126) == "facebook")) {
// line 127
echo " <img class=\"rounded-circle avatar40\" src=\"https://graph.facebook.com/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 127, $this->source); })()), "user", [], "any", false, false, false, 127), "providerClientId", [], "any", false, false, false, 127), "html", null, true);
echo "/picture?type=large\">
";
} else {
// line 129
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 129, $this->source); })()), "user", [], "any", false, false, false, 129), "getAvatar", [], "method", false, false, false, 129)) {
// line 130
echo " <img class=\"rounded-circle avatar40\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 130, $this->source); })()), "user", [], "any", false, false, false, 130), "getLinkAvatar", [], "method", false, false, false, 130), "html", null, true);
echo "\">
";
} else {
// line 132
echo " <img class=\"rounded-circle avatar40\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/common/defaultAvatar.png"), "html", null, true);
echo "\">
";
}
// line 134
echo " ";
}
// line 135
echo " <span class=\"m-l-10\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 135, $this->source); })()), "user", [], "any", false, false, false, 135), "nickname", [], "any", false, false, false, 135), "html", null, true);
echo "</span>
<span class=\"caret\"></span>
</a>
<div class=\"dropdown-menu\" role=\"menu\">
<div class=\"dropdown-item text-center f-s-14b\">";
// line 139
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 139, $this->source); })()), "user", [], "any", false, false, false, 139), "nickname", [], "any", false, false, false, 139)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 139, $this->source); })()), "user", [], "any", false, false, false, 139), "nickname", [], "any", false, false, false, 139), "html", null, true);
} else {
echo twig_escape_filter($this->env, (((twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 139, $this->source); })()), "user", [], "any", false, false, false, 139), "getLastname", [], "method", false, false, false, 139)) . " ") . twig_slice($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 139, $this->source); })()), "user", [], "any", false, false, false, 139), "getFirstname", [], "method", false, false, false, 139), 0, 1)) . "."), "html", null, true);
}
echo "</div>
<a class=\"dropdown-item\" href=\"";
// line 140
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAccount"), "html", null, true);
echo "</a>
";
// line 141
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 141, $this->source); })()), "user", [], "any", false, false, false, 141), "provider", [], "any", false, false, false, 141) == "facebook")) {
// line 142
echo " ";
// line 143
echo " <a class=\"dropdown-item\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogout");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("logout"), "html", null, true);
echo "</a>
";
} else {
// line 145
echo " <a class=\"dropdown-item\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountLogout");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("logout"), "html", null, true);
echo "</a>
";
}
// line 147
echo " </div>
</div>
</div>
";
}
// line 152
echo "
</div>
</div>
</nav>
";
// line 158
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", false, false, false, 158) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 158, $this->source); })()), "request", [], "any", false, false, false, 158), "attributes", [], "any", false, false, false, 158), "get", [0 => "_route"], "method", false, false, false, 158) != "homepage")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 158, $this->source); })()), "request", [], "any", false, false, false, 158), "attributes", [], "any", false, false, false, 158), "get", [0 => "_route"], "method", false, false, false, 158) != "index"))) {
// line 159
echo " <section id=\"content\" class=\"content-section\">
<div class=\"container\">
<div class=\"row mr-0 ml-0\">
<div class=\"d-block d-sm-none mb-3\">
<div id=\"menuWebMobile\" class=\"dropdown\">
<button class=\"btn btn-success\" data-toggle=\"dropdown\">";
// line 165
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAccount"), "html", null, true);
echo "</button>
<div class=\"dropdown-menu\">
<a href=\"";
// line 167
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
echo "\" class=\"dropdown-item\">
<span class=\"fas fa-tachometer-alt\"></span> ";
// line 168
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("dashboard"), "html", null, true);
echo "
</a>
<a href=\"";
// line 170
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountProfile");
echo "\" class=\"dropdown-item\">
<span class=\"fas fa-user\"></span> ";
// line 171
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile"), "html", null, true);
echo "
</a>
";
// line 173
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PLAYER")) {
// line 174
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFriends");
echo "\" class=\"dropdown-item\">
<span class=\"fas fa-users\"></span> ";
// line 175
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("friends"), "html", null, true);
echo "
<span class=\"badge\" id=\"badgeNbRequestFriend\" ";
// line 176
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "user", [], "any", false, false, false, 176), "nbRequestFriend", [], "method", false, false, false, 176) == 0)) {
echo " style=\"display:none\"";
}
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "user", [], "any", false, false, false, 176), "nbRequestFriend", [], "method", false, false, false, 176), "html", null, true);
echo "</span>
</a>
<a href=\"";
// line 178
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountTams");
echo "\" class=\"dropdown-item\">
<img class=\"rounded-circle avatar15\" src=\"";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html", null, true);
echo "\" /> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myTams"), "html", null, true);
echo "
</a>
";
} elseif (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CLUB") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PRO"))) {
// line 182
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFollowers");
echo "\" class=\"dropdown-item\">
<span class=\"fas fa-users\"></span> Followers
</a>
";
}
// line 186
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountMessages");
echo "\" class=\"dropdown-item\">
<span class=\"fa fa-envelope\"></span> ";
// line 187
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("messages"), "html", null, true);
echo "
<span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
</a>
</div>
</div>
</div>
<div class=\"col-2 d-none d-md-block\">
<div class=\"panel panel-info\">
<div class=\"list-group\">
<a href=\"";
// line 198
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountDashboard");
echo "\" class=\"list-group-item\">
<span class=\"fas fa-tachometer-alt\"></span> ";
// line 199
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("dashboard"), "html", null, true);
echo "
</a>
<a href=\"";
// line 201
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountProfile");
echo "\" class=\"list-group-item\">
<span class=\"fas fa-user\"></span> ";
// line 202
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("profile"), "html", null, true);
echo "
</a>
";
// line 204
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PLAYER")) {
// line 205
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFriends");
echo "\" class=\"list-group-item\">
<span class=\"fas fa-users\"></span> ";
// line 206
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("friends"), "html", null, true);
echo "
<span class=\"badge\" id=\"badgeNbRequestFriend\" ";
// line 207
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 207, $this->source); })()), "user", [], "any", false, false, false, 207), "nbRequestFriend", [], "method", false, false, false, 207) == 0)) {
echo " style=\"display:none\"";
}
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 207, $this->source); })()), "user", [], "any", false, false, false, 207), "nbRequestFriend", [], "method", false, false, false, 207), "html", null, true);
echo "</span>
</a>
<a href=\"";
// line 209
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountTams");
echo "\" class=\"list-group-item\">
<img class=\"rounded-circle avatar15\" src=\"";
// line 210
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html", null, true);
echo "\" /> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myTams"), "html", null, true);
echo "
</a>
";
} elseif (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CLUB") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PRO"))) {
// line 213
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountFollowers");
echo "\" class=\"list-group-item\">
<span class=\"fas fa-users\"></span> Followers
</a>
<a href=\"";
// line 216
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountAdverts");
echo "\" class=\"list-group-item\">
<img class=\"rounded-circle avatar15\" src=\"";
// line 217
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html", null, true);
echo "\" /> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("myAdverts"), "html", null, true);
echo "
</a>
";
// line 219
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 219, $this->source); })()), "user", [], "any", false, false, false, 219), "hasInvoice", [], "method", false, false, false, 219)) {
// line 220
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountInvoiceList");
echo "\" class=\"list-group-item\">
<span class=\"fas fa-file-invoice\"></span> ";
// line 221
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("invoices")), "html", null, true);
echo "
</a>
";
}
// line 224
echo " ";
}
// line 225
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myAccountMessages");
echo "\" class=\"list-group-item\">
<span class=\"fa fa-envelope\"></span> ";
// line 226
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("messages"), "html", null, true);
echo "
<span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
</a>
</div>
</div>
</div>
<div class=\"col-12 col-md-10\">
";
} elseif ((( !twig_get_attribute($this->env, $this->source, // line 234
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 234, $this->source); })()), "user", [], "any", false, false, false, 234) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 234, $this->source); })()), "request", [], "any", false, false, false, 234), "attributes", [], "any", false, false, false, 234), "get", [0 => "_route"], "method", false, false, false, 234) != "homepage")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 234, $this->source); })()), "request", [], "any", false, false, false, 234), "attributes", [], "any", false, false, false, 234), "get", [0 => "_route"], "method", false, false, false, 234) != "index"))) {
// line 235
echo " <section id=\"content\" class=\"content-section section-public\">
<div class=\"container\">
<div class=\"row mr-1 ml-1\">
<div class=\"col-12 col-md-10\">
";
}
// line 240
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 242
echo " ";
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", false, false, false, 242) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "attributes", [], "any", false, false, false, 242), "get", [0 => "_route"], "method", false, false, false, 242) != "homepage")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "attributes", [], "any", false, false, false, 242), "get", [0 => "_route"], "method", false, false, false, 242) != "index"))) {
// line 243
echo " </div>
</div>
</div>
</section>
";
} elseif ((( !twig_get_attribute($this->env, $this->source, // line 247
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 247, $this->source); })()), "user", [], "any", false, false, false, 247) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 247, $this->source); })()), "request", [], "any", false, false, false, 247), "attributes", [], "any", false, false, false, 247), "get", [0 => "_route"], "method", false, false, false, 247) != "homepage")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 247, $this->source); })()), "request", [], "any", false, false, false, 247), "attributes", [], "any", false, false, false, 247), "get", [0 => "_route"], "method", false, false, false, 247) != "index"))) {
// line 248
echo " </div>
<div class=\"col-2 d-none d-md-block\" id=\"advertPublic\">
</div>
</div>
</div>
</section>
";
}
// line 255
echo "
<div id=\"tam-footer\" class=\"d-none d-block d-sm-none\">";
// line 258
echo " <div class=\"container\">
<div class=\"row\">
<div class=\"col col-sm-12 col-md-4\">
<img src=\"";
// line 261
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html", null, true);
echo "\" height=\"80\">
</div>
<div class=\"col col-sm-12 col-md-4\">
<h3>ACCES RAPIDE</h3>
<a href=\"";
// line 265
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacyPolicy");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("privacyPolicy"), "html", null, true);
echo "</a><br />
<a href=\"";
// line 266
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("legalMention");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("legalMention"), "html", null, true);
echo "</a><br />
";
// line 272
echo " </div>
<div class=\"col-12 text-center\">
<h3>Suivez-nous</h3>
<div class=\"footer-social-network d-flex\">
<ul class=\"list-unstyled mx-auto justify-content-center\">
<li class=\"social-item\">
<a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
<span class=\"fab fa-facebook-f fa-xs\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
<span class=\"fab fa-google-plus-g fa-xs\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
<span class=\"fab fa-twitter fa-xs\"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id=\"tam-footer\" class=\"d-none d-md-block\">";
// line 299
echo " <div class=\"container\">
<div class=\"row\">
<div class=\"col col-sm-12 col-md-4\">
<img src=\"";
// line 302
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tam_logo.jpg"), "html", null, true);
echo "\" height=\"120\">
</div>
<div class=\"col col-sm-12 col-md-4\">
<h3>ACCES RAPIDE</h3>
<a href=\"";
// line 306
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacyPolicy");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("privacyPolicy"), "html", null, true);
echo "</a><br />
<a href=\"";
// line 307
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("legalMention");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("legalMention"), "html", null, true);
echo "</a><br />
";
// line 313
echo " </div>
<div class=\"col col-sm-12 col-md-4\">
<h3>Suivez-nous</h3>
<div class=\"footer-social-network\">
<ul class=\"list-unstyled\">
<li class=\"social-item\">
<a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
<span class=\"fab fa-facebook-f\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
<span class=\"fab fa-google-plus-g\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
<span class=\"fab fa-twitter\"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id=\"tam-footer-black\">
<div class=\"container text-center\">
Eurl Ildev-Software - SIRET 799 258 991 00014 - APE 6201Z - TVA FR35799258991
</div>
</div>
<div id=\"divModalGeneral\"></div>
<div id=\"fb-root\"></div>
<script>
window.fbAsyncInit = function() {
// init the FB JS SDK
FB.init({
appId : '580481168669513', // App ID from the app dashboard
status : true, // Check Facebook Login status
xfbml : true // Look for social plugins on the page
//version : 3.1
});
};
// Load the SDK asynchronously
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
";
// line 365
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 365, $this->source); })()), "session", [], "any", false, false, false, 365), "get", [0 => "_locale"], "method", false, false, false, 365) == "fr")) {
// line 366
echo " js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 367
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 367, $this->source); })()), "session", [], "any", false, false, false, 367), "get", [0 => "_locale"], "method", false, false, false, 367) == "es")) {
// line 368
echo " js.src = \"//connect.facebook.net/es_ES/sdk.js\";
";
} else {
// line 370
echo " js.src = \"//connect.facebook.net/en_US/sdk.js\";
";
}
// line 372
echo " //js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
";
// line 407
echo "
</script>
";
// line 409
$this->loadTemplate("Common/scripts.html.twig", "baseFront.html.twig", 409)->display($context);
// line 410
echo "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Tennis Aroundme";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_keywords($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
echo "Tennis Aroundme";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 33
public function block_metaheader($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaheader"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaheader"));
// line 34
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 240
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 241
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "baseFront.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>{% block title %}Tennis Aroundme{% endblock %}</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no\">
<meta name=\"keywords\" content=\"tennis, around, around me, aroundme, tennis aroundme, {{ 'partner'|trans }}, {{ 'partners'|trans }}, {{ 'partnerTennis'|trans }}, {{ 'club'| trans}}, {{ 'praticeTennis'|trans }},{% block keywords %}{% endblock %}\">
<meta name=\"description\" content=\"{% block description %}Tennis Aroundme{% endblock %}\">
<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"{{ asset('images/favicon/apple-icon-57x57.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"{{ asset('images/favicon/apple-icon-60x60.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"{{ asset('images/favicon/apple-icon-72x72.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"{{ asset('images/favicon/apple-icon-76x76.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"{{ asset('images/favicon/apple-icon-114x114.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ asset('images/favicon/apple-icon-120x120.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"{{ asset('images/favicon/apple-icon-144x144.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"{{ asset('images/favicon/apple-icon-152x152.png') }}\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('images/favicon/apple-icon-180x180.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"{{ asset('images/favicon/android-icon-192x192.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('images/favicon/favicon-32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"{{ asset('images/favicon/favicon-96x96.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('images/favicon/favicon-16x16.png') }}\">
<link rel=\"manifest\" href=\"{{ asset('images/favicon/manifest.json') }}\">
<meta name=\"msapplication-TileColor\" content=\"#ffffff\">
<meta name=\"msapplication-TileImage\" content=\"{{ asset('images/favicon/ms-icon-144x144.png') }}\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"apple-itunes-app\" content=\"app-id=641673963\">
<meta name=\"google-play-app\" content=\"app-id=com.ildev_software.tam\">
{% block metaheader %}
{% endblock %}
<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\" crossorigin=\"anonymous\">
<link href=\"{{asset('css/bootstrap-datetimepicker.min.css')}}\" rel=\"stylesheet\" type=\"text/css\"/>
<script src=\"https://kit.fontawesome.com/71852361a5.js\" crossorigin=\"anonymous\"></script>
<link href=\"{{asset('css/tam.css')}}\" rel=\"stylesheet\" type=\"text/css\"/>
<script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9609279630646939\" crossorigin=\"anonymous\"></script>
</head>
<body>
{% if app.session.started %}
{% for type, flashes in app.session.flashbag.all %}
{% for message in flashes %}
<div class=\"alert-wrapper\">
<div class=\"alert alert-{{ type }} alert-dismissible\" role=\"alert\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">
<span aria-hidden=\"true\">×</span><span class=\"sr-only\">Close</span>
</button>
{{ message }}
</div>
</div>
{% endfor %}
{% endfor %}
{% endif %}
<input type=\"hidden\" name=\"appEnvironment\" id=\"appEnvironment\" value=\"{{ app.environment }}\" />
<input type=\"hidden\" name=\"appTamLocale\" id=\"appTamLocale\" value=\"{{ app.request.locale }}\" />
<nav class=\"navbar navbar-expand-md navbar-dark fixed-top\">
<div class=\"container\">
<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>
<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\">
<span class=\"navbar-toggler-icon\"></span>
<!--<span class=\"sr-only\">Toggle navigation</span>
<span class=\"icon-bar\"></span>
<span class=\"icon-bar\"></span>
<span class=\"icon-bar\"></span>-->
</button>
<div class=\"collapse navbar-collapse\" id = \"tam-navbar-collapse\">
<ul class=\"navbar-nav mr-auto\" id=\"tam-menu-topleft\">
<li class=\"hidden\"><a class=\"page-scroll\" href=\"#page-top\"></a></li>
{% if app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
<li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#home\">{{ 'home'|trans }}</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#app\">{{ 'app'|trans }}</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#club\">{{ 'club'|trans }}</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"{{ path('homepage') }}#professional\">{{ 'professional'|trans }}</a></li>
{% else %}
<li class=\"nav-item active\"><a class=\"nav-link page-scroll\" href=\"#home\">{{ 'home'|trans }}</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#app\">{{ 'app'|trans }}</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#club\">{{ 'club'|trans }}</a></li>
<li class=\"nav-item\"><a class=\"nav-link page-scroll\" href=\"#professional\">{{ 'professional'|trans }}</a></li>
{% endif %}
<li class=\"nav-item\"><a class=\"nav-link\" href=\"{% if app.user %}{{ path('myAccountDashboard') }}{% else %}{{ path('searchAroundPublic') }}{% endif %}\">{{ 'search'|trans}}</a></li>
<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path('about') }}\">{{ 'about'|trans}}</a></li>
<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ path('contact') }}\">{{ 'contact'|trans}}</a></li>
{% if app.user%}
<li class=\"nav-item d-block d-sm-none mb-3\"><a class=\"nav-link\" href=\"{{ path('myAccountDashboard') }}\">{{ 'myAccount'|trans}}</a></li>
{% endif %}
</ul>
<ul class=\"mt-2 mt-md-0 top-social-network\">
<li>
<a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
<span class=\"fab fa-facebook-f\"></span>
</a>
</li>
<li>
<a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
<span class=\"fab fa-google-plus-g\"></span>
</a>
</li>
<li>
<a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
<span class=\"fab fa-twitter\"></span>
</a>
</li>
</ul>
{% if is_granted('ROLE_USER') %}
<div class=\"mt-2 mt-md-0 d-none d-md-block\">
<div class=\"dropdown\">
<a href=\"#\" class=\"dropdown-toggle p-t-5 nickname-top\" data-toggle=\"dropdown\" role=\"button\" aria-expanded=\"false\">
{% if app.user.provider == 'facebook' %}
<img class=\"rounded-circle avatar40\" src=\"https://graph.facebook.com/{{ app.user.providerClientId }}/picture?type=large\">
{% else %}
{% if app.user.getAvatar() %}
<img class=\"rounded-circle avatar40\" src=\"{{ app.user.getLinkAvatar() }}\">
{% else %}
<img class=\"rounded-circle avatar40\" src=\"{{asset('images/common/defaultAvatar.png')}}\">
{% endif %}
{% endif %}
<span class=\"m-l-10\">{{ app.user.nickname }}</span>
<span class=\"caret\"></span>
</a>
<div class=\"dropdown-menu\" role=\"menu\">
<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>
<a class=\"dropdown-item\" href=\"{{ path('myAccountDashboard') }}\">{{ 'myAccount'|trans }}</a>
{% if app.user.provider == 'facebook' %}
{#<a class=\"dropdown-item\" href=\"#\" onClick=\"fb_logout();\">Déconnexion</a>#}
<a class=\"dropdown-item\" href=\"{{ path('myAccountLogout') }}\">{{ 'logout'|trans }}</a>
{% else %}
<a class=\"dropdown-item\" href=\"{{ path('myAccountLogout') }}\">{{ 'logout'|trans }}</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
</nav>
{% if app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
<section id=\"content\" class=\"content-section\">
<div class=\"container\">
<div class=\"row mr-0 ml-0\">
<div class=\"d-block d-sm-none mb-3\">
<div id=\"menuWebMobile\" class=\"dropdown\">
<button class=\"btn btn-success\" data-toggle=\"dropdown\">{{ 'myAccount'|trans }}</button>
<div class=\"dropdown-menu\">
<a href=\"{{ path('myAccountDashboard') }}\" class=\"dropdown-item\">
<span class=\"fas fa-tachometer-alt\"></span> {{ 'dashboard'|trans }}
</a>
<a href=\"{{ path('myAccountProfile') }}\" class=\"dropdown-item\">
<span class=\"fas fa-user\"></span> {{ 'profile'|trans }}
</a>
{% if is_granted('ROLE_PLAYER') %}
<a href=\"{{ path('myAccountFriends') }}\" class=\"dropdown-item\">
<span class=\"fas fa-users\"></span> {{ 'friends'|trans }}
<span class=\"badge\" id=\"badgeNbRequestFriend\" {% if app.user.nbRequestFriend() == 0%} style=\"display:none\"{% endif %}>{{ app.user.nbRequestFriend() }}</span>
</a>
<a href=\"{{ path('myAccountTams') }}\" class=\"dropdown-item\">
<img class=\"rounded-circle avatar15\" src=\"{{ asset('images/tam_logo.jpg') }}\" /> {{ 'myTams'|trans }}
</a>
{% elseif is_granted('ROLE_CLUB') or is_granted('ROLE_PRO') %}
<a href=\"{{ path('myAccountFollowers') }}\" class=\"dropdown-item\">
<span class=\"fas fa-users\"></span> Followers
</a>
{% endif %}
<a href=\"{{ path('myAccountMessages') }}\" class=\"dropdown-item\">
<span class=\"fa fa-envelope\"></span> {{ 'messages'|trans }}
<span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
</a>
</div>
</div>
</div>
<div class=\"col-2 d-none d-md-block\">
<div class=\"panel panel-info\">
<div class=\"list-group\">
<a href=\"{{ path('myAccountDashboard') }}\" class=\"list-group-item\">
<span class=\"fas fa-tachometer-alt\"></span> {{ 'dashboard'|trans }}
</a>
<a href=\"{{ path('myAccountProfile') }}\" class=\"list-group-item\">
<span class=\"fas fa-user\"></span> {{ 'profile'|trans }}
</a>
{% if is_granted('ROLE_PLAYER') %}
<a href=\"{{ path('myAccountFriends') }}\" class=\"list-group-item\">
<span class=\"fas fa-users\"></span> {{ 'friends'|trans }}
<span class=\"badge\" id=\"badgeNbRequestFriend\" {% if app.user.nbRequestFriend() == 0%} style=\"display:none\"{% endif %}>{{ app.user.nbRequestFriend() }}</span>
</a>
<a href=\"{{ path('myAccountTams') }}\" class=\"list-group-item\">
<img class=\"rounded-circle avatar15\" src=\"{{ asset('images/tam_logo.jpg') }}\" /> {{ 'myTams'|trans }}
</a>
{% elseif is_granted('ROLE_CLUB') or is_granted('ROLE_PRO') %}
<a href=\"{{ path('myAccountFollowers') }}\" class=\"list-group-item\">
<span class=\"fas fa-users\"></span> Followers
</a>
<a href=\"{{ path('myAccountAdverts') }}\" class=\"list-group-item\">
<img class=\"rounded-circle avatar15\" src=\"{{ asset('images/tam_logo.jpg') }}\" /> {{ 'myAdverts'|trans }}
</a>
{% if app.user.hasInvoice()%}
<a href=\"{{ path('myAccountInvoiceList') }}\" class=\"list-group-item\">
<span class=\"fas fa-file-invoice\"></span> {{ 'invoices'|trans|capitalize }}
</a>
{% endif%}
{% endif %}
<a href=\"{{ path('myAccountMessages') }}\" class=\"list-group-item\">
<span class=\"fa fa-envelope\"></span> {{ 'messages'|trans }}
<span class=\"badge\" id=\"badgeNbNewMessages\" style=\"display:none\"></span>
</a>
</div>
</div>
</div>
<div class=\"col-12 col-md-10\">
{% elseif not app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
<section id=\"content\" class=\"content-section section-public\">
<div class=\"container\">
<div class=\"row mr-1 ml-1\">
<div class=\"col-12 col-md-10\">
{% endif %}
{% block content %}
{% endblock %}
{% if app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index'%}
</div>
</div>
</div>
</section>
{% elseif not app.user and app.request.attributes.get('_route') != 'homepage' and app.request.attributes.get('_route') != 'index' %}
</div>
<div class=\"col-2 d-none d-md-block\" id=\"advertPublic\">
</div>
</div>
</div>
</section>
{% endif %}
<div id=\"tam-footer\" class=\"d-none d-block d-sm-none\">{# MOBILE #}
<div class=\"container\">
<div class=\"row\">
<div class=\"col col-sm-12 col-md-4\">
<img src=\"{{ asset('images/tam_logo.jpg')}}\" height=\"80\">
</div>
<div class=\"col col-sm-12 col-md-4\">
<h3>ACCES RAPIDE</h3>
<a href=\"{{ path('privacyPolicy') }}\">{{ 'privacyPolicy'|trans }}</a><br />
<a href=\"{{ path('legalMention') }}\">{{ 'legalMention'|trans }}</a><br />
{#<a href=\"{{ path('pagesPlanDuSite') }}\">Plan du site</a><br />
<a href=\"{{ path('pagesVIP') }}\">Offre VIP</a><br />
<a href=\"{{ path('listNews') }}\">News</a><br />
<a href=\"{{ path ('pages', {'page':38, 'label':'Mentions-Légales'}) }}\">Informations légales</a><br />
<a href=\"{{ path('pagesContacts') }}\">Contact</a><br />#}
</div>
<div class=\"col-12 text-center\">
<h3>Suivez-nous</h3>
<div class=\"footer-social-network d-flex\">
<ul class=\"list-unstyled mx-auto justify-content-center\">
<li class=\"social-item\">
<a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
<span class=\"fab fa-facebook-f fa-xs\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
<span class=\"fab fa-google-plus-g fa-xs\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
<span class=\"fab fa-twitter fa-xs\"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id=\"tam-footer\" class=\"d-none d-md-block\">{# WEB #}
<div class=\"container\">
<div class=\"row\">
<div class=\"col col-sm-12 col-md-4\">
<img src=\"{{ asset('images/tam_logo.jpg')}}\" height=\"120\">
</div>
<div class=\"col col-sm-12 col-md-4\">
<h3>ACCES RAPIDE</h3>
<a href=\"{{ path('privacyPolicy') }}\">{{ 'privacyPolicy'|trans }}</a><br />
<a href=\"{{ path('legalMention') }}\">{{ 'legalMention'|trans }}</a><br />
{#<a href=\"{{ path('pagesPlanDuSite') }}\">Plan du site</a><br />
<a href=\"{{ path('pagesVIP') }}\">Offre VIP</a><br />
<a href=\"{{ path('listNews') }}\">News</a><br />
<a href=\"{{ path ('pages', {'page':38, 'label':'Mentions-Légales'}) }}\">Informations légales</a><br />
<a href=\"{{ path('pagesContacts') }}\">Contact</a><br />#}
</div>
<div class=\"col col-sm-12 col-md-4\">
<h3>Suivez-nous</h3>
<div class=\"footer-social-network\">
<ul class=\"list-unstyled\">
<li class=\"social-item\">
<a href=\"https://www.facebook.com/IldevSoftware\" class=\"item-facebook\" target=\"_blank\">
<span class=\"fab fa-facebook-f\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://plus.google.com/112263953063404407798\" class=\"item-google\" target=\"_blank\">
<span class=\"fab fa-google-plus-g\"></span>
</a>
</li>
<li class=\"social-item\">
<a href=\"https://twitter.com/IldevSoftware\" class=\"item-twitter\" target=\"_blank\">
<span class=\"fab fa-twitter\"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id=\"tam-footer-black\">
<div class=\"container text-center\">
Eurl Ildev-Software - SIRET 799 258 991 00014 - APE 6201Z - TVA FR35799258991
</div>
</div>
<div id=\"divModalGeneral\"></div>
<div id=\"fb-root\"></div>
<script>
window.fbAsyncInit = function() {
// init the FB JS SDK
FB.init({
appId : '580481168669513', // App ID from the app dashboard
status : true, // Check Facebook Login status
xfbml : true // Look for social plugins on the page
//version : 3.1
});
};
// Load the SDK asynchronously
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
{% if app.session.get('_locale') == 'fr'%}
js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
{% elseif app.session.get('_locale') == 'es'%}
js.src = \"//connect.facebook.net/es_ES/sdk.js\";
{% else %}
js.src = \"//connect.facebook.net/en_US/sdk.js\";
{% endif %}
//js.src = \"//connect.facebook.net/fr_FR/sdk.js\";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
{#function fb_login() {
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
// connected
//alert('Already connected, redirect to login page to create token.');
document.location = \"{{ url(\"hwi_oauth_service_redirect\", {service: \"facebook\"}) }}\";
} else {
// not_authorized
FB.login(function(response) {
if (response.authResponse) {
document.location = \"{{ url(\"hwi_oauth_service_redirect\", {service: \"facebook\"}) }}\";
} else {
alert('Cancelled.');
}
}, {scope: 'email'});
}
});
}
function fb_logout() {
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
FB.logout(function(response) {
console.log(response);
document.location = \"{{ url(\"myAccountLogout\") }}\";
});
}else{
document.location = \"{{ url(\"myAccountLogout\") }}\";
}
});
}#}
</script>
{% include 'Common/scripts.html.twig' %}
</body>
</html>
", "baseFront.html.twig", "/home/tam/www.reset/templates/baseFront.html.twig");
}
}