[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_languages.php

Zen Cart 源代码 tpl_languages.php




下载文件

文件名: tpl_languages.php
文件类型: PHP文件
文件大小: 994 Bytes
MD5: 1a8448e941f82459f486ebdcd0c31221

tpl_languages.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_languages.php 2982 2006-02-07 07:56:41Z birdbrain $
  10.  */
  11.   $content = "";
  12.   $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
  13.  
  14.   $lng_cnt = 0;
  15.   while (list($key, $value) = each($lng->catalog_languages)) {
  16.     $content .= '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . zen_image(DIR_WS_LANGUAGES .  $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a>&nbsp;&nbsp;';
  17.     $lng_cnt ++;
  18.     if ($lng_cnt >= MAX_LANGUAGE_FLAGS_COLUMNS) {
  19.       $lng_cnt = 0;
  20.       $content .= '<br />';
  21.     }
  22.   }
  23. $content .= '</div>';
  24. ?>


cron