source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 $this->loadTemplate("secondary_tabs.twig", "database/multi_table_query/form.twig", 1)->display(twig_to_array(["url_params" => ["db" => // line 3 ($context["db"] ?? null)], "sub_tabs" => [0 => ["link" => "db_multi_table_query.php", "text" => _gettext("Multi-table query")], 1 => ["link" => "db_qbe.php", "text" => _gettext("Query by example")]]])); // line 16 $this->loadTemplate("div_for_slider_effect.twig", "database/multi_table_query/form.twig", 16)->display(twig_to_array(["id" => "query_div", "message" => _gettext("Query window"), "initial_sliders_state" => "open"])); // line 21 echo "
env, ($context["db"] ?? null), "html", null, true); echo "\">
"; // line 24 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["table"]) { // line 25 echo "
env, twig_get_attribute($this->env, $this->source, $context["table"], "hash", [], "any", false, false, false, 25), "html", null, true); echo "\"> "; // line 27 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["table"], "columns", [], "any", false, false, false, 27)); foreach ($context['_seq'] as $context["_key"] => $context["column"]) { // line 28 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 30 echo "
"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['table'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 32 echo " "; // line 33 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(range(0, ($context["default_no_of_columns"] ?? null))); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["id"]) { // line 34 echo " "; if (($context["id"] == 0)) { echo "
"; } // line 35 echo "
.
"; // line 48 echo _gettext("Show"); echo "

"; // line 56 $this->loadTemplate("div_for_slider_effect.twig", "database/multi_table_query/form.twig", 56)->display(twig_array_merge($context, ["id" => ("criteria_div" . // line 57 $context["id"]), "initial_sliders_state" => "closed", "message" => _gettext("criteria")])); // line 61 echo "
"; // line 65 echo _gettext("Sort"); echo " env, $context["id"], "html", null, true); echo "]\">"; echo _gettext("Ascending"); echo " env, $context["id"], "html", null, true); echo "]\">"; echo _gettext("Descending"); echo "
"; // line 71 echo _gettext("Add as"); echo " env, $context["id"], "html", null, true); echo "]\" value=\"AND\" class=\"logical_op\" checked=\"checked\"> AND env, $context["id"], "html", null, true); echo "]\" value=\"OR\" class=\"logical_op\"> OR
Op
.
X
"; // line 158 if (($context["id"] == 0)) { echo ""; } // line 159 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['id'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 160 echo "
"; // line 166 $___internal_5b500097b92609c6c7b1521f079afe3f71f0f00875246c8d8c17a1ee83bf4bba_ = ('' === $tmp = " ") ? '' : new Markup($tmp, $this->env->getCharset()); echo twig_spaceless($___internal_5b500097b92609c6c7b1521f079afe3f71f0f00875246c8d8c17a1ee83bf4bba_); // line 175 echo "
"; // line 184 echo "
"; } public function getTemplateName() { return "database/multi_table_query/form.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 373 => 184, 367 => 180, 363 => 179, 357 => 175, 347 => 166, 340 => 162, 336 => 160, 322 => 159, 318 => 158, 309 => 152, 298 => 144, 284 => 133, 278 => 129, 267 => 127, 263 => 126, 259 => 125, 247 => 116, 243 => 115, 207 => 82, 196 => 74, 190 => 71, 181 => 67, 175 => 66, 171 => 65, 165 => 61, 163 => 57, 162 => 56, 157 => 54, 151 => 51, 147 => 50, 142 => 48, 135 => 44, 130 => 41, 119 => 39, 115 => 38, 111 => 37, 107 => 35, 102 => 34, 85 => 33, 82 => 32, 75 => 30, 64 => 28, 60 => 27, 54 => 25, 50 => 24, 45 => 22, 42 => 21, 40 => 16, 38 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "database/multi_table_query/form.twig", "/var/www/localhost/htdocs/phpmyadmin/templates/database/multi_table_query/form.twig"); } }