| Current Path : /home/ataenra/www/ATA/INTRANET/Outils/chantier/ |
| Current File : /home/ataenra/www/ATA/INTRANET/Outils/chantier/popCalendar.php |
<?php
/**
* Create a new Calendar object and print it
* @author Nick Korbel <lqqkout13@users.sourceforge.net>
* @version 06-05-04
* @package phpScheduleIt
*
* Copyright (C) 2003 - 2007 phpScheduleIt
* License: GPL, see LICENSE
*/
/**
* Calendar class
*/
include_once('lib/Calendar.class.php');
/**
* Template class
*/
include_once('lib/Template.class.php');
// Create Calendar
$myCal= new Calendar();
if (isset($_GET['scheduleid']))
$myCal->scheduleid = $_GET['scheduleid'];
$t = new Template($myCal->monthName . ' ' . $myCal->year);
$t->printHTMLHeader();
$t->startMain();
?>
<div align="center" style="margin: 0px; width: 100%;">
<?php
// Print calendar
$myCal->printCalendar();
?>
</div>
<?php
$t->endMain();
?>
</body>
</html>