' . "\n"
. ' ' . ($GLOBALS['cfg']['MainPageIconic']
? '
'
: '')
. '' . $strCharsetsAndCollations . "\n"
. '' . "\n";
/**
* exits if wrong MySQL version
* @todo Some nice Message :-)
*/
if (PMA_MYSQL_INT_VERSION < 40100) {
require_once './libraries/footer.inc.php';
}
/**
* Includes the required charset library
*/
require_once './libraries/mysql_charsets.lib.php';
/**
* Outputs the result
*/
echo '
' . "\n"
. '
' . "\n"
. '' . $strCollation . ' | ' . "\n"
. ' ' . $strDescription . ' | ' . "\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"
. '' . $strCollation . ' | ' . "\n"
. ' ' . $strDescription . ' | ' . "\n"
. '
' . "\n";
}
$i++;
echo '' . "\n"
. ' ' . htmlspecialchars($current_charset) . "\n"
. (empty($mysql_charsets_descriptions[$current_charset])
? ''
: ' (' . htmlspecialchars(
$mysql_charsets_descriptions[$current_charset]) . ')' . "\n")
. ' | ' . "\n"
. '
' . "\n";
$odd_row = true;
foreach ($mysql_collations[$current_charset] as $current_collation) {
$i++;
echo '' . "\n"
. ' ' . htmlspecialchars($current_collation) . ' | ' . "\n"
. ' ' . PMA_getCollationDescr($current_collation) . ' | ' . "\n"
. '
' . "\n";
$odd_row = !$odd_row;
}
}
unset($table_row_count);
echo '
' . "\n"
. '
' . "\n";
require_once './libraries/footer.inc.php';
?>