[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/ -> 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.5 $
  15  |     $Date: 2006/08/27 02:24:44 $
  16  |     $Author: mcfly_e107 $
  17  +----------------------------------------------------------------------------+
  18  */
  19  // This file is now deprecated and remains in core for backward compatibility 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  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7