aboutsummaryrefslogtreecommitdiffstats
path: root/rss/index.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-09-21 04:28:35 +0000
committerChad Little <clittle@users.sourceforge.net>2003-09-21 04:28:35 +0000
commitd130f4125fb2a806096c911575847675ecda621d (patch)
treea6b133706f2d0ec551129a126d9f29320fe6bc56 /rss/index.php
parent816cc749dc0110f0f7f9474296b03242a087d2e7 (diff)
downloadphpicalendar-d130f4125fb2a806096c911575847675ecda621d.tar.gz
phpicalendar-d130f4125fb2a806096c911575847675ecda621d.tar.bz2
phpicalendar-d130f4125fb2a806096c911575847675ecda621d.zip
Header / Footer added.
Diffstat (limited to 'rss/index.php')
-rw-r--r--rss/index.php20
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.'&amp;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'); ?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy