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 /
06 /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
06763d00624a7e3a8da3b4cdd25e1354.php
15.06
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; /* @Contact/Admin/MailChimpBatch/show__jsonReports.html.twig */ class __TwigTemplate_27b4fd5c1c3311f71eb17bab3aacca6f 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 = [ 'field' => [$this, 'block_field'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 1 return "@SonataAdmin/CRUD/base_show_field.html.twig"; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $this->parent = $this->load("@SonataAdmin/CRUD/base_show_field.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_field(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 4 yield " "; if ((($tmp = ($context["value"] ?? null)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 5 yield " "; $context["jsonReports"] = $this->extensions['App\CoreBundle\Twig\CoreExtension']->jsonDecode(($context["value"] ?? null)); // line 6 yield " "; // line 7 if ((is_iterable(($context["jsonReports"] ?? null)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["jsonReports"] ?? null)) > 0))) { // line 8 yield " <div class=\"json-reports-container\"> <h4>MailChimp Batch Reports ("; // line 9 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["jsonReports"] ?? null)), "html", null, true); yield " reports)</h4> "; // line 11 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["jsonReports"] ?? null)); foreach ($context['_seq'] as $context["index"] => $context["report"]) { // line 12 yield " <div class=\"json-report-item\" style=\"margin-bottom: 20px; border: 1px solid #ddd; border-radius: 5px; padding: 15px;\"> <div class=\"report-header\" style=\"cursor: pointer; background-color: #f8f9fa; padding: 10px; margin: -15px -15px 15px -15px; border-radius: 5px 5px 0 0;\" onclick=\"toggleReport("; // line 13 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["index"], "html", null, true); yield ")\"> <strong>Report #"; // line 14 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["index"] + 1), "html", null, true); yield "</strong> <span class=\"toggle-icon\" id=\"toggle-icon-"; // line 15 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["index"], "html", null, true); yield "\" style=\"float: right;\">▼</span> </div> <div class=\"report-content\" id=\"report-content-"; // line 18 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["index"], "html", null, true); yield "\" style=\"display: block;\"> "; // line 19 if (is_iterable($context["report"])) { // line 20 yield " <table class=\"table table-bordered table-striped\"> <tbody> "; // line 22 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($context["report"]); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 23 yield " <tr> <td style=\"width: 30%; font-weight: bold; background-color: #f8f9fa;\">"; // line 24 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::titleCase($this->env->getCharset(), $context["key"]), "html", null, true); yield "</td> <td> "; // line 26 if (is_iterable($context["value"])) { // line 27 yield " <table class=\"table table-bordered table-striped\"> <tbody> "; // line 29 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable($context["value"]); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 30 yield " <tr> <td style=\"width: 30%; font-weight: bold; background-color: #f8f9fa;\">"; // line 31 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::titleCase($this->env->getCharset(), $context["key"]), "html", null, true); yield "</td> <td><pre style=\"max-height: 200px; overflow-y: auto; background-color: #f8f9fa; padding: 10px; border-radius: 3px; font-size: 12px;\">"; // line 32 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode($context["value"], Twig\Extension\CoreExtension::constant("JSON_PRETTY_PRINT")), "html", null, true); yield "</pre></td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['key'], $context['value'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 35 yield " </tbody> </table> "; } else { // line 38 yield " "; if (($context["value"] === true)) { // line 39 yield " <span class=\"badge badge-success\">True</span> "; } elseif (( // line 40 $context["value"] === false)) { // line 41 yield " <span class=\"badge badge-danger\">False</span> "; } elseif ((null === // line 42 $context["value"])) { // line 43 yield " <span class=\"badge badge-secondary\">Null</span> "; } else { // line 45 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["value"], "html", null, true); yield " "; } // line 47 yield " "; } // line 48 yield " </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['key'], $context['value'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 51 yield " </tbody> </table> "; } else { // line 54 yield " <pre style=\"background-color: #f8f9fa; padding: 10px; border-radius: 3px; font-size: 12px;\">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode($context["report"], Twig\Extension\CoreExtension::constant("JSON_PRETTY_PRINT")), "html", null, true); yield "</pre> "; } // line 56 yield " </div> </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['index'], $context['report'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 59 yield " </div> <script> function toggleReport(index) { const content = document.getElementById('report-content-' + index); const icon = document.getElementById('toggle-icon-' + index); if (content.style.display === 'none') { content.style.display = 'block'; icon.textContent = '▼'; } else { content.style.display = 'none'; icon.textContent = '▶'; } } </script> <style> .json-reports-container { max-width: 100%; overflow-x: auto; } .json-report-item { transition: all 0.3s ease; } .report-header:hover { background-color: #e9ecef !important; } .table td { vertical-align: top; } .badge { padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: bold; } .badge-success { background-color: #28a745; color: white; } .badge-danger { background-color: #dc3545; color: white; } .badge-secondary { background-color: #6c757d; color: white; } </style> "; } else { // line 117 yield " <div class=\"alert alert-info\"> <i class=\"fa fa-info-circle\"></i> No JSON reports available for this batch. </div> "; } // line 122 yield " "; } else { // line 123 yield " <div class=\"alert alert-warning\"> <i class=\"fa fa-exclamation-triangle\"></i> No JSON reports data available. </div> "; } yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@Contact/Admin/MailChimpBatch/show__jsonReports.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 274 => 123, 271 => 122, 264 => 117, 204 => 59, 196 => 56, 190 => 54, 185 => 51, 177 => 48, 174 => 47, 168 => 45, 164 => 43, 162 => 42, 159 => 41, 157 => 40, 154 => 39, 151 => 38, 146 => 35, 137 => 32, 133 => 31, 130 => 30, 126 => 29, 122 => 27, 120 => 26, 115 => 24, 112 => 23, 108 => 22, 104 => 20, 102 => 19, 98 => 18, 92 => 15, 88 => 14, 84 => 13, 81 => 12, 77 => 11, 72 => 9, 69 => 8, 67 => 7, 64 => 6, 61 => 5, 58 => 4, 51 => 3, 40 => 1,); } public function getSourceContext(): Source { return new Source("", "@Contact/Admin/MailChimpBatch/show__jsonReports.html.twig", "/var/www/v3.cesa.co.za/src/ContactBundle/Resources/views/Admin/MailChimpBatch/show__jsonReports.html.twig"); } }