lang
[phpmyadmin/crack.git] / calendar.php
blob51607b2f7b0f8f0638822dac370cc66e2471ebba
1 <?php
2 /* $Id$ */
4 require_once('./libraries/grab_globals.lib.php');
5 require_once('./libraries/common.lib.php');
6 require_once('./libraries/header_http.inc.php');
7 ?>
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']; ?>">
12 <head>
13 <title><?php echo $strCalendar;?></title>
14 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
15 <?php
16 if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
17 echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
20 <script language="JavaScript" type="text/javascript">
21 <!--
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')
28 ? 1 : 0;
29 var isIE4 = (typeof(document.all) != 'undefined'
30 && parseInt(navigator.appVersion) >= 4)
31 ? 1 : 0;
32 var isNS4 = (typeof(document.layers) != 'undefined')
33 ? 1 : 0;
34 var capable = (isDOM || isIE4 || isNS4)
35 ? 1 : 0;
36 // Uggly fix for Opera and Konqueror 2.2 that are half DOM compliant
37 if (capable) {
38 if (typeof(window.opera) != 'undefined') {
39 var browserName = ' ' + navigator.userAgent.toLowerCase();
40 if ((browserName.indexOf('konqueror 7') == 0)) {
41 capable = 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)) {
46 capable = 0;
48 } // end if... else if...
49 } // end 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']; ?>&amp;js_frame=right&amp;js_isDOM=' + isDOM + '" />');
51 //-->
52 </script>
53 <noscript>
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']; ?>&amp;js_frame=right" />
55 </noscript>
56 <script type="text/javascript" src="./libraries/tbl_change.js"></script>
57 <script type="text/javascript">
58 <!--
59 var month_names = new Array("<?php echo implode('","', $month); ?>");
60 var day_names = new Array("<?php echo implode('","', $day_of_week); ?>");
61 //-->
62 </script>
63 </head>
64 <body onload="initCalendar();">
65 <div id="calendar_data"></div>
66 <div id="clock_data"></div>
67 </body>
68 </html>