从 <{input type="date" name="searchfrom" size=10 required="true" class="cal"}>至 <{input class="cal" type="date" name="searchto" size=10 required="true"}>

<{t}>排名<{/t}> | <{t}>用户名<{/t}> | <{t}>姓名<{/t}> | <{t}>购物量<{/t}> | <{t}>购物额<{/t}>
--- | --- | --- | --- | ---
<{foreach from=$data item=data key=key}>
<{$key+1}> | <{if $data.username}><{$data.username}><{else}> <{/if}> | <{if $data.realname}><{$data.realname}><{else}>-<{/if}> | <{$data.saleTimes}> | <{$data.salePrice}>
<{/foreach}>