$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(1970, 2020);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setAutoHide(true, 15000);
//15 secs
$myCalendar->setDatePair('date3', 'date4', $date4_default);
$myCalendar->writeScript();
echo "  ";
echo "<b>END DATE:</b>&nbsp;&nbsp;";
$myCalendar = new tc_calendar("date4", true, false);
$myCalendar->setIcon("calendar/images/iconCalendar.gif");
$myCalendar->setDate(date('d', strtotime($date4_default)), date('m', strtotime($date4_default)), date('Y', strtotime($date4_default)));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(1970, 2020);
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->setAutoHide(true, 15000);
//15 secs
$myCalendar->setDatePair('date3', 'date4', $date3_default);
$myCalendar->writeScript();
?>


<br>
<b> Please choose maximum of 10 physicians at a time </b>
<br>
<br>
<input type="submit" value="SUBMIT">
</center></p>

</form>
    <nav class="navbar navbar-inverse navbar-fixed-top">
Exemple #2
0
								</tr>
							</table>
							<p class="largetxt"><b>DatePicker Style</b></p>
							<table border="0" cellspacing="0" cellpadding="2">
								<tr>
									<td nowrap>Date 2 :</td>
									<td valign=top>
										<script language="javascript">
										function myChanged(v)
										{
											alert("Hello, value has been changed : "+document.getElementById("date2").value+" ["+v+"]");
										}
										</script>
										<?php 
$myCalendar = new tc_calendar("date2", true);
$myCalendar->setAutoHide(false);
$myCalendar->setDate(date('d'), date('m'), date('Y'));
$myCalendar->setPath("calendar/");
$myCalendar->setYearInterval(1960, date('Y'));
$myCalendar->dateAllow('1960-03-01', date('Y-m-d'));
//$myCalendar->autoSubmit(true, "form1");
$myCalendar->setAlignment('left', 'bottom');
$myCalendar->disabledDay('sun');
$myCalendar->setSpecificDate(array("2011-04-01", "2011-04-14", "2010-12-25"), 0, 'year');
$myCalendar->setOnChange("myChanged('Test message')");
$myCalendar->writeScript();
?>
                                    </td>
									<td><input type="button" name="button2" id="button2" value="<?php 
echo L_CHK_VAL;
?>