var/cache/dev/twig/d8/d806d2b524061bd21cad2b0b5201b64e.php line 149
<?phpuse 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;/* Admin\index.html.twig */class __TwigTemplate_37aae1bd632120e2dab301b81c4f92fc extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['content' => [$this, 'block_content'],'table' => [$this, 'block_table'],];}protected function doGetParent(array $context){// line 5return $this->loadTemplate((((isset($context["ajax"]) || array_key_exists("ajax", $context) ? $context["ajax"] : (function () { throw new RuntimeError('Variable "ajax" does not exist.', 5, $this->source); })())) ? ("Admin/admin.html.twig") : ("Admin/base.html.twig")), "Admin\\index.html.twig", 5);}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", "Admin\\index.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Admin\\index.html.twig"));// line 1if ( !array_key_exists("ajax", $context)) {// line 2$context["ajax"] = false;}// line 5$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 7public 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 8echo "<div class=\"subcontent\">\t";// line 9if ( !array_key_exists("entity", $context)) {// line 10echo "\t";$context["entity"] = twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, 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.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "attributes", [], "any", false, false, false, 10), "get", [0 => "_controller"], "method", false, false, false, 10), "Controller"), 1, [], "array", false, false, false, 10), "\\"), 1, [], "array", false, false, false, 10);// line 11echo "\t";}// line 12echo "\t\t<div class=\"table-header flex row space bottom relative mblock\">\t";// line 14if ($this->env->getFunction('isMobile')->getCallable()()) {// line 15echo "\t\t<div class=\"flex row space bottom-5 top-5\">\t\t";// line 16$this->loadTemplate("Admin/search-box.html.twig", "Admin\\index.html.twig", 16)->display($context);// line 17echo "\t\t</div>\t\t<div class=\"flex row space\">\t\t";// line 19$this->loadTemplate("Admin/counter.html.twig", "Admin\\index.html.twig", 19)->display($context);// line 20echo "\t\t";$this->loadTemplate("Admin/buttons.html.twig", "Admin\\index.html.twig", 20)->display($context);// line 21echo "\t\t</div>\t";} else {// line 23echo "\t\t<div class=\"flex row space middle mblock\">\t\t\t<div>\t\t\t";// line 25$this->loadTemplate("Admin/search-box.html.twig", "Admin\\index.html.twig", 25)->display($context);// line 26echo "\t\t\t</div>\t\t\t<div class=\"left-40 mnomargin\">\t\t\t";// line 28$this->loadTemplate("Admin/counter.html.twig", "Admin\\index.html.twig", 28)->display($context);// line 29echo "\t\t\t</div>\t\t</div>\t\t<div>\t\t";// line 32$this->loadTemplate("Admin/buttons.html.twig", "Admin\\index.html.twig", 32)->display($context);// line 33echo "\t\t</div>\t";}// line 35echo "\t</div>\t";// line 37$this->displayBlock('table', $context, $blocks);// line 48echo "</div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 37public function block_table($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", "table"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "table"));// line 38echo "\t<div id=\"tablebox\">\t\t";// line 39if ((array_key_exists("view", $context) && (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 39, $this->source); })()))) {// line 40echo "\t\t\t";$this->loadTemplate((isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 40, $this->source); })()), "Admin\\index.html.twig", 40)->display($context);// line 41echo "\t\t";} else {// line 42echo "\t\t\t";$this->loadTemplate((("" . (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 42, $this->source); })())) . ((((array_key_exists("isMobile", $context) && (isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 42, $this->source); })())) && $this->env->getFunction('isMobile')->getCallable()())) ? (((array_key_exists("mobileView", $context)) ? ((isset($context["mobileView"]) || array_key_exists("mobileView", $context) ? $context["mobileView"] : (function () { throw new RuntimeError('Variable "mobileView" does not exist.', 42, $this->source); })())) : ("/mobile-list.html.twig"))) : ("/list.html.twig"))), "Admin\\index.html.twig", 42)->display($context);// line 43echo "\t\t";}// line 44echo "\t</div>\t";// line 45$context["expanded"] = true;// line 46echo "\t";$this->loadTemplate("Admin/counter.html.twig", "Admin\\index.html.twig", 46)->display($context);// line 47echo "\t";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "Admin\\index.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 184 => 47, 181 => 46, 179 => 45, 176 => 44, 173 => 43, 170 => 42, 167 => 41, 164 => 40, 162 => 39, 159 => 38, 149 => 37, 138 => 48, 136 => 37, 132 => 35, 128 => 33, 126 => 32, 121 => 29, 119 => 28, 115 => 26, 113 => 25, 109 => 23, 105 => 21, 102 => 20, 100 => 19, 96 => 17, 94 => 16, 91 => 15, 89 => 14, 85 => 12, 82 => 11, 79 => 10, 77 => 9, 74 => 8, 64 => 7, 54 => 5, 51 => 2, 49 => 1, 36 => 5,);}public function getSourceContext(){return new Source("{% if ajax is not defined %}{% set ajax = false %}{% endif %}{% extends ajax ? 'Admin/admin.html.twig' : 'Admin/base.html.twig' %}{% block content %}<div class=\"subcontent\">\t{% if entity is not defined %}\t{% set entity = app.request.attributes.get(\"_controller\")|split(\"Controller\")[1]|split(\"\\\\\")[1] %}\t{% endif %}\t\t<div class=\"table-header flex row space bottom relative mblock\">\t{% if isMobile() %}\t\t<div class=\"flex row space bottom-5 top-5\">\t\t{% include('Admin/search-box.html.twig') %}\t\t</div>\t\t<div class=\"flex row space\">\t\t{% include('Admin/counter.html.twig') %}\t\t{% include('Admin/buttons.html.twig') %}\t\t</div>\t{% else %}\t\t<div class=\"flex row space middle mblock\">\t\t\t<div>\t\t\t{% include('Admin/search-box.html.twig') %}\t\t\t</div>\t\t\t<div class=\"left-40 mnomargin\">\t\t\t{% include('Admin/counter.html.twig') %}\t\t\t</div>\t\t</div>\t\t<div>\t\t{% include('Admin/buttons.html.twig') %}\t\t</div>\t{% endif %}\t</div>\t{% block table %}\t<div id=\"tablebox\">\t\t{% if view is defined and view %}\t\t\t{% include(view) %}\t\t{% else %}\t\t\t{% include(''~entity~((isMobile is defined and isMobile and isMobile()) ? mobileView is defined ? mobileView : '/mobile-list.html.twig' : '/list.html.twig')) %}\t\t{% endif %}\t</div>\t{% set expanded = true %}\t{% include('Admin/counter.html.twig') %}\t{% endblock %}</div>{% endblock %}", "Admin\\index.html.twig", "/home/olasoftnka/asin/templates/Admin/index.html.twig");}}