Beispiel #1
0
		<?php 
if (sizeof($cobj->warning_msgs) > 0) {
    //Digitizer
    echo "<div id=\"calendar-alert\">" . ($dig ? $cobj->digitize_arabics(implode(", ", $cobj->warning_msgs)) : implode(", ", $cobj->warning_msgs)) . "</div>";
}
?>

		<form id="calendarform" name="calendarform" method="post" action="<?php 
echo $thispage;
?>
">
			<table align="center" cellpadding="1" cellspacing="0">
				<tr>
				<?php 
$monthnames = $cobj->getMonthNames();
if ($first_input == "B") {
    ?>
					<td align="left"><select name="m" onchange="javascript:submitCalendar();" class="font">
					<?php 
    for ($f = 1; $f <= sizeof($monthnames); $f++) {
        $selected = $f == (int) $m ? " selected='selected'" : "";
        //Digitizer
        echo "<option value=\"" . str_pad($f, 2, "0", STR_PAD_LEFT) . "\"" . $selected . ">" . ($dig ? $cobj->digitize_arabics($monthnames[$f - 1]) : $monthnames[$f - 1]) . "</option>";
    }
    ?>
					</select></td>
				<?php 
} elseif ($first_input == "Y") {
    ?>
				<?php