0) { // this function is defined in "common.lib.php" // it defines $num_dbs and $dblist PMA_availableDatabases(); if ( empty( $db ) && count( $dblist ) === 1 ) { reset( $dblist ); $db = current( $dblist ); } } else { $num_dbs = 0; } $db = isset( $db ) ? $db : ''; $table = isset( $table ) ? $table : ''; $db_start = $db; // garvin: For re-usability, moved http-headers // to a seperate file. It can now be included by header.inc.php, // querywindow.php. require_once('./libraries/header_http.inc.php'); /** * Displays the frame */ // remove vertical scroll bar bug in ie echo ""; ?> phpMyAdmin ' . $strNoDatabases . '

'; /** * Close MySql connections */ if (isset($dbh) && $dbh) { @PMA_DBI_close($dbh); } if (isset($userlink) && $userlink) { @PMA_DBI_close($userlink); } /** * Sends bufferized data */ if ( $GLOBALS['cfg']['OBGzip'] && isset( $ob_mode ) && $ob_mode ) { PMA_outBufferPost( $ob_mode ); } exit(); } elseif ( $GLOBALS['cfg']['LeftFrameLight'] && $num_dbs > 1 ) { // more than one database available and LeftFrameLight is true // display db selectbox $_location = PMA_generate_common_url( '', '' ); ?>
' . "\n" .'' . "\n" .'' . "\n" .'
' . "\n" .'
' . "\n"; unset( $_location ); } ?>
beginning of the select combo for databases // Note: When javascript is active, the frameset will be changed from // within left.php. With no JS (