示例#1
0
// User preferences
if ($server > 0) {
    echo '<ul>';
    echo PMA_printListItem(__('More settings'), 'li_user_preferences', './prefs_manage.php?' . $common_url_query);
    echo '</ul>';
}
echo '</div>';
echo '</div>';
echo '<div id="main_pane_right">';
if ($server > 0 && $GLOBALS['cfg']['ShowServerInfo']) {
    echo '<div class="group">';
    echo '<h2>MySQL</h2>';
    echo '<ul>' . "\n";
    PMA_printListItem(__('Server') . ': ' . $server_info, 'li_server_info');
    PMA_printListItem(__('Server version') . ': ' . PMA_MYSQL_STR_VERSION, 'li_server_version');
    PMA_printListItem(__('Protocol version') . ': ' . PMA_DBI_get_proto_info(), 'li_mysql_proto');
    PMA_printListItem(__('User') . ': ' . htmlspecialchars($mysql_cur_user_and_host), 'li_user_info');
    echo '    <li id="li_select_mysql_charset">';
    echo '        ' . __('MySQL charset') . ': ' . '        <span xml:lang="en" dir="ltr">' . '           ' . $mysql_charsets_descriptions[$mysql_charset_map[strtolower($charset)]] . "\n" . '           (' . $mysql_charset_map[strtolower($charset)] . ')' . "\n" . '        </span>' . "\n" . '    </li>' . "\n";
    echo '  </ul>';
    echo ' </div>';
}
if ($GLOBALS['cfg']['ShowServerInfo'] || $GLOBALS['cfg']['ShowPhpInfo']) {
    echo '<div class="group">';
    echo '<h2>' . __('Web server') . '</h2>';
    echo '<ul>';
    if ($GLOBALS['cfg']['ShowServerInfo']) {
        PMA_printListItem($_SERVER['SERVER_SOFTWARE'], 'li_web_server_software');
        if ($server > 0) {
            PMA_printListItem(__('MySQL client version') . ': ' . PMA_DBI_get_client_info(), 'li_mysql_client_version');
            PMA_printListItem(__('PHP extension') . ': ' . $GLOBALS['cfg']['Server']['extension'] . ' ' . PMA_showPHPDocu('book.' . $GLOBALS['cfg']['Server']['extension'] . '.php'), 'li_used_php_extension');
示例#2
0
    echo '<h2>' . __('Database server') . '</h2>';
    echo '<ul>' . "\n";
    PMA_printListItem(
        __('Server') . ': ' . $server_info,
        'li_server_info'
    );
    PMA_printListItem(
        __('Software') . ': ' . $common_functions->getServerType(),
        'li_server_type'
    );
    PMA_printListItem(
        __('Software version') . ': ' . PMA_MYSQL_STR_VERSION . ' - ' . PMA_MYSQL_VERSION_COMMENT,
        'li_server_version'
    );
    PMA_printListItem(
        __('Protocol version') . ': ' . PMA_DBI_get_proto_info(),
        'li_mysql_proto'
    );
    PMA_printListItem(
        __('User') . ': ' . htmlspecialchars($mysql_cur_user_and_host),
        'li_user_info'
    );

    echo '    <li id="li_select_mysql_charset">';
    echo '        ' . __('Server charset') . ': '
       . '        <span lang="en" dir="ltr">'
       . '           ' . $mysql_charsets_descriptions[$mysql_charset_map['utf-8']] . "\n"
       . '           (' . $mysql_charset_map['utf-8'] . ')' . "\n"
       . '        </span>' . "\n"
       . '    </li>' . "\n";
    echo '  </ul>';
示例#3
0
文件: main.php 项目: s-kalaus/zkernel
}
echo '<li id="li_select_fontsize">';
echo PMA_Config::getFontsizeForm();
echo '</li>';

echo '</ul>';
echo '</div>';*/
echo '</div>';
echo '<div id="main_pane_right">';
if ($server > 0 && $GLOBALS['cfg']['ShowServerInfo']) {
    echo '<div class="group">';
    echo '<h2>MySQL</h2>';
    echo '<ul>' . "\n";
    PMA_printListItem($strServer . ': ' . $server_info, 'li_server_info');
    PMA_printListItem($strServerVersion . ': ' . PMA_MYSQL_STR_VERSION, 'li_server_version');
    PMA_printListItem($strProtocolVersion . ': ' . PMA_DBI_get_proto_info(), 'li_mysql_proto');
    PMA_printListItem($strUser . ': ' . htmlspecialchars($mysql_cur_user_and_host), 'li_user_info');
    echo '    <li id="li_select_mysql_charset">';
    echo '        ' . $strMySQLCharset . ': ' . '        <span xml:lang="en" dir="ltr">' . '           ' . $mysql_charsets_descriptions[$mysql_charset_map[strtolower($charset)]] . "\n" . '           (' . $mysql_charset_map[strtolower($charset)] . ')' . "\n" . '        </span>' . "\n" . '    </li>' . "\n";
    echo '  </ul>';
    echo ' </div>';
}
if ($GLOBALS['cfg']['ShowServerInfo'] || $GLOBALS['cfg']['ShowPhpInfo']) {
    echo '<div class="group">';
    echo '<h2>' . $strWebServer . '</h2>';
    echo '<ul>';
    if ($GLOBALS['cfg']['ShowServerInfo']) {
        PMA_printListItem($_SERVER['SERVER_SOFTWARE'], 'li_web_server_software');
        if ($server > 0) {
            PMA_printListItem($strMysqlClientVersion . ': ' . PMA_DBI_get_client_info(), 'li_mysql_client_version');
            PMA_printListItem($strPHPExtension . ': ' . $GLOBALS['cfg']['Server']['extension'], 'li_used_php_extension');