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 /
5b /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
5b920c74a3dd054a48df1508c9027f71.php
3.39
KB
-rwxrwxr-x
2026-05-18 12:54
5bd0018b67d12f4375ab0c466f4dd48e.php
17.75
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/Block/block_admin_preview.html.twig */ class __TwigTemplate_dd7a717fd0199e8c462c12abf54d8c47 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 = [ 'block' => [$this, 'block_block'], 'list_header' => [$this, 'block_list_header'], 'table_header' => [$this, 'block_table_header'], 'table_body' => [$this, 'block_table_body'], 'table_footer' => [$this, 'block_table_footer'], 'no_result_content' => [$this, 'block_no_result_content'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 12 return $this->load(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["sonata_block"] ?? null), "templates", [], "any", false, false, false, 12), "block_base", [], "any", false, false, false, 12), 12); } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 14 $context["translation_domain"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "translation_domain", [], "any", true, true, false, 14) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "translation_domain", [], "any", false, false, false, 14)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "translation_domain", [], "any", false, false, false, 14)) : (CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "translationDomain", [], "any", false, false, false, 14))); // line 12 yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 16 /** * @return iterable<null|scalar|\Stringable> */ public function block_block(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 17 yield " "; $context["inlineAnchor"] = Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "text", [], "any", false, false, false, 17), ["." => "_"]); // line 18 yield " "; $context["results_count"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "datagrid", [], "any", false, false, false, 18), "pager", [], "any", false, false, false, 18), "countResults", [], "any", false, false, false, 18); // line 19 yield " <div class=\"box box-primary\" id=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["inlineAnchor"] ?? null), "html", null, true); yield "\"> <div class=\"box-header with-border\"> "; // line 21 yield $this->env->getRuntime('Sonata\AdminBundle\Twig\IconRuntime')->parseIcon(((CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "icon", [], "any", true, true, false, 21)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "icon", [], "any", false, false, false, 21), "")) : (""))); yield " <h3 class=\"box-title\"> <a href=\"#"; // line 23 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["inlineAnchor"] ?? null), "html", null, true); yield "\"> "; // line 24 if ((($context["translation_domain"] ?? null) === false)) { // line 25 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "text", [], "any", false, false, false, 25), "html", null, true); yield " "; } else { // line 27 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "text", [], "any", false, false, false, 27), [], ($context["translation_domain"] ?? null)), "html", null, true); yield " "; } // line 29 yield " </a> </h3> </div> <div class=\"box-body "; // line 32 if ((($context["results_count"] ?? null) > 0)) { yield "table-responsive no-padding"; } yield "\"> "; // line 33 yield $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sonata.admin.list.table.top", ["admin" => ($context["admin"] ?? null)]); yield " "; // line 35 yield from $this->unwrap()->yieldBlock('list_header', $context, $blocks); // line 36 yield " "; // line 37 if ((($context["results_count"] ?? null) > 0)) { // line 38 yield " <table class=\"table table-bordered table-striped table-hover sonata-ba-list\"> "; // line 39 yield from $this->unwrap()->yieldBlock('table_header', $context, $blocks); // line 63 yield " "; // line 64 yield from $this->unwrap()->yieldBlock('table_body', $context, $blocks); // line 69 yield " "; // line 70 yield from $this->unwrap()->yieldBlock('table_footer', $context, $blocks); // line 72 yield " </table> <div class=\"box-footer\"> "; // line 74 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "hasAccess", ["list"], "method", false, false, false, 74)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 75 yield " <a href=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "generateUrl", ["list", ["filter" => CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "filters", [], "any", false, false, false, 75)]], "method", false, false, false, 75), "html", null, true); yield "\" class=\"btn btn-primary btn-block\"> <i class=\"fas fa-list\" aria-hidden=\"true\"></i> "; // line 76 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("preview_view_more", [], "SonataAdminBundle"), "html", null, true); yield " </a> "; } // line 79 yield " </div> "; } else { // line 81 yield " "; yield from $this->unwrap()->yieldBlock('no_result_content', $context, $blocks); // line 88 yield " "; } // line 89 yield " "; // line 90 yield $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sonata.admin.list.table.bottom", ["admin" => ($context["admin"] ?? null)]); yield " </div> </div> "; yield from []; } // line 35 /** * @return iterable<null|scalar|\Stringable> */ public function block_list_header(array $context, array $blocks = []): iterable { $macros = $this->macros; yield from []; } // line 39 /** * @return iterable<null|scalar|\Stringable> */ public function block_table_header(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 40 yield " <thead> <tr class=\"sonata-ba-list-field-header\"> "; // line 42 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "list", [], "any", false, false, false, 42), "getElements", [], "method", false, false, false, 42)); foreach ($context['_seq'] as $context["_key"] => $context["field_description"]) { // line 43 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "name", [], "any", false, false, false, 43) == Twig\Extension\CoreExtension::constant("Sonata\\AdminBundle\\Datagrid\\ListMapper::NAME_SELECT"))) { // line 44 yield " <th class=\"sonata-ba-list-field-header sonata-ba-list-field-header-select\"></th> "; } else { // line 46 yield " <th class=\"sonata-ba-list-field-header-"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "type", [], "any", false, false, false, 46), "html", null, true); yield " "; if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "option", ["header_class"], "method", false, false, false, 46))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "option", ["header_class"], "method", false, false, false, 46), "html", null, true); } yield "\""; if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "option", ["header_style"], "method", false, false, false, 46))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { yield " style=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "option", ["header_style"], "method", false, false, false, 46), "html", null, true); yield "\""; } yield "> "; // line 47 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "option", ["label_icon"], "method", false, false, false, 47)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 48 yield " <span class=\"sonata-ba-list-field-header-label-icon\"> "; // line 49 yield $this->env->getRuntime('Sonata\AdminBundle\Twig\IconRuntime')->parseIcon(CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "option", ["label_icon"], "method", false, false, false, 49)); yield " </span> "; } // line 52 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "translationDomain", [], "any", false, false, false, 52) === false)) { // line 53 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "label", [], "any", false, false, false, 53), "html", null, true); yield " "; } else { // line 55 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "label", [], "any", false, false, false, 55), [], CoreExtension::getAttribute($this->env, $this->source, $context["field_description"], "translationDomain", [], "any", false, false, false, 55)), "html", null, true); yield " "; } // line 57 yield " </th> "; } // line 59 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['field_description'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 60 yield " </tr> </thead> "; yield from []; } // line 64 /** * @return iterable<null|scalar|\Stringable> */ public function block_table_body(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 65 yield " <tbody> "; // line 66 yield from $this->load($this->env->getRuntime('Sonata\AdminBundle\Twig\TemplateRegistryRuntime')->getAdminTemplate(("outer_list_rows_" . CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "getListMode", [], "method", false, false, false, 66)), CoreExtension::getAttribute($this->env, $this->source, ($context["admin"] ?? null), "code", [], "any", false, false, false, 66)), 66)->unwrap()->yield($context); // line 67 yield " </tbody> "; yield from []; } // line 70 /** * @return iterable<null|scalar|\Stringable> */ public function block_table_footer(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 71 yield " "; yield from []; } // line 81 /** * @return iterable<null|scalar|\Stringable> */ public function block_no_result_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 82 yield " <div class=\"info-box\"> <div class=\"info-box\"> <span class=\"info-box-text\">"; // line 84 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("no_result", [], "SonataAdminBundle"), "html", null, true); yield "</span> </div><!-- /.info-box-content --> </div> "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@SonataAdmin/Block/block_admin_preview.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 309 => 84, 305 => 82, 298 => 81, 293 => 71, 286 => 70, 280 => 67, 278 => 66, 275 => 65, 268 => 64, 261 => 60, 255 => 59, 251 => 57, 245 => 55, 239 => 53, 236 => 52, 230 => 49, 227 => 48, 225 => 47, 209 => 46, 205 => 44, 202 => 43, 198 => 42, 194 => 40, 187 => 39, 177 => 35, 168 => 90, 165 => 89, 162 => 88, 159 => 81, 155 => 79, 149 => 76, 144 => 75, 142 => 74, 138 => 72, 136 => 70, 133 => 69, 131 => 64, 128 => 63, 126 => 39, 123 => 38, 121 => 37, 118 => 36, 116 => 35, 111 => 33, 105 => 32, 100 => 29, 94 => 27, 88 => 25, 86 => 24, 82 => 23, 77 => 21, 71 => 19, 68 => 18, 65 => 17, 58 => 16, 54 => 12, 52 => 14, 45 => 12,); } public function getSourceContext(): Source { return new Source("", "@SonataAdmin/Block/block_admin_preview.html.twig", "/var/www/v3.cesa.co.za/vendor/sonata-project/admin-bundle/src/Resources/views/Block/block_admin_preview.html.twig"); } }