$colspan++; $shopping_cart_detail .= ' <td class="tableHeading">' . $aLang['table_heading_model'] . '</td>' . "\n"; } } $shopping_cart_detail .= ' <td class="tableHeading">' . $aLang['table_heading_products'] . '</td>' . "\n"; if ($sPage == $aPages['shopping_cart']) { if ($_SESSION['member']->group['discount'] != 0) { $colspan++; $shopping_cart_detail .= '<td align="right" class="tableHeading"><b>' . $aLang['table_heading_discount'] . '</b></td>'; } } if ($sPage != $aPages['shopping_cart']) { $colspan++; $shopping_cart_detail .= ' <td align="center" class="tableHeading">' . $aLang['table_heading_tax'] . '</td>' . "\n"; } $shopping_cart_detail .= ' <td align="right" class="tableHeading">' . $aLang['table_heading_total'] . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td colspan="' . $colspan . '">' . oos_black_line() . '</td>' . "\n" . ' </tr>' . "\n"; $nArrayCountProducts = count($products); for ($i = 0, $n = $nArrayCountProducts; $i < $n; $i++) { $shopping_cart_detail .= ' <tr>' . "\n"; if (SHOPPING_CART_IMAGE_ON == '1') { $shopping_cart_detail .= ' <td align="center" valign="top" class="main"><a href="' . oos_href_link($aPages['product_info'], 'products_id=' . $products[$i]['id'], 'NONSSL') . '">'; if ($products[$i]['image'] != '') { $sProductImage = $products[$i]['image']; } else { if (is_readable(OOS_ABSOLUTE_PATH . OOS_IMAGES . 'no_picture_' . $sLanguage . '.gif')) { $sProductImage = 'no_picture_' . $sLanguage . '.gif'; } else { $sProductImage = 'no_picture.gif'; } } $shopping_cart_detail .= oos_image(OOS_IMAGES . $sProductImage, $products[$i]['name'], SMALL_IMAGE_WIDTH * SHOPPING_CART_MINI_IMAGE, SMALL_IMAGE_HEIGHT * SHOPPING_CART_MINI_IMAGE) . '</a></td>' . "\n";
echo oos_draw_input_field('products_attributes_maxcount', $products_attributes_maxcount, 'size="5"'); ?> </td> <td class="smallText"> </td> </tr> </table> </td> <td> </td> </tr> <?php } } ?> <tr> <td colspan="8"><?php echo oos_black_line(); ?> </td> </tr> </table></form></td> </tr> </table></td> <!-- products_attributes_eof //--> </tr> </table> <!-- body_text_eof //--> <?php require 'includes/oos_footer.php'; ?> <br />
<td class="smallText"><?php echo oos_draw_input_field('products_attributes_maxdays', $products_attributes_maxdays, 'size="5"'); ?> </td> <td class="smallText"><?php echo TABLE_TEXT_MAX_COUNT; ?></td> <td class="smallText"><?php echo oos_draw_input_field('products_attributes_maxcount', $products_attributes_maxcount, 'size="5"'); ?> </td> <td class="smallText"> </td> </tr> </table> </td> <td> </td> </tr> <?php } // end of DOWNLOAD_ENABLED section ?> <?php } ?> <tr> <td colspan="8"><?php echo oos_black_line(); ?></td> </tr> </table></form></td> </tr> </table></td> <!-- products_attributes_eof //--> </tr> </table> <!-- body_text_eof //--> <?php require 'includes/oos_footer.php'; ?> <br /> </body> </html> <?php require 'includes/oos_nice_exit.php'; ?>
if ($sPage == $aPages['shopping_cart']) { if ($_SESSION['member']->group['discount'] != 0) { $colspan++; $shopping_cart_detail .= '<td align="right" class="tableHeading"><b>' . $aLang['table_heading_discount'] . '</b></td>'; } } if ($sPage != $aPages['shopping_cart']) { $colspan++; $shopping_cart_detail .= ' <td align="center" class="tableHeading">' . $aLang['table_heading_tax'] . '</td>' . "\n"; } $shopping_cart_detail .= ' <td align="right" class="tableHeading">' . $aLang['table_heading_total'] . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td colspan="' . $colspan . '">' . oos_black_line() . '</td>' . "\n" . ' </tr>' . "\n"; $nArrayCountProducts = count($products); for ($i=0, $n=$nArrayCountProducts; $i<$n; $i++) { $shopping_cart_detail .= ' <tr>' . "\n"; if (SHOPPING_CART_IMAGE_ON == '1') { $shopping_cart_detail .= ' <td align="center" valign="top" class="main"><a href="' . oos_href_link($aPages['product_info'], 'products_id=' . $products[$i]['id'], 'NONSSL') . '">'; if ($products[$i]['image'] != '') { $sProductImage = $products[$i]['image']; } else { if (is_readable(OOS_ABSOLUTE_PATH . OOS_IMAGES . 'no_picture_' . $sLanguage . '.gif')) { $sProductImage = 'no_picture_' . $sLanguage . '.gif'; } else { $sProductImage = 'no_picture.gif';