'; $multi_values .= '' . __('Select All') . ' / ' . __('Unselect All') . ''; $multi_values .= ''; $multi_values .= "\n"; // Check if the selected databases are defined in $_GET (from clicking Back button on export.php) if (isset($_GET['db_select'])) { $_GET['db_select'] = urldecode($_GET['db_select']); $_GET['db_select'] = explode(",", $_GET['db_select']); } foreach ($GLOBALS['pma']->databases as $current_db) { if (isset($_GET['db_select'])) { if (in_array($current_db, $_GET['db_select'])) { $is_selected = ' selected="selected"'; } else { $is_selected = ''; } } elseif (!empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $current_db . '|'))) { $is_selected = ' selected="selected"'; } else { $is_selected = ''; } $current_db = htmlspecialchars($current_db); $multi_values .= ' ' . $current_db . '' . "\n"; } // end while $multi_values .= "\n"; $multi_values .= ''; $export_type = 'server'; require_once 'libraries/display_export.lib.php'; /** * Displays the footer */ require 'libraries/footer.inc.php'; ?>