|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 30.89 GB of 70.42 GB (43.87%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
http/
map/
site/
sql_control/
- drwxr-sr-x
|
Viewing file: server_collations.php (2.58 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package phpMyAdmin */
/** * no need for variables importing * @ignore */ if (! defined('PMA_NO_VARIABLES_IMPORT')) { define('PMA_NO_VARIABLES_IMPORT', true); } /** * requirements */ require_once './libraries/common.inc.php';
/** * Does the common work */ require './libraries/server_common.inc.php';
/** * Displays the links */ require './libraries/server_links.inc.php';
/** * Displays the sub-page heading */ echo '<h2>' . "\n" . ' ' . ($GLOBALS['cfg']['MainPageIconic'] ? '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 's_asci.png" alt="" />' : '') . '' . __('Character Sets and Collations') . "\n" . '</h2>' . "\n";
/** * Includes the required charset library */ require_once './libraries/mysql_charsets.lib.php';
/** * Outputs the result */ echo '<div id="div_mysql_charset_collations">' . "\n" . '<table class="data">' . "\n" . '<tr><th>' . __('Collation') . '</th>' . "\n" . ' <th>' . __('Description') . '</th>' . "\n" . '</tr>' . "\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 '</table>' . "\n" . '<table class="data">' . "\n" . '<tr><th>' . __('Collation') . '</th>' . "\n" . ' <th>' . __('Description') . '</th>' . "\n" . '</tr>' . "\n"; } $i++; echo '<tr><th colspan="2" align="right">' . "\n" . ' ' . htmlspecialchars($current_charset) . "\n" . (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (<i>' . htmlspecialchars( $mysql_charsets_descriptions[$current_charset]) . '</i>)' . "\n") . ' </th>' . "\n" . '</tr>' . "\n"; $odd_row = true; foreach ($mysql_collations[$current_charset] as $current_collation) { $i++; echo '<tr class="noclick ' . ($odd_row ? 'odd' : 'even') . ($mysql_default_collations[$current_charset] == $current_collation ? ' marked' : '') . ($mysql_collations_available[$current_collation] ? '' : ' disabled') . '">' . "\n" . ' <td>' . htmlspecialchars($current_collation) . '</td>' . "\n" . ' <td>' . PMA_getCollationDescr($current_collation) . '</td>' . "\n" . '</tr>' . "\n"; $odd_row = !$odd_row; } } unset($table_row_count); echo '</table>' . "\n" . '</div>' . "\n";
require './libraries/footer.inc.php';
?>
|