Do not compare db if not defined.
[phpmyadmin/last10db.git] / calendar.php
blob4c8b1a71d7e2b83c4a966af4163c1e9fec6716b0
1 <?php
2 /* $Id$ */
4 require_once('./libraries/common.lib.php');
5 require_once('./libraries/header_http.inc.php');
6 $page_title = $strCalendar;
7 require('./libraries/header_meta_style.inc.php');
8 ?>
9 <script type="text/javascript" language="javascript" src="./js/tbl_change.js"></script>
10 <script type="text/javascript" language="javascript">
11 //<![CDATA[
12 var month_names = new Array("<?php echo implode('","', $month); ?>");
13 var day_names = new Array("<?php echo implode('","', $day_of_week); ?>");
14 var submit_text = "<?php echo $strGo; ?>";
15 //]]>
16 </script>
17 </head>
18 <body onload="initCalendar();">
19 <div id="calendar_data"></div>
20 <div id="clock_data"></div>
21 </body>
22 </html>