\n"; } $INC = array('js/popups.php'); print_header($INC,$HeadX); /* Pre-Load the repeated events for quicker access */ $repeated_events = read_repeated_events ( ( ! empty ( $user ) && strlen ( $user ) ) ? $user : $login, $cat_id, $startdate ); /* Pre-load the non-repeating events for quicker access */ $events = read_events ( ( ! empty ( $user ) && strlen ( $user ) ) ? $user : $login, $startdate, $enddate, $cat_id ); if ( ! empty ( $cat_id ) ) $monthURL = "month.php?cat_id=$cat_id&"; else $monthURL = 'month.php?'; display_small_month ( $prevmonth, $prevyear, true, true, "prevmonth", $monthURL ); display_small_month ( $nextmonth, $nextyear, true, true, "nextmonth", $monthURL ); ?>

\n"; echo $user_fullname; } if ( $is_nonuser_admin ) { echo "
-- " . translate("Admin mode") . " --"; } if ( $is_assistant ) { echo "
-- " . translate("Assistant mode") . " --"; } ?>

\n"; print_category_menu('month',sprintf ( "%04d%02d01",$thisyear, $thismonth ),$cat_id ); } ?>
sun = " . date ( "D, m-d-Y", $sun ) . "

\n"; //echo "

monthstart = " . date ( "D, m-d-Y", $monthstart ) . "

\n"; //echo "

monthend = " . date ( "D, m-d-Y", $monthend ) . "

\n"; // NOTE: if you make HTML changes to this table, make the same changes // to the example table in pref.php. for ( $i = $wkstart; date ( "Ymd", $i ) <= date ( "Ymd", $monthend ); $i += ( 24 * 3600 * 7 ) ) { print "\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 ) ) { $thiswday = date ( "w", $date ); $is_weekend = ( $thiswday == 0 || $thiswday == 6 ); if ( empty ( $WEEKENDBG ) ) { $is_weekend = false; } print ""; //echo date ( "D, m-d-Y H:i:s", $date ) . "
"; print_date_entries ( date ( "Ymd", $date ), ( ! empty ( $user ) ) ? $user : $login, false ); print "\n"; } else { print "
\n"; } } print "\n"; } ?>
 


" class="printer" href="month.php?friendly=1" target="cal_printer_friendly" onmouseover="window.status = ''">[]