[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/modules/sideboxes/ -> banner_box.php (source)

   1  <?php
   2  /**

   3   * banner_box 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.php 3133 2006-03-07 23:39:02Z ajeh $

  10   */
  11  
  12  // test if box should display

  13    $show_banner_box = true;
  14    if (SHOW_BANNERS_GROUP_SET7 == '') {
  15      $show_banner_box = false;
  16    }
  17  
  18    if ($show_banner_box == true) {
  19      $banner_box[] = TEXT_BANNER_BOX;
  20      $banner_box_group= SHOW_BANNERS_GROUP_SET7;
  21  
  22      require($template->get_template_dir('tpl_banner_box.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_banner_box.php');
  23  
  24  // if no active banner in the specified banner group then the box will not show

  25  // uses banners in the defined group $banner_box_group

  26      if ($banner->RecordCount() > 0) {
  27  
  28        $title =  BOX_HEADING_BANNER_BOX;
  29        $title_link = false;
  30        require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
  31      }
  32    }
  33  ?>


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics