{template 'header', 'member'}
{if $action=='add' || $action=='edit'} {elseif $action == 'coupon'}优惠名称 | 会员 | 金额 | 最低消费 | 生效时间 | 结束时间 | 领券时间 | 订单 | 状态 |
---|---|---|---|---|---|---|---|---|
{$v[title]} | {$v[username]} | {$v[price]} | {$v[cost]} | {timetodate($v[fromtime], 5)} | {timetodate($v[totime], 5)} | {timetodate($v[addtime], 5)} | {if $v[oid]}{$v[oid]}{/if} | {if $v[oid]} 已使用 {elseif $v[fromtime] > $DT_TIME} 未开始 {elseif $v[totime] < $DT_TIME} 已过期 {else} 待使用 {/if} |