/home/csiway/tmp/pma_template_compiles_csiway/twig/1e/1e85fb4a0e88280a08ae9b385769dca009dde816f5f439220aac91fe14c565a5.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<?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/display_partitions.twig */
class __TwigTemplate_a22bbd84c4828f90288bddf72c9c8c59e4432386d3ad929d38ab810b9c158f97 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 "<div id=\"partitions\">
    <fieldset>
        <legend>
            "
;
        
// line 4
        
echo _gettext("Partitions");
        
// line 5
        
echo "            ";
        echo 
PhpMyAdmin\Util::showMySQLDocu("partitioning");
        echo 
"
        </legend>
        "
;
        
// line 7
        
if (twig_test_empty(($context["partitions"] ?? null))) {
            
// line 8
            
echo "            ";
            echo 
call_user_func_array($this->env->getFunction('Message_notice')->getCallable(), [_gettext("No partitioning defined!")]);
            echo 
"
        "
;
        } else {
            
// line 10
            
echo "            <p>
                "
;
            
// line 11
            
echo _gettext("Partitioned by:");
            
// line 12
            
echo "                <code>";
            echo 
twig_escape_filter($this->env, ($context["partition_method"] ?? null), "html"nulltrue);
            echo 
"(";
            echo 
twig_escape_filter($this->env, ($context["partition_expression"] ?? null), "html"nulltrue);
            echo 
")</code>
            </p>
            "
;
            
// line 14
            
if (($context["has_sub_partitions"] ?? null)) {
                
// line 15
                
echo "                <p>
                    "
;
                
// line 16
                
echo _gettext("Sub partitioned by:");
                
// line 17
                
echo "                    <code>";
                echo 
twig_escape_filter($this->env, ($context["sub_partition_method"] ?? null), "html"nulltrue);
                echo 
"(";
                echo 
twig_escape_filter($this->env, ($context["sub_partition_expression"] ?? null), "html"nulltrue);
                echo 
")</code>
                <p>
            "
;
            }
            
// line 20
            
echo "            <table>
                <thead>
                    <tr>
                        <th colspan=\"2\">#</th>
                        <th>"
;
            
// line 24
            
echo _gettext("Partition");
            echo 
"</th>
                        "
;
            
// line 25
            
if (($context["has_description"] ?? null)) {
                
// line 26
                
echo "                            <th>";
                echo 
_gettext("Expression");
                echo 
"</th>
                        "
;
            }
            
// line 28
            
echo "                        <th>";
            echo 
_gettext("Rows");
            echo 
"</th>
                        <th>"
;
            
// line 29
            
echo _gettext("Data length");
            echo 
"</th>
                        <th>"
;
            
// line 30
            
echo _gettext("Index length");
            echo 
"</th>
                        <th>"
;
            
// line 31
            
echo _gettext("Comment");
            echo 
"</th>
                        <th colspan=\""
;
            
// line 32
            
echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
            echo 
"\">
                            "
;
            
// line 33
            
echo _gettext("Action");
            
// line 34
            
echo "                        </th>
                    </tr>
                </thead>
                <tbody>
                "
;
            
// line 38
            
$context['_parent'] = $context;
            
$context['_seq'] = twig_ensure_traversable(($context["partitions"] ?? null));
            foreach (
$context['_seq'] as $context["_key"] => $context["partition"]) {
                
// line 39
                
echo "                    <tr class=\"noclick";
                echo (((
$context["has_sub_partitions"] ?? null)) ? (" marked") : (""));
                echo 
"\">
                        "
;
                
// line 40
                
if (($context["has_sub_partitions"] ?? null)) {
                    
// line 41
                    
echo "                            <td>";
                    echo 
twig_escape_filter($this->env$this->getAttribute($context["partition"], "getOrdinal", [], "method"), "html"nulltrue);
                    echo 
"</td>
                            <td></td>
                        "
;
                } else {
                    
// line 44
                    
echo "                            <td colspan=\"2\">";
                    echo 
twig_escape_filter($this->env$this->getAttribute($context["partition"], "getOrdinal", [], "method"), "html"nulltrue);
                    echo 
"</td>
                        "
;
                }
                
// line 46
                
echo "                        <th>";
                echo 
twig_escape_filter($this->env$this->getAttribute($context["partition"], "getName", [], "method"), "html"nulltrue);
                echo 
"</th>
                        "
;
                
// line 47
                
if (($context["has_description"] ?? null)) {
                    
// line 48
                    
echo "                            <td>
                                <code>"
;
                    
// line 50
                    
echo twig_escape_filter($this->env$this->getAttribute($context["partition"], "getExpression", [], "method"), "html"nulltrue);
                    
// line 51
                    
echo ((($this->getAttribute($context["partition"], "getMethod", [], "method") == "LIST")) ? (" IN (") : (" < "));
                    
// line 52
                    
echo twig_escape_filter($this->env$this->getAttribute($context["partition"], "getDescription", [], "method"), "html"nulltrue);
                    
// line 53
                    
echo ((($this->getAttribute($context["partition"], "getMethod", [], "method") == "LIST")) ? (")") : (""));
                    
// line 54
                    
echo "</code>
                            </td>
                        "
;
                }
                
// line 57
                
echo "                        <td class=\"value\">";
                echo 
twig_escape_filter($this->env$this->getAttribute($context["partition"], "getRows", [], "method"), "html"nulltrue);
                echo 
"</td>
                        <td class=\"value\">
                            "
;
                
// line 59
                
$context["data_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute(                // line 60
$context["partition"], "getDataLength", [], "method"), 31);
                
// line 64
                
echo "                            <span>";
                echo 
twig_escape_filter($this->env$this->getAttribute(($context["data_length"] ?? null), 0, [], "array"), "html"nulltrue);
                echo 
"</span>
                            <span class=\"unit\">"
;
                
// line 65
                
echo twig_escape_filter($this->env$this->getAttribute(($context["data_length"] ?? null), 1, [], "array"), "html"nulltrue);
                echo 
"</span>
                        </td>
                        <td class=\"value\">
                            "
;
                
// line 68
                
$context["index_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute(                // line 69
$context["partition"], "getIndexLength", [], "method"), 31);
                
// line 73
                
echo "                            <span>";
                echo 
twig_escape_filter($this->env$this->getAttribute(($context["index_length"] ?? null), 0, [], "array"), "html"nulltrue);
                echo 
"</span>
                            <span class=\"unit\">"
;
                
// line 74
                
echo twig_escape_filter($this->env$this->getAttribute(($context["index_length"] ?? null), 1, [], "array"), "html"nulltrue);
                echo 
"</span>
                        </td>
                        <td>"
;
                
// line 76
                
echo twig_escape_filter($this->env$this->getAttribute($context["partition"], "getComment", [], "method"), "html"nulltrue);
                echo 
"</td>
                        "
;
                
// line 77
                
$context['_parent'] = $context;
                
$context['_seq'] = twig_ensure_traversable(($context["action_icons"] ?? null));
                foreach (
$context['_seq'] as $context["action"] => $context["icon"]) {
                    
// line 78
                    
echo "                            <td>
                                <a href=\"tbl_structure.php\" data-post=\""
;
                    
// line 79
                    
echo twig_escape_filter($this->env, ($context["url_query"] ?? null), "html"nulltrue);
                    
// line 80
                    
echo "&amp;partition_maintenance=1&amp;sql_query=";
                    
// line 81
                    
echo twig_escape_filter($this->envtwig_urlencode_filter(((((("ALTER TABLE " PhpMyAdmin\Util::backquote(($context["table"] ?? null))) . " ") . $context["action"]) . " PARTITION ") . $this->getAttribute(                    // line 82
$context["partition"], "getName", [], "method"))), "html"nulltrue);
                    echo 
"\"
                                    id=\"partition_action_"
;
                    
// line 83
                    
echo twig_escape_filter($this->env$context["action"], "html"nulltrue);
                    echo 
"\"
                                    name=\"partition_action_"
;
                    
// line 84
                    
echo twig_escape_filter($this->env$context["action"], "html"nulltrue);
                    echo 
"\"
                                    class=\"ajax\">
                                    "
;
                    
// line 86
                    
echo $context["icon"];
                    echo 
"
                                </a>
                            </td>
                        "
;
                }
                
$_parent $context['_parent'];
                unset(
$context['_seq'], $context['_iterated'], $context['action'], $context['icon'], $context['_parent'], $context['loop']);
                
$context array_intersect_key($context$_parent) + $_parent;
                
// line 90
                
echo "
                        "
;
                
// line 91
                
if (($context["has_sub_partitions"] ?? null)) {
                    
// line 92
                    
echo "                            ";
                    
$context['_parent'] = $context;
                    
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["partition"], "getSubPartitions", [], "method"));
                    foreach (
$context['_seq'] as $context["_key"] => $context["sub_partition"]) {
                        
// line 93
                        
echo "                                <tr class=\"noclick\">
                                    <td></td>
                                    <td>"
;
                        
// line 95
                        
echo twig_escape_filter($this->env$this->getAttribute($context["sub_partition"], "getOrdinal", [], "method"), "html"nulltrue);
                        echo 
"</td>
                                    <td>"
;
                        
// line 96
                        
echo twig_escape_filter($this->env$this->getAttribute($context["sub_partition"], "getName", [], "method"), "html"nulltrue);
                        echo 
"</td>
                                    "
;
                        
// line 97
                        
if (($context["has_description"] ?? null)) {
                            
// line 98
                            
echo "                                        <td></td>
                                    "
;
                        }
                        
// line 100
                        
echo "                                    <td class=\"value\">";
                        echo 
twig_escape_filter($this->env$this->getAttribute($context["sub_partition"], "getRows", [], "method"), "html"nulltrue);
                        echo 
"</td>
                                    <td class=\"value\">
                                        "
;
                        
// line 102
                        
$context["data_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute(                        // line 103
$context["sub_partition"], "getDataLength", [], "method"), 31);
                        
// line 107
                        
echo "                                        <span>";
                        echo 
twig_escape_filter($this->env$this->getAttribute(($context["data_length"] ?? null), 0, [], "array"), "html"nulltrue);
                        echo 
"</span>
                                        <span class=\"unit\">"
;
                        
// line 108
                        
echo twig_escape_filter($this->env$this->getAttribute(($context["data_length"] ?? null), 1, [], "array"), "html"nulltrue);
                        echo 
"</span>
                                    </td>
                                    <td class=\"value\">
                                        "
;
                        
// line 111
                        
$context["index_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute(                        // line 112
$context["sub_partition"], "getIndexLength", [], "method"), 31);
                        
// line 116
                        
echo "                                        <span>";
                        echo 
twig_escape_filter($this->env$this->getAttribute(($context["index_length"] ?? null), 0, [], "array"), "html"nulltrue);
                        echo 
"</span>
                                        <span class=\"unit\">"
;
                        
// line 117
                        
echo twig_escape_filter($this->env$this->getAttribute(($context["index_length"] ?? null), 1, [], "array"), "html"nulltrue);
                        echo 
"</span>
                                    </td>
                                    <td>"
;
                        
// line 119
                        
echo twig_escape_filter($this->env$this->getAttribute($context["sub_partition"], "getComment", [], "method"), "html"nulltrue);
                        echo 
"</td>
                                    <td colspan=\""
;
                        
// line 120
                        
echo ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
                        echo 
"\"></td>
                                </tr>
                            "
;
                    }
                    
$_parent $context['_parent'];
                    unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['sub_partition'], $context['_parent'], $context['loop']);
                    
$context array_intersect_key($context$_parent) + $_parent;
                    
// line 123
                    
echo "                        ";
                }
                
// line 124
                
echo "                    </tr>
                "
;
            }
            
$_parent $context['_parent'];
            unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['partition'], $context['_parent'], $context['loop']);
            
$context array_intersect_key($context$_parent) + $_parent;
            
// line 126
            
echo "                </tbody>
            </table>
        "
;
        }
        
// line 129
        
echo "    </fieldset>
    <fieldset class=\"tblFooters print_ignore\">
        <form action=\"tbl_structure.php\" method=\"post\">
            "
;
        
// line 132
        
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
        echo 
"
            <input type=\"hidden\" name=\"edit_partitioning\" value=\"true\" />
            "
;
        
// line 134
        
if (twig_test_empty(($context["partitions"] ?? null))) {
            
// line 135
            
echo "                <input type=\"submit\" name=\"edit_partitioning\" value=\"";
            echo 
_gettext("Partition table");
            echo 
"\" />
            "
;
        } else {
            
// line 137
            
echo "                ";
            echo 
PhpMyAdmin\Util::linkOrButton(($context["remove_url"] ?? null), _gettext("Remove partitioning"), ["class" => "button ajax""id" => "remove_partitioning"]);
            
// line 140
            
echo "
                <input type=\"submit\" name=\"edit_partitioning\" value=\""
;
            
// line 141
            
echo _gettext("Edit partitioning");
            echo 
"\" />
            "
;
        }
        
// line 143
        
echo "        </form>
    </fieldset>
</div>
"
;
    }

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

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
364 => 143,  359 => 141,  356 => 140,  353 => 137,  347 => 135,  345 => 134,  340 => 132,  335 => 129,  330 => 126,  323 => 124,  320 => 123,  311 => 120,  307 => 119,  302 => 117,  297 => 116,  295 => 112,  294 => 111,  288 => 108,  283 => 107,  281 => 103,  280 => 102,  274 => 100,  270 => 98,  268 => 97,  264 => 96,  260 => 95,  256 => 93,  251 => 92,  249 => 91,  246 => 90,  236 => 86,  231 => 84,  227 => 83,  223 => 82,  222 => 81,  220 => 80,  218 => 79,  215 => 78,  211 => 77,  207 => 76,  202 => 74,  197 => 73,  195 => 69,  194 => 68,  188 => 65,  183 => 64,  181 => 60,  180 => 59,  174 => 57,  169 => 54,  167 => 53,  165 => 52,  163 => 51,  161 => 50,  158 => 48,  156 => 47,  151 => 46,  145 => 44,  138 => 41,  136 => 40,  131 => 39,  127 => 38,  121 => 34,  119 => 33,  115 => 32,  111 => 31,  107 => 30,  103 => 29,  98 => 28,  92 => 26,  90 => 25,  86 => 24,  80 => 20,  71 => 17,  69 => 16,  66 => 15,  64 => 14,  56 => 12,  54 => 11,  51 => 10,  45 => 8,  43 => 7,  37 => 5,  35 => 4,  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/display_partitions.twig""/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_partitions.twig");
    }
}