<?php
/**************************************************************************
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
@Authors: Ryan Thompson(hide@address.com)
***************************************************************************/
/*$Id: year.php,v 1.13 2004/05/04 05:32:42 rthomp Exp $*/
include("./data.php");
$service['add_header'] = TRUE;
include("../config.inc.php");
//Define month first. The events class inherits Calendar which is declared in the month class file
require('classes/class.calendar.php');
$cal = new calendar('month', $_GET['d'], 1, $_GET['y']);
echo $layout->page_header;
echo $cal->nav_buttons($_GET['v']);
echo $html->create_list(
array("1"=>$cal->new_month('small', 0),
"2"=>$cal->new_month('small', +1),
"3"=>$cal->new_month('small', +2),
"4"=>$cal->new_month('small', +3),
"5"=>$cal->new_month('small', +4),
"6"=>$cal->new_month('small', +5),
"7"=>$cal->new_month('small', +6),
"8"=>$cal->new_month('small', +7),
"9"=>$cal->new_month('small', +8),
"10"=>$cal->new_month('small', +9),
"11"=>$cal->new_month('small', +10),
"12"=>$cal->new_month('small', +11)),
"{$layout->service_theme}/cal_annual.html");
echo $layout->create_footer();