Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/cwpsrv/var/services/pma_01-03-2025.bak/templates/table/structure/ |
Upload File : |
<form method="post" action="tbl_addfield.php" id="addColumns" name="addColumns" onsubmit="return checkFormElementInRange(this, 'num_fields', '<?= str_replace('\'', '\\\'', __('You have to add at least one column.')); ?>', 1)"> <?= PMA\libraries\URL::getHiddenInputs($GLOBALS['db'], $GLOBALS['table']); ?> <?php if (PMA\libraries\Util::showIcons('ActionLinksMode')): ?> <?= PMA\libraries\Util::getImage('b_insrow.png', __('Add column')); ?> <?php endif; ?> <?php $num_fields = '<input type="number" name="num_fields" value="1" onfocus="this.select()" min="1" required />'; ?> <?= sprintf(__('Add %s column(s)'), $num_fields); ?> <input type="hidden" name="field_where" value="after"/> <!-- I tried displaying the drop-down inside the label but with Firefox the drop-down was blinking --> <select name="after_field" onchange="checkFirst()"> <option value="first" data-pos = "first"> <?= __('at beginning of table'); ?> </option> <?php $cols_count = count($columns_list); foreach ($columns_list as $one_column_name): ?> <?php if (--$cols_count == 0): ?> <option value="<?= htmlspecialchars($one_column_name); ?>" selected="selected"> <?php else: ?> <option value="<?= htmlspecialchars($one_column_name); ?>"> <?php endif; ?> <?= sprintf(__('after %s'), htmlspecialchars($one_column_name)); ?> </option> <?php endforeach; ?> </select> <input type="submit" value="<?= __('Go'); ?>" /> </form>