aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-24 22:39:21 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-24 22:39:21 +0000
commitc2bf86b86fe02d1834bc4d34a2ce297b9268a30b (patch)
tree24fd174a40d456059277135f057127e6bfc5b4fb /week.php
parent2f2aa4a790c2827c3e6145cd44020c49ecc6b95a (diff)
downloadphpicalendar-c2bf86b86fe02d1834bc4d34a2ce297b9268a30b.tar.gz
phpicalendar-c2bf86b86fe02d1834bc4d34a2ce297b9268a30b.tar.bz2
phpicalendar-c2bf86b86fe02d1834bc4d34a2ce297b9268a30b.zip
Cleaned up month_bottom (removed).
Diffstat (limited to 'week.php')
-rw-r--r--week.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/week.php b/week.php
index 8b63d52..b1cf698 100644
--- a/week.php
+++ b/week.php
@@ -1,8 +1,8 @@
<?php
$current_view = "week";
-include("./functions/ical_parser.php");
define('BASE', './');
+include(BASE.'functions/ical_parser.php');
if ($minical_view == "current") $minical_view = "week";
$starttime = "0500";
@@ -14,25 +14,19 @@ $next_week = date("Ymd", strtotime("+1 week", $unix_time));
$prev_week = date("Ymd", strtotime("-1 week", $unix_time));
$tomorrows_date = date( "Ymd", strtotime("+1 day", $unix_time));
$yesterdays_date = date( "Ymd", strtotime("-1 day", $unix_time));
-
$start_week_time = strtotime(dateOfWeek($getdate, $week_start_day));
$end_week_time = $start_week_time + (6 * 25 * 60 * 60);
-
$start_week = localizeDate($dateFormat_week, $start_week_time);
$end_week = localizeDate($dateFormat_week, $end_week_time);
-
$display_date = "$start_week - $end_week";
-
// For the side months
ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2);
$this_day = $day_array2[3];
$this_month = $day_array2[2];
$this_year = $day_array2[1];
-
$dayborder = 0;
-
$thisdate = $start_week_time;
for ($i=0;$i<7;$i++) {
$thisday = date("Ymd", $thisdate);

© 2014-2024 Faster IT GmbH | imprint | privacy policy