4 require_once('./libraries/grab_globals.lib.php');
5 require_once('./libraries/common.lib.php');
6 require_once('./libraries/header_http.inc.php');
8 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
9 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
10 <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']; ?>">
13 <title
><?php
echo $strCalendar;?
></title
>
14 <meta http
-equiv
="Content-Type" content
="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
16 if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
17 echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
20 <script language
="JavaScript" type
="text/javascript">
22 /* added 2004-06-10 by Michael Keck
23 * we need this for Backwards-Compatibility and resolving problems
24 * with non DOM browsers, which may have problems with css 2 (like NC 4)
26 var isDOM
= (typeof(document
.getElementsByTagName
) != 'undefined'
27 && typeof(document
.createElement
) != 'undefined')
29 var isIE4
= (typeof(document
.all
) != 'undefined'
30 && parseInt(navigator
.appVersion
) >= 4)
32 var isNS4
= (typeof(document
.layers
) != 'undefined')
34 var capable
= (isDOM || isIE4 || isNS4
)
36 // Uggly fix for Opera and Konqueror 2.2 that are half DOM compliant
38 if (typeof(window
.opera
) != 'undefined') {
39 var browserName
= ' ' + navigator
.userAgent
.toLowerCase();
40 if ((browserName
.indexOf('konqueror 7') == 0)) {
43 } else if (typeof(navigator
.userAgent
) != 'undefined') {
44 var browserName
= ' ' + navigator
.userAgent
.toLowerCase();
45 if ((browserName
.indexOf('konqueror') > 0) && (browserName
.indexOf('konqueror/3') == 0)) {
48 } // end if... else if...
50 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
']; ?>&js_frame=right&js_isDOM=' + isDOM +
'" />');
54 <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']; ?>&js_frame=right" />
56 <script type
="text/javascript" src
="./libraries/tbl_change.js"></script
>
57 <script type
="text/javascript">
59 var month_names
= new Array("<?php echo implode('","', $month); ?>");
60 var day_names
= new Array("<?php echo implode('","', $day_of_week); ?>");
64 <body onload
="initCalendar();">
65 <div id
="calendar_data"></div
>
66 <div id
="clock_data"></div
>