[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * Common Template - tpl_columnar_display.php 4 * 5 * This file is used for generating tabular output where needed, based on the supplied array of table-cell contents. 6 * 7 * @package templateSystem 8 * @copyright Copyright 2003-2006 Zen Cart Development Team 9 * @copyright Portions Copyright 2003 osCommerce 10 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 11 * @version $Id: tpl_columnar_display.php 3157 2006-03-10 23:24:22Z drbyte $ 12 */ 13 14 ?> 15 <?php 16 if ($title) { 17 ?> 18 <?php echo $title; ?> 19 <?php 20 } 21 ?> 22 <?php 23 if (is_array($list_box_contents) > 0 ) { 24 for($row=0;$row<sizeof($list_box_contents);$row++) { 25 $params = ""; 26 //if (isset($list_box_contents[$row]['params'])) $params .= ' ' . $list_box_contents[$row]['params']; 27 ?> 28 29 <?php 30 for($col=0;$col<sizeof($list_box_contents[$row]);$col++) { 31 $r_params = ""; 32 if (isset($list_box_contents[$row][$col]['params'])) $r_params .= ' ' . (string)$list_box_contents[$row][$col]['params']; 33 if (isset($list_box_contents[$row][$col]['text'])) { 34 ?> 35 <?php echo '<div' . $r_params . '>' . $list_box_contents[$row][$col]['text'] . '</div>' . "\n"; ?> 36 <?php 37 } 38 } 39 ?> 40 <br class="clearBoth" /> 41 <?php 42 } 43 } 44 ?>
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 |
![]() |