[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * column_left module 4 * 5 * @package templateStructure 6 * @copyright Copyright 2003-2006 Zen Cart Development Team 7 * @copyright Portions Copyright 2003 osCommerce 8 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 9 * @version $Id: column_left.php 4274 2006-08-26 03:16:53Z drbyte $ 10 */ 11 if (!defined('IS_ADMIN_FLAG')) { 12 die('Illegal Access'); 13 } 14 $column_box_default='tpl_box_default_left.php'; 15 // Check if there are boxes for the column 16 $column_left_display= $db->Execute("select layout_box_name from " . TABLE_LAYOUT_BOXES . " where layout_box_location = 0 and layout_box_status= '1' and layout_template ='" . $template_dir . "'" . ' order by layout_box_sort_order'); 17 // safety row stop 18 $box_cnt=0; 19 while (!$column_left_display->EOF and $box_cnt < 100) { 20 $box_cnt++; 21 if ( file_exists(DIR_WS_MODULES . 'sideboxes/' . $column_left_display->fields['layout_box_name']) or file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name']) ) { 22 ?> 23 <?php 24 //$column_box_spacer = 'column_box_spacer_left'; 25 $column_width = BOX_WIDTH_LEFT; 26 if ( file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name']) ) { 27 $box_id = zen_get_box_id($column_left_display->fields['layout_box_name']); 28 require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $column_left_display->fields['layout_box_name']); 29 } else { 30 $box_id = zen_get_box_id($column_left_display->fields['layout_box_name']); 31 require(DIR_WS_MODULES . 'sideboxes/' . $column_left_display->fields['layout_box_name']); 32 } 33 } // file_exists 34 $column_left_display->MoveNext(); 35 } // while column_left 36 $box_id = ''; 37 ?>
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 |
![]() |