diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-09-21 04:28:35 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-09-21 04:28:35 +0000 |
commit | d130f4125fb2a806096c911575847675ecda621d (patch) | |
tree | a6b133706f2d0ec551129a126d9f29320fe6bc56 /rss | |
parent | 816cc749dc0110f0f7f9474296b03242a087d2e7 (diff) | |
download | phpicalendar-d130f4125fb2a806096c911575847675ecda621d.tar.gz phpicalendar-d130f4125fb2a806096c911575847675ecda621d.tar.bz2 phpicalendar-d130f4125fb2a806096c911575847675ecda621d.zip |
Header / Footer added.
Diffstat (limited to 'rss')
-rw-r--r-- | rss/index.php | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/rss/index.php b/rss/index.php index 6620f6e..187b3b1 100644 --- a/rss/index.php +++ b/rss/index.php @@ -1,7 +1,6 @@ <?php define('BASE','../'); -$current_view = "rssindex"; include(BASE.'functions/ical_parser.php'); $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/rss/')); if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'] != '') { @@ -9,18 +8,9 @@ if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER' } else { $back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate; } - -?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> -<html> -<head> - <meta http-equiv="content-type" content="text/html;charset=UTF-8"> - <title><?php echo "$cal $calendar_lang - RSS Info"; ?></title> - <link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>"> -</head> -<body bgcolor="#FFFFFF"> -<?php include (BASE.'includes/header.inc.php'); ?> +$current_view = "rssindex"; +$display_date = "$calendar_lang - RSS Info"; +include (BASE.'includes/header.inc.php'); ?> <center> <table border="0" width="700" cellspacing="0" cellpadding="0"> <tr> @@ -105,7 +95,5 @@ if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER' </td> </tr> </table> -<?php include (BASE.'includes/footer.inc.php'); ?> </center> -</body> -</html> +<?php include (BASE.'includes/footer.inc.php'); ?> |