<form method="POST" action="index.php">
    <input type="hidden" name="fuse" value="{fuse}" />
    <input type="hidden" name="action" value="{action}" />
    <table width=100% cellpadding=0 border=0 cellspacing=0>
        <tr>
            <td class="snapshot-header-left"></td>
            <td class="snapshot-header">
                <font class=snapshot-header-text>[l]Coupons list[/l]</font>
            </td>
            <td class="snapshot-header-right"></td>
        </tr>
    </table>
    <table width="l00%" class="sort-table" id="table-1" border="0" cellpadding="0" cellspacing="0">
        <col style="text-align: right" />
        <col />
        <col />
        <col />
        <col />
        <col />
        <col />
        <col />
        <col />
        <col />
        <col />
        <thead>
            <tr>
                <td width="1%"></td>
                <td align=center width="60">[l]Name[/l]</td>
                <td align=left>[l]Description[/l]</td>
                <td align=left>[l]Code[/l]</td>
                <td align=left>[l]Quantity Left[/l]</td>
                <td align=left>[l]Discount[/l]</td>
                <td align=left>[l]Start Date[/l]</td>
                <td align=left>[l]Expires[/l]</td>
                <td align=left>[l]Recurring[/l]</td>
                <td align=left>[l]Applies to[/l]</td>
                <td align=left>[l]Billing Cycles[/l]</td>
            </tr>
        </thead>
        <tbody>
            <!-- BEGIN DYNAMIC BLOCK: coupon -->
                <tr class="{trClass}">
                    <td width="5"><input type="checkbox" style="position:relative;top:1px;" name="couponid[]" value="{couponId}" onClick="checkCheckBox(this);" /></td>
                    <td><a href="index.php?fuse={fuse}&action={editAction}&couponid={couponId}">{couponName}</a></td>
                    <td>{couponDescription}</td>
                    <td>{couponCode}</td>
                    <td>{couponQuantity}</td>
                    <td>{couponDiscount}</td>
                    <td>{couponStart}</td>
                    <td>{couponExpires}</td>
                    <td>{couponRecurring}</td>
                    <td>
                        <!-- BEGIN DYNAMIC BLOCK: appliesTo -->
                            {packageName}<br />
                        <!-- END DYNAMIC BLOCK: appliesTo -->
                    </td>
                    <td>{couponBillingCycles}</td>
                </tr>
            <!-- END DYNAMIC BLOCK: coupon -->
        </tbody>
    </table>
    {NOCOUPONS}

    <br />
    <input type="checkbox" name="toggleAllChk" onclick="toggleAll(this.form);"/>
    <b>&nbsp;&nbsp;&nbsp;[l]Toggle All[/l]</b>
    <br /><br />
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr class="actionfooter">
            <td valign="middle" align="left" width="53" nowrap>
                <input type="submit" class="button_medium" value="[l]delete[/l]" style="filter:alpha(opacity=50); -moz-opacity:0.4" disabled="true" onsubmit="submitonce(this.form);" />
            </td>
        </tr>
    </table>
</form>
