[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * @package admin 4 * @copyright Copyright 2003-2006 Zen Cart Development Team 5 * @copyright Portions Copyright 2003 osCommerce 6 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 7 * @version $Id: init_category_path.php 3001 2006-02-09 21:45:06Z wilt $ 8 */ 9 if (!defined('IS_ADMIN_FLAG')) { 10 die('Illegal Access'); 11 } 12 // calculate category path 13 if (isset($_GET['cPath'])) { 14 $cPath = $_GET['cPath']; 15 } else { 16 $cPath = ''; 17 } 18 19 if (zen_not_null($cPath)) { 20 $cPath_array = zen_parse_category_path($cPath); 21 $cPath = implode('_', $cPath_array); 22 $current_category_id = $cPath_array[(sizeof($cPath_array)-1)]; 23 } else { 24 $current_category_id = 0; 25 } 26 27 // default open navigation box 28 if (!$_SESSION['selected_box']) { 29 $_SESSION['selected_box'] = 'configuration'; 30 } 31 32 if (isset($_GET['selected_box'])) { 33 $_SESSION['selected_box'] = $_GET['selected_box']; 34 } 35 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |