<?php

/* table/tracking/structure_snapshot_columns.twig */
class __TwigTemplate_e4efeb31e14213709bc5556ee6a00e95c5619290e64dc8c1bd5f7b612b6ea8cb extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<h3>";
        echo _gettext("Structure");
        echo "</h3>
<table id=\"tablestructure\" class=\"data\">
    <thead>
        <tr>
            <th>";
        // line 5
        echo _pgettext(        "Number", "#");
        echo "</th>
            <th>";
        // line 6
        echo _gettext("Column");
        echo "</th>
            <th>";
        // line 7
        echo _gettext("Type");
        echo "</th>
            <th>";
        // line 8
        echo _gettext("Collation");
        echo "</th>
            <th>";
        // line 9
        echo _gettext("Null");
        echo "</th>
            <th>";
        // line 10
        echo _gettext("Default");
        echo "</th>
            <th>";
        // line 11
        echo _gettext("Extra");
        echo "</th>
            <th>";
        // line 12
        echo _gettext("Comment");
        echo "</th>
        </tr>
    </thead>
    <tbody>
        ";
        // line 16
        $context["index"] = 1;
        // line 17
        echo "        ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["columns"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
            // line 18
            echo "            <tr class=\"noclick\">
                <td>";
            // line 19
            echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
            echo "</td>
                ";
            // line 20
            $context["index"] = (($context["index"] ?? null) + 1);
            // line 21
            echo "                <td>
                    <strong>
                        ";
            // line 23
            echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "Field", array(), "array"), "html", null, true);
            echo "
                        ";
            // line 24
            if (($this->getAttribute($context["field"], "Key", array(), "array") == "PRI")) {
                // line 25
                echo "                            ";
                echo PhpMyAdmin\Util::getImage("b_primary", _gettext("Primary"));
                echo "
                        ";
            } elseif ( !twig_test_empty($this->getAttribute(            // line 26
$context["field"], "Key", array(), "array"))) {
                // line 27
                echo "                            ";
                echo PhpMyAdmin\Util::getImage("bd_primary", _gettext("Index"));
                echo "
                        ";
            }
            // line 29
            echo "                    </strong>
                </td>
                <td>";
            // line 31
            echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "Type", array(), "array"), "html", null, true);
            echo "</td>
                <td>";
            // line 32
            echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "Collation", array(), "array"), "html", null, true);
            echo "</td>
                <td>";
            // line 33
            echo twig_escape_filter($this->env, ((($this->getAttribute($context["field"], "Null", array(), "array") == "YES")) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true);
            echo "</td>
                <td>
                    ";
            // line 35
            if ($this->getAttribute($context["field"], "Default", array(), "array", true, true)) {
                // line 36
                echo "                        ";
                $context["extracted_columnspec"] = PhpMyAdmin\Util::extractColumnSpec($this->getAttribute($context["field"], "Type", array(), "array"));
                // line 37
                echo "                        ";
                if (($this->getAttribute(($context["extracted_columnspec"] ?? null), "type", array(), "array") == "bit")) {
                    // line 38
                    echo "                            ";
                    // line 39
                    echo "                            ";
                    echo twig_escape_filter($this->env, PhpMyAdmin\Util::convertBitDefaultValue($this->getAttribute($context["field"], "Default", array(), "array")), "html", null, true);
                    echo "
                        ";
                } else {
                    // line 41
                    echo "                            ";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "Default", array(), "array"), "html", null, true);
                    echo "
                        ";
                }
                // line 43
                echo "                    ";
            } else {
                // line 44
                echo "                        ";
                if (($this->getAttribute($context["field"], "Null", array(), "array") == "YES")) {
                    // line 45
                    echo "                            <em>NULL</em>
                        ";
                } else {
                    // line 47
                    echo "                            <em>";
                    echo _pgettext(                    "None for default", "None");
                    echo "</em>
                        ";
                }
                // line 49
                echo "                    ";
            }
            // line 50
            echo "                </td>
                <td>";
            // line 51
            echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "Extra", array(), "array"), "html", null, true);
            echo "</td>
                <td>";
            // line 52
            echo twig_escape_filter($this->env, $this->getAttribute($context["field"], "Comment", array(), "array"), "html", null, true);
            echo "</td>
            </tr>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 55
        echo "    </tbody>
</table>
";
    }

    public function getTemplateName()
    {
        return "table/tracking/structure_snapshot_columns.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  175 => 55,  166 => 52,  162 => 51,  159 => 50,  156 => 49,  150 => 47,  146 => 45,  143 => 44,  140 => 43,  134 => 41,  128 => 39,  126 => 38,  123 => 37,  120 => 36,  118 => 35,  113 => 33,  109 => 32,  105 => 31,  101 => 29,  95 => 27,  93 => 26,  88 => 25,  86 => 24,  82 => 23,  78 => 21,  76 => 20,  72 => 19,  69 => 18,  64 => 17,  62 => 16,  55 => 12,  51 => 11,  47 => 10,  43 => 9,  39 => 8,  35 => 7,  31 => 6,  27 => 5,  19 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "table/tracking/structure_snapshot_columns.twig", "/home/files/phpmyadmin/release/phpMyAdmin-5.0+snapshot/templates/table/tracking/structure_snapshot_columns.twig");
    }
}
