patch #2407785 [cleanup] ereg*() deprecated in PHP 5.3
[phpmyadmin/crack.git] / calendar.php
blob6cc2f62900dde74313aeff99dd62952816082bd9
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @version $Id$
6 */
8 /**
11 require_once './libraries/common.inc.php';
12 require_once './libraries/header_http.inc.php';
13 $page_title = $strCalendar;
14 require './libraries/header_meta_style.inc.php';
15 $GLOBALS['js_include'][] = 'tbl_change.js';
16 require './libraries/header_scripts.inc.php';
18 <script type="text/javascript">
19 //<![CDATA[
20 var month_names = new Array("<?php echo implode('","', $month); ?>");
21 var day_names = new Array("<?php echo implode('","', $day_of_week); ?>");
22 var submit_text = "<?php echo $strGo . ' (' . $strTime . ')'; ?>";
23 //]]>
24 </script>
25 </head>
26 <body onload="initCalendar();">
27 <div id="calendar_data"></div>
28 <div id="clock_data"></div>
29 </body>
30 </html>