banner_box2.php
来自「Zen Cart是一款最新的购物车软件」· PHP 代码 · 共 33 行
PHP
33 行
<?php
/**
* banner_box2 sidebox - second box used to display "square" banners in sideboxes
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: banner_box2.php 3133 2006-03-07 23:39:02Z ajeh $
*/
// test if box should display
$show_banner_box2 = true;
if (SHOW_BANNERS_GROUP_SET8 == '') {
$show_banner_box2 = false;
}
if ($show_banner_box2 == true) {
$banner_box[] = TEXT_BANNER_BOX2;
$banner_box_group= SHOW_BANNERS_GROUP_SET8;
require($template->get_template_dir('tpl_banner_box2.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_banner_box2.php');
// if no active banner in the specified banner group then the box will not show
// uses banners in the defined group $banner_box_group
if ($banner->RecordCount() > 0) {
$title = BOX_HEADING_BANNER_BOX2;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?