Пример #1
0
    echo $db_strings['SysData'];
    ?>
</b><br>&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="checkbox" name="db_sysdata" <?php 
    if ($s_systable['sysdata'] == TRUE) {
        echo 'checked';
    }
    ?>
>
            </td>
            <td>&nbsp;&nbsp;</td>
            <td>
                <div id="systable_field">
                    <?php 
    if (!empty($s_systable['table'])) {
        echo systable_field_select($s_systable['table'], $s_systable['ffield']);
    } else {
        ?>
                        <b><?php 
        echo $db_strings['FField'];
        ?>
</b><br>
                        <input type="text" class="form-control" size="16" maxlength="128" name="db_sysfield" value="<?php 
        echo $s_systable['ffield'];
        ?>
">
                    <?php 
    }
    ?>
                </div>
            </td>
function systable_filter_fields($table)
{
    require '../inc/system_table.inc.php';
    $html = systable_field_select($table);
    $s_systable['table'] = $table;
    $s_systable['ffield'] = '';
    $s_systable['fvalue'] = '';
    header('Content-Type: text/html;charset=' . $GLOBALS['charset']);
    echo $html;
}