var/cache/dev/twig/68/684bbea766a4d329e71873af2abbd2bb.php line 38

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. /* main_base.html.twig */
  14. class __TwigTemplate_24eac38e330e7c72d5a4d32e95f6c6a3 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'description' => [$this'block_description'],
  26.             'head_js' => [$this'block_head_js'],
  27.             'content' => [$this'block_content'],
  28.             'body_js' => [$this'block_body_js'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main_base.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main_base.html.twig"));
  38.         // line 1
  39.         $context["ayarlar"] = $this->extensions['App\Twig\AppExtension']->getAyarlar();
  40.         // line 2
  41.         echo "
  42. <!DOCTYPE html>
  43. <html lang=\"tr\">
  44. <head>
  45.     <title>";
  46.         // line 6
  47.         $this->displayBlock('title'$context$blocks);
  48.         echo "</title>
  49.     <meta name=\"description\" content=\"";
  50.         // line 7
  51.         $this->displayBlock('description'$context$blocks);
  52.         echo "\">
  53.     <meta charset=\"UTF-8\">
  54.     <meta name=\"viewport\"
  55.           content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">
  56.     <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
  57.     <link rel=\"shortcut icon\" href=\"";
  58.         // line 12
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/ayarlar/" twig_get_attribute($this->env$this->source, (isset($context["ayarlar"]) || array_key_exists("ayarlar"$context) ? $context["ayarlar"] : (function () { throw new RuntimeError('Variable "ayarlar" does not exist.'12$this->source); })()), "favicon", [], "any"falsefalsefalse12))), "html"nulltrue);
  60.         echo "\"/>
  61.     ";
  62.         // line 13
  63.         $this->loadTemplate("main/default/styles.html.twig""main_base.html.twig"13)->display($context);
  64.         // line 14
  65.         echo "    ";
  66.         $this->displayBlock('head_js'$context$blocks);
  67.         // line 15
  68.         echo "</head>
  69. <body class=\"\">
  70. <div class=\"main-container\">
  71.     ";
  72.         // line 19
  73.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Main\\DefaultController::header", ["request" => 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.'19$this->source); })()), "request", [], "any"falsefalsefalse19)]));
  74.         echo "
  75.     ";
  76.         // line 20
  77.         $this->displayBlock('content'$context$blocks);
  78.         // line 21
  79.         echo "    ";
  80.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Main\\DefaultController::footer"));
  81.         echo "
  82. </div>
  83. ";
  84.         // line 25
  85.         $this->displayBlock('body_js'$context$blocks);
  86.         // line 26
  87.         $this->loadTemplate("main/default/scripts.html.twig""main_base.html.twig"26)->display($context);
  88.         // line 27
  89.         echo "</body>
  90. </html>";
  91.         
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  93.         
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  95.     }
  96.     // line 6
  97.     public function block_title($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  104.         echo "Elefante";
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     // line 7
  111.     public function block_description($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  118.         echo "Elefante";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     // line 14
  125.     public function block_head_js($context, array $blocks = [])
  126.     {
  127.         $macros $this->macros;
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_js"));
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_js"));
  132.         
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134.         
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  136.     }
  137.     // line 20
  138.     public function block_content($context, array $blocks = [])
  139.     {
  140.         $macros $this->macros;
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  142.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  145.         
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  147.         
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  149.     }
  150.     // line 25
  151.     public function block_body_js($context, array $blocks = [])
  152.     {
  153.         $macros $this->macros;
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_js"));
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_js"));
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.     }
  163.     public function getTemplateName()
  164.     {
  165.         return "main_base.html.twig";
  166.     }
  167.     public function isTraitable()
  168.     {
  169.         return false;
  170.     }
  171.     public function getDebugInfo()
  172.     {
  173.         return array (  186 => 25,  168 => 20,  150 => 14,  131 => 7,  112 => 6,  101 => 27,  99 => 26,  97 => 25,  89 => 21,  87 => 20,  83 => 19,  77 => 15,  74 => 14,  72 => 13,  68 => 12,  60 => 7,  56 => 6,  50 => 2,  48 => 1,);
  174.     }
  175.     public function getSourceContext()
  176.     {
  177.         return new Source("{% set ayarlar = getAyarlar() %}
  178. <!DOCTYPE html>
  179. <html lang=\"tr\">
  180. <head>
  181.     <title>{% block title %}Elefante{% endblock %}</title>
  182.     <meta name=\"description\" content=\"{% block description %}Elefante{% endblock %}\">
  183.     <meta charset=\"UTF-8\">
  184.     <meta name=\"viewport\"
  185.           content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">
  186.     <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
  187.     <link rel=\"shortcut icon\" href=\"{{ asset('uploads/ayarlar/' ~ ayarlar.favicon) }}\"/>
  188.     {% include 'main/default/styles.html.twig' %}
  189.     {% block head_js %}{% endblock %}
  190. </head>
  191. <body class=\"\">
  192. <div class=\"main-container\">
  193.     {{ render(controller('App\\\\Controller\\\\Main\\\\DefaultController::header', {request: app.request})) }}
  194.     {% block content %}{% endblock %}
  195.     {{ render(controller('App\\\\Controller\\\\Main\\\\DefaultController::footer')) }}
  196. </div>
  197. {% block body_js %}{% endblock %}
  198. {% include 'main/default/scripts.html.twig' %}
  199. </body>
  200. </html>""main_base.html.twig""/home/technoon/public_html/elefante/templates/main_base.html.twig");
  201.     }
  202. }