[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 tpl_best_sellers.php

Zen Cart 源代码 tpl_best_sellers.php




下载文件

文件名: tpl_best_sellers.php
文件类型: PHP文件
文件大小: 948 Bytes
MD5: 72e2cc0301f62d5ed519a493293223ea

tpl_best_sellers.php - 关闭高亮
  1. <?php
  2. /**
  3.  * Side Box Template
  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: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
  10.  */
  11.   $content = '';
  12.   $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  13.   $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
  14.   for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
  15.     $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
  16.   }
  17.   $content .= '</ol>' . "\n";
  18.   $content .= '</div>' . "\n";
  19.   $content .= '</div>';
  20. ?>


cron