/home2/mshostin/tmp/pma_template_compiles_mshostin/twig/6e/6eed2e4106cc845408151815eb38daa1.php
<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* database/qbe/selection_form.twig */
class __TwigTemplate_4e2047795bca103c6e3332479f39404b extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        yield "<form action=\"";
        yield PhpMyAdmin\Url::getFromRoute("/database/qbe");
        yield "\" method=\"post\" id=\"formQBE\" class=\"lock-page\">
  ";
        // line 2
        yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null));
        yield "

  <div class=\"w-100\">
    <fieldset class=\"pma-fieldset\">

      ";
        // line 7
        yield ($context["saved_searches_field"] ?? null);
        yield "

      <div class=\"table-responsive jsresponsive\">
        <table class=\"table table-borderless table-sm w-auto\">
          <tr class=\"noclick\">
            <th>";
yield _gettext("Column:");
        // line 12
        yield "</th>
            ";
        // line 13
        yield ($context["column_names_row"] ?? null);
        yield "
          </tr>

          <tr class=\"noclick\">
            <th>";
yield _gettext("Alias:");
        // line 17
        yield "</th>
            ";
        // line 18
        yield ($context["column_alias_row"] ?? null);
        yield "
          </tr>

          <tr class=\"noclick\">
            <th>";
yield _gettext("Show:");
        // line 22
        yield "</th>
            ";
        // line 23
        yield ($context["show_row"] ?? null);
        yield "
          </tr>

          <tr class=\"noclick\">
            <th>";
yield _gettext("Sort:");
        // line 27
        yield "</th>
            ";
        // line 28
        yield ($context["sort_row"] ?? null);
        yield "
          </tr>

          <tr class=\"noclick\">
            <th>";
yield _gettext("Sort order:");
        // line 32
        yield "</th>
            ";
        // line 33
        yield ($context["sort_order"] ?? null);
        yield "
          </tr>

          <tr class=\"noclick\">
            <th>";
yield _gettext("Criteria:");
        // line 37
        yield "</th>
            ";
        // line 38
        yield ($context["criteria_input_box_row"] ?? null);
        yield "
          </tr>

          ";
        // line 41
        yield ($context["ins_del_and_or_criteria_rows"] ?? null);
        yield "

          <tr class=\"noclick\">
            <th>";
yield _gettext("Modify:");
        // line 44
        yield "</th>
            ";
        // line 45
        yield ($context["modify_columns_row"] ?? null);
        yield "
          </tr>
        </table>
      </div>
    </fieldset>
  </div>

  <fieldset class=\"pma-fieldset tblFooters\">
    <div class=\"float-start\">
      <label for=\"criteriaRowAddSelect\">";
yield _gettext("Add/Delete criteria rows:");
        // line 54
        yield "</label>
      <select size=\"1\" name=\"criteriaRowAdd\" id=\"criteriaRowAddSelect\">
        <option value=\"-3\">-3</option>
        <option value=\"-2\">-2</option>
        <option value=\"-1\">-1</option>
        <option value=\"0\" selected>0</option>
        <option value=\"1\">1</option>
        <option value=\"2\">2</option>
        <option value=\"3\">3</option>
      </select>
    </div>

    <div class=\"float-start\">
      <label for=\"criteriaColumnAddSelect\">";
yield _gettext("Add/Delete columns:");
        // line 67
        yield "</label>
      <select size=\"1\" name=\"criteriaColumnAdd\" id=\"criteriaColumnAddSelect\">
        <option value=\"-3\">-3</option>
        <option value=\"-2\">-2</option>
        <option value=\"-1\">-1</option>
        <option value=\"0\" selected>0</option>
        <option value=\"1\">1</option>
        <option value=\"2\">2</option>
        <option value=\"3\">3</option>
      </select>
    </div>

    <div class=\"float-start\">
      <input class=\"btn btn-secondary\" type=\"submit\" name=\"modify\" value=\"";
yield _gettext("Update query");
        // line 80
        yield "\">
    </div>
  </fieldset>

  <div class=\"float-start w-100\">
    <fieldset class=\"pma-fieldset\">
      <legend>";
yield _gettext("Use tables");
        // line 86
        yield "</legend>

      <select class=\"resize-vertical\" name=\"TableList[]\" id=\"listTable\" size=\"";
        // line 88
        yield (((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["criteria_tables"] ?? null)) > 30)) ? ("15") : ("7"));
        yield "\" aria-label=\"";
yield _gettext("Use tables");
        yield "\" multiple>
        ";
        // line 89
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["criteria_tables"] ?? null));
        foreach ($context['_seq'] as $context["table"] => $context["selected"]) {
            // line 90
            yield "          <option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["table"], "html", null, true);
            yield "\"";
            yield $context["selected"];
            yield ">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["table"], "html", null, true);
            yield "</option>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['table'], $context['selected'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 92
        yield "      </select>
    </fieldset>

    <fieldset class=\"pma-fieldset tblFooters\">
      <input class=\"btn btn-secondary\" type=\"submit\" name=\"modify\" value=\"";
yield _gettext("Update query");
        // line 96
        yield "\">
    </fieldset>
  </div>
</form>

<form action=\"";
        // line 101
        yield PhpMyAdmin\Url::getFromRoute("/database/qbe");
        yield "\" method=\"post\" class=\"lock-page\">
  ";
        // line 102
        yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
        yield "
  <input type=\"hidden\" name=\"submit_sql\" value=\"1\">

  <div class=\"float-start w-50\">
    <fieldset class=\"pma-fieldset\" id=\"tblQbe\">
      <legend>";
        // line 107
        yield Twig\Extension\CoreExtension::sprintf(_gettext("SQL query on database <b>%s</b>:"), ($context["db_link"] ?? null));
        yield "</legend>

      <textarea cols=\"80\" name=\"sql_query\" id=\"textSqlquery\" rows=\"";
        // line 109
        yield (((Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["criteria_tables"] ?? null)) > 30)) ? ("15") : ("7"));
        yield "\" dir=\"ltr\" aria-label=\"";
yield _gettext("SQL query");
        yield "\">";
        // line 110
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sql_query"] ?? null), "html", null, true);
        // line 111
        yield "</textarea>
    </fieldset>

    <fieldset class=\"pma-fieldset tblFooters\" id=\"tblQbeFooters\">
      <input class=\"btn btn-primary\" type=\"submit\" value=\"";
yield _gettext("Submit query");
        // line 115
        yield "\">
    </fieldset>
  </div>
</form>
";
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "database/qbe/selection_form.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  260 => 115,  253 => 111,  251 => 110,  246 => 109,  241 => 107,  233 => 102,  229 => 101,  222 => 96,  215 => 92,  202 => 90,  198 => 89,  192 => 88,  188 => 86,  179 => 80,  163 => 67,  147 => 54,  134 => 45,  131 => 44,  124 => 41,  118 => 38,  115 => 37,  107 => 33,  104 => 32,  96 => 28,  93 => 27,  85 => 23,  82 => 22,  74 => 18,  71 => 17,  63 => 13,  60 => 12,  51 => 7,  43 => 2,  38 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "database/qbe/selection_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/qbe/selection_form.twig");
    }
}