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 8 // l10n: Questions is the name of a MySQL Status variable echo _gettext("Questions since startup:"); // line 13 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, 13), 0), "html", null, true); echo " "; // line 14 echo \PhpMyAdmin\Html\MySQLDocumentation::show("server-status-variables", false, null, null, "statvar_Questions"); echo "

"; // line 45 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["queries"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["query"]) { // line 46 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 53 echo "
"; // line 37 echo _gettext("Statements"); echo " "; // line 38 // l10n: # = Amount of queries echo _gettext("#"); echo " "; // line 39 echo _gettext("ø per hour"); echo " %
"; // line 47 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["query"], "name", [], "any", false, false, false, 47), "html", null, true); echo " "; // line 48 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["query"], "value", [], "any", false, false, false, 48), 5, 0, true), "html", null, true); echo " "; // line 49 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["query"], "per_hour", [], "any", false, false, false, 49), 4, 1, true), "html", null, true); echo " "; // line 50 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["query"], "percentage", [], "any", false, false, false, 50), 0, 2), "html", null, true); echo "
env, json_encode(($context["chart"] ?? null)), "html", null, true); echo "\">
"; } else { // line 59 echo " "; echo call_user_func_array($this->env->getFilter('error')->getCallable(), [_gettext("Not enough privilege to view query statistics.")]); echo " "; } // line 61 echo " "; } public function getTemplateName() { return "server/status/queries/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 178 => 61, 172 => 59, 166 => 56, 161 => 53, 152 => 50, 148 => 49, 144 => 48, 140 => 47, 137 => 46, 133 => 45, 124 => 39, 119 => 38, 115 => 37, 101 => 25, 93 => 23, 91 => 22, 85 => 21, 79 => 20, 70 => 14, 65 => 13, 62 => 8, 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", "/var/www/localhost/htdocs/phpmyadmin/templates/server/status/queries/index.twig"); } }