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