[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * load the system wide functions 4 * see {@link http://www.zen-cart.com/wiki/index.php/Developers_API_Tutorials#InitSystem wikitutorials} for more details. 5 * 6 * @package initSystem 7 * @copyright Copyright 2003-2006 Zen Cart Development Team 8 * @copyright Portions Copyright 2003 osCommerce 9 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 10 * @version $Id: init_special_funcs.php 4662 2006-10-02 03:40:44Z drbyte $ 11 */ 12 if (!defined('IS_ADMIN_FLAG')) { 13 die('Illegal Access'); 14 } 15 /** 16 * require the whos online functions and update 17 */ 18 require(DIR_WS_FUNCTIONS . 'whos_online.php'); 19 zen_update_whos_online(); 20 /** 21 * require the password crypto functions 22 */ 23 require(DIR_WS_FUNCTIONS . 'password_funcs.php'); 24 /** 25 * require the banner functions, auto-activate and auto-expire 26 */ 27 require(DIR_WS_FUNCTIONS . 'banner.php'); 28 zen_activate_banners(); 29 zen_expire_banners(); 30 /** 31 * only process once per session do not include banners as banners expire per click as well as per date 32 * require the banner functions, auto-activate and auto-expire. 33 * 34 * this is processed in the admin for dates that expire while being worked on 35 */ 36 if (!isset($_SESSION['updateExpirations']) || $_SESSION['updateExpirations'] !== true) { 37 /** 38 * require the specials products functions, auto-activate and auto-expire 39 */ 40 require(DIR_WS_FUNCTIONS . 'specials.php'); 41 zen_start_specials(); 42 zen_expire_specials(); 43 /** 44 * require the featured products functions, auto-activate and auto-expire 45 */ 46 require(DIR_WS_FUNCTIONS . 'featured.php'); 47 zen_start_featured(); 48 zen_expire_featured(); 49 /** 50 * require the salemaker functions, auto-activate and auto-expire 51 */ 52 require(DIR_WS_FUNCTIONS . 'salemaker.php'); 53 zen_start_salemaker(); 54 zen_expire_salemaker(); 55 56 $_SESSION['updateExpirations'] = true; 57 } 58 ?>
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 |
![]() |