00001 <?php
00002
00003
00004
00008
00009 PMA_setFontSizes();
00010
00011 if ($GLOBALS['text_dir'] == 'ltr') {
00012 $GLOBALS['cell_align_left'] = 'left';
00013 $GLOBALS['cell_align_right'] = 'right';
00014 } else {
00015 $GLOBALS['cell_align_left'] = 'right';
00016 $GLOBALS['cell_align_right'] = 'left';
00017 }
00018
00019 echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">";
00020
00021 ?>
00022 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
00023 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
00024 <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']; ?>">
00025
00026 <head>
00027 <title>phpMyAdmin</title>
00028 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
00029 <?php
00030 if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
00031 echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
00032 }
00033 ?>
00034 <script language="JavaScript" type="text/javascript">
00035 <!--
00036 <?php
00037
00038
00039
00040
00041 var isDOM = (typeof(document.getElementsByTagName) != 'undefined'
00042 && typeof(document.createElement) != 'undefined')
00043 ? 1 : 0;
00044 var isIE4 = (typeof(document.all) != 'undefined'
00045 && parseInt(navigator.appVersion) >= 4)
00046 ? 1 : 0;
00047 var isNS4 = (typeof(document.layers) != 'undefined')
00048 ? 1 : 0;
00049 var capable = (isDOM || isIE4 || isNS4)
00050 ? 1 : 0;
00051
00052 if (capable) {
00053 if (typeof(window.opera) != 'undefined') {
00054 var browserName = ' ' + navigator.userAgent.toLowerCase();
00055 if ((browserName.indexOf('konqueror 7') == 0)) {
00056 capable = 0;
00057 }
00058 } else if (typeof(navigator.userAgent) != 'undefined') {
00059 var browserName = ' ' + navigator.userAgent.toLowerCase();
00060 if ((browserName.indexOf('konqueror') > 0) && (browserName.indexOf('konqueror/3') == 0)) {
00061 capable = 0;
00062 }
00063 }
00064 }
00065 document.writeln('<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>&js_isDOM=' + isDOM + '" />');
00066
00067 </script>
00068 <noscript>
00069 <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>" />
00070 </noscript>
00071 <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/print.css?<?php echo PMA_generate_common_url(); ?>" media="print" />