981b8d15fe77668a1b347a2b1c05baaff1468ed407cd6e83d52956f6a708196f.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <?php
  2. /* table/structure/row_stats_table.twig */
  3. class __TwigTemplate_165481b88a7b19bc0aad79d1f97408c621741a8a6d1953cca4f9baf34d035f90 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 "<table id=\"tablerowstats\" class=\"width100 data\">
  16. <caption class=\"tblHeaders\">";
  17. // line 2
  18. echo _gettext("Row statistics");
  19. echo "</caption>
  20. <tbody>
  21. ";
  22. // line 4
  23. if ($this->getAttribute(($context["showtable"] ?? null), "Row_format", [], "array", true, true)) {
  24. // line 5
  25. echo " <tr>
  26. <th class=\"name\">";
  27. // line 6
  28. echo _gettext("Format");
  29. echo "</th>
  30. ";
  31. // line 7
  32. if (($this->getAttribute(($context["showtable"] ?? null), "Row_format", [], "array") == "Fixed")) {
  33. // line 8
  34. echo " <td class=\"value\">";
  35. echo _gettext("static");
  36. echo "</td>
  37. ";
  38. } elseif (($this->getAttribute( // line 9
  39. ($context["showtable"] ?? null), "Row_format", [], "array") == "Dynamic")) {
  40. // line 10
  41. echo " <td class=\"value\">";
  42. echo _gettext("dynamic");
  43. echo "</td>
  44. ";
  45. } else {
  46. // line 12
  47. echo " <td class=\"value\">";
  48. echo twig_escape_filter($this->env, $this->getAttribute(($context["showtable"] ?? null), "Row_format", [], "array"), "html", null, true);
  49. echo "</td>
  50. ";
  51. }
  52. // line 14
  53. echo " </tr>
  54. ";
  55. }
  56. // line 16
  57. echo "
  58. ";
  59. // line 17
  60. if ( !twig_test_empty($this->getAttribute(($context["showtable"] ?? null), "Create_options", [], "array"))) {
  61. // line 18
  62. echo " <tr>
  63. <th class=\"name\">";
  64. // line 19
  65. echo _gettext("Options");
  66. echo "</th>
  67. ";
  68. // line 20
  69. if (($this->getAttribute(($context["showtable"] ?? null), "Create_options", [], "array") == "partitioned")) {
  70. // line 21
  71. echo " <td class=\"value\">";
  72. echo _gettext("partitioned");
  73. echo "</td>
  74. ";
  75. } else {
  76. // line 23
  77. echo " <td class=\"value\">";
  78. echo twig_escape_filter($this->env, $this->getAttribute(($context["showtable"] ?? null), "Create_options", [], "array"), "html", null, true);
  79. echo "</td>
  80. ";
  81. }
  82. // line 25
  83. echo " </tr>
  84. ";
  85. }
  86. // line 27
  87. echo "
  88. ";
  89. // line 28
  90. if ( !twig_test_empty(($context["tbl_collation"] ?? null))) {
  91. // line 29
  92. echo " <tr>
  93. <th class=\"name\">";
  94. // line 30
  95. echo _gettext("Collation");
  96. echo "</th>
  97. <td class=\"value\">
  98. <dfn title=\"";
  99. // line 32
  100. echo twig_escape_filter($this->env, PhpMyAdmin\Charsets::getCollationDescr(($context["tbl_collation"] ?? null)), "html", null, true);
  101. echo "\">
  102. ";
  103. // line 33
  104. echo twig_escape_filter($this->env, ($context["tbl_collation"] ?? null), "html", null, true);
  105. echo "
  106. </dfn>
  107. </td>
  108. </tr>
  109. ";
  110. }
  111. // line 38
  112. echo "
  113. ";
  114. // line 39
  115. if (( !($context["is_innodb"] ?? null) && $this->getAttribute(($context["showtable"] ?? null), "Rows", [], "array", true, true))) {
  116. // line 40
  117. echo " <tr>
  118. <th class=\"name\">";
  119. // line 41
  120. echo _gettext("Rows");
  121. echo "</th>
  122. <td class=\"value\">";
  123. // line 42
  124. echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber($this->getAttribute(($context["showtable"] ?? null), "Rows", [], "array"), 0), "html", null, true);
  125. echo "</td>
  126. </tr>
  127. ";
  128. }
  129. // line 45
  130. echo "
  131. ";
  132. // line 46
  133. if ((( !($context["is_innodb"] ?? null) && $this->getAttribute( // line 47
  134. ($context["showtable"] ?? null), "Avg_row_length", [], "array", true, true)) && ($this->getAttribute( // line 48
  135. ($context["showtable"] ?? null), "Avg_row_length", [], "array") > 0))) {
  136. // line 49
  137. echo " <tr>
  138. <th class=\"name\">";
  139. // line 50
  140. echo _gettext("Row length");
  141. echo "</th>
  142. ";
  143. // line 51
  144. $context["avg_row_length"] = PhpMyAdmin\Util::formatByteDown($this->getAttribute(($context["showtable"] ?? null), "Avg_row_length", [], "array"), 6, 1);
  145. // line 52
  146. echo " <td class=\"value\">";
  147. echo twig_escape_filter($this->env, $this->getAttribute(($context["avg_row_length"] ?? null), 0, [], "array"), "html", null, true);
  148. echo " ";
  149. echo twig_escape_filter($this->env, $this->getAttribute(($context["avg_row_length"] ?? null), 1, [], "array"), "html", null, true);
  150. echo "</td>
  151. </tr>
  152. ";
  153. }
  154. // line 55
  155. echo "
  156. ";
  157. // line 56
  158. if ((((( !($context["is_innodb"] ?? null) && $this->getAttribute( // line 57
  159. ($context["showtable"] ?? null), "Data_length", [], "array", true, true)) && $this->getAttribute( // line 58
  160. ($context["showtable"] ?? null), "Rows", [], "array", true, true)) && ($this->getAttribute( // line 59
  161. ($context["showtable"] ?? null), "Rows", [], "array") > 0)) && ( // line 60
  162. ($context["mergetable"] ?? null) == false))) {
  163. // line 61
  164. echo " <tr>
  165. <th class=\"name\">";
  166. // line 62
  167. echo _gettext("Row size");
  168. echo "</th>
  169. <td class=\"value\">";
  170. // line 63
  171. echo twig_escape_filter($this->env, ($context["avg_size"] ?? null), "html", null, true);
  172. echo " ";
  173. echo twig_escape_filter($this->env, ($context["avg_unit"] ?? null), "html", null, true);
  174. echo "</td>
  175. </tr>
  176. ";
  177. }
  178. // line 66
  179. echo "
  180. ";
  181. // line 67
  182. if ($this->getAttribute(($context["showtable"] ?? null), "Auto_increment", [], "array", true, true)) {
  183. // line 68
  184. echo " <tr>
  185. <th class=\"name\">";
  186. // line 69
  187. echo _gettext("Next autoindex");
  188. echo "</th>
  189. <td class=\"value\">";
  190. // line 70
  191. echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber($this->getAttribute(($context["showtable"] ?? null), "Auto_increment", [], "array"), 0), "html", null, true);
  192. echo "</td>
  193. </tr>
  194. ";
  195. }
  196. // line 73
  197. echo "
  198. ";
  199. // line 74
  200. if ($this->getAttribute(($context["showtable"] ?? null), "Create_time", [], "array", true, true)) {
  201. // line 75
  202. echo " <tr>
  203. <th class=\"name\">";
  204. // line 76
  205. echo _gettext("Creation");
  206. echo "</th>
  207. <td class=\"value\">";
  208. // line 77
  209. echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, $this->getAttribute(($context["showtable"] ?? null), "Create_time", [], "array"), "U")), "html", null, true);
  210. echo "</td>
  211. </tr>
  212. ";
  213. }
  214. // line 80
  215. echo "
  216. ";
  217. // line 81
  218. if ($this->getAttribute(($context["showtable"] ?? null), "Update_time", [], "array", true, true)) {
  219. // line 82
  220. echo " <tr>
  221. <th class=\"name\">";
  222. // line 83
  223. echo _gettext("Last update");
  224. echo "</th>
  225. <td class=\"value\">";
  226. // line 84
  227. echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, $this->getAttribute(($context["showtable"] ?? null), "Update_time", [], "array"), "U")), "html", null, true);
  228. echo "</td>
  229. </tr>
  230. ";
  231. }
  232. // line 87
  233. echo "
  234. ";
  235. // line 88
  236. if ($this->getAttribute(($context["showtable"] ?? null), "Check_time", [], "array", true, true)) {
  237. // line 89
  238. echo " <tr>
  239. <th class=\"name\">";
  240. // line 90
  241. echo _gettext("Last check");
  242. echo "</th>
  243. <td class=\"value\">";
  244. // line 91
  245. echo twig_escape_filter($this->env, PhpMyAdmin\Util::localisedDate(twig_date_format_filter($this->env, $this->getAttribute(($context["showtable"] ?? null), "Check_time", [], "array"), "U")), "html", null, true);
  246. echo "</td>
  247. </tr>
  248. ";
  249. }
  250. // line 94
  251. echo "</tbody>
  252. </table>
  253. ";
  254. }
  255. public function getTemplateName()
  256. {
  257. return "table/structure/row_stats_table.twig";
  258. }
  259. public function isTraitable()
  260. {
  261. return false;
  262. }
  263. public function getDebugInfo()
  264. {
  265. return array ( 255 => 94, 249 => 91, 245 => 90, 242 => 89, 240 => 88, 237 => 87, 231 => 84, 227 => 83, 224 => 82, 222 => 81, 219 => 80, 213 => 77, 209 => 76, 206 => 75, 204 => 74, 201 => 73, 195 => 70, 191 => 69, 188 => 68, 186 => 67, 183 => 66, 175 => 63, 171 => 62, 168 => 61, 166 => 60, 165 => 59, 164 => 58, 163 => 57, 162 => 56, 159 => 55, 150 => 52, 148 => 51, 144 => 50, 141 => 49, 139 => 48, 138 => 47, 137 => 46, 134 => 45, 128 => 42, 124 => 41, 121 => 40, 119 => 39, 116 => 38, 108 => 33, 104 => 32, 99 => 30, 96 => 29, 94 => 28, 91 => 27, 87 => 25, 81 => 23, 75 => 21, 73 => 20, 69 => 19, 66 => 18, 64 => 17, 61 => 16, 57 => 14, 51 => 12, 45 => 10, 43 => 9, 38 => 8, 36 => 7, 32 => 6, 29 => 5, 27 => 4, 22 => 2, 19 => 1,);
  266. }
  267. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  268. public function getSource()
  269. {
  270. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  271. return $this->getSourceContext()->getCode();
  272. }
  273. public function getSourceContext()
  274. {
  275. return new Twig_Source("", "table/structure/row_stats_table.twig", "D:\\PHP_www\\phpMyAdmin4.8.5\\templates\\table\\structure\\row_stats_table.twig");
  276. }
  277. }