searchByProjectFilters( $arProjectFilters, $arDateRange, false, true ); $objOccurrence = new Occurrence( array() ); $objOccurrenceView = new OccurrenceView( $objOccurrence ); $objSlug = SlugManagerFactory::get('Ongoing Referrals Button Area'); if(is_object($objSlug)) { $sReferralButtonText = $objSlug->printSlug(); } ?>
Daily Calendar           Weekly Calendar           Monthly Calendar
Our calendar displays s by month, week, and day. Select a viewing method and then click the name to learn more about it.

showCorporateEventsCalendarKey(); ?>
showCalendarKey($enum_CalKeyType, $arLookAndFeel, $sIsFullImageHref, $sIsNotFullImageHref); ?>
View <?= (strtolower($sTypeName) == 'course' ? 'Project' : 'Course') ?> Calendar

Show Me printSlug(); ?>

listSpecialEventsPerMonth(false, $month, $year); } else { $arSpecEvents = new Collection(); } $month_text = $selectedDate['month']; $max_days = getDaysInMonth($month,$year); $first_day_start = $selectedDate['wday']; // The index of the first day of this month-view // (not the actual calendar month) that should // be shown with data (i.e. part of the calendar month) $total_iter = $first_day_start + $max_days; $total_iter += ($total_iter % 7)?7-($total_iter % 7):0; $next_month = ($month == 12)?1:$month+1; $prev_month = ($month == 1)?12:$month-1; $next_year = ($next_month == 1)?$year+1:$year; $prev_year = ($prev_month == 12)?$year-1:$year; $disable_date = -1; if ($month == $parseDate['mon']) { $disable_date = $parseDate['mday']; } $check1 = ($year < $parseDate['year']); $check2 = ($year == $parseDate['year'] && $month < $parseDate['mon']); $show_alert = ($year == $parseDate['year'] && $month == $parseDate['mon'])?'true':'false'; $prevMonthDays = getDaysInMonth($prev_month, $prev_year); ?>
Previous Month Next Month
= ($first_day_start+$max_days)) { /* For days after the current month, but still being show because they lie on the same week's row. */ ?> showMonthlyOccurrence( &$arOccurrence, $year.'-'.$month.'-'.$theDate, $bFirstDay, $columnWidth, $activeColor, $activeClass, $color7, $arSpecEvents, $sIFIHref, $sINFIHref ); ?>
 Sun  Mon  Tue  Wed  Thu  Fri  Sat
   
Previous Month Next Month
12) return 0; $days_in_month = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); $d = $days_in_month[$month - 1]; if ($month == 2) if ($year%4 == 0) if ($year%100 == 0) { if ($year%400 == 0) $d = 29; } else { $d = 29; } return $d; } ?>