From a2949eb87f0cb82392956922a38cdef34adec71e Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 30 Sep 2002 05:49:40 +0000 Subject: tweeks to today_today, subscribe icon --- images/small_icalicon.gif | Bin 369 -> 0 bytes images/smallicon.gif | Bin 371 -> 111 bytes month.php | 6 +++++- week.php | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 images/small_icalicon.gif diff --git a/images/small_icalicon.gif b/images/small_icalicon.gif deleted file mode 100644 index cf5b6de..0000000 Binary files a/images/small_icalicon.gif and /dev/null differ diff --git a/images/smallicon.gif b/images/smallicon.gif index ab0c9c2..db52d9e 100644 Binary files a/images/smallicon.gif and b/images/smallicon.gif differ diff --git a/month.php b/month.php index fbda09a..4da99f6 100644 --- a/month.php +++ b/month.php @@ -10,13 +10,17 @@ $this_day = $day_array2[3]; $this_month = $day_array2[2]; $this_year = $day_array2[1]; + + $unix_time = strtotime($getdate); + $today_today = date ("Ymd"); + $tomorrows_date = date( "Ymd", strtotime("+1 day", $unix_time)); + $yesterdays_date = date( "Ymd", strtotime("-1 day", $unix_time)); $date = mktime(0,0,0,"$this_month","$this_day","$this_year"); $next_month = date("Ymd", DateAdd ("m", "1", $date)); $prev_month = date("Ymd", DateAdd ("m", "-1", $date)); $display_month = strftime ($dateFormat_month, $date); $parse_month = date ("Ym", $date); $first_sunday = sundayOfWeek($this_year, $this_month, "1"); - $today_today = date ("Ymd"); ?> diff --git a/week.php b/week.php index 69e1fba..72d47ac 100644 --- a/week.php +++ b/week.php @@ -17,6 +17,8 @@ $unix_time = strtotime($getdate); $today_today = date ("Ymd"); $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); -- cgit v1.2.3