header_meta_style.inc.php

来自「php绿色服务器,让大家试用greenamp」· PHP 代码 · 共 70 行

PHP
70
字号
<?php/* $Id: header_meta_style.inc.php,v 2.1 2004/06/13 21:31:35 lem9 Exp $ */// vim: expandtab sw=4 ts=4 sts=4:/** * Sends the beginning of the html page then returns to the calling script */// Gets the font sizes to usePMA_setFontSizes();// Defines the cell alignment values depending on text directionif ($GLOBALS['text_dir'] == 'ltr') {    $GLOBALS['cell_align_left']  = 'left';    $GLOBALS['cell_align_right'] = 'right';} else {    $GLOBALS['cell_align_left']  = 'right';    $GLOBALS['cell_align_right'] = 'left';}// removes the bug with the horizontal scrollbar in IE (it's allways shown, if need it or not)echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">"; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>" lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>" dir="<?php echo $GLOBALS['text_dir']; ?>"><head><title>phpMyAdmin</title><meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" /><?phpif (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {    echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";}?><script language="JavaScript" type="text/javascript"><!--    /* added 2004-06-10 by Michael Keck     *       we need this for Backwards-Compatibility and resolving problems     *       with non DOM browsers, which may have problems with css 2 (like NC 4)    */    var isDOM      = (typeof(document.getElementsByTagName) != 'undefined'                      && typeof(document.createElement) != 'undefined')                   ? 1 : 0;    var isIE4      = (typeof(document.all) != 'undefined'                      && parseInt(navigator.appVersion) >= 4)                   ? 1 : 0;    var isNS4      = (typeof(document.layers) != 'undefined')                   ? 1 : 0;    var capable    = (isDOM || isIE4 || isNS4)                   ? 1 : 0;    // Uggly fix for Opera and Konqueror 2.2 that are half DOM compliant    if (capable) {        if (typeof(window.opera) != 'undefined') {            var browserName = ' ' + navigator.userAgent.toLowerCase();            if ((browserName.indexOf('konqueror 7') == 0)) {                capable = 0;            }        } else if (typeof(navigator.userAgent) != 'undefined') {            var browserName = ' ' + navigator.userAgent.toLowerCase();            if ((browserName.indexOf('konqueror') > 0) && (browserName.indexOf('konqueror/3') == 0)) {                capable = 0;            }        } // end if... else if...    } // end if    document.writeln('<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?lang=<?php echo $GLOBALS['lang']; ?>&amp;js_frame=right&amp;js_isDOM=' + isDOM + '" />');//--></script><noscript>    <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?lang=<?php echo $GLOBALS['lang']; ?>&amp;js_frame=right" /></noscript>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?