From ab055f768fe83a1d375cc3dbdbfd426d1b345bb9 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 18 Sep 2002 06:44:59 +0000 Subject: *** empty log message *** --- day.php | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'day.php') diff --git a/day.php b/day.php index 87e55e2..25d094a 100644 --- a/day.php +++ b/day.php @@ -8,8 +8,8 @@ $current_view = "day"; if ($getdate == (date("Ymd"))) { $display_date = date ("l, F d"); - $tomorrows_date = date( "Ymd", (time() + (25*3600))); - $yesterdays_date = date( "Ymd", (time() - (25*3600))); + $tomorrows_date = date( "Ymd", (time() + (24 * 3600))); + $yesterdays_date = date( "Ymd", (time() - (24 * 3600))); } else { ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2); $this_day = $day_array2[3]; @@ -17,12 +17,14 @@ if ($getdate == (date("Ymd"))) { $this_year = $day_array2[1]; $unix_time = mktime(0,0,0,"$this_month","$this_day","$this_year"); $display_date = date ("l, F d", $unix_time); - $tomorrow = $unix_time + (25*3600); - $yesterday = $unix_time - (25*3600); + $tomorrow = $unix_time + (24 * 3600); + $yesterday = $unix_time - (24 * 3600); $tomorrows_date = date( "Ymd", ($tomorrow)); $yesterdays_date = date( "Ymd", ($yesterday)); } +if (!$cal) $cal = "$default_cal"; + ?>
- - + - + - + @@ -70,7 +71,7 @@ if ($getdate == (date("Ymd"))) { - + - + - +
Day | Week | Month">Day | ">Week | ">Month
">Previous DayPrevious Day"; ?> ">Next DayNext Day"; ?>
- +
Calendar ">Subscribe | ">Download
@@ -233,16 +234,16 @@ if ($getdate == (date("Ymd"))) {
Previous DayPrevious Day"; ?> Next DayNext Day"; ?>
Day | Week | Month">Day | ">Week | ">Month
-- cgit v1.2.3