= 7)) ? "\n" . ' onfocus="if (typeof(document.layers) == \'undefined\' || typeof(textarea_selected) == \'undefined\') {textarea_selected = 1; this.form.elements[\'sql_query\'].select();}"' : ''; // garvin: If non-JS query window is embedded, display a list of databases to choose from. // Apart from that, a non-js query window sucks badly. if ($cfg['QueryFrame'] && (!$cfg['QueryFrameJS'] || ($cfg['QueryFrameJS'] && !$db))) { /** * Get the list and number of available databases. */ if ($server > 0) { PMA_availableDatabases(); // this function is defined in "common.lib.php3" } else { $num_dbs = 0; } if ($num_dbs > 0) { $queryframe_db_list = ''; } } else { $queryframe_db_list = ''; } ?>
onsubmit="return checkSqlQuery(this)" name="sqlform"> 0) { ?>
' : ' ') . PMA_showMySQLDocu('Reference', 'SELECT'); ?>
' : '') . $strFields; ?>:


 
' . $strOr . '' : '') . ' ' . $strLocationTextfile . ' :
' . "\n"; ?>

' . "\n" . ' ' . "\n"; while ($temp_charset = next($cfg['AvailableCharsets'])) { echo ' ' . "\n"; } // end while echo '
' . "\n" . ' '; } // end if $is_gzip = ($cfg['GZipDump'] && @function_exists('gzopen')); $is_bzip = ($cfg['BZipDump'] && @function_exists('bzdecompress')); if ($is_bzip || $is_gzip) { echo ' ' . $strCompression . ':' . "\n" . ' ' . "\n" . '    ' . "\n" . ' ' . "\n" . '    ' . "\n"; if ($is_gzip) { echo ' ' . "\n" . '    ' . "\n"; } if ($is_bzip) { echo ' ' . "\n" . '    ' . "\n"; } } else { echo ' ' . "\n"; } ?>
' . $strOr . '' : '') . ' ' . $strWebServerUploadDirectory . ' :
' . "\n"; echo '
' . "\n"; echo ' ' . "\n" . '
' . "\n\n"; } // end if (isfirst > 0) @closedir($handle); } else { echo '
' . "\n"; echo ' ' . $strError . '
' . "\n"; echo ' ' . $strWebServerUploadDirectoryError . "\n"; echo '
' . "\n"; } } // end if (web-server upload directory) echo "\n"; // Encoding setting form appended by Y.Kawada if (function_exists('PMA_set_enc_form')) { echo PMA_set_enc_form(' '); } // Bookmark Support $bookmark_go = FALSE; if (!isset($is_inside_querywindow) || (isset($is_inside_querywindow) && $is_inside_querywindow == TRUE && isset($querydisplay_tab) && ($querydisplay_tab == 'history' || $querydisplay_tab == 'full'))) { if ($cfg['Bookmark']['db'] && $cfg['Bookmark']['table']) { if (($bookmark_list = PMA_listBookmarks($db, $cfg['Bookmark'])) && count($bookmark_list) > 0) { echo " " . ((isset($is_inside_querywindow) && $is_inside_querywindow == TRUE && isset($querydisplay_tab) && $querydisplay_tab == 'full') || !isset($is_inside_querywindow) ? "$strOr" : '') . " $strBookmarkQuery :
\n"; echo '
' . "\n"; echo ' ' . "
\n"; echo ' ' . $strVar . ' (' . $strDocu . '): ' . "\n"; echo ' ' . "\n"; echo '  ' . "\n"; echo '  ' . "\n"; echo '
' . "\n"; echo '
' . "\n"; $bookmark_go = TRUE; } } } if (!isset($is_inside_querywindow) || (isset($is_inside_querywindow) && $is_inside_querywindow == TRUE && isset($querydisplay_tab) && ($querydisplay_tab == 'files' || $querydisplay_tab == 'sql' || $querydisplay_tab == 'full' || ($querydisplay_tab == 'history' && $bookmark_go))) && isset($db) && $db != '') { ?>

  • >