'; if ('both' === $GLOBALS['cfg']['PropertiesIconic']) { $titles['Change'] .= $GLOBALS['strChange']; } } else { $titles['Change'] = $GLOBALS['strChange']; } $url_query = PMA_generate_common_url($db, $table); if (! empty($sql_query)) { $show_query = 1; } if ($no_js) { // ... we redirect to appropriate query sql page // works only full if $db and $table is also stored/grabbed from $_COOKIE if (strlen($table)) { require './tbl_sql.php'; } elseif (strlen($db)) { require './db_sql.php'; } else { require './server_sql.php'; } exit; } /** * Defines the query to be displayed in the query textarea */ if (! empty($show_query)) { $query_to_display = $sql_query; } else { $query_to_display = ''; } $sql_query = ''; /** * prepare JavaScript functionality */ $js_include[] = 'common.js'; $js_include[] = 'functions.js'; $js_include[] = 'querywindow.js'; if (PMA_isValid($_REQUEST['auto_commit'], 'identical', 'true')) { $js_events[] = array( 'object' => 'window', 'event' => 'load', 'function' => 'PMA_queryAutoCommit', ); } if (PMA_isValid($_REQUEST['init'])) { $js_events[] = array( 'object' => 'window', 'event' => 'load', 'function' => 'PMA_querywindowResize', ); } // always set focus to the textarea if ($querydisplay_tab == 'sql' || $querydisplay_tab == 'full') { $js_events[] = array( 'object' => 'window', 'event' => 'load', 'function' => 'PMA_querywindowSetFocus', ); } /** * start HTTP/HTML output */ require_once './libraries/header_http.inc.php'; require_once './libraries/header_meta_style.inc.php'; require_once './libraries/header_scripts.inc.php'; ?>
' . "\n" .'' . "\n"; } ?>