-
Notifications
You must be signed in to change notification settings - Fork 0
/
rss.php
45 lines (37 loc) · 1.53 KB
/
rss.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/*=======================================================================
PHP-Nuke Titanium | Nuke-Evolution Basic : Enhanced and Advanced
=======================================================================*/
/************************************************************************
Nuke-Evolution: Advanced Content Management System
============================================
Copyright (c) 2005 by The Nuke-Evolution Team
Filename : rss.php
Author : Quake (www.php-nuke-titanium.86it.us)
Version : 2.5.0
Date : 02/05/2006 (dd-mm-yyyy)
Notes : This file loads the RSS files and prints them to screen
************************************************************************/
/*****[CHANGES]**********************************************************
-=[Base]=-
Nuke Patched v3.1.0 06/26/2005
-=[Mods]=-
RSS Improvements v3.0.0 12/07/2006
************************************************************************/
define('RSS_FEED', true);
define('NO_SENTINEL', true);
define('NO_SECURITY', true);
require_once(dirname(__FILE__) . '/mainfile.php');
include_once(NUKE_INCLUDE_DIR.'counter.php');
include_once(NUKE_RSS_DIR.'functions.php');
if(isset($feed) && !preg_match("/[\W]/i", $feed)) {
$feed = htmlentities(addslashes($feed));
if(file_exists(NUKE_RSS_DIR.$feed.'.php')) {
include_once(NUKE_RSS_DIR.$feed.'.php');
} else {
exit(_NORSS);
}
} else {
include_once(NUKE_RSS_DIR.'news.php');
}
?>