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
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
|
<?php
/* database/structure/structure_table_row.twig */ class __TwigTemplate_51ecadb4031e5c62076a0ccdcf2255c6d1437a2e03d76e2758945108958b68a2 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env);
$this->parent = false;
$this->blocks = [ ]; }
protected function doDisplay(array $context, array $blocks = []) { // line 1 echo "<tr id=\"row_tbl_"; echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\""; echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : ("")); echo " data-filter-row=\""; echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(($context["current_table"] ?? null), "TABLE_NAME", [], "array")), "html", null, true); echo "\"> <td class=\"center print_ignore\"> <input type=\"checkbox\" name=\"selected_tbl[]\" class=\""; // line 5 echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true); echo "\" value=\""; // line 6 echo twig_escape_filter($this->env, $this->getAttribute(($context["current_table"] ?? null), "TABLE_NAME", [], "array"), "html", null, true); echo "\" id=\"checkbox_tbl_"; // line 7 echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true); echo "\" /> </td> <th> "; // line 10 echo ($context["browse_table_label"] ?? null); echo " "; // line 11 echo ($context["tracking_icon"] ?? null); echo " </th> "; // line 13 if (($context["server_slave_status"] ?? null)) { // line 14 echo " <td class=\"center\"> "; // line 15 echo ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Util::getImage("s_cancel", _gettext("Not replicated"))) : ("")); echo " "; // line 16 echo ((($context["do"] ?? null)) ? (PhpMyAdmin\Util::getImage("s_success", _gettext("Replicated"))) : ("")); echo " </td> "; } // line 19 echo " "; // line 21 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 22 echo " <td class=\"center print_ignore\"> "; // line 24 echo " "; $context["fav_params"] = ["db" => // line 25 ($context["db"] ?? null), "ajax_request" => true, "favorite_table" => $this->getAttribute( // line 27 ($context["current_table"] ?? null), "TABLE_NAME", [], "array"), ((( // line 28 ($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true]; // line 30 echo " "; $this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 30)->display(["table_name_hash" => md5($this->getAttribute( // line 31 ($context["current_table"] ?? null), "TABLE_NAME", [], "array")), "db_table_name_hash" => md5((( // line 32 ($context["db"] ?? null) . ".") . $this->getAttribute(($context["current_table"] ?? null), "TABLE_NAME", [], "array"))), "fav_params" => // line 33 ($context["fav_params"] ?? null), "already_favorite" => // line 34 ($context["already_favorite"] ?? null), "titles" => // line 35 ($context["titles"] ?? null)]); // line 37 echo " </td> "; } // line 39 echo " <td class=\"center print_ignore\"> "; // line 41 echo ($context["browse_table"] ?? null); echo " </td> <td class=\"center print_ignore\"> <a href=\"tbl_structure.php"; // line 44 echo ($context["tbl_url_query"] ?? null); echo "\"> "; // line 45 echo $this->getAttribute(($context["titles"] ?? null), "Structure", [], "array"); echo " </a> </td> <td class=\"center print_ignore\"> "; // line 49 echo ($context["search_table"] ?? null); echo " </td>
"; // line 52 if ( !($context["db_is_system_schema"] ?? null)) { // line 53 echo " <td class=\"insert_table center print_ignore\"> <a href=\"tbl_change.php"; // line 54 echo ($context["tbl_url_query"] ?? null); echo "\">"; echo $this->getAttribute(($context["titles"] ?? null), "Insert", [], "array"); echo "</a> </td> <td class=\"center print_ignore\">"; // line 56 echo ($context["empty_table"] ?? null); echo "</td> <td class=\"center print_ignore\"> <a class=\"ajax drop_table_anchor"; // line 59 echo (((($context["table_is_view"] ?? null) || ($this->getAttribute(($context["current_table"] ?? null), "ENGINE", [], "array") == null))) ? (" view") : ("")); echo "\" href=\"sql.php\" data-post=\""; // line 60 echo ($context["tbl_url_query"] ?? null); echo "&reload=1&purge=1&sql_query="; // line 61 echo twig_escape_filter($this->env, twig_urlencode_filter(($context["drop_query"] ?? null)), "html", null, true); echo "&message_to_show="; echo twig_escape_filter($this->env, twig_urlencode_filter(($context["drop_message"] ?? null)), "html", null, true); echo "\"> "; // line 62 echo $this->getAttribute(($context["titles"] ?? null), "Drop", [], "array"); echo " </a> </td> "; } // line 66 echo " "; // line 67 if (($this->getAttribute(($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true) && (($this->getAttribute( // line 68 ($context["current_table"] ?? null), "ENGINE", [], "array") != null) || ($context["table_is_view"] ?? null)))) { // line 69 echo " "; // line 70 echo " "; $context["row_count"] = PhpMyAdmin\Util::formatNumber($this->getAttribute(($context["current_table"] ?? null), "TABLE_ROWS", [], "array"), 0); // line 71 echo " "; // line 74 echo " <td class=\"value tbl_rows\" data-table=\""; // line 75 echo twig_escape_filter($this->env, $this->getAttribute(($context["current_table"] ?? null), "TABLE_NAME", [], "array"), "html", null, true); echo "\"> "; // line 76 if (($context["approx_rows"] ?? null)) { // line 77 echo " <a href=\"db_structure.php"; echo PhpMyAdmin\Url::getCommon(["ajax_request" => true, "db" => // line 79 ($context["db"] ?? null), "table" => $this->getAttribute( // line 80 ($context["current_table"] ?? null), "TABLE_NAME", [], "array"), "real_row_count" => "true"]); // line 82 echo "\" class=\"ajax real_row_count\"> <bdi> ~"; // line 84 echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " </bdi> </a> "; } else { // line 88 echo " "; echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true); echo " "; } // line 90 echo " "; echo ($context["show_superscript"] ?? null); echo " </td>
"; // line 93 if ( !(($context["properties_num_columns"] ?? null) > 1)) { // line 94 echo " <td class=\"nowrap\"> "; // line 95 if ( !twig_test_empty($this->getAttribute(($context["current_table"] ?? null), "ENGINE", [], "array"))) { // line 96 echo " "; echo twig_escape_filter($this->env, $this->getAttribute(($context["current_table"] ?? null), "ENGINE", [], "array"), "html", null, true); echo " "; } elseif ( // line 97 ($context["table_is_view"] ?? null)) { // line 98 echo " "; echo _gettext("View"); // line 99 echo " "; } // line 100 echo " </td> "; // line 101 if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) { // line 102 echo " <td class=\"nowrap\"> "; // line 103 echo ($context["collation"] ?? null); echo " </td> "; } // line 106 echo " "; } // line 107 echo " "; // line 108 if (($context["is_show_stats"] ?? null)) { // line 109 echo " <td class=\"value tbl_size\"> <a href=\"tbl_structure.php"; // line 110 echo ($context["tbl_url_query"] ?? null); echo "#showusage\"> <span>"; // line 111 echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true); echo "</span> <span class=\"unit\">"; // line 112 echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true); echo "</span> </a> </td> <td class=\"value tbl_overhead\"> "; // line 116 echo ($context["overhead"] ?? null); echo " </td> "; } // line 119 echo " "; // line 120 if ( !(($context["show_charset"] ?? null) > 1)) { // line 121 echo " "; if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) { // line 122 echo " <td class=\"nowrap\"> "; // line 123 echo twig_escape_filter($this->env, ($context["charset"] ?? null), "html", null, true); echo " </td> "; } // line 126 echo " "; } // line 127 echo " "; // line 128 if (($context["show_comment"] ?? null)) { // line 129 echo " "; $context["comment"] = $this->getAttribute(($context["current_table"] ?? null), "Comment", [], "array"); // line 130 echo " <td> "; // line 131 if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) { // line 132 echo " <abbr title=\""; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo "\"> "; // line 133 echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true); echo " ... </abbr> "; } else { // line 137 echo " "; echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true); echo " "; } // line 139 echo " </td> "; } // line 141 echo " "; // line 142 if (($context["show_creation"] ?? null)) { // line 143 echo " <td class=\"value tbl_creation\"> "; // line 144 echo twig_escape_filter($this->env, ((($context["create_time"] ?? null)) ? (PhpMyAdmin\Util::localisedDate(strtotime(($context["create_time"] ?? null)))) : ("-")), "html", null, true); echo " </td> "; } // line 147 echo " "; // line 148 if (($context["show_last_update"] ?? null)) { // line 149 echo " <td class=\"value tbl_last_update\"> "; // line 150 echo twig_escape_filter($this->env, ((($context["update_time"] ?? null)) ? (PhpMyAdmin\Util::localisedDate(strtotime(($context["update_time"] ?? null)))) : ("-")), "html", null, true); echo " </td> "; } // line 153 echo " "; // line 154 if (($context["show_last_check"] ?? null)) { // line 155 echo " <td class=\"value tbl_last_check\"> "; // line 156 echo twig_escape_filter($this->env, ((($context["check_time"] ?? null)) ? (PhpMyAdmin\Util::localisedDate(strtotime(($context["check_time"] ?? null)))) : ("-")), "html", null, true); echo " </td> "; } // line 159 echo " "; } elseif ( // line 160 ($context["table_is_view"] ?? null)) { // line 161 echo " <td class=\"value tbl_rows\">-</td> <td class=\"nowrap\"> "; // line 163 echo _gettext("View"); // line 164 echo " </td> <td class=\"nowrap\">---</td> "; // line 166 if (($context["is_show_stats"] ?? null)) { // line 167 echo " <td class=\"value tbl_size\">-</td> <td class=\"value tbl_overhead\">-</td> "; } // line 170 echo " "; if (($context["show_charset"] ?? null)) { // line 171 echo " <td></td> "; } // line 173 echo " "; if (($context["show_comment"] ?? null)) { // line 174 echo " <td></td> "; } // line 176 echo " "; if (($context["show_creation"] ?? null)) { // line 177 echo " <td class=\"value tbl_creation\">-</td> "; } // line 179 echo " "; if (($context["show_last_update"] ?? null)) { // line 180 echo " <td class=\"value tbl_last_update\">-</td> "; } // line 182 echo " "; if (($context["show_last_check"] ?? null)) { // line 183 echo " <td class=\"value tbl_last_check\">-</td> "; } // line 185 echo " "; } else { // line 187 echo " "; $context["count"] = 0; // line 188 echo " "; if (($context["properties_num_columns"] ?? null)) { // line 189 echo " "; $context["count"] = (($context["count"] ?? null) + 2); // line 190 echo " "; } // line 191 echo " "; if (($context["is_show_stats"] ?? null)) { // line 192 echo " "; $context["count"] = (($context["count"] ?? null) + 2); // line 193 echo " "; } // line 194 echo " "; if (($context["show_charset"] ?? null)) { // line 195 echo " "; $context["count"] = (($context["count"] ?? null) + 1); // line 196 echo " "; } // line 197 echo " "; if (($context["show_comment"] ?? null)) { // line 198 echo " "; $context["count"] = (($context["count"] ?? null) + 1); // line 199 echo " "; } // line 200 echo " "; if (($context["show_creation"] ?? null)) { // line 201 echo " "; $context["count"] = (($context["count"] ?? null) + 1); // line 202 echo " "; } // line 203 echo " "; if (($context["show_last_update"] ?? null)) { // line 204 echo " "; $context["count"] = (($context["count"] ?? null) + 1); // line 205 echo " "; } // line 206 echo " "; if (($context["show_last_check"] ?? null)) { // line 207 echo " "; $context["count"] = (($context["count"] ?? null) + 1); // line 208 echo " "; } // line 209 echo " "; // line 210 if (($context["db_is_system_schema"] ?? null)) { // line 211 echo " "; $context["action_colspan"] = 3; // line 212 echo " "; } else { // line 213 echo " "; $context["action_colspan"] = 6; // line 214 echo " "; } // line 215 echo " "; if ((($context["num_favorite_tables"] ?? null) > 0)) { // line 216 echo " "; $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); // line 217 echo " "; } // line 218 echo " "; // line 219 $context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3); // line 220 echo " <td colspan=\""; echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9)); echo "\" class=\"center\"> "; // line 222 echo _gettext("in use"); // line 223 echo " </td> "; } // line 225 echo "</tr> "; }
public function getTemplateName() { return "database/structure/structure_table_row.twig"; }
public function isTraitable() { return false; }
public function getDebugInfo() { return array ( 545 => 225, 541 => 223, 539 => 222, 533 => 220, 531 => 219, 528 => 218, 525 => 217, 522 => 216, 519 => 215, 516 => 214, 513 => 213, 510 => 212, 507 => 211, 505 => 210, 502 => 209, 499 => 208, 496 => 207, 493 => 206, 490 => 205, 487 => 204, 484 => 203, 481 => 202, 478 => 201, 475 => 200, 472 => 199, 469 => 198, 466 => 197, 463 => 196, 460 => 195, 457 => 194, 454 => 193, 451 => 192, 448 => 191, 445 => 190, 442 => 189, 439 => 188, 436 => 187, 432 => 185, 428 => 183, 425 => 182, 421 => 180, 418 => 179, 414 => 177, 411 => 176, 407 => 174, 404 => 173, 400 => 171, 397 => 170, 392 => 167, 390 => 166, 386 => 164, 384 => 163, 380 => 161, 378 => 160, 375 => 159, 369 => 156, 366 => 155, 364 => 154, 361 => 153, 355 => 150, 352 => 149, 350 => 148, 347 => 147, 341 => 144, 338 => 143, 336 => 142, 333 => 141, 329 => 139, 323 => 137, 316 => 133, 311 => 132, 309 => 131, 306 => 130, 303 => 129, 301 => 128, 298 => 127, 295 => 126, 289 => 123, 286 => 122, 283 => 121, 281 => 120, 278 => 119, 272 => 116, 265 => 112, 261 => 111, 257 => 110, 254 => 109, 252 => 108, 249 => 107, 246 => 106, 240 => 103, 237 => 102, 235 => 101, 232 => 100, 229 => 99, 226 => 98, 224 => 97, 219 => 96, 217 => 95, 214 => 94, 212 => 93, 205 => 90, 199 => 88, 192 => 84, 188 => 82, 186 => 80, 185 => 79, 183 => 77, 181 => 76, 177 => 75, 174 => 74, 171 => 71, 168 => 70, 166 => 69, 164 => 68, 163 => 67, 160 => 66, 153 => 62, 147 => 61, 144 => 60, 140 => 59, 135 => 56, 128 => 54, 125 => 53, 123 => 52, 117 => 49, 110 => 45, 106 => 44, 100 => 41, 96 => 39, 92 => 37, 90 => 35, 89 => 34, 88 => 33, 87 => 32, 86 => 31, 84 => 30, 82 => 28, 81 => 27, 80 => 25, 78 => 24, 75 => 22, 72 => 21, 69 => 19, 63 => 16, 59 => 15, 56 => 14, 54 => 13, 49 => 11, 45 => 10, 39 => 7, 35 => 6, 31 => 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("", "database/structure/structure_table_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/structure_table_row.twig"); } }
|