parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "env, (isset($context["curr"]) ? $context["curr"] : null), "html", null, true); echo "\""; echo (((isset($context["table_is_view"]) ? $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((isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_NAME", array(), "array")), "html", null, true); echo "\"> env, (isset($context["input_class"]) ? $context["input_class"] : null), "html", null, true); echo "\" value=\""; // line 6 echo twig_escape_filter($this->env, $this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_NAME", array(), "array"), "html", null, true); echo "\" id=\"checkbox_tbl_"; // line 7 echo twig_escape_filter($this->env, (isset($context["curr"]) ? $context["curr"] : null), "html", null, true); echo "\" /> "; // line 10 echo (isset($context["browse_table_label"]) ? $context["browse_table_label"] : null); echo " "; // line 11 echo (isset($context["tracking_icon"]) ? $context["tracking_icon"] : null); echo " "; // line 13 if ((isset($context["server_slave_status"]) ? $context["server_slave_status"] : null)) { // line 14 echo " "; // line 15 echo (((isset($context["ignored"]) ? $context["ignored"] : null)) ? (PhpMyAdmin\Util::getImage("s_cancel", _gettext("Not replicated"))) : ("")); echo " "; // line 16 echo (((isset($context["do"]) ? $context["do"] : null)) ? (PhpMyAdmin\Util::getImage("s_success", _gettext("Replicated"))) : ("")); echo " "; } // line 19 echo " "; // line 21 echo " "; if (((isset($context["num_favorite_tables"]) ? $context["num_favorite_tables"] : null) > 0)) { // line 22 echo " "; // line 24 echo " "; $context["fav_params"] = array("db" => // line 25 (isset($context["db"]) ? $context["db"] : null), "ajax_request" => true, "favorite_table" => $this->getAttribute( // line 27 (isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_NAME", array(), "array"), ((( // line 28 (isset($context["already_favorite"]) ? $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(array("table_name_hash" => md5($this->getAttribute( // line 31 (isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_NAME", array(), "array")), "db_table_name_hash" => md5((( // line 32 (isset($context["db"]) ? $context["db"] : null) . ".") . $this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_NAME", array(), "array"))), "fav_params" => // line 33 (isset($context["fav_params"]) ? $context["fav_params"] : null), "already_favorite" => // line 34 (isset($context["already_favorite"]) ? $context["already_favorite"] : null), "titles" => // line 35 (isset($context["titles"]) ? $context["titles"] : null))); // line 37 echo " "; } // line 39 echo " "; // line 41 echo (isset($context["browse_table"]) ? $context["browse_table"] : null); echo " "; // line 45 echo $this->getAttribute((isset($context["titles"]) ? $context["titles"] : null), "Structure", array(), "array"); echo " "; // line 49 echo (isset($context["search_table"]) ? $context["search_table"] : null); echo " "; // line 52 if ( !(isset($context["db_is_system_schema"]) ? $context["db_is_system_schema"] : null)) { // line 53 echo " "; echo $this->getAttribute((isset($context["titles"]) ? $context["titles"] : null), "Insert", array(), "array"); echo " "; // line 56 echo (isset($context["empty_table"]) ? $context["empty_table"] : null); echo " getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "ENGINE", array(), "array") == null))) ? (" view") : ("")); echo "\" href=\"sql.php\" data-post=\""; // line 60 echo (isset($context["tbl_url_query"]) ? $context["tbl_url_query"] : null); echo "&reload=1&purge=1&sql_query="; // line 61 echo twig_escape_filter($this->env, twig_urlencode_filter((isset($context["drop_query"]) ? $context["drop_query"] : null)), "html", null, true); echo "&message_to_show="; echo twig_escape_filter($this->env, twig_urlencode_filter((isset($context["drop_message"]) ? $context["drop_message"] : null)), "html", null, true); echo "\"> "; // line 62 echo $this->getAttribute((isset($context["titles"]) ? $context["titles"] : null), "Drop", array(), "array"); echo " "; } // line 66 echo " "; // line 67 if (($this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_ROWS", array(), "array", true, true) && (($this->getAttribute( // line 68 (isset($context["current_table"]) ? $context["current_table"] : null), "ENGINE", array(), "array") != null) || (isset($context["table_is_view"]) ? $context["table_is_view"] : null)))) { // line 69 echo " "; // line 70 echo " "; $context["row_count"] = PhpMyAdmin\Util::formatNumber($this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_ROWS", array(), "array"), 0); // line 71 echo " "; // line 74 echo " env, $this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_NAME", array(), "array"), "html", null, true); echo "\"> "; // line 76 if ((isset($context["approx_rows"]) ? $context["approx_rows"] : null)) { // line 77 echo " true, "db" => // line 79 (isset($context["db"]) ? $context["db"] : null), "table" => $this->getAttribute( // line 80 (isset($context["current_table"]) ? $context["current_table"] : null), "TABLE_NAME", array(), "array"), "real_row_count" => "true")); // line 82 echo "\" class=\"ajax real_row_count\"> ~"; // line 84 echo twig_escape_filter($this->env, (isset($context["row_count"]) ? $context["row_count"] : null), "html", null, true); echo " "; } else { // line 88 echo " "; echo twig_escape_filter($this->env, (isset($context["row_count"]) ? $context["row_count"] : null), "html", null, true); echo " "; } // line 90 echo " "; echo (isset($context["show_superscript"]) ? $context["show_superscript"] : null); echo " "; // line 93 if ( !((isset($context["properties_num_columns"]) ? $context["properties_num_columns"] : null) > 1)) { // line 94 echo " "; // line 95 if ( !twig_test_empty($this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "ENGINE", array(), "array"))) { // line 96 echo " "; echo twig_escape_filter($this->env, $this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "ENGINE", array(), "array"), "html", null, true); echo " "; } elseif ( // line 97 (isset($context["table_is_view"]) ? $context["table_is_view"] : null)) { // line 98 echo " "; echo _gettext("View"); // line 99 echo " "; } // line 100 echo " "; // line 101 if ((twig_length_filter($this->env, (isset($context["collation"]) ? $context["collation"] : null)) > 0)) { // line 102 echo " "; // line 103 echo (isset($context["collation"]) ? $context["collation"] : null); echo " "; } // line 106 echo " "; } // line 107 echo " "; // line 108 if ((isset($context["is_show_stats"]) ? $context["is_show_stats"] : null)) { // line 109 echo " "; // line 111 echo twig_escape_filter($this->env, (isset($context["formatted_size"]) ? $context["formatted_size"] : null), "html", null, true); echo " "; // line 112 echo twig_escape_filter($this->env, (isset($context["unit"]) ? $context["unit"] : null), "html", null, true); echo " "; // line 116 echo (isset($context["overhead"]) ? $context["overhead"] : null); echo " "; } // line 119 echo " "; // line 120 if ( !((isset($context["show_charset"]) ? $context["show_charset"] : null) > 1)) { // line 121 echo " "; if ((twig_length_filter($this->env, (isset($context["charset"]) ? $context["charset"] : null)) > 0)) { // line 122 echo " "; // line 123 echo twig_escape_filter($this->env, (isset($context["charset"]) ? $context["charset"] : null), "html", null, true); echo " "; } // line 126 echo " "; } // line 127 echo " "; // line 128 if ((isset($context["show_comment"]) ? $context["show_comment"] : null)) { // line 129 echo " "; $context["comment"] = $this->getAttribute((isset($context["current_table"]) ? $context["current_table"] : null), "Comment", array(), "array"); // line 130 echo " "; // line 131 if ((twig_length_filter($this->env, (isset($context["comment"]) ? $context["comment"] : null)) > (isset($context["limit_chars"]) ? $context["limit_chars"] : null))) { // line 132 echo " env, (isset($context["comment"]) ? $context["comment"] : null), "html", null, true); echo "\"> "; // line 133 echo twig_escape_filter($this->env, twig_slice($this->env, (isset($context["comment"]) ? $context["comment"] : null), 0, (isset($context["limit_chars"]) ? $context["limit_chars"] : null)), "html", null, true); echo " ... "; } else { // line 137 echo " "; echo twig_escape_filter($this->env, (isset($context["comment"]) ? $context["comment"] : null), "html", null, true); echo " "; } // line 139 echo " "; } // line 141 echo " "; // line 142 if ((isset($context["show_creation"]) ? $context["show_creation"] : null)) { // line 143 echo " "; // line 144 echo twig_escape_filter($this->env, (((isset($context["create_time"]) ? $context["create_time"] : null)) ? (PhpMyAdmin\Util::localisedDate(strtotime((isset($context["create_time"]) ? $context["create_time"] : null)))) : ("-")), "html", null, true); echo " "; } // line 147 echo " "; // line 148 if ((isset($context["show_last_update"]) ? $context["show_last_update"] : null)) { // line 149 echo " "; // line 150 echo twig_escape_filter($this->env, (((isset($context["update_time"]) ? $context["update_time"] : null)) ? (PhpMyAdmin\Util::localisedDate(strtotime((isset($context["update_time"]) ? $context["update_time"] : null)))) : ("-")), "html", null, true); echo " "; } // line 153 echo " "; // line 154 if ((isset($context["show_last_check"]) ? $context["show_last_check"] : null)) { // line 155 echo " "; // line 156 echo twig_escape_filter($this->env, (((isset($context["check_time"]) ? $context["check_time"] : null)) ? (PhpMyAdmin\Util::localisedDate(strtotime((isset($context["check_time"]) ? $context["check_time"] : null)))) : ("-")), "html", null, true); echo " "; } // line 159 echo " "; } elseif ( // line 160 (isset($context["table_is_view"]) ? $context["table_is_view"] : null)) { // line 161 echo " - "; // line 163 echo _gettext("View"); // line 164 echo " --- "; // line 166 if ((isset($context["is_show_stats"]) ? $context["is_show_stats"] : null)) { // line 167 echo " - - "; } // line 170 echo " "; if ((isset($context["show_charset"]) ? $context["show_charset"] : null)) { // line 171 echo " "; } // line 173 echo " "; if ((isset($context["show_comment"]) ? $context["show_comment"] : null)) { // line 174 echo " "; } // line 176 echo " "; if ((isset($context["show_creation"]) ? $context["show_creation"] : null)) { // line 177 echo " - "; } // line 179 echo " "; if ((isset($context["show_last_update"]) ? $context["show_last_update"] : null)) { // line 180 echo " - "; } // line 182 echo " "; if ((isset($context["show_last_check"]) ? $context["show_last_check"] : null)) { // line 183 echo " - "; } // line 185 echo " "; } else { // line 187 echo " "; $context["count"] = 0; // line 188 echo " "; if ((isset($context["properties_num_columns"]) ? $context["properties_num_columns"] : null)) { // line 189 echo " "; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 2); // line 190 echo " "; } // line 191 echo " "; if ((isset($context["is_show_stats"]) ? $context["is_show_stats"] : null)) { // line 192 echo " "; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 2); // line 193 echo " "; } // line 194 echo " "; if ((isset($context["show_charset"]) ? $context["show_charset"] : null)) { // line 195 echo " "; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1); // line 196 echo " "; } // line 197 echo " "; if ((isset($context["show_comment"]) ? $context["show_comment"] : null)) { // line 198 echo " "; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1); // line 199 echo " "; } // line 200 echo " "; if ((isset($context["show_creation"]) ? $context["show_creation"] : null)) { // line 201 echo " "; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1); // line 202 echo " "; } // line 203 echo " "; if ((isset($context["show_last_update"]) ? $context["show_last_update"] : null)) { // line 204 echo " "; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1); // line 205 echo " "; } // line 206 echo " "; if ((isset($context["show_last_check"]) ? $context["show_last_check"] : null)) { // line 207 echo " "; $context["count"] = ((isset($context["count"]) ? $context["count"] : null) + 1); // line 208 echo " "; } // line 209 echo " "; // line 210 if ((isset($context["db_is_system_schema"]) ? $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 (((isset($context["num_favorite_tables"]) ? $context["num_favorite_tables"] : null) > 0)) { // line 216 echo " "; $context["action_colspan"] = ((isset($context["action_colspan"]) ? $context["action_colspan"] : null) + 1); // line 217 echo " "; } // line 218 echo " "; // line 219 $context["colspan_for_structure"] = ((isset($context["action_colspan"]) ? $context["action_colspan"] : null) + 3); // line 220 echo " "; // line 222 echo _gettext("in use"); // line 223 echo " "; } // line 225 echo " "; } 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", "/var/www/localhost/htdocs/phpmyadmin/templates/database/structure/structure_table_row.twig"); } }