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 /
b4 /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
b49e990ff4d70834f9792ee8743604c9.php
11.9
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/CRUD/tree.html.twig */ class __TwigTemplate_02ea57aea96e60d90a4542f24df8a88d 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 = [ 'tab_menu' => [$this, 'block_tab_menu'], 'list_table' => [$this, 'block_list_table'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 14 return "@SonataAdmin/CRUD/base_list.html.twig"; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 12 trigger_deprecation('', '', "The \"tree.html.twig\" template is deprecated since sonata-project/admin-bundle version 4.9 and will be removed in 5.0."." in \"@SonataAdmin/CRUD/tree.html.twig\" at line 12."); // line 16 $macros["tree"] = $this->macros["tree"] = $this; // line 14 $this->parent = $this->load("@SonataAdmin/CRUD/base_list.html.twig", 14); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 38 /** * @return iterable<null|scalar|\Stringable> */ public function block_tab_menu(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 39 yield " "; yield from $this->load("@SonataAdmin/CRUD/list_tab_menu.html.twig", 39)->unwrap()->yield(CoreExtension::toArray(["mode" => "tree", "action" => // line 41 ($context["action"] ?? null), "admin" => // line 42 ($context["admin"] ?? null)])); yield from []; } // line 46 /** * @return iterable<null|scalar|\Stringable> */ public function block_list_table(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 47 yield " <div class=\"col-xs-12 col-md-12\"> <div class=\"box box-primary\"> <div class=\"box-header\"> <h1 class=\"box-title\"> "; // line 51 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("element.tree_site_label", [], CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "translationdomain", [], "any", false, false, false, 51)), "html", null, true); yield " <div class=\"btn-group\"> <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\"> <strong class=\"text-info\">"; // line 54 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["currentSite"] ?? null), "name", [], "any", false, false, false, 54), "html", null, true); yield "</strong> <span class=\"caret\"></span> </button> <ul class=\"dropdown-menu\" role=\"menu\"> "; // line 57 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["contexts"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["context"]) { // line 58 yield " <li> <a href=\""; // line 59 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "generateUrl", ["tree", ["context" => CoreExtension::getAttribute($this->env, $this->source, $context["context"], "id", [], "any", false, false, false, 59)]], "method", false, false, false, 59), "html", null, true); yield "\"> "; // line 60 if ((($context["currentContext"] ?? null) && (CoreExtension::getAttribute($this->env, $this->source, $context["context"], "id", [], "any", false, false, false, 60) == CoreExtension::getAttribute($this->env, $this->source, ($context["currentContext"] ?? null), "id", [], "any", false, false, false, 60)))) { // line 61 yield " <span class=\"pull-right\"> <i class=\"fas fa-check\" aria-hidden=\"true\"></i> </span> "; } // line 65 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["site"] ?? null), "name", [], "any", false, false, false, 65), "html", null, true); yield " </a> </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['context'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 yield " </ul> </div> </h1> </div> <div class=\"box-content\"> "; // line 74 yield $macros["tree"]->getTemplateForMacro("macro_navigate_child", $context, 74, $this->getSourceContext())->macro_navigate_child(...[($context["collection"] ?? null), ($context["admin"] ?? null), true]); yield " </div> </div> </div> "; yield from []; } // line 17 public function macro_navigate_child($collection = null, $admin = null, $root = null, ...$varargs): string|Markup { $macros = $this->macros; $context = [ "collection" => $collection, "admin" => $admin, "root" => $root, "varargs" => $varargs, ] + $this->env->getGlobals(); $blocks = []; return ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) { // line 18 yield " <ul"; if ((($tmp = ($context["root"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield " class=\"sonata-tree\""; } yield "> "; // line 19 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::filter($this->env, ($context["collection"] ?? null), function ($__element__) use ($context, $macros) { $context["element"] = $__element__; return !($context["root"] ?? null); })); foreach ($context['_seq'] as $context["_key"] => $context["element"]) { // line 20 yield " <li> <div class=\"sonata-tree__item\"> "; // line 22 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["element"], "parent", [], "any", false, false, false, 22)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield "<i class=\"fas fa-caret-right\" aria-hidden=\"true\"></i>"; } // line 23 yield " <i class=\"fas fa-code\" aria-hidden=\"true\"></i> <a class=\"sonata-tree__item__edit\" href=\""; // line 24 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "generateObjectUrl", ["edit", $context["element"]], "method", false, false, false, 24), "html", null, true); yield "\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", false, false, false, 24), "html", null, true); yield "</a> <i class=\"text-muted\">"; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "description", [], "any", false, false, false, 25), "html", null, true); yield "</i> <a class=\"label label-default pull-right\" href=\""; // line 26 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "generateObjectUrl", ["edit", $context["element"]], "method", false, false, false, 26), "html", null, true); yield "\">edit <i class=\"fas fa-magic\" aria-hidden=\"true\"></i></a> "; // line 27 if (true) { yield "<span class=\"label label-warning pull-right\">true</span>"; } // line 28 yield " </div> "; // line 30 if ((($tmp = Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["element"], "children", [], "any", false, false, false, 30))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 31 yield " "; yield $this->getTemplateForMacro("macro_navigate_child", $context, 31, $this->getSourceContext())->macro_navigate_child(...[CoreExtension::getAttribute($this->env, $this->source, $context["element"], "children", [], "any", false, false, false, 31), ($context["admin"] ?? null), false]); yield " "; } // line 33 yield " </li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['element'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 35 yield " </ul> "; yield from []; })())) ? '' : new Markup($tmp, $this->env->getCharset()); } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@SonataAdmin/CRUD/tree.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 217 => 35, 210 => 33, 204 => 31, 202 => 30, 198 => 28, 194 => 27, 190 => 26, 186 => 25, 180 => 24, 177 => 23, 173 => 22, 169 => 20, 165 => 19, 158 => 18, 144 => 17, 134 => 74, 127 => 69, 116 => 65, 110 => 61, 108 => 60, 104 => 59, 101 => 58, 97 => 57, 91 => 54, 85 => 51, 79 => 47, 72 => 46, 67 => 42, 66 => 41, 64 => 39, 57 => 38, 52 => 14, 50 => 16, 48 => 12, 41 => 14,); } public function getSourceContext(): Source { return new Source("", "@SonataAdmin/CRUD/tree.html.twig", "/var/www/v3.cesa.co.za/vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/tree.html.twig"); } }