Server : Apache System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 User : apache ( 48) PHP Version : 8.0.28 Disable Function : NONE Directory : /var/www/html/mmishra/indem/webbioexam/biomedical/ |
<?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>