diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 17:27:03 -0500 | 
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 17:27:03 -0500 | 
| commit | 24503e3abe705acde2df159aeae61be0d009f92e (patch) | |
| tree | 8debbd53dcd0db2f5934c5e2af4e697e3787781d /pages/holidates.php | |
| download | fourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.gz fourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.bz2 fourisland-24503e3abe705acde2df159aeae61be0d009f92e.zip  | |
Imported sources
Diffstat (limited to 'pages/holidates.php')
| -rw-r--r-- | pages/holidates.php | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/pages/holidates.php b/pages/holidates.php new file mode 100644 index 0000000..29b0ca4 --- /dev/null +++ b/pages/holidates.php | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | <TABLE WIDTH="100%" CLASS="webmail"><TR><TH>ID</TH><TH>Date</TH><TH>Holidate</TH></TR><?php | ||
| 2 | |||
| 3 | foreach ($specialdates as $num => $val) | ||
| 4 | { | ||
| 5 | $date = sd_clearDate(); | ||
| 6 | $date += ($num*60*60*24); | ||
| 7 | echo('<TR' . (($num % 2 == 0) ? ' CLASS="even"' : '') . '><TD>' . $num . '</TD><TD>' . date('F jS',$date) . '</TD><TD>' . $val . '</TD></TR>'); | ||
| 8 | } | ||
| 9 | |||
| 10 | ?></TABLE> | ||
