Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00033
00034 include_once ('.'.DATEPLANER_ROOT_DIR.'/includes/inc.day.php');
00035
00036
00037
00038 if($_GET[action] == "next"){
00039 $_GET[year] = $_GET[year] + 1;
00040 $minical_show = setMinicalendar($_GET[month], $_GET[year], $DP_Lang, $_GET[app]);
00041 }elseif($_GET[action] == "last"){
00042 $_GET[year] = $_GET[year] - 1;
00043 $minical_show = setMinicalendar($_GET[month], $_GET[year], $DP_Lang, $_GET[app]);
00044 }else{
00045 $minical_show = setMinicalendar($_REQUEST[month],$_REQUEST[year], $DP_Lang, $_REQUEST[app]);
00046 }
00047 $keywords_float = showKeywords($_REQUEST[S_Keywords], $DB);
00048 eval ("\$keywords_show = \"".$Gui->getTemplate("menue_keyword")."\";");
00049 eval ("\$lefttxt = \"".$Gui->getTemplate("menue")."\";");
00050 eval ("\$left = \"".$Gui->getTemplate("left")."\";");
00051
00052
00053 $right = '';
00054
00055
00056
00057
00058 $downtext = '';
00059
00060
00061
00062 if ($_REQUEST[timestamp]) {
00063 $showdate = getDateForDay($_REQUEST[timestamp]);
00064 $day_navigation = navigation($_REQUEST[timestamp]);
00065 $wholeDayDayDates = getWholeDay($_REQUEST[timestamp], $DB);
00066 $dayString = generateDay($_REQUEST[timestamp], $DB);
00067 }else { $timestamp=(int)mktime(0,0,0);
00068 $showdate = getDateForDay($timestamp);
00069 $day_navigation = navigation($timestamp);
00070 $wholeDayDayDates = getWholeDay($timestamp, $DB);
00071 $dayString = generateDay($timestamp, $DB);
00072
00073 }
00074
00075
00076 eval ("\$centertxt = \"".$Gui->getTemplate("day_main")."\";");
00077
00078
00079
00080 eval ("\$main = \"".$Gui->getTemplate("frames_set")."\";");
00081
00082 eval("doOutput(\"".$Gui->getTemplate("main")."\");");
00083
00084 exit;
00085 ?>