Exemplo n.º 1
0
        ?>
</b><br>
                        <input type="text" class="form-control" size="16" maxlength="128" name="db_sysfield" value="<?php 
        echo $s_systable['ffield'];
        ?>
">
                    <?php 
    }
    ?>
                </div>
            </td>
            <td>
                <div id="systable_value">
                    <?php 
    if (!empty($s_systable['ffield'])) {
        echo systable_value_select($s_systable['table'], $s_systable['ffield'], $s_systable['fvalue']);
    } else {
        ?>
                        <b><?php 
        echo $db_strings['FValue'];
        ?>
</b><br>
                        <input type="text" class="form-control" size="16" maxlength="128" name="db_sysvalue" value="<?php 
        echo $s_systable['fvalue'];
        ?>
">
                    <?php 
    }
    ?>
                </div>
            </td>
function systable_filter_values($table, $field)
{
    require '../inc/system_table.inc.php';
    $html = systable_value_select($table, $field);
    $s_systable['ffield'] = $field;
    $s_systable['fvalue'] = '';
    header('Content-Type: text/html;charset=' . $GLOBALS['charset']);
    echo $html;
}