<table class="maintable coupon" cellspacing="0" cellpadding="0">
    <tr class="tblth">
        <th width="80">图片</th>
        <th width="200">名称</th>
        <th width="*">优惠说明</th>
        <th width="120" align="right">有效期</th>
    </tr>
    <!--{if $coupons}-->
    <!--{loop $coupons $val}-->
    <tr>
        <td class="pic">
            <a href="{$MOD[url]}?ac=detail&couponid=$val[couponid]"><img src="{$_config[siteurl]}uploads$val[thumb]" /></a>
        </td>
        <td>
            <h1 class="font" style="font-size:14px;"><a href="{$MOD[url]}?ac=detail&couponid=$val[couponid]">$val[subject]</a></h1>
            <!--{if empty($shopid)}--><h3 class="font">商铺：<a href="{$_modules[shop][url]}shop.php?shopid=$val[shopid]">$val[shopname]</a></h3><!--{/if}-->
        </td>
        <td><h3 class="font font_1">$val[des]</h3></td>
        <td>
            开始日：<!--{date $val[starttime],'Y-m-d'}--><br />
            截止日：<!--{date $val[endtime],'Y-m-d'}-->
        </td>
    </tr>
    <!--{/loop}-->
    <!--{else}-->
    <tr>
        <td colspan="4">没有任何信息。</td>
    </tr>
    <!--{/if}-->
</table>
{if $multipage}<div class="multipage">$multipage</div>{/if}