<html><head><title>订单详细资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/skin/default/template/style/css/admin.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="750" border="0" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC" align="center">
	<tr bgcolor="#FFFFFF"> 
	<td colspan="2" style='PADDING-LEFT: 10px'>订单号为：<font color="#FF6600">{anxinMall:field.dingdanhao}</font>，详细资料如下：</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
	<td width="15%" style='PADDING-LEFT: 10px'>订单状态：</td>
	<td width="85%"> 
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr> 
		  <form name="form1" method="post" action="saveshjdingdan.asp?dan={anxinMall:field.dingdanhao}&action=save&username={anxinMall:field.username}">
			<td>{anxinMall:field.zhuangtai}<br>&nbsp;<input class="go-wenbenkuang" type="submit" name="submit" value=" 修改订单状态 ">
			  <font color="#FF6600">这里只有前台用户先选择&quot;用户已经划出款&quot;后，管理员才可以进行后边的操作！</font></td>
		  </form>
		</tr>
	  </table>
	</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
	<td style='PADDING-LEFT: 10px'>商品列表：</td>
	<td> 
	  <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
		<tr bgcolor="#F1F1F1" align="center"> 
		  <td>商品名称</td>
		  <td>订购数量</td>
		  <td>会员价格</td>
		  <td>金额小计</td>
		</tr>
{anxinMall:prodlist $sql=SELECT mall_action.actionid, mall_action.bookid, mall_action.bookcount, mall_action.zonger, mall_action.shjiaid, mall_books.bookname, mall_books.shichangjia, mall_books.huiyuanjia, mall_books.vipjia, mall_shjia.name FROM (mall_books INNER JOIN mall_action ON mall_books.bookid = mall_action.bookid) INNER JOIN mall_shjia ON mall_books.shjiaid = mall_shjia.userid WHERE (((mall_action.username)='{anxinMall:field.username}') AND ((mall_action.zhuangtai)=1)) $cache=0}
		<tr bgcolor="#FFFFFF"> 
		  <td style='PADDING-LEFT: 5px'><a href=/item/[prodlist:bookid].html target="_blank">[prodlist:bookname]</a></td>
		  <td align="center">[prodlist:bookcount]</td>
		  <td>[prodlist:huiyuanjia]元</td>
		  <td>[prodlist:bookcount] x [prodlist:huiyuanjia]元</td>
		</tr>
{/anxinMall:prodlist}

		<tr bgcolor="#FFFFFF"> 
		<td colspan="4" align="right"> 
		商品：{anxinMall:field.rscount}种　　总数：{anxinMall:field.bookcountsum}件　　订单总额共计：{anxinMall:field.zongersum}元&nbsp;</div>
		</td>
		</tr>
	  </table>
	</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
	<td style='PADDING-LEFT: 10px'>奖品列表：</td>
	<td> 
	  <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
		<tr bgcolor="#F1F1F1" align="center"> 
		  <td>奖品名称</td>
		  <td>所用积分</td>
		</tr>
	{anxinMall:giftlist $sql=SELECT mall_action_jp.actionid, mall_action_jp.dingdan,mall_action_jp.bookid, mall_jiangpin.bookname, mall_jiangpin.jifen, mall_action_jp.zhuangtai, mall_action_jp.username, mall_action_jp.dingdan FROM mall_jiangpin INNER JOIN mall_action_jp ON mall_jiangpin.bookid = mall_action_jp.bookid where username='{anxinMall:field.username}' AND mall_action_jp.dingdan='{anxinMall:field.dingdanhao}' $cache=0}
	<tr bgcolor="#FFFFFF"> 
	<td>[giftlist:bookname]</td>
		  <td align="center">[giftlist:jifen]</td>
	</tr>
	{/anxinMall:giftlist}
	</table>
	</td>
	</tr>

	<tr bgcolor="#FFFFFF"> 
		<td style='PADDING-LEFT: 10px'>收货人姓名：</td>
		<td style='PADDING-LEFT: 10px'>{anxinMall:field.shouhuoname}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
		<td style='PADDING-LEFT: 10px'>收货地址：</td>
		<td style='PADDING-LEFT: 10px'>{anxinMall:field.shouhuodizhi}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
		<td style='PADDING-LEFT: 10px'>邮编：</td>
		<td style='PADDING-LEFT: 10px'>{anxinMall:field.youbian}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
		<td style='PADDING-LEFT: 10px'>联系电话：</td>
		<td style='PADDING-LEFT: 10px'>{anxinMall:field.usertel}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
		<td style='PADDING-LEFT: 10px'>电子邮件：</td>
		<td style='PADDING-LEFT: 10px'>{anxinMall:field.useremail}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
		<td style='PADDING-LEFT: 10px'>送货方式：</td>
		<td style='PADDING-LEFT: 10px'>{anxinMall:field.songhuofangshiword}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
	<td style='PADDING-LEFT: 10px'>支付方式：</td>
	<td style='PADDING-LEFT: 10px'>{anxinMall:field.zhifufangshiword}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
	<td style='PADDING-LEFT: 10px'>是否要发票：</td>
	<td style='PADDING-LEFT: 10px'>{anxinMall:field.fapiaoword}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
	<td style='PADDING-LEFT: 10px'>您的留言：</td>
	<td style='PADDING-LEFT: 10px'>{anxinMall:field.liuyan}</td>
	</tr>
	<tr bgcolor="#FFFFFF"> 
	<td style='PADDING-LEFT: 10px'>下单日期：</td>
	<td style='PADDING-LEFT: 10px'>{anxinMall:field.actiondate}</td>
	</tr>

	<tr bgcolor="#FFFFFF"> 
	<td height="32" colspan="2" align="center">
	{anxinMall:field.delbutton}
	<input class="go-wenbenkuang" onClick="javascript:window.close()" type="reset" name="submit" value=" 关闭窗口 ">
	</td>
	</tr>
</table>
</body>
</html>