{template 'header'}
{if $action == 'my'}我的订单{else}{if $typeid}{$TYPE[$typeid][typename]}{else}积分换礼{/if}{/if}
{if $action == 'my'} {loop $lists $v}
{/loop} {if $pages}
{$pages}
{/if} {else} {if $itemid}

{$title}

{if $left}{$fromdate} 至 {$todate}{else}已结束{/if}{$hits}
会员权限:{if $gname}{$gname}{else}全部{/if}
所需{$DT[credit_name]}:{$credit}
剩余名额:{$left}
立即兑换
{if $large}
{/if}{$content}
{else} {if $lists}
{loop $lists $v}
{/loop}
{else} {template 'empty', 'chip'} {/if} {if $pages}
{$pages}
{/if} {/if} {/if} {template 'footer'}