| [ Index ] |
PHP Cross Reference of e107 v1 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | Copyright (C) 2001-2002 Steve Dunstan (jalist@e107.org) 7 | Copyright (C) 2008-2010 e107 Inc (e107.org) 8 | 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $URL: https://e107.svn.sourceforge.net/svnroot/e107/trunk/e107_0.7/article.php $ 14 | $Revision: 11678 $ 15 | $Id: article.php 11678 2010-08-22 00:43:45Z e107coders $ 16 | $Id: article.php 11678 2010-08-22 00:43:45Z e107coders $ 17 | $Author: e107coders $ 18 +----------------------------------------------------------------------------+ 19 */ 20 // This file is now deprecated and remains in core for backward compatibility reasons. 21 22 $tmp = explode(".", $_SERVER['QUERY_STRING']); 23 $action = -1; 24 $sub_action = 0; 25 if (isset($tmp[0])) 26 { 27 $action = $tmp[0]; 28 if (isset($tmp[1])) { $sub_action = $tmp[1]; } 29 } 30 31 32 if ($sub_action == 255) 33 { 34 // content page 35 header("Location: content.php?content.{$action}"); 36 exit; 37 } 38 39 40 if ($action == 0) 41 { 42 // content page 43 header("Location: content.php?article"); 44 exit; 45 } 46 else 47 { 48 header("Location: content.php?review"); 49 exit; 50 } 51 52 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Mar 12 16:28:38 2012 | Cross Reference PHPXref |