diff options
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> | ||