source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "server/status/base.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 $context["active"] = "queries"; // line 1 $this->parent = $this->loadTemplate("server/status/base.twig", "server/status/queries/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " "; // line 5 if (($context["is_data_loaded"] ?? null)) { // line 6 echo "

"; // line 7 // l10n: Questions is the name of a MySQL Status variable echo _gettext("Questions since startup:"); // line 12 echo " "; echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, ($context["stats"] ?? null), "total", [], "any", false, false, false, 12), 0), "html", null, true); echo " "; // line 13 echo PhpMyAdmin\Util::showMySQLDocu("server-status-variables", false, null, null, "statvar_Questions"); echo "

"; // line 40 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["queries"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["query"]) { // line 41 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['query'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 48 echo "
"; // line 32 echo _gettext("Statements"); echo " "; // line 33 // l10n: # = Amount of queries echo _gettext("#"); echo " ø "; // line 34 echo _gettext("per hour"); echo " %
"; // line 42 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["query"], "name", [], "any", false, false, false, 42), "html", null, true); echo " "; // line 43 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["query"], "value", [], "any", false, false, false, 43), 5, 0, true), "html", null, true); echo " "; // line 44 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["query"], "per_hour", [], "any", false, false, false, 44), 4, 1, true), "html", null, true); echo " "; // line 45 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["query"], "percentage", [], "any", false, false, false, 45), 0, 2), "html", null, true); echo "
env, json_encode(($context["chart"] ?? null)), "html", null, true); echo "\">
"; } else { // line 53 echo " "; echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("Not enough privilege to view query statistics.")]); echo " "; } // line 55 echo " "; } public function getTemplateName() { return "server/status/queries/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 172 => 55, 166 => 53, 161 => 51, 156 => 48, 147 => 45, 143 => 44, 139 => 43, 135 => 42, 132 => 41, 128 => 40, 119 => 34, 114 => 33, 110 => 32, 98 => 22, 90 => 20, 88 => 19, 82 => 18, 76 => 17, 69 => 13, 64 => 12, 61 => 7, 58 => 6, 56 => 5, 53 => 4, 49 => 3, 44 => 1, 42 => 2, 35 => 1,); } public function getSourceContext() { return new Source("", "server/status/queries/index.twig", "/usr/local/www/phpMyAdmin/templates/server/status/queries/index.twig"); } }