| [ Index ] |
PHP Cross Reference of E107 v0.7.22 code documentation |
[Summary view] [Print] [Text view]
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: /cvs_backup/e107_0.7/article.php,v $ 14 | $Revision: 11346 $ 15 | $Date: 2010-02-17 13:56:14 -0500 (Wed, 17 Feb 2010) $ 16 | $Author: secretr $ 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 = -1; 23 $sub_action = 0; 24 if (isset($tmp[0])) 25 { 26 $action = $tmp[0]; 27 if (isset($tmp[1])) { $sub_action = $tmp[1]; } 28 } 29 30 31 if ($sub_action == 255) 32 { 33 // content page 34 header("Location: content.php?content.{$action}"); 35 exit; 36 } 37 38 39 if ($action == 0) 40 { 41 // content page 42 header("Location: content.php?article"); 43 exit; 44 } 45 else 46 { 47 header("Location: content.php?review"); 48 exit; 49 } 50 51 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Aug 3 00:19:13 2010 |