<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: tpl_modules_also_purchased_products.php,v 1.1.1.1 2004/09/01 04:47:57 shidairiki Exp $
//

// choose box images based on box position
  $img_right = 'pixel_trans.gif';
  if ($right_corner) {
    $img_right = 'corner_right.gif';
  }
  $img_left = 'pixel_trans.gif';
  if ($left_corner) {
    $img_left = '';
  }
  if ($right_arrow) {
    $img_right = 'arrow_right.gif';
  }
//
?>
<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="sideBox">
  <tr class="sideBoxHeading">
    <!-- Sidebox Header -->
    <td class="sideBoxHeading"><?php echo zen_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/' . $img_left, '', '0', '0'); ?></td>
    <td width="100%"><?php echo $title; ?>&nbsp;&nbsp;</td>
    <td class="main"><?php echo zen_image(DIR_WS_TEMPLATE_IMAGES . 'infobox/' . $img_right, '', '0', '0'); ?></td>
  </tr>
  <tr>
    <!-- Sidebox Contents -->
    <td class="sideBoxContent" colspan="3">
<?php
  require($template->get_template_dir('tpl_list_box_content.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_list_box_content.php');
?>
    </td>
  </tr>
  <tr>
    <!-- Sidebox Footer -->
    <td class="sideBoxFooter" colspan="3" height="5px">
    </td>
  </tr>
</table>
<br />
