Once I get the monthly calendar, what is a simple script using a loop to show all 12 months of the year?
for($month = 0; $month < 12; $month++) show_monthly_calendar($month);
given the input $year only?