C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\heimam\webcalendar\calendar.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?
/*  ©2004 Proverbs, LLC. All rights reserved.  */

$setday = 0;
$setmonth = 0;
$setyear = 0;
$setview = "calendar";

if (isset(
$_REQUEST['view']) && $_REQUEST['view'] != "")
    
$setview = $_REQUEST['view'];
if (isset(
$_REQUEST['day']) && $_REQUEST['day'] != "")
    
$setday = $_REQUEST['day'];
if (isset(
$_REQUEST['month']) && $_REQUEST['month'] != "")
    
$setmonth = $_REQUEST['month'];
if (isset(
$_REQUEST['year']) && $_REQUEST['year'] != "")
    
$setyear = $_REQUEST['year'];

if (
$setview == "schedule")
    require (
'schedule.inc.php');
else
    require (
'calendar.inc.php');

$page->createpage($setday, $setmonth, $setyear);

$page->displaypage();
?>