| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/PMA_V9ihNO9bwoMp/templates/columns_definitions/ |
Upload File : |
<?php
$options = array(
'' => '',
'VIRTUAL' => 'VIRTUAL',
);
$serverType = PMA\libraries\Util::getServerType();
if ($serverType == 'MariaDB') {
$options['PERSISTENT'] = 'PERSISTENT';
} else {
$options['STORED'] = 'STORED';
}
$expression = '';
if (isset($columnMeta['Expression'])) {
$expression = $columnMeta['Expression'];
}
?>
<select name="field_virtuality[<?= $columnNumber; ?>]"
id="field_<?= $columnNumber; ?>_<?=($ci - $ci_offset); ?>"
class="virtuality">
<?php foreach ($options as $key => $value): ?>
<option value="<?= $key; ?>"
<?php if (isset($columnMeta['Extra'])
&& $key != ''
&& strpos($columnMeta['Extra'], $key) === 0): ?>
selected="selected"
<?php endif; ?>>
<?= $value; ?>
</option>
<?php endforeach; ?>
</select>
<br />
<?php if ($GLOBALS['cfg']['CharEditing'] == 'textarea'): ?>
<textarea name="field_expression[<?= $columnNumber; ?>]"
cols="15"
class="textfield
expression">
<?= htmlspecialchars($expression); ?>
</textarea>
<?php else: ?>
<input type="text"
name="field_expression[<?= $columnNumber; ?>]"
size="12"
value="<?= htmlspecialchars($expression); ?>"
placeholder="<?= __('Expression'); ?>"
class="textfield expression" />
<?php endif; ?>