/home/csiway/tmp/pma_template_compiles_csiway/twig/c9/c99089dcf40c044b080a5e49c1941410ebefbf16c11c8ac7013e2c2888e8cd09.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?php

use Twig\Environment;
use 
Twig\Error\LoaderError;
use 
Twig\Error\RuntimeError;
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;

/* table/structure/add_column.twig */
class __TwigTemplate_4ea36591f09ec9648388485bfea72a649521969a2a4adb72e79ccecc406fdacc extends \Twig\Template
{
    public function 
__construct(Environment $env)
    {
        
parent::__construct($env);

        
$this->parent false;

        
$this->blocks = [
        ];
    }

    protected function 
doDisplay(array $context, array $blocks = [])
    {
        
// line 1
        
echo "<form method=\"post\" action=\"tbl_addfield.php\" id=\"addColumns\" name=\"addColumns\">
    "
;
        
// line 2
        
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
        echo 
"
    "
;
        
// line 3
        
if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) {
            
// line 4
            
echo "        ";
            echo 
PhpMyAdmin\Util::getImage("b_insrow"_gettext("Add column"));
            echo 
"&nbsp;
    "
;
        }
        
// line 6
        
echo "    ";
        
$context["num_fields"] = ('' === $tmp "<input type=\"number\" name=\"num_fields\" value=\"1\" onfocus=\"this.select()\" min=\"1\" required />") ? '' : new Markup($tmp$this->env->getCharset());
        
// line 9
        
echo "    ";
        echo 
sprintf(_gettext("Add %s column(s)"), ($context["num_fields"] ?? null));
        echo 
"
    <input type=\"hidden\" name=\"field_where\" value=\"after\"/>&nbsp;
    "
;
        
// line 12
        
echo "    <select name=\"after_field\">
        <option value=\"first\" data-pos=\"first\">
            "
;
        
// line 14
        
echo _gettext("at beginning of table");
        
// line 15
        
echo "        </option>
        "
;
        
// line 16
        
$context['_parent'] = $context;
        
$context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? null));
        
$context['loop'] = [
          
'parent' => $context['_parent'],
          
'index0' => 0,
          
'index'  => 1,
          
'first'  => true,
        ];
        if (
is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
            
$length count($context['_seq']);
            
$context['loop']['revindex0'] = $length 1;
            
$context['loop']['revindex'] = $length;
            
$context['loop']['length'] = $length;
            
$context['loop']['last'] = === $length;
        }
        foreach (
$context['_seq'] as $context["_key"] => $context["one_column_name"]) {
            
// line 17
            
echo "            <option value=\"";
            echo 
twig_escape_filter($this->env$context["one_column_name"], "html"nulltrue);
            echo 
"\"";
            
// line 18
            
echo ((($this->getAttribute($context["loop"], "revindex0", []) == 0)) ? (" selected=\"selected\"") : (""));
            echo 
">
                "
;
            
// line 19
            
echo twig_escape_filter($this->envsprintf(_gettext("after %s"), $context["one_column_name"]), "html"nulltrue);
            echo 
"
            </option>
        "
;
            ++
$context['loop']['index0'];
            ++
$context['loop']['index'];
            
$context['loop']['first'] = false;
            if (isset(
$context['loop']['length'])) {
                --
$context['loop']['revindex0'];
                --
$context['loop']['revindex'];
                
$context['loop']['last'] = === $context['loop']['revindex0'];
            }
        }
        
$_parent $context['_parent'];
        unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['one_column_name'], $context['_parent'], $context['loop']);
        
$context array_intersect_key($context$_parent) + $_parent;
        
// line 22
        
echo "    </select>
    <input type=\"submit\" value=\""
;
        
// line 23
        
echo _gettext("Go");
        echo 
"\" />
</form>
"
;
    }

    public function 
getTemplateName()
    {
        return 
"table/structure/add_column.twig";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
108 => 23,  105 => 22,  88 => 19,  84 => 18,  80 => 17,  63 => 16,  60 => 15,  58 => 14,  54 => 12,  48 => 9,  45 => 6,  39 => 4,  37 => 3,  33 => 2,  30 => 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 
Source("""table/structure/add_column.twig""/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/add_column.twig");
    }
}