0) { // this function is defined in "common.lib.php" // it defines $num_dbs and $dblist PMA_availableDatabases(); if ((! isset($db) || ! strlen($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 libraries/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($controllink) && $controllink) { @PMA_DBI_close($controllink); } 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 // // Light mode -> beginning of the select combo for databases // Note: When javascript is active, the frameset will be changed from // within left.php. With no JS (