<!-- Progress Bar -->
<?php echo $this->progressBar;?>

<!-- Cart Summary -->
<?php echo $this->cartSummary;?>

<!-- Main Page -->
<div style="margin-right:220px; margin-bottom:20px;">

<form method="POST" action="signup.php" name="step1">

    <input type="hidden" name="step" value="1">
    <input type="hidden" name="clienttype" value="{CLIENTTYPE}">
    <input type="hidden" name="currency" value="{CURRENCY}">
    <input type="hidden" name="selectedcurrency" value="{SELECTEDCURRENCY}">
    <input type="hidden" name="coupon_code" value="{COUPONCODE}">

    <?php if(isset($this->productGroups) && is_array($this->productGroups)) { ?>
        <?php foreach($this->productGroups AS $productGroup) { ?>

        <div style="border:2px solid #ddd; background:#f6f6f6; padding:15px; margin-bottom:20px;-moz-border-radius: 5px;-webkit-border-radius: 5px;">
            <h3><?php echo $productGroup['name'];?></h3>
            <p><?php echo $productGroup['description'];?></p>
            <p><?php if($productGroup['type'] == 3) {?>
                    <a href="order.php?step=2&amp;product=<?php echo $productGroup['id'];?>&domain=1"><?php echo $this->lang('Order');?> <?php echo $productGroup['name'];?> &raquo;</a>
                <?php } else{?>
                    <a href="order.php?step=1&amp;productGroup=<?php echo $productGroup['id'];?>"><?php echo $this->lang('Order');?> <?php echo $productGroup['name'];?> &raquo;</a>
                <?php } ?>
                </p>
        </div>

        <?php } //end foreach ?>

    <?php } else { ?>
        <div style='border:1px solid #900; background:#ffeded; color:#900; font-weight:bold; margin-bottom:20px; padding:10px;-moz-border-radius: 5px;-webkit-border-radius: 5px;'><?php echo $this->lang('There are no product groups to display!');?></div>
    <?php } ?>
    
</form>

</div>

<div class="clear"></div>