[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
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> '; 17 $lng_cnt ++; 18 if ($lng_cnt >= MAX_LANGUAGE_FLAGS_COLUMNS) { 19 $lng_cnt = 0; 20 $content .= '<br />'; 21 } 22 } 23 $content .= '</div>'; 24 ?>
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 |
![]() |