<div class="o_form">

    <br />

    <?php
    $this->set('progress_step','start');
    $this->element('progress.phtml');
    ?>

    <?php
    $this->element('errors.phtml');
    ?>

    <form name="OrderForm" method="post" action="?">
        <input type="hidden" name="step" value="cart" />
        <input type="hidden" name="cart" value="<?php echo ORDERFORM_ID; ?>" />
        <input type="hidden" name="action" value="" />

        <h2><?php echo __('cst', 'cst'); ?></h2>
        <br />

        <?php
        $this->element('cst_new.phtml','cst');
        ?>

        <div id="cst_main_options">
            <?php if ($cstTypeRecord->HasUniqueFeature) { ?>
                <label><?php echo __('cst name', 'cst'); ?></label>
                <input type="text" name="Name" value="<?php if(isset($cst['Name'])){ echo $cst['Name']; } ?>"/>
                <br />
            <?php } ?>
            <?php if ($cstTypeRecord->HasAmount) { ?>
                <label><?php echo __('cst amount', 'cst'); ?></label>
                <input type="text" name="Number" value="<?php if(isset($cst['Number'])){ echo $cst['Number']; }else{ echo "1"; } ?>"/>
                <br />
            <?php } ?>

            <?php if(file_exists(sprintf('custom/%d.phtml', ORDERFORM_ID))){ include(sprintf('custom/%d.phtml', ORDERFORM_ID)); } ?>

            <?php
            $this->element('billingperiod.phtml');
            ?>

            <br /><br />

        </div>

        <?php
        $this->element('options.phtml');
        ?>
    </form>

    <div class="nav">
        <p><a id="order_submit_btn"  class="button_submit"><?php echo __('button to customerdata'); ?></a></p>

        <p class="footer_excl_incl_vat"><?php echo (SHOW_VAT_INCLUDED) ? __('footer prices are including tax') : ((count($array_taxpercentages) === 0 && count($array_total_taxpercentages) === 0) ? '&nbsp;' : __('footer prices are excluding tax')); ?></p>

    </div>

</div>