HEX
Server: LiteSpeed
System: Linux cpir1.prohostdns.com 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: pelakir (2976)
PHP: 8.2.31
Disabled: exec, shell_exec, system, passthru, proc_open, proc_close, proc_terminate, proc_get_status, popen, pclose, pcntl_exec
Upload Files
File: /home/pelakir/tmp/pma_template_compiles_pelakir/twig/ce/ce5ce90c98c1236deb7cd4ded2275170.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;

/* table/find_replace/replace_preview.twig */
class __TwigTemplate_a212ad063bb3a84061e2a6996ade0dcf 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 method=\"post\" action=\"";
        yield PhpMyAdmin\Url::getFromRoute("/table/find-replace");
        yield "\">
  ";
        // line 2
        yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
        yield "
  <input type=\"hidden\" name=\"replace\" value=\"true\">
  <input type=\"hidden\" name=\"columnIndex\" value=\"";
        // line 4
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true);
        yield "\">
  <input type=\"hidden\" name=\"findString\" value=\"";
        // line 5
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["find"] ?? null), "html", null, true);
        yield "\">
  <input type=\"hidden\" name=\"replaceWith\" value=\"";
        // line 6
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["replace_with"] ?? null), "html", null, true);
        yield "\">
  <input type=\"hidden\" name=\"useRegex\" value=\"";
        // line 7
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["use_regex"] ?? null), "html", null, true);
        yield "\">

  <div class=\"card\">
    <div class=\"card-header\">";
yield _gettext("Find and replace - preview");
        // line 10
        yield "</div>

    <div class=\"card-body\">
      <table class=\"table table-striped w-auto\">
        <thead>
          <tr>
            <th>";
yield _gettext("Count");
        // line 16
        yield "</th>
            <th>";
yield _gettext("Original string");
        // line 17
        yield "</th>
            <th>";
yield _gettext("Replaced string");
        // line 18
        yield "</th>
          </tr>
        </thead>
        <tbody>
          ";
        // line 22
        if (is_iterable(($context["result"] ?? null))) {
            // line 23
            yield "            ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["result"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
                // line 24
                yield "              <tr>
                <td class=\"text-end\">";
                // line 25
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = $context["row"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[2] ?? null) : null), "html", null, true);
                yield "</td>
                <td>";
                // line 26
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = $context["row"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[0] ?? null) : null), "html", null, true);
                yield "</td>
                <td>";
                // line 27
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = $context["row"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[1] ?? null) : null), "html", null, true);
                yield "</td>
              </tr>
            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 30
            yield "          ";
        }
        // line 31
        yield "        </tbody>
      </table>
    </div>

    <div class=\"card-footer\">
      <input class=\"btn btn-secondary\" type=\"submit\" name=\"replace\" value=\"";
yield _gettext("Replace");
        // line 36
        yield "\">
    </div>
  </div>
</form>
";
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "table/find_replace/replace_preview.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  128 => 36,  120 => 31,  117 => 30,  108 => 27,  104 => 26,  100 => 25,  97 => 24,  92 => 23,  90 => 22,  84 => 18,  80 => 17,  76 => 16,  67 => 10,  60 => 7,  56 => 6,  52 => 5,  48 => 4,  43 => 2,  38 => 1,);
    }

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