3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the Revised BSD License.
6 This program is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 Revised BSD License for more details.
11 Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
12 Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
14 $FileInfo: rss.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
16 if(@ini_get("register_globals")) {
17 require_once('inc/misc/killglobals.php'); }
18 $pretime = explode(" ", microtime());
21 $_POST['starttime'] = $utime + $time;
22 require_once('mysql.php');
23 if($Settings['enable_rss']=="off") {
24 @header("Content-Type: text/plain; charset=".$Settings['charset']);
25 ob_clean(); echo "Sorry RSS Feeds are not enabled for this board.";
26 gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
27 if($_GET['act']==null) { $_GET['act'] = "rss"; }
28 if($_GET['act']=="rss"||$_GET['act']=="oldrss"||$_GET['act']=="atom") {
29 $_GET['feedtype'] = $_GET['act']; $Feed['Feed']="Done";
30 require($SettDir['inc'].'rssfeed.php'); }