diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-09-30 05:49:40 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-09-30 05:49:40 +0000 |
commit | a2949eb87f0cb82392956922a38cdef34adec71e (patch) | |
tree | 1d5a2790dc184b3d19d482312c6fdd5f065a1fe3 | |
parent | 3f1ef03a58bb075995bb70543632a8a71902b7ff (diff) | |
download | phpicalendar-a2949eb87f0cb82392956922a38cdef34adec71e.tar.gz phpicalendar-a2949eb87f0cb82392956922a38cdef34adec71e.tar.bz2 phpicalendar-a2949eb87f0cb82392956922a38cdef34adec71e.zip |
tweeks to today_today, subscribe icon
-rw-r--r-- | images/small_icalicon.gif | bin | 369 -> 0 bytes | |||
-rw-r--r-- | images/smallicon.gif | bin | 371 -> 111 bytes | |||
-rw-r--r-- | month.php | 6 | ||||
-rw-r--r-- | week.php | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/images/small_icalicon.gif b/images/small_icalicon.gif Binary files differdeleted file mode 100644 index cf5b6de..0000000 --- a/images/small_icalicon.gif +++ /dev/null diff --git a/images/smallicon.gif b/images/smallicon.gif Binary files differindex ab0c9c2..db52d9e 100644 --- a/images/smallicon.gif +++ b/images/smallicon.gif @@ -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"); ?> @@ -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); |