$export_type, 'single_table' => isset($single_table) ) ); /* Fail if we didn't find any plugin */ if (empty($export_list)) { PMA_Message::error( __('Could not load export plugins, please check your installation!') )->display(); exit; } echo '
'; if ($export_type == 'server') { echo PMA_generate_common_hidden_inputs('', '', 1); } elseif ($export_type == 'database') { echo PMA_generate_common_hidden_inputs($db, '', 1); } else { echo PMA_generate_common_hidden_inputs($db, $table, 1); } // just to keep this value for possible next display of this form after saving // on server if (isset($single_table)) { echo '' . "\n"; } echo ''; echo "\n"; // If the export method was not set, the default is quick if (isset($_GET['export_method'])) { $cfg['Export']['method'] = $_GET['export_method']; } elseif (! isset($cfg['Export']['method'])) { $cfg['Export']['method'] = 'quick'; } // The export method (quick, custom or custom-no-form) echo ''; if (isset($_GET['sql_query'])) { echo '' . "\n"; } elseif (! empty($sql_query)) { echo '' . "\n"; } echo ''; if (isset($_GET['quick_or_custom'])) { $export_method = $_GET['quick_or_custom']; } else { $export_method = $cfg['Export']['method']; } echo '
'; echo '

' . __('Export Method:') . '

'; echo ''; echo '
'; echo '
'; if ($export_type == 'server') { echo '

' . __('Database(s):') . '

'; } else if ($export_type == 'database') { echo '

' . __('Table(s):') . '

'; } if (! empty($multi_values)) { echo $multi_values; } echo '
'; if (strlen($table) && ! isset($num_tables) && ! PMA_Table::isMerge($db, $table)) { echo '
'; echo '

' . __('Rows:') . '

'; echo ''; echo '
'; } if (isset($cfg['SaveDir']) && !empty($cfg['SaveDir'])) { echo '
'; echo '

' . __('Output:') . '

'; echo ''; echo '
'; } echo '
'; echo '

' . __('Output:') . '

'; echo ''; echo '
'; echo '
'; echo '

' . __('Format:') . '

'; echo PMA_pluginGetChoice('Export', 'what', $export_list, 'format'); echo '
'; echo '
'; echo '

' . __('Format-specific options:') . '

'; echo '

'; echo __('Scroll down to fill in the options for the selected format and ignore the options for other formats.'); echo '

'; echo PMA_pluginGetOptions('Export', $export_list); echo '
'; if (function_exists('PMA_set_enc_form')) { // Encoding setting form appended by Y.Kawada // Japanese encoding setting echo '
'; echo '

' . __('Encoding Conversion:') . '

'; echo PMA_set_enc_form(' '); echo '
'; } echo '
'; echo PMA_Util::getExternalBug( __('SQL compatibility mode'), 'mysql', '50027', '14515' ); echo ''; echo '
'; echo '
';