Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : 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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /usr/share/phpmyadmin/templates/table/search/ |
Upload File : |
<form method="post" action="tbl_find_replace.php" name="previewForm" id="previewForm"> <?php echo PMA_URL_getHiddenInputs($db, $table); ?> <input type="hidden" name="replace" value="true" /> <input type="hidden" name="columnIndex" value="<?php echo $columnIndex; ?>" /> <input type="hidden" name="findString" value="<?php echo htmlspecialchars($find); ?>" /> <input type="hidden" name="replaceWith" value="<?php echo htmlspecialchars($replaceWith); ?>" /> <input type="hidden" name="useRegex" value="<?php echo $useRegex; ?>" /> <fieldset id="fieldset_find_replace_preview"> <legend><?php echo __('Find and replace - preview'); ?></legend> <table id="previewTable"> <thead> <tr> <th><?php echo __('Count'); ?></th> <th><?php echo __('Original string'); ?></th> <th><?php echo __('Replaced string'); ?></th> </tr> </thead> <tbody> <?php $odd = true; ?> <?php if (is_array($result)): ?> <?php foreach ($result as $row): ?> <?php $val = $row[0]; $replaced = $row[1]; $count = $row[2]; ?> <tr class="<?php echo ($odd ? 'odd' : 'even'); ?>"> <td class="right"><?php echo htmlspecialchars($count); ?></td> <td><?php echo htmlspecialchars($val); ?></td> <td><?php echo htmlspecialchars($replaced); ?></td> </tr> <?php $odd = ! $odd; ?> <?php endforeach; ?> <?php endif; ?> </tbody> </table> </fieldset> <fieldset class="tblFooters"> <input type="submit" name="replace" value="<?php echo __('Replace'); ?>" /> </fieldset> </form>