Location: PHPKode > projects > O - OpenSource GroupWare > osgw/calendar/month.php
<?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: month.php,v 1.16 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'], $_GET['m'], $_GET['y']);

echo $layout->page_header;
echo $cal->nav_buttons($_GET['v']);


if($user->get_preference('cl','mini_months',$user->user_id) == 'TRUE')
{
				echo $html->create_list(
				array("FIRST_MONTH"=>$cal->new_month('small', -1),
						"SECOND_MONTH"=>$cal->new_month('small', +1)),
					"{$layout->service_theme}/cal_mini_months.html");	

}

echo $cal->new_month('large', 0);



echo $layout->create_footer();
Return current item: O - OpenSource GroupWare