diff options
Diffstat (limited to 'pages/holidates.php')
| -rwxr-xr-x | pages/holidates.php | 35 |
1 files changed, 32 insertions, 3 deletions
| diff --git a/pages/holidates.php b/pages/holidates.php index 29b0ca4..e5d8860 100755 --- a/pages/holidates.php +++ b/pages/holidates.php | |||
| @@ -1,10 +1,39 @@ | |||
| 1 | <TABLE WIDTH="100%" CLASS="webmail"><TR><TH>ID</TH><TH>Date</TH><TH>Holidate</TH></TR><?php | 1 | <?php |
| 2 | /* | ||
| 3 | 444444444 | ||
| 4 | 4::::::::4 | ||
| 5 | 4:::::::::4 | ||
| 6 | 4::::44::::4 | ||
| 7 | 4::::4 4::::4 Four Island | ||
| 8 | 4::::4 4::::4 | ||
| 9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
| 10 | 4::::444444::::444 | ||
| 11 | 4::::::::::::::::4 header.inc | ||
| 12 | 4444444444:::::444 | ||
| 13 | 4::::4 Please do not use, reproduce or steal the | ||
| 14 | 4::::4 contents of this file without explicit | ||
| 15 | 4::::4 permission from Hatkirby. | ||
| 16 | 44::::::44 | ||
| 17 | 4::::::::4 | ||
| 18 | 4444444444 | ||
| 19 | */ | ||
| 20 | |||
| 21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
| 22 | |||
| 23 | require('headerproc.php'); | ||
| 24 | |||
| 25 | $template = new FITemplate('holidates'); | ||
| 2 | 26 | ||
| 3 | foreach ($specialdates as $num => $val) | 27 | foreach ($specialdates as $num => $val) |
| 4 | { | 28 | { |
| 5 | $date = sd_clearDate(); | 29 | $date = sd_clearDate(); |
| 6 | $date += ($num*60*60*24); | 30 | $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>'); | 31 | $template->adds_block('DATE', array( 'EVEN' => (($num % 2 == 0) ? ' CLASS="even"' : ''), |
| 32 | 'NUM' => $num, | ||
| 33 | 'DATE' => date('F jS', $date), | ||
| 34 | 'TEXT' => $val)); | ||
| 8 | } | 35 | } |
| 9 | 36 | ||
| 10 | ?></TABLE> | 37 | $template->display(); |
| 38 | |||
| 39 | ?> | ||
