Exemple #1
0
?>
" />
			<!-- Digitizer -->
			<input name="dig" type="hidden" id="dig" value="<?php 
echo $dig;
?>
" />
			<!-- focus var //-->
			<input name="fcs" type="hidden" id="fcs" value="0" />
		</form>
	</div>
	<div id="calendar-container">
		<div id="calendar-body">
		<table border="0" cellspacing="1" cellpadding="0" align="center" class="font">
			<?php 
$day_headers = array_values($cobj->getDayHeaders());
echo "<tr>";
if ($show_weeks) {
    echo "<td align=\"center\" class=\"header wk-hdr\"><div>" . $cobj->week_hdr . "</div></td>";
}
//write calendar day header
foreach ($day_headers as $dh) {
    echo "<td align=\"center\" class=\"header\"><div>" . $dh . "</div></td>";
}
echo "</tr>";
for ($row = 0; $row < sizeof($calendar_rows); $row++) {
    echo "<tr>";
    if ($show_weeks) {
        asort($week_rows[$row]);
        //get week number with highest member
        $cw_keys = array_keys($week_rows[$row]);