' . "\n" . ' ' . $strCharsetsAndCollations . "\n" . '' . "\n"; /** * Checks the MySQL version */ if (PMA_MYSQL_INT_VERSION < 40100) { // TODO: Some nice Message :-) include('./footer.inc.php'); exit; } /** * Includes the required charset library */ require('./libraries/mysql_charsets.lib.php'); /** * Outputs the result */ echo '' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . '
' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n"; reset($mysql_charsets); reset($mysql_collations); $i = 0; $table_row_count = count($mysql_charsets) + $mysql_collations_count; //while (list(, $current_charset) = each($mysql_charsets)) { foreach ($mysql_charsets as $current_charset) { if ($i > $table_row_count / 2) { $i = 0; echo '
' . "\n" . ' ' . $strCollation . "\n" . ' ' . "\n" . ' ' . $strDescription . "\n" . '
' . "\n" . '
' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n"; } $i++; echo ' ' . "\n" . ' ' . "\n" . ' ' . "\n"; $useBgcolorOne = TRUE; // reset($mysql_collations[$current_charset]); // while (list(, $current_collation) = each($mysql_collations[$current_charset])) { foreach ($mysql_collations[$current_charset] as $current_collation) { $i++; echo ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n"; $useBgcolorOne = !$useBgcolorOne; } } unset($table_row_count); echo '
' . "\n" . ' ' . $strCollation . "\n" . ' ' . "\n" . ' ' . $strDescription . "\n" . '
' . "\n" . '  ' . htmlspecialchars($current_charset) . '' . "\n" . ' (' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . ') ' . "\n" . '
' . "\n" . '  ' . htmlspecialchars($current_collation) . ' ' . "\n" . ' ' . "\n" . '  ' . PMA_getCollationDescr($current_collation) . ' ' . "\n" . '
' . "\n" . '
' . "\n"; require('./footer.inc.php'); ?>