  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: table_block.php 1739 2007-12-20 00:52:16Z hpdl $ |
| |
| 3 | + | $Id: table_block.php 1745 2007-12-21 02:29:49Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
41 | 41 | | |
| |
42 | 42 | | if (isset($contents[$i][0]) && is_array($contents[$i][0])) { |
| |
43 | 43 | | for ($x=0, $y=sizeof($contents[$i]); $x<$y; $x++) { |
  |
44 | | - | if (isset($contents[$i][$x]['text']) && tep_not_null(isset($contents[$i][$x]['text']))) { |
| |
| 44 | + | if (isset($contents[$i][$x]['text']) && tep_not_null($contents[$i][$x]['text'])) { |
|
45 | 45 | | $tableBox_string .= ' <td'; |
| |
46 | 46 | | if (isset($contents[$i][$x]['align']) && tep_not_null($contents[$i][$x]['align'])) $tableBox_string .= ' align="' . $contents[$i][$x]['align'] . '"'; |
  |
47 | | - | if (isset($contents[$i][$x]['params']) && tep_not_null(isset($contents[$i][$x]['params']))) { |
| |
| 47 | + | if (isset($contents[$i][$x]['params']) && tep_not_null($contents[$i][$x]['params'])) { |
  |
48 | 48 | | $tableBox_string .= ' ' . $contents[$i][$x]['params']; |
| |
49 | 49 | | } elseif (tep_not_null($this->table_data_parameters)) { |
| |
50 | 50 | | $tableBox_string .= ' ' . $this->table_data_parameters; |