[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * banner_box_all sidebox - used to display "square" banners in sideboxes 4 * 5 * @package templateSystem 6 * @copyright Copyright 2003-2005 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: banner_box_all.php 3133 2006-03-07 23:39:02Z ajeh $ 10 */ 11 12 // INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Banner Display Group - Side Box banner_box_all', 'SHOW_BANNERS_GROUP_SET_ALL', 'BannersAll', 'The Banner Display Group may only be from one (1) Banner Group for the Banner All sidebox<br /><br />Default Group is BannersAll<br /><br />What Banner Group do you want to use in the Side Box - banner_box_all?<br />Leave blank for none', '19', '72', '', '', now()); 13 // ALTER TABLE `banners` ADD `banners_sort_order` INT( 11 ) DEFAULT '0' NOT NULL; 14 15 // test if box should display 16 $show_banner_box_all = true; 17 if (SHOW_BANNERS_GROUP_SET_ALL == '') { 18 $show_banner_box_all = false; 19 } 20 21 if ($show_banner_box_all == true) { 22 $banner_box[] = TEXT_BANNER_BOX_ALL; 23 $banner_box_group= SHOW_BANNERS_GROUP_SET_ALL; 24 25 require($template->get_template_dir('tpl_banner_box_all.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_banner_box_all.php'); 26 27 // if no active banner in the specified banner group then the box will not show 28 // uses banners in the defined group $banner_box_group 29 if ($banners_all->RecordCount() > 0) { 30 31 $title = BOX_HEADING_BANNER_BOX_ALL; 32 $title_link = false; 33 require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); 34 } 35 } 36 ?>
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 |
![]() |