<{include file="index/header.html"}>
<div class="nav"><span>订单检测</span></div>
<script type="text/javascript">
<{if $smarty.get.status == ''}>
location.href="?m=goods_order&a=check&status=1";
<{/if}>
</script>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>对于下了订单未支付，超出规定时间为确认收款的，需要管理员定时处理该数据。</p>
		<p>具有条件的用户可以使用定时任务进行执行。</p>
	</div>
</div> 
<div class="filter"> 
	<a href="?m=goods_order&a=check&status=1" class="option <{if $smarty.get.status == '1'}>option_ch<{/if}>">过期未支付订单</a>
	<a href="?m=goods_order&a=check&status=2" class="option <{if $smarty.get.status == '2'}>option_ch<{/if}>">过期未确认收货</a> 
	<a href="?m=goods_order&a=check&status=3" class="option <{if $smarty.get.status == '3'}>option_ch<{/if}>">拼单未组团检测</a> 
</div> 
<div class="main"> 
	<table class="etable">
		<{if $smarty.get.status == '1'||$smarty.get.status == ''}> 
			<tr>
				<td width="120px">交易中的订单：</td>
				<td><{$row.total_yx}> </td>
			</tr>
			<tr>
				<td>未支付过期订单：</td>
				<td><{$row.total_gq}> (未支付订单未支付将失效，可对失效订单进行删除。)</td>
			</tr> 
		<{elseif $smarty.get.status == '2'}> 
			<tr>
				<td width="120px">发货未确认的：</td>
				<td><{$row.total_yx}> </td>
			</tr>
			<tr>
				<td>超时未确定的：</td>
				<td><{$row.total_gq}> (用户时间范围内为确认操作)</td>
			</tr> 
		<{elseif $smarty.get.status == '3'}> 
			<tr>
				<td width="120px">正在拼团：</td>
				<td><{$row.total_yx}> (拼团正在进行中) </td>
			</tr>
			<tr>
				<td>超时拼团失败：</td>
				<td><{$row.total_gq}> (支付时间已到，拼团未成功。 <span style="color:#f00;">拼团失败将会退款到账户。</span>)</td>
			</tr>
		<{/if}> 
		<tr>
			<td>&nbsp;</td>
			<td><a href="?m=goods_order&a=check_run&status=<{$smarty.get.status}>" class="submit">执行过期操作</a></td>
		</tr> 
	</table> 
</div>
<{include file="index/footer.html"}>