[ Index ]

PHP Cross Reference of Nuke-Evolution v2.0.5

title

Body

[close]

/ -> rss.php (source)

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


Generated: Wed Jun 6 11:38:01 2007 Cross-referenced by PHPXref 0.7