case 'PRODUCT_LIST_WEIGHT': $lc_text = OSCOM::getDef('listing_weight_heading'); $lc_key = 'weight'; $lc_align = 'right'; break; case 'PRODUCT_LIST_IMAGE': $lc_text = OSCOM::getDef('listing_image_heading'); $lc_align = 'center'; break; case 'PRODUCT_LIST_BUY_NOW': $lc_text = OSCOM::getDef('listing_buy_now_heading'); $lc_align = 'center'; break; } if ($lc_key !== false) { $lc_text = Products::getListingSortLink($lc_key, $lc_text); } echo ' <td align="' . $lc_align . '" class="productListing-heading"> ' . $lc_text . ' </td>' . "\n"; } ?> </tr> <?php $rows = 0; foreach ($products_listing['entries'] as $p) { $OSCOM_Product = new Product($p['products_id']); $rows++; echo ' <tr class="' . ($rows / 2 == floor($rows / 2) ? 'productListing-even' : 'productListing-odd') . '">' . "\n"; for ($col = 0, $n = sizeof($column_list); $col < $n; $col++) { $lc_align = '';