' .'*'; if ( $cfg['MainPageIconic'] ) { $str_iconic_list = '%1$s' .'%3$s' .'%4$s'; } // Handles some variables that may have been sent by the calling script if (isset($db)) { unset($db); } if (isset($table)) { unset($table); } $show_query = '1'; require_once('./header.inc.php'); /** * Displays the welcome message and the server informations */ if ( @file_exists($pmaThemeImage . 'logo_right.png') ) { ?> phpMyAdmin

phpMyAdmin ' . PMA_VERSION . ''); ?>

0 ) { // robbat2: Use the verbose name of the server instead of the hostname // if a value is set if (!empty($cfg['Server']['verbose'])) { $server_info = $cfg['Server']['verbose']; } else { $server_info = $cfg['Server']['host']; $server_info .= (empty($cfg['Server']['port']) ? '' : ':' . $cfg['Server']['port']); } // loic1: skip this because it's not a so good idea to display sockets // used to everybody // if (!empty($cfg['Server']['socket']) && PMA_PHP_INT_VERSION >= 30010) { // $server_info .= ':' . $cfg['Server']['socket']; // } $res = PMA_DBI_query('SELECT USER();'); list($mysql_cur_user_and_host) = PMA_DBI_fetch_row($res); $mysql_cur_user = substr($mysql_cur_user_and_host, 0, strrpos($mysql_cur_user_and_host, '@')); PMA_DBI_free_result($res); unset($res, $row); $full_string = str_replace('%pma_s1%', '' . PMA_MYSQL_STR_VERSION . '', $strMySQLServerProcess); $full_string = str_replace('%pma_s2%', $server_info, $full_string); $full_string = str_replace('%pma_s3%', htmlspecialchars($mysql_cur_user_and_host), $full_string); echo '

' . $full_string . '

' . "\n"; } // end if $server > 0 ?>
0) && isset($mode) && ($mode == 'reload')) { $sql_query = 'FLUSH PRIVILEGES'; $result = PMA_DBI_query($sql_query); if ($result != 0) { $message = $strMySQLReloaded; } else { $show_error_header = TRUE; $message = $strReloadFailed; } PMA_showMessage($message); $show_error_header = FALSE; unset($result); unset($sql_query); unset($message); } /** * Displays the MySQL servers choice form */ if (!$cfg['LeftDisplayServers']) { $show_server_left = FALSE; include('./libraries/select_server.lib.php'); } // nested table needed ?>
0 ) { require_once('./libraries/check_user_privileges.lib.php'); $is_superuser = PMA_isSuperuser(); $common_url_query = PMA_generate_common_url(); if ($is_superuser) { $cfg['ShowMysqlInfo'] = TRUE; $cfg['ShowMysqlVars'] = TRUE; $cfg['ShowChgPassword'] = TRUE; } if ($cfg['Server']['auth_type'] == 'config') { $cfg['ShowChgPassword'] = FALSE; } // loic1: Displays the MySQL column only if at least one feature has to be // displayed if ($is_superuser || $is_create_db_priv || $is_process_priv || $is_reload_priv || $cfg['ShowMysqlInfo'] || $cfg['ShowMysqlVars'] || $cfg['ShowChgPassword'] || $cfg['Server']['auth_type'] != 'config') { ?> ','s_status.png',$strMySQLShowStatus,'') : $str_normal_list); ?> ','s_vars.png',$strMySQLShowVars,'') : $str_normal_list); ?> ','s_process.png',$strMySQLShowProcess,'') : $str_normal_list); ?> = 40100) { ?> ','s_asci.png',$strCharsetsAndCollations,'') : $str_normal_list); ?> ','b_engine.png',$strStorageEngines,'') : $str_normal_list); ?> ','s_reload.png',$strReloadMySQL,'') : $str_normal_list); ?> ','s_rights.png',$strPrivileges,'') : $str_normal_list); ?> 0) { ?> ','s_tbl.png',$strBinaryLog,'') : $str_normal_list); ?> ','s_db.png',$strDatabases,'') : $str_normal_list); ?> ','b_export.png',$strExport,'') : $str_normal_list); ?> ','b_import.png',$strImport,'') : $str_normal_list); ?> ','s_passwd.png',$strChangePassword,'') : $str_normal_list); ?> ' . ($cfg['ReplaceHelpImg'] ? 'Info' : '(*)') . '' : ''; ?> ','s_loggoff.png',$strLogout,'') : $str_normal_list); ?>
MySQL
0) ?>
  ','s_lang.png','Language','') : $str_normal_list); ?> = 40100) { echo ' ' . "\n" . ' ' . "\n" .' ' . ($str_iconic_list != '' ? sprintf($str_iconic_list,'','s_asci.png',$strMySQLCharset,'') : $str_normal_list) . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" .' ' . ($str_iconic_list != '' ? sprintf($str_iconic_list,'','s_asci.png',$strMySQLConnectionCollation,'') : $str_normal_list) . "\n" . ' ' . "\n" . ' ' . "\n"; } // added by Michael Keck // ThemeManager if available if (isset($available_themes_choices) && $available_themes_choices > 1) { $theme_selected = FALSE; $theme_preview_path= './themes.php'; $theme_preview_href = ''; ?> ') : $str_normal_list) . "\n"; ?> ','b_docs.png',$strPmaDocumentation,'') : $str_normal_list); ?> ','php_sym.png',$strShowPHPInfo,'') : $str_normal_list); ?> ','b_home.png',$strHomepageOfficial,'') : $str_normal_list); ?>
phpMyAdmin
Language '; } else { echo '(*)'; } ?>:
:
' . "\n" . ' ' . $strMySQLCharset . ': ' . ' ' . ' ' . $mysql_charsets_descriptions[$mysql_charset_map[strtolower($charset)]] . "\n" . ' (' . $mysql_charset_map[strtolower($charset)] . ')' . "\n" . ' ' . "\n" . '
' . "\n" . '
' . "\n" . PMA_generate_common_hidden_inputs(NULL, NULL, 4, 'collation_connection') . ' ' . "\n" . PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION, 'collation_connection', 'select_collation_connection', $collation_connection, TRUE, 4, TRUE) . ' ' . "\n" // put the doc link in the form so that it appears on the same line . PMA_showMySQLDocu('MySQL_Database_Administration', 'Charset-connection') . "\n" . '
' . "\n" . '
:' . "\n"; ?>
[ChangeLog] [CVS] [Lists]

' . $strInsecureMySQL . '' . "\n"; } /** * Warning for PHP 4.2.3 * modified: 2004-05-05 mkkeck */ if (PMA_PHP_INT_VERSION == 40203 && @extension_loaded('mbstring')) { echo '
' . $strPHP40203 . '
' . "\n"; } /** * Nijel: As we try to hadle charsets by ourself, mbstring overloads just * break it, see bug 1063821. */ if (@extension_loaded('mbstring') && @ini_get('mbstring.func_overload') > 1) { echo '
' . $strMbOverloadWarning . '
' . "\n"; } /** * Nijel: mbstring is used for handling multibyte inside parser, so it is good * to tell user something might be broken without it, see bug #1063149. */ if ($GLOBALS['using_mb_charset'] && !@extension_loaded('mbstring')) { echo '
' . $strMbExtensionMissing . '
' . "\n"; } /** * Warning for old PHP version * modified: 2004-05-05 mkkeck */ if (PMA_PHP_INT_VERSION < 40100) { echo '
' . sprintf($strUpgrade, 'PHP', '4.1.0') . '
' . "\n"; } /** * Warning for old MySQL version * modified: 2004-05-05 mkkeck */ // not yet defined before the server choice if (defined('PMA_MYSQL_INT_VERSION') && PMA_MYSQL_INT_VERSION < 32332) { echo '
' . sprintf($strUpgrade, 'MySQL', '3.23.32') . '
' . "\n"; } /** * Displays the footer */ require_once('./footer.inc.php'); ?>