[ PHPXref.com ] [ Generated: Sun Jul 20 17:22:27 2008 ] [ e107 0.7.2 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> article.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvsroot/e107/e107_0.7/article.php,v $
  14  |     $Revision: 1.4 $
  15  |     $Date: 2005/06/27 01:45:02 $
  16  |     $Author: streaky $
  17  +----------------------------------------------------------------------------+
  18  */
  19  // This file is now depracated and remains in core for backward compatibilty reasons.
  20      
  21  $tmp = explode(".", $_SERVER['QUERY_STRING']);
  22  $action = $tmp[0];
  23  $sub_action = $tmp[1];
  24  $id = $tmp[2];
  25      
  26  if ($sub_action == 255) {
  27      // content page
  28      header("Location: content.php?content.{$action}");
  29      exit;
  30  }
  31      
  32  if ($action == 0) {
  33      // content page
  34      header("Location: content.php?article");
  35      exit;
  36  } else {
  37      header("Location: content.php?review");
  38      exit;
  39  }
  40      
  41  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]