Location: PHPKode > projects > O - OpenSource GroupWare > osgw/calendar/week.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: week.php,v 1.13 2004/05/26 08:37:24 rthomp Exp $*/
$service['add_header'] = TRUE;
//Define month first. The events class inherits Calendar which is declared in the month class file

$cal = new calendar('week', $_GET['d'], $_GET['m'], $_GET['y']);

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

echo $cal->new_week();
$i = 0;

while($i < 7)
	echo "<td style=\"vertical-align:top\"><table style=\"vertical-align:top\"><tr><td>";
	$format = new format('small', $cal->working_month, $cal->working_day, $cal->working_year);
	$format->display = 'week';
	echo $cal->create_day(60, $format);
	echo "</td></tr></table>";
echo "</tr></table>";

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