// The loginName will be null if there was no authentication. If that's // the case, redirect back to the init screen. if (client.loginName != null ) { write(client.groupDescription + "'s Calendar") } else { redirect("init.htm") }
January
February
March
April
May
June
July
August
September
October
November
December
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
// Draw the calendar // If it's the first time, then take the current month and year // and draw the calendar for that month and year if (request.monthChoice == null || request.yearChoice == null) { currMonth = GetMonthInfo(eval(client.currentMonth), client.currentYear); DrawCalendar(currMonth, client.currentMonth, client.currentYear) write ("") } // Else draw the calendar for the requested month/year else { currMonth = GetMonthInfo(eval(request.monthChoice), request.yearChoice); DrawCalendar(currMonth, request.monthChoice, request.yearChoice) write ("") }