| Current Path : /var/www/html/mmishra/mm/uprtou2/ |
| Current File : /var/www/html/mmishra/mm/uprtou2/calendar.php |
<?php
require_once('classes/tc_calendar.php');
?>
<html>
<head>
<title>Date Ticker</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/calendar.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="js/calendar.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form>
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td nowrap>Date 3 :</td>
<td><?php
$myCalendar = new tc_calendar("date5", true, false);
$myCalendar->setIcon("images/calendar.gif");
$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("classes/");
$myCalendar->setYearInterval(2010, 2015);
$myCalendar->dateAllow('2008-05-13', '2015-03-01');
$myCalendar->setDateFormat('j F Y');
//$myCalendar->setHeight(350);
//$myCalendar->autoSubmit(true, "form1");
$myCalendar->writeScript();
?></td>
<td>
<input type="button" name="button" id="button" value="Check the value" onClick="javascript:alert(this.form.date5.value);">
</td>
</tr>
</table>
</form>
</body>
</html>