<!--{template tttuangou_header}-->
<div class="m960">
<div class="ts_menu_2 w960">
<ul>
<li class="ts3_mbtn2"><a href="?mod=magseller">团购项目</a></li>
<li class="ts3_mbtn{$p1}"><a href="?mod=magseller&code=ticket&id={$id}">全部</a></li>
<li class="ts3_mbtn{$p2}"><a href="?mod=magseller&code=ticket&id={$id}&use=0">未消费</a></li>
<li class="ts3_mbtn{$p3}"><a href="?mod=magseller&code=ticket&id={$id}&use=1">已消费</a></li>
</ul>
<div class="clear"></div>
</div>
<div class="t_area_out">
<div class="t_area_in">
<div class="nleftL w916">
<table id="report">
<tr>
<th>团购券编号</th>
<th>项目</th>
<th>状态</th>
<th>过期时间</th>
</tr>
{loop $ticket $i $value}
<tr class="Bor">
<td width="15%"><span class="R">{$value['number']}</span></td>
<td width="40%">{$value['name']}</td>
<td width="20%">{if $value['status']==1}正常 <a href="?mod=magseller&code=sendmail&id={$value['ticketid']}">(邮件提示用户消费)</a>{elseif $value['status']==2}过期{else}已使用 ({$value['usetime']}){/if}</td>
<td width="15%"><img src="images/alarm.gif" /> {$value['perioddate']}</td>
</tr>
{/loop}
</table>
</div>
</div>
</div>
</div>
<!--{template tttuangou_footer}-->
