\n"; } $INC = array('js/popups.php'); print_header($INC,$HeadX); ?>
<?php etranslate("> "; echo $user_fullname; } if ( $is_nonuser_admin ) echo "
-- " . translate("Admin mode") . " --
"; if ( $is_assistant ) echo "
-- " . translate("Assistant mode") . " --
"; if ( $categories_enabled == "Y" ) { echo "
\n
\n"; print_category_menu('day', sprintf ( "%04d%02d%02d",$thisyear, $thismonth, $thisday ), $cat_id, $friendly); } ?>
<?php etranslate(">
"; if ( $WEEK_START == 0 ) echo ""; for ( $i = 1; $i < 7; $i++ ) { echo ""; } if ( $WEEK_START == 1 ) echo ""; echo "\n"; // generate values for first day and last day of month $monthstart = mktime ( 3, 0, 0, $thismonth, 1, $thisyear ); $monthend = mktime ( 3, 0, 0, $thismonth + 1, 0, $thisyear ); if ( $WEEK_START == "1" ) $wkstart = get_monday_before ( $thisyear, $thismonth, 1 ); else $wkstart = get_sunday_before ( $thisyear, $thismonth, 1 ); $wkend = $wkstart + ( 3600 * 24 * 7 ); for ( $i = $wkstart; date ( "Ymd", $i ) <= date ( "Ymd", $monthend ); $i += ( 24 * 3600 * 7 ) ) { for ( $i = $wkstart; date ( "Ymd", $i ) <= date ( "Ymd", $monthend ); $i += ( 24 * 3600 * 7 ) ) { echo "\n"; for ( $j = 0; $j < 7; $j++ ) { $date = $i + ( $j * 24 * 3600 ); if ( date ( "Ymd", $date ) >= date ( "Ymd", $monthstart ) && date ( "Ymd", $date ) <= date ( "Ymd", $monthend ) ) { if ( date ( "Ymd", $date ) == date ( "Ymd", $now ) ) echo "\n"; } else { print "\n"; } } echo "\n"; } } ?>
<?php etranslate("> <?php etranslate(">
" . weekday_short_name ( 0 ) . "" . weekday_short_name ( $i ) . "" . weekday_short_name ( 0 ) . "
"; else echo ""; echo ""; echo "" . date ( "d", $date ) . " 

friendly=1" TARGET="cal_printer_friendly" onMouseOver="window.status = ''">[]