PATH:
home
/
cf7x
/
tmp
/
pma_template_compiles_cf7x
/
twig
/
3b
<?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; /* database/structure/show_create.twig */ class __TwigTemplate_be11bbbdfccbe6994417848925456706 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<div class=\"show_create_results\"> <h2>"; yield _gettext("Showing create queries"); // line 2 yield "</h2> "; // line 4 if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["tables"] ?? null), "tables", [], "any", false, false, false, 4))) { // line 5 yield " <fieldset class=\"pma-fieldset\"> <legend>"; yield _gettext("Tables"); // line 6 yield "</legend> <table class=\"table table-striped show_create\"> <thead> <tr> <th>"; yield _gettext("Table"); // line 10 yield "</th> <th>"; yield _gettext("Create table"); // line 11 yield "</th> </tr> </thead> <tbody> "; // line 15 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["tables"] ?? null), "tables", [], "any", false, false, false, 15)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 16 yield " <tr> <td><strong>"; // line 17 yield CoreExtension::getAttribute($this->env, $this->source, $context["table"], "name", [], "any", false, false, false, 17); yield "</strong></td> <td>"; // line 18 yield CoreExtension::getAttribute($this->env, $this->source, $context["table"], "show_create", [], "any", false, false, false, 18); yield "</td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 21 yield " </tbody> </table> </fieldset> "; } // line 25 yield " "; // line 26 if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, ($context["tables"] ?? null), "views", [], "any", false, false, false, 26))) { // line 27 yield " <fieldset class=\"pma-fieldset\"> <legend>"; yield _gettext("Views"); // line 28 yield "</legend> <table class=\"table table-striped show_create\"> <thead> <tr> <th>"; yield _gettext("View"); // line 32 yield "</th> <th>"; yield _gettext("Create view"); // line 33 yield "</th> </tr> </thead> <tbody> "; // line 37 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["tables"] ?? null), "views", [], "any", false, false, false, 37)); foreach ($context['_seq'] as $context["_key"] => $context["view"]) { // line 38 yield " <tr> <td><strong>"; // line 39 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["view"], "name", [], "any", false, false, false, 39), "html", null, true); yield "</strong></td> <td>"; // line 40 yield CoreExtension::getAttribute($this->env, $this->source, $context["view"], "show_create", [], "any", false, false, false, 40); yield "</td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['view'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 43 yield " </tbody> </table> </fieldset> "; } // line 47 yield "</div> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/show_create.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 147 => 47, 141 => 43, 132 => 40, 128 => 39, 125 => 38, 121 => 37, 115 => 33, 111 => 32, 104 => 28, 100 => 27, 98 => 26, 95 => 25, 89 => 21, 80 => 18, 76 => 17, 73 => 16, 69 => 15, 63 => 11, 59 => 10, 52 => 6, 48 => 5, 46 => 4, 42 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/show_create.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/show_create.twig"); } }
[+]
..
[-] 3bc35ea2608060661fd1f40378658d02.php
[open]