<!--{template @admin/header}--> <form method="post" action="{$action}"> <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td colspan="7">产品订单详细<a href="?mod=tttuangou&code=addproduct"></a></td> </tr> <tr> <td width="5%">订单编号</td> <td width="10%">购买数量</td> <td width="10%">付款金额</td> <td width="10%">购买人</td> <td width="16%">下订时间</td> <td width="16%" >支付时间</td> </tr><!--{if empty($order)}--> <tr> <td colspan="7">该产品还没有任何人购买！</td> </tr> <!--{/if}--> <!--{if !empty($order)}--> <tr> <td colspan="7">成功团购该商品需要达到{$order[0]['successnum']}人，现在已经有{eval echo count($order);}人购买成功！</td> </tr> <!--{loop $order $value}--> <tr onmouseover="this.className='tr_hover'" onmouseout="this.className='tr_normal'"> <td>{$value['orderid']}</td> <td>{$value['productnum']}</td> <td>{eval echo $value['productnum']*$value['nowprice'];}元</td> <td>{$value['username']}</td> <td>{eval echo date('Y-m-d H:i',$value['buytime'])}</td> <td align="center"> 
{eval echo date('Y-m-d H:i',$value['paytime'])}
</td> </tr> <!--{/loop}--> <!--{/if}--> </table> <a href="javascript:history.go(-1);">返回上一页</a> <br> <center> </center> </form>
{template @admin/footer}