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-2007 Cool Dude 2k - http://intdb.sourceforge.net/
12 Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
14 $FileInfo: rss.php - Last Update: 08/09/2007 SVN 73 - Author: cooldude2k $
16 @error_reporting(E_ALL ^ E_NOTICE);
17 require_once('mysql.php');
18 if($Settings['enable_rss']==false) {
19 @header("Content-Type: text/plain; charset=".$Settings['charset']);
20 ob_clean(); echo "Sorry RSS Feeds are not enabled for this board.";
21 gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
22 if($_GET['act']==null) { $_GET['act'] = "rss"; }
23 if($_GET['act']=="rss"||$_GET['act']=="atom") {
24 $_GET['feedtype'] = $_GET['act']; $Feed['Feed']="Done";
25 require($SettDir['inc'].'rssfeed.php'); }