var/cache/dev/twig/c4/c494fe1b8fa1629cafc90d1c5d0f9560.php line 71

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. /* guest.html.twig */
  14. class __TwigTemplate_41ba34b09695ddc15dadbe72753d239c 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.             'javascripts_top' => [$this'block_javascripts_top'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts_bottom' => [$this'block_javascripts_bottom'],
  27.             'after_body' => [$this'block_after_body'],
  28.             'before_body' => [$this'block_before_body'],
  29.             'body' => [$this'block_body'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""guest.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""guest.html.twig"));
  39.         // line 1
  40.         if ( !        $this->hasBlock("javascripts_top"$context$blocks)) {
  41.             $this->displayBlock('javascripts_top'$context$blocks);
  42.         }
  43.         // line 2
  44.         if ( !        $this->hasBlock("stylesheets"$context$blocks)) {
  45.             $this->displayBlock('stylesheets'$context$blocks);
  46.         }
  47.         // line 3
  48.         if ( !        $this->hasBlock("javascripts_bottom"$context$blocks)) {
  49.             $this->displayBlock('javascripts_bottom'$context$blocks);
  50.         }
  51.         // line 4
  52.         if ( !        $this->hasBlock("after_body"$context$blocks)) {
  53.             $this->displayBlock('after_body'$context$blocks);
  54.         }
  55.         // line 5
  56.         if ( !        $this->hasBlock("before_body"$context$blocks)) {
  57.             $this->displayBlock('before_body'$context$blocks);
  58.         }
  59.         // line 6
  60.         $this->loadTemplate("_page/_core/_header.html.twig""guest.html.twig"6)->display(twig_array_merge($context, ["javascripts_top" =>         $this->renderBlock("javascripts_top"$context$blocks), "stylesheets" =>         $this->renderBlock("stylesheets"$context$blocks), "stylesheetsUrl" => "_page/_guest/_styles.html.twig""after_body" =>         $this->renderBlock("after_body"$context$blocks), "before_body" =>         $this->renderBlock("before_body"$context$blocks)]));
  61.         // line 14
  62.         $this->loadTemplate("_page/_guest/_nav.html.twig""guest.html.twig"14)->display($context);
  63.         // line 15
  64.         echo "
  65.  ";
  66.         // line 16
  67.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "get", [=> "_route"], "method"falsefalsefalse16) == "home")) {
  68.             // line 17
  69.             echo "     ";
  70.             $this->loadTemplate("_page/_guest/_hero.html.twig""guest.html.twig"17)->display($context);
  71.             // line 18
  72.             echo " ";
  73.         }
  74.         // line 19
  75.         echo "
  76. <main id=\"main\" class=\"main\">
  77.     ";
  78.         // line 22
  79.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'22$this->source); })()), "request", [], "any"falsefalsefalse22), "get", [=> "_route"], "method"falsefalsefalse22) != "home")) {
  80.             // line 23
  81.             echo "        ";
  82.             $this->loadTemplate("_page/_guest/_breadcrumb.html.twig""guest.html.twig"23)->display($context);
  83.             // line 24
  84.             echo "    ";
  85.         }
  86.         // line 25
  87.         echo "
  88.     ";
  89.         // line 26
  90.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "request", [], "any"falsefalsefalse26), "get", [=> "_route"], "method"falsefalsefalse26) != "home")) {
  91.             // line 27
  92.             echo "    <section class=\"inner-page\">";
  93.         }
  94.         // line 28
  95.         echo "        <div class=\"container\">
  96.             ";
  97.         // line 29
  98.         $this->loadTemplate("_page/_core/_messages.html.twig""guest.html.twig"29)->display($context);
  99.         // line 30
  100.         echo "        </div>
  101.         ";
  102.         // line 31
  103.         $this->displayBlock('body'$context$blocks);
  104.         // line 32
  105.         echo "        ";
  106.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'32$this->source); })()), "request", [], "any"falsefalsefalse32), "get", [=> "_route"], "method"falsefalsefalse32) != "home")) {
  107.             echo "</section>";
  108.         }
  109.         // line 33
  110.         echo "
  111. </main>
  112. ";
  113.         // line 36
  114.         $this->loadTemplate("_page/_core/_footer.html.twig""guest.html.twig"36)->display(twig_array_merge($context, ["javascripts_bottom" =>         $this->renderBlock("javascripts_bottom"$context$blocks), "footerUrl" => "_page/_guest/_footer.html.twig""javascriptsUrl" => "_page/_guest/_scripts.html.twig"]));
  115.         // line 41
  116.         echo "
  117. ";
  118.         // line 42
  119.         $this->loadTemplate("_page/_content/_logoutModal.html.twig""guest.html.twig"42)->display($context);
  120.         // line 43
  121.         echo "
  122. ";
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.         
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  127.     }
  128.     // line 1
  129.     public function block_javascripts_top($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_top"));
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_top"));
  136.         
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  138.         
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  140.     }
  141.     // line 2
  142.     public function block_stylesheets($context, array $blocks = [])
  143.     {
  144.         $macros $this->macros;
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.     }
  154.     // line 3
  155.     public function block_javascripts_bottom($context, array $blocks = [])
  156.     {
  157.         $macros $this->macros;
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_bottom"));
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_bottom"));
  162.         
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  164.         
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  166.     }
  167.     // line 4
  168.     public function block_after_body($context, array $blocks = [])
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""after_body"));
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""after_body"));
  175.         
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  177.         
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  179.     }
  180.     // line 5
  181.     public function block_before_body($context, array $blocks = [])
  182.     {
  183.         $macros $this->macros;
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""before_body"));
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""before_body"));
  188.         
  189.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  190.         
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  192.     }
  193.     // line 31
  194.     public function block_body($context, array $blocks = [])
  195.     {
  196.         $macros $this->macros;
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  201.         
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  203.         
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  205.     }
  206.     public function getTemplateName()
  207.     {
  208.         return "guest.html.twig";
  209.     }
  210.     public function isTraitable()
  211.     {
  212.         return false;
  213.     }
  214.     public function getDebugInfo()
  215.     {
  216.         return array (  233 => 31,  215 => 5,  197 => 4,  179 => 3,  161 => 2,  143 => 1,  132 => 43,  130 => 42,  127 => 41,  125 => 36,  120 => 33,  115 => 32,  113 => 31,  110 => 30,  108 => 29,  105 => 28,  102 => 27,  100 => 26,  97 => 25,  94 => 24,  91 => 23,  89 => 22,  84 => 19,  81 => 18,  78 => 17,  76 => 16,  73 => 15,  71 => 14,  69 => 6,  65 => 5,  61 => 4,  57 => 3,  53 => 2,  49 => 1,);
  217.     }
  218.     public function getSourceContext()
  219.     {
  220.         return new Source("{% if block('javascripts_top') is not defined %}{% block javascripts_top %}{% endblock %}{% endif %}
  221. {% if block('stylesheets') is not defined %}{% block stylesheets %}{% endblock %}{% endif %}
  222. {% if block('javascripts_bottom') is not defined %}{% block javascripts_bottom %}{% endblock %}{% endif %}
  223. {% if block('after_body') is not defined %}{% block after_body %}{% endblock %}{% endif %}
  224. {% if block('before_body') is not defined %}{% block before_body %}{% endblock %}{% endif %}
  225. {% include '_page/_core/_header.html.twig' with {
  226.     javascripts_top: block('javascripts_top'),
  227.     stylesheets: block('stylesheets'),
  228.     stylesheetsUrl: '_page/_guest/_styles.html.twig',
  229.     after_body: block('after_body'),
  230.     before_body: block('before_body'),
  231. } %}
  232. {# {% include '_page/_guest/_top.html.twig' %} #}
  233. {% include '_page/_guest/_nav.html.twig' %}
  234.  {% if app.request.get('_route') == 'home' %}
  235.      {% include '_page/_guest/_hero.html.twig' %}
  236.  {% endif %}
  237. <main id=\"main\" class=\"main\">
  238.     {% if app.request.get('_route') != 'home' %}
  239.         {% include '_page/_guest/_breadcrumb.html.twig' %}
  240.     {% endif %}
  241.     {% if app.request.get('_route') != 'home' %}
  242.     <section class=\"inner-page\">{% endif %}
  243.         <div class=\"container\">
  244.             {% include \"_page/_core/_messages.html.twig\" %}
  245.         </div>
  246.         {% block body %}{% endblock %}
  247.         {% if app.request.get('_route') != 'home' %}</section>{% endif %}
  248. </main>
  249. {% include '_page/_core/_footer.html.twig' with {
  250.     javascripts_bottom: block('javascripts_bottom'),
  251.     footerUrl: '_page/_guest/_footer.html.twig',
  252.     javascriptsUrl: '_page/_guest/_scripts.html.twig',
  253. } %}
  254. {% include \"_page/_content/_logoutModal.html.twig\" %}
  255. ""guest.html.twig""/home/tezea/domains/tezea.pl/public_html/templates/guest.html.twig");
  256.     }
  257. }