var/cache/dev/twig/40/4065603ba09e5b6695f6355e85247c22.php line 33

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. /* menu/menucontainer.html.twig */
  14. class __TwigTemplate_689dd0e00979b5a5b5bc08049cb4d98c 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.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""menu/menucontainer.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""menu/menucontainer.html.twig"));
  33.         // line 1
  34.         echo "<!--topline section visible only on small screens|-->
  35. <section class=\"page_topline ds ms c-gutter-0 s-py-15 s-borderbottom  d-xl-none\">
  36.     <div class=\"container-fluid\">
  37.         <div class=\"row align-items-center\">
  38.             <div class=\"col-6 text-left\">
  39.                 <ul class=\"top-includes\">
  40.                     ";
  41.         // line 7
  42.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
  43.             // line 8
  44.             echo "                        <li>
  45.                             <a class=\"\" href=\"";
  46.             // line 9
  47.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account", [], false);
  48.             echo "\">
  49.                                 <i class=\"far fa-address-card\"></i>
  50.                             </a>
  51.                         </li>
  52.                         <li>
  53.                             <a class=\"color-danger\" href=\"";
  54.             // line 14
  55.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout", [], false);
  56.             echo "\">
  57.                                 <i class=\"fas fa-user-times color-danger\"></i>
  58.                             </a>
  59.                         </li>
  60.                     ";
  61.         } else {
  62.             // line 19
  63.             echo "                        <li>
  64.                             <a class=\"\" href=\"";
  65.             // line 20
  66.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login", [], false);
  67.             echo "\">
  68.                                 <i class=\"far fa-user\"></i>
  69.                             </a>
  70.                         </li>
  71.                     ";
  72.         }
  73.         // line 25
  74.         echo "                    <li>
  75.                         <a class=\"\" href=\"";
  76.         // line 26
  77.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact", [], false);
  78.         echo "\"><i
  79.                                     class=\"far fa-envelope\"></i></a>
  80.                     </li>
  81.                 </ul>
  82.             </div>
  83.             <div class=\"col-6 text-right\">
  84.                 ";
  85.         // line 32
  86.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_WRITER")) {
  87.             // line 33
  88.             echo "                    <a href=\"";
  89.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_articles", [], false);
  90.             echo "\"
  91.                        class=\"btn btn-outline-maincolor\">Mes Articles</a>
  92.                 ";
  93.         } else {
  94.             // line 36
  95.             echo "                    <a href=\"";
  96.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_tournois", [], false);
  97.             echo "\"
  98.                        class=\"btn btn-outline-maincolor\">Jouer</a>
  99.                 ";
  100.         }
  101.         // line 39
  102.         echo "            </div>
  103.         </div>
  104.     </div>
  105. </section>
  106. <div class=\"header_absolute \">
  107.     <!-- header with two Bootstrap columns - left for logo and right for navigation -->
  108.     <header class=\"page_header ds ms bg-transparent justify-nav-center s-overlay s-py-10 \">
  109.         <div class=\"container-fluid\">
  110.             <div class=\"row align-items-center\">
  111.                 <div class=\"col-xl-2 col-lg-3 col-md-7 col-8\">
  112.                     <a href=\"./\" class=\"logo\">
  113.                         <img src=\"";
  114.         // line 52
  115.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/cbrc/logo.jpg")), "html"nulltrue);
  116.         echo "\" alt=\"\">
  117.                     </a>
  118.                 </div>
  119.                 <div class=\"col-xl-10 col-lg-9 col-md-5 col-1\">
  120.                     <div class=\"nav-wrap\">
  121.                         <nav class=\"top-nav justify-nav-center\">
  122.                             <ul class=\"nav sf-menu\">
  123.                                 <li class=\"\">
  124.                                     <a href=\"";
  125.         // line 60
  126.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home", [], false);
  127.         echo "\">Accueil</a>
  128.                                 </li>
  129.                                 <li>
  130.                                     <a href=\"#\">Menu</a>
  131.                                     <div class=\"mega-menu\">
  132.                                         <ul class=\"mega-menu-row\">
  133.                                             <li class=\"mega-menu-col\">
  134.                                                 <a href=\"#\">Le Club</a>
  135.                                                 <ul>
  136.                                                     <li>
  137.                                                         <a href=\"";
  138.         // line 70
  139.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about", [], false);
  140.         echo "\">Informations</a>
  141.                                                     </li>
  142.                                                     <li>
  143.                                                         <a href=\"";
  144.         // line 73
  145.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_tournois", [], false);
  146.         echo "\">Tournois</a>
  147.                                                     </li>
  148.                                                     <li>
  149.                                                         <a href=\"";
  150.         // line 76
  151.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_cours", [], false);
  152.         echo "\">Cours</a>
  153.                                                     </li>
  154.                                                 </ul>
  155.                                             </li>
  156.                                             <li class=\"mega-menu-col\">
  157.                                                 <a href=\"\">Autre</a>
  158.                                                 <ul>
  159.                                                     <li>
  160.                                                         <a href=\"";
  161.         // line 84
  162.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_competitions", [], false);
  163.         echo "\">Compétitions</a>
  164.                                                     </li>
  165.                                                     <li>
  166.                                                         <a href=\"";
  167.         // line 87
  168.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_utilitaires", [], false);
  169.         echo "\">Utilitaires</a>
  170.                                                     </li>
  171.                                                     <li>
  172.                                                         <a href=\"";
  173.         // line 90
  174.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_partenaires", [], false);
  175.         echo "\">Partenaires</a>
  176.                                                     </li>
  177.                                                 </ul>
  178.                                             </li>
  179.                                         </ul>
  180.                                     </div>
  181.                                 </li>
  182.                                 <li>
  183.                                     <a href=\"";
  184.         // line 98
  185.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_festival", [], false);
  186.         echo "\">Le Festival</a>
  187.                                 </li>
  188.                                 <li>
  189.                                     <a href=\"";
  190.         // line 101
  191.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact", [], false);
  192.         echo "\">Contact</a>
  193.                                 </li>
  194.                             </ul>
  195.                         </nav>
  196.                         <span class=\" text-left text-md-right d-none d-xl-block\">
  197.                             ";
  198.         // line 106
  199.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_WRITER")) {
  200.             // line 107
  201.             echo "                                <a href=\"";
  202.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_articles", [], false);
  203.             echo "\"
  204.                                    class=\"btn btn-outline-maincolor\">Mes Articles</a>
  205.                             ";
  206.         } else {
  207.             // line 110
  208.             echo "                                <a href=\"";
  209.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_tournois", [], false);
  210.             echo "\"
  211.                                    class=\"btn btn-outline-maincolor\">Jouer</a>
  212.                             ";
  213.         }
  214.         // line 113
  215.         echo "                        </span>
  216.                         <ul class=\"top-includes d-none d-xl-block text-right\">
  217.                             ";
  218.         // line 115
  219.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
  220.             // line 116
  221.             echo "                                <li>
  222.                                     <a class=\"\" href=\"";
  223.             // line 117
  224.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account", [], false);
  225.             echo "\">
  226.                                         <i class=\"far fa-address-card\"></i>
  227.                                     </a>
  228.                                 </li>
  229.                                 <li>
  230.                                     <a class=\"color-danger\" href=\"";
  231.             // line 122
  232.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout", [], false);
  233.             echo "\">
  234.                                         <i class=\"fas fa-user-times color-danger\"></i>
  235.                                     </a>
  236.                                 </li>
  237.                             ";
  238.         } else {
  239.             // line 127
  240.             echo "                                <li>
  241.                                     <a class=\"\" href=\"";
  242.             // line 128
  243.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login", [], false);
  244.             echo "\">
  245.                                         <i class=\"far fa-user\"></i>
  246.                                     </a>
  247.                                 </li>
  248.                             ";
  249.         }
  250.         // line 133
  251.         echo "                            <li>
  252.                                 <a class=\"\" href=\"";
  253.         // line 134
  254.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact", [], false);
  255.         echo "\"><i
  256.                                             class=\"far fa-envelope\"></i></a>
  257.                             </li>
  258.                         </ul>
  259.                     </div>
  260.                 </div>
  261.             </div>
  262.         </div>
  263.         <!-- header toggler -->
  264.         <span class=\"toggle_menu\"><span></span></span>
  265.     </header>
  266. </div>
  267. ";
  268.         
  269.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  270.         
  271.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  272.     }
  273.     public function getTemplateName()
  274.     {
  275.         return "menu/menucontainer.html.twig";
  276.     }
  277.     public function isTraitable()
  278.     {
  279.         return false;
  280.     }
  281.     public function getDebugInfo()
  282.     {
  283.         return array (  265 => 134,  262 => 133,  254 => 128,  251 => 127,  243 => 122,  235 => 117,  232 => 116,  230 => 115,  226 => 113,  219 => 110,  212 => 107,  210 => 106,  202 => 101,  196 => 98,  185 => 90,  179 => 87,  173 => 84,  162 => 76,  156 => 73,  150 => 70,  137 => 60,  126 => 52,  111 => 39,  104 => 36,  97 => 33,  95 => 32,  86 => 26,  83 => 25,  75 => 20,  72 => 19,  64 => 14,  56 => 9,  53 => 8,  51 => 7,  43 => 1,);
  284.     }
  285.     public function getSourceContext()
  286.     {
  287.         return new Source("<!--topline section visible only on small screens|-->
  288. <section class=\"page_topline ds ms c-gutter-0 s-py-15 s-borderbottom  d-xl-none\">
  289.     <div class=\"container-fluid\">
  290.         <div class=\"row align-items-center\">
  291.             <div class=\"col-6 text-left\">
  292.                 <ul class=\"top-includes\">
  293.                     {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  294.                         <li>
  295.                             <a class=\"\" href=\"{{ path('account', {}, relative = false) }}\">
  296.                                 <i class=\"far fa-address-card\"></i>
  297.                             </a>
  298.                         </li>
  299.                         <li>
  300.                             <a class=\"color-danger\" href=\"{{ path('app_logout', {}, relative = false) }}\">
  301.                                 <i class=\"fas fa-user-times color-danger\"></i>
  302.                             </a>
  303.                         </li>
  304.                     {% else %}
  305.                         <li>
  306.                             <a class=\"\" href=\"{{ path('app_login', {}, relative = false) }}\">
  307.                                 <i class=\"far fa-user\"></i>
  308.                             </a>
  309.                         </li>
  310.                     {% endif %}
  311.                     <li>
  312.                         <a class=\"\" href=\"{{ path('contact', {}, relative = false) }}\"><i
  313.                                     class=\"far fa-envelope\"></i></a>
  314.                     </li>
  315.                 </ul>
  316.             </div>
  317.             <div class=\"col-6 text-right\">
  318.                 {% if is_granted('ROLE_WRITER') %}
  319.                     <a href=\"{{ path('my_articles', {}, relative = false) }}\"
  320.                        class=\"btn btn-outline-maincolor\">Mes Articles</a>
  321.                 {% else %}
  322.                     <a href=\"{{ path('home_tournois', {}, relative = false) }}\"
  323.                        class=\"btn btn-outline-maincolor\">Jouer</a>
  324.                 {% endif %}
  325.             </div>
  326.         </div>
  327.     </div>
  328. </section>
  329. <div class=\"header_absolute \">
  330.     <!-- header with two Bootstrap columns - left for logo and right for navigation -->
  331.     <header class=\"page_header ds ms bg-transparent justify-nav-center s-overlay s-py-10 \">
  332.         <div class=\"container-fluid\">
  333.             <div class=\"row align-items-center\">
  334.                 <div class=\"col-xl-2 col-lg-3 col-md-7 col-8\">
  335.                     <a href=\"./\" class=\"logo\">
  336.                         <img src=\"{{ absolute_url(asset('assets/images/cbrc/logo.jpg')) }}\" alt=\"\">
  337.                     </a>
  338.                 </div>
  339.                 <div class=\"col-xl-10 col-lg-9 col-md-5 col-1\">
  340.                     <div class=\"nav-wrap\">
  341.                         <nav class=\"top-nav justify-nav-center\">
  342.                             <ul class=\"nav sf-menu\">
  343.                                 <li class=\"\">
  344.                                     <a href=\"{{ path('home', {}, relative = false) }}\">Accueil</a>
  345.                                 </li>
  346.                                 <li>
  347.                                     <a href=\"#\">Menu</a>
  348.                                     <div class=\"mega-menu\">
  349.                                         <ul class=\"mega-menu-row\">
  350.                                             <li class=\"mega-menu-col\">
  351.                                                 <a href=\"#\">Le Club</a>
  352.                                                 <ul>
  353.                                                     <li>
  354.                                                         <a href=\"{{ path('about', {}, relative = false) }}\">Informations</a>
  355.                                                     </li>
  356.                                                     <li>
  357.                                                         <a href=\"{{ path('home_tournois', {}, relative = false) }}\">Tournois</a>
  358.                                                     </li>
  359.                                                     <li>
  360.                                                         <a href=\"{{ path('home_cours', {}, relative = false) }}\">Cours</a>
  361.                                                     </li>
  362.                                                 </ul>
  363.                                             </li>
  364.                                             <li class=\"mega-menu-col\">
  365.                                                 <a href=\"\">Autre</a>
  366.                                                 <ul>
  367.                                                     <li>
  368.                                                         <a href=\"{{ path('home_competitions', {}, relative = false) }}\">Compétitions</a>
  369.                                                     </li>
  370.                                                     <li>
  371.                                                         <a href=\"{{ path('home_utilitaires', {}, relative = false) }}\">Utilitaires</a>
  372.                                                     </li>
  373.                                                     <li>
  374.                                                         <a href=\"{{ path('home_partenaires', {}, relative = false) }}\">Partenaires</a>
  375.                                                     </li>
  376.                                                 </ul>
  377.                                             </li>
  378.                                         </ul>
  379.                                     </div>
  380.                                 </li>
  381.                                 <li>
  382.                                     <a href=\"{{ path('home_festival', {}, relative = false) }}\">Le Festival</a>
  383.                                 </li>
  384.                                 <li>
  385.                                     <a href=\"{{ path('contact', {}, relative = false) }}\">Contact</a>
  386.                                 </li>
  387.                             </ul>
  388.                         </nav>
  389.                         <span class=\" text-left text-md-right d-none d-xl-block\">
  390.                             {% if is_granted('ROLE_WRITER') %}
  391.                                 <a href=\"{{ path('my_articles', {}, relative = false) }}\"
  392.                                    class=\"btn btn-outline-maincolor\">Mes Articles</a>
  393.                             {% else %}
  394.                                 <a href=\"{{ path('home_tournois', {}, relative = false) }}\"
  395.                                    class=\"btn btn-outline-maincolor\">Jouer</a>
  396.                             {% endif %}
  397.                         </span>
  398.                         <ul class=\"top-includes d-none d-xl-block text-right\">
  399.                             {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  400.                                 <li>
  401.                                     <a class=\"\" href=\"{{ path('account', {}, relative = false) }}\">
  402.                                         <i class=\"far fa-address-card\"></i>
  403.                                     </a>
  404.                                 </li>
  405.                                 <li>
  406.                                     <a class=\"color-danger\" href=\"{{ path('app_logout', {}, relative = false) }}\">
  407.                                         <i class=\"fas fa-user-times color-danger\"></i>
  408.                                     </a>
  409.                                 </li>
  410.                             {% else %}
  411.                                 <li>
  412.                                     <a class=\"\" href=\"{{ path('app_login', {}, relative = false) }}\">
  413.                                         <i class=\"far fa-user\"></i>
  414.                                     </a>
  415.                                 </li>
  416.                             {% endif %}
  417.                             <li>
  418.                                 <a class=\"\" href=\"{{ path('contact', {}, relative = false) }}\"><i
  419.                                             class=\"far fa-envelope\"></i></a>
  420.                             </li>
  421.                         </ul>
  422.                     </div>
  423.                 </div>
  424.             </div>
  425.         </div>
  426.         <!-- header toggler -->
  427.         <span class=\"toggle_menu\"><span></span></span>
  428.     </header>
  429. </div>
  430. ""menu/menucontainer.html.twig""/home/maixmebouz/www/dev/cbrc/templates/menu/menucontainer.html.twig");
  431.     }
  432. }