source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "

"; // line 2 echo _gettext("Showing create queries"); echo "

"; // line 3 $context["views"] = []; // line 4 echo " "; $context["tables"] = []; // line 5 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["db_objects"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["object"]) { // line 6 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "getTable", [0 => ($context["db"] ?? null), 1 => $context["object"]], "method", false, false, false, 6), "isView", [], "method", false, false, false, 6)) { // line 7 echo " "; $context["views"] = twig_array_merge(($context["views"] ?? null), [0 => $context["object"]]); // line 8 echo " "; } else { // line 9 echo " "; $context["tables"] = twig_array_merge(($context["tables"] ?? null), [0 => $context["object"]]); // line 10 echo " "; } // line 11 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['object'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo " "; if ( !twig_test_empty(($context["tables"] ?? null))) { // line 13 echo " "; $this->loadTemplate("database/structure/show_create_row.twig", "database/structure/show_create.twig", 13)->display(twig_to_array(["db" => // line 14 ($context["db"] ?? null), "title" => _gettext("Tables"), "raw_title" => "Table", "db_objects" => // line 17 ($context["tables"] ?? null), "dbi" => // line 18 ($context["dbi"] ?? null)])); // line 20 echo " "; } // line 21 echo " "; // line 22 if ( !twig_test_empty(($context["views"] ?? null))) { // line 23 echo " "; $this->loadTemplate("database/structure/show_create_row.twig", "database/structure/show_create.twig", 23)->display(twig_to_array(["db" => // line 24 ($context["db"] ?? null), "title" => _gettext("Views"), "raw_title" => "View", "db_objects" => // line 27 ($context["views"] ?? null), "dbi" => // line 28 ($context["dbi"] ?? null)])); // line 30 echo " "; } // line 31 echo "
"; } public function getTemplateName() { return "database/structure/show_create.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 101 => 31, 98 => 30, 96 => 28, 95 => 27, 94 => 24, 92 => 23, 90 => 22, 87 => 21, 84 => 20, 82 => 18, 81 => 17, 80 => 14, 78 => 13, 75 => 12, 69 => 11, 66 => 10, 63 => 9, 60 => 8, 57 => 7, 54 => 6, 49 => 5, 46 => 4, 44 => 3, 40 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "database/structure/show_create.twig", "/var/www/localhost/htdocs/phpmyadmin/templates/database/structure/show_create.twig"); } }