123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?php require_once 'auth.php'; ?>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <title><?=getTitle(__FILE__)?></title>
- <link rel="stylesheet" href="phpME.css" type="text/css"></link>
- </head>
- <body>
- <script language=javascript>
- function windowOpen(u,W,H) {
- TopPosition = (screen.height) ? (screen.height-H)/2 : 0;
- LeftPosition = (screen.width) ? (screen.width-W)/2 : 0;
- settings = 'height='+H+',width='+W+',top='+TopPosition+',left='+LeftPosition+
- ',scrollbars=1,resizable=0,toolbar=0,location=0,directories=0,status=0,menubar=0';
- win = window.open(u,'_blank',settings);
- return win;
- }
- function exporttable(tb) {
-
- location.href = ('exporttable.php?tableid='+tb);
- }
- </script>
- <h3><?=getTitle(__FILE__)?></h3>
- <?php
- $opts['tb'] = 'qb_setting';
- $opts['tb2'] = 'qb_setting';
- $opts['key'] = 'id';
- $opts['key_type'] = 'int';
- $opts['sort_field'] = array('id');
- $opts['inc'] = 25;
- $opts['options'] = 'ACDF';
- $opts['multiple'] = '4';
- $opts['navigation'] = 'UG';
- $opts['display'] = array(
- 'form' => true,
- 'query' => true,
- 'sort' => true,
- 'time' => true,
- 'tabs' => true
- );
- $opts['logtable'] = 'qb_changelog';
- $opts['language'] = $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'];
- $opts['filters'] = " name = 'logtable' ";
- $opts['fdd']['id'] = array(
- 'name' => 'ID',
- 'select' => 'T',
- 'options' => 'AVCPDR',
- 'maxlen' => 11,
- 'default' => '0',
- 'sort' => true
- );
- $opts['fdd']['name'] = array(
- 'name' => 'Name',
- 'select' => 'T',
- 'maxlen' => 255,
- 'sort' => true,
- 'default' => 'logtable',
- 'input' => 'R'
- );
- $arr = $arrMODTABLE;
- unset($arr['qb_module']);
- unset($arr['qb_changelog']);
- unset($arr['qb_sessions']);
- $opts['fdd']['value'] = array(
- 'name' => 'Value',
- 'select' => 'M',
- 'maxlen' => 65535,
- 'sort' => true,
- 'values2' => $arr
- );
- $opts['multiple'] = count($arr);
- $moduleId = 'Setting';
- $opts['options'] = getUserOptions($moduleId, $opts['options']);
- $opts['filters'] = getUserFilters($moduleId, $opts['filters']);
- require_once 'phpMyEdit.class.php';
- new phpMyEdit($opts);
- ?>
- </body>
- </html>
|