0) { PMA_availableDatabases(); // this function is defined in "common.lib.php3" } else { $num_dbs = 0; } /** * Send http headers */ // Don't use cache (required for Opera) $now = gmdate('D, d M Y H:i:s') . ' GMT'; header('Expires: ' . $now); header('Last-Modified: ' . $now); header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 header('Pragma: no-cache'); // HTTP/1.0 // Define the charset to be used header('Content-Type: text/html; charset=' . $charset); /** * Displays the frame */ // Gets the font sizes to use PMA_setFontSizes(); ?> phpMyAdmin /> '; $input_query_history[] = ''; $input_query_history[] = ''; $sql_history[] = '
  • [' . htmlspecialchars($query_history_latest_db) . '] ' . urldecode($query_history_latest) . '
  • ' . "\n"; $sql_query = urldecode($query_history_latest); $db = $query_history_latest_db; $table = $query_history_latest_table; $show_query = 1; $dup_sql[$query_history_latest] = true; } if (isset($query_history) && is_array($query_history)) { $current_index = count($query_history); @reset($query_history); while(list($query_no, $query_sql) = each($query_history)) { if (!isset($dup_sql[$query_sql])) { $input_query_history[] = ''; $input_query_history[] = ''; $input_query_history[] = ''; $sql_history[] = '
  • [' . htmlspecialchars($query_history_db[$query_no]) . '] ' . urldecode($query_sql) . '
  • ' . "\n"; $dup_sql[$query_sql] = true; } } } } $url_query = PMA_generate_common_url(isset($db) ? $db : '', isset($table) ? $table : ''); if (!isset($goto)) { $goto = ''; } require './libraries/bookmark.lib.php3'; require './tbl_query_box.php3'; // Hidden forms and query frame interaction stuff if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) { if (isset($auto_commit) && $auto_commit == 'true') { ?> 0) { ?>
    • ' . implode('', $sql_history) . '
    '; ?>
  • 0) { echo implode("\n", $input_query_history); } ?>