d60ff822ef1f18ed861544e11826d90419bc76ed843e6c969adde5d1dec49e2b.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. <?php
  2. /* database/structure/body_for_table_summary.twig */
  3. class __TwigTemplate_8ca3b81fe1c21c5b858b605affec6e00cf539c1dc30a8e8e9ec1e145e2e9f7bd extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = [
  10. ];
  11. }
  12. protected function doDisplay(array $context, array $blocks = [])
  13. {
  14. // line 1
  15. echo "<tbody id=\"tbl_summary_row\">
  16. <tr>
  17. <th class=\"print_ignore\"></th>
  18. <th class=\"tbl_num nowrap\">
  19. ";
  20. // line 5
  21. ob_start();
  22. // line 6
  23. echo _ngettext("%s table", "%s tables", abs(($context["num_tables"] ?? null)));
  24. $context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  25. // line 8
  26. echo " ";
  27. echo twig_escape_filter($this->env, sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true);
  28. echo "
  29. </th>
  30. ";
  31. // line 10
  32. if (($context["server_slave_status"] ?? null)) {
  33. // line 11
  34. echo " <th>";
  35. echo _gettext("Replication");
  36. echo "</th>
  37. ";
  38. }
  39. // line 13
  40. echo " ";
  41. $context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7));
  42. // line 14
  43. echo " ";
  44. if ((($context["num_favorite_tables"] ?? null) == 0)) {
  45. // line 15
  46. echo " ";
  47. $context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1);
  48. // line 16
  49. echo " ";
  50. }
  51. // line 17
  52. echo " <th colspan=\"";
  53. echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true);
  54. echo "\" class=\"print_ignore\">";
  55. echo _gettext("Sum");
  56. echo "</th>
  57. ";
  58. // line 18
  59. $context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0);
  60. // line 19
  61. echo " ";
  62. // line 20
  63. echo " ";
  64. $context["row_sum_url"] = [];
  65. // line 21
  66. echo " ";
  67. if ((isset($context["approx_rows"]) || array_key_exists("approx_rows", $context))) {
  68. // line 22
  69. echo " ";
  70. $context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24
  71. ($context["db"] ?? null), "real_row_count" => "true", "real_row_count_all" => "true"];
  72. // line 28
  73. echo " ";
  74. }
  75. // line 29
  76. echo " ";
  77. if (($context["approx_rows"] ?? null)) {
  78. // line 30
  79. echo " ";
  80. ob_start();
  81. // line 31
  82. echo "<a href=\"db_structure.php";
  83. // line 32
  84. echo PhpMyAdmin\Url::getCommon(($context["row_sum_url"] ?? null));
  85. echo "\" class=\"ajax row_count_sum\">~";
  86. // line 33
  87. echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true);
  88. // line 34
  89. echo "</a>";
  90. $context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  91. // line 36
  92. echo " ";
  93. } else {
  94. // line 37
  95. echo " ";
  96. $context["cell_text"] = ($context["row_count_sum"] ?? null);
  97. // line 38
  98. echo " ";
  99. }
  100. // line 39
  101. echo " <th class=\"value tbl_rows\">";
  102. echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true);
  103. echo "</th>
  104. ";
  105. // line 40
  106. if ( !(($context["properties_num_columns"] ?? null) > 1)) {
  107. // line 41
  108. echo " ";
  109. // line 42
  110. echo " ";
  111. $context["default_engine"] = $this->getAttribute(($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method");
  112. // line 43
  113. echo " ";
  114. if (twig_test_empty(($context["default_engine"] ?? null))) {
  115. // line 44
  116. echo " ";
  117. // line 45
  118. echo " ";
  119. $context["default_engine"] = $this->getAttribute(($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method");
  120. // line 46
  121. echo " ";
  122. }
  123. // line 47
  124. echo " <th class=\"center\">
  125. <dfn title=\"";
  126. // line 48
  127. echo twig_escape_filter($this->env, sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true);
  128. echo "\">
  129. ";
  130. // line 49
  131. echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true);
  132. echo "
  133. </dfn>
  134. </th>
  135. <th>
  136. ";
  137. // line 53
  138. if ( !twig_test_empty(($context["db_collation"] ?? null))) {
  139. // line 54
  140. echo " <dfn title=\"";
  141. echo twig_escape_filter($this->env, PhpMyAdmin\Charsets::getCollationDescr(($context["db_collation"] ?? null)), "html", null, true);
  142. echo " (";
  143. echo _gettext("Default");
  144. echo ")\">
  145. ";
  146. // line 55
  147. echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true);
  148. echo "
  149. </dfn>
  150. ";
  151. }
  152. // line 58
  153. echo " </th>
  154. ";
  155. }
  156. // line 60
  157. echo "
  158. ";
  159. // line 61
  160. if (($context["is_show_stats"] ?? null)) {
  161. // line 62
  162. echo " ";
  163. $context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1);
  164. // line 63
  165. echo " ";
  166. $context["sum_formatted"] = $this->getAttribute(($context["sum"] ?? null), 0, [], "array");
  167. // line 64
  168. echo " ";
  169. $context["sum_unit"] = $this->getAttribute(($context["sum"] ?? null), 1, [], "array");
  170. // line 65
  171. echo " <th class=\"value tbl_size\">";
  172. echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true);
  173. echo " ";
  174. echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true);
  175. echo "</th>
  176. ";
  177. // line 67
  178. $context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1);
  179. // line 68
  180. echo " ";
  181. $context["overhead_formatted"] = $this->getAttribute(($context["overhead"] ?? null), 0, [], "array");
  182. // line 69
  183. echo " ";
  184. $context["overhead_unit"] = $this->getAttribute(($context["overhead"] ?? null), 1, [], "array");
  185. // line 70
  186. echo " <th class=\"value tbl_overhead\">";
  187. echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true);
  188. echo " ";
  189. echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true);
  190. echo "</th>
  191. ";
  192. }
  193. // line 72
  194. echo "
  195. ";
  196. // line 73
  197. if (($context["show_charset"] ?? null)) {
  198. // line 74
  199. echo " <th>";
  200. echo twig_escape_filter($this->env, ($context["db_charset"] ?? null), "html", null, true);
  201. echo "</th>
  202. ";
  203. }
  204. // line 76
  205. echo " ";
  206. if (($context["show_comment"] ?? null)) {
  207. // line 77
  208. echo " <th></th>
  209. ";
  210. }
  211. // line 79
  212. echo " ";
  213. if (($context["show_creation"] ?? null)) {
  214. // line 80
  215. echo " <th class=\"value tbl_creation\">
  216. ";
  217. // line 81
  218. echo twig_escape_filter($this->env, ((($context["create_time_all"] ?? null)) ? (PhpMyAdmin\Util::localisedDate(strtotime(($context["create_time_all"] ?? null)))) : ("-")), "html", null, true);
  219. echo "
  220. </th>
  221. ";
  222. }
  223. // line 84
  224. echo " ";
  225. if (($context["show_last_update"] ?? null)) {
  226. // line 85
  227. echo " <th class=\"value tbl_last_update\">
  228. ";
  229. // line 86
  230. echo twig_escape_filter($this->env, ((($context["update_time_all"] ?? null)) ? (PhpMyAdmin\Util::localisedDate(strtotime(($context["update_time_all"] ?? null)))) : ("-")), "html", null, true);
  231. echo "
  232. </th>
  233. ";
  234. }
  235. // line 89
  236. echo " ";
  237. if (($context["show_last_check"] ?? null)) {
  238. // line 90
  239. echo " <th class=\"value tbl_last_check\">
  240. ";
  241. // line 91
  242. echo twig_escape_filter($this->env, ((($context["check_time_all"] ?? null)) ? (PhpMyAdmin\Util::localisedDate(strtotime(($context["check_time_all"] ?? null)))) : ("-")), "html", null, true);
  243. echo "
  244. </th>
  245. ";
  246. }
  247. // line 94
  248. echo "</tr>
  249. </tbody>
  250. ";
  251. }
  252. public function getTemplateName()
  253. {
  254. return "database/structure/body_for_table_summary.twig";
  255. }
  256. public function isTraitable()
  257. {
  258. return false;
  259. }
  260. public function getDebugInfo()
  261. {
  262. return array ( 253 => 94, 247 => 91, 244 => 90, 241 => 89, 235 => 86, 232 => 85, 229 => 84, 223 => 81, 220 => 80, 217 => 79, 213 => 77, 210 => 76, 204 => 74, 202 => 73, 199 => 72, 191 => 70, 188 => 69, 185 => 68, 183 => 67, 175 => 65, 172 => 64, 169 => 63, 166 => 62, 164 => 61, 161 => 60, 157 => 58, 151 => 55, 144 => 54, 142 => 53, 135 => 49, 131 => 48, 128 => 47, 125 => 46, 122 => 45, 120 => 44, 117 => 43, 114 => 42, 112 => 41, 110 => 40, 105 => 39, 102 => 38, 99 => 37, 96 => 36, 93 => 34, 91 => 33, 88 => 32, 86 => 31, 83 => 30, 80 => 29, 77 => 28, 75 => 24, 73 => 22, 70 => 21, 67 => 20, 65 => 19, 63 => 18, 56 => 17, 53 => 16, 50 => 15, 47 => 14, 44 => 13, 38 => 11, 36 => 10, 30 => 8, 27 => 6, 25 => 5, 19 => 1,);
  263. }
  264. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  265. public function getSource()
  266. {
  267. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  268. return $this->getSourceContext()->getCode();
  269. }
  270. public function getSourceContext()
  271. {
  272. return new Twig_Source("", "database/structure/body_for_table_summary.twig", "D:\\PHP_www\\phpMyAdmin4.8.5\\templates\\database\\structure\\body_for_table_summary.twig");
  273. }
  274. }