<%temp_detail_customer_order_detailinfo_goods_show=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_detail_customer_order_detailinfo_goods_show -->
<table align=center cellpadding='0' cellspacing='0' width='100%' bgcolor=#fafafa height='20' <%=site.object(site.object_p).style%>>
	<tr >
	  <td width='100%' align=left colspan=10 background='<%=site.object(site.object_p).image%>/dot03.gif' height='1' ></td>
	</tr>
	<tr>
		<td height='30' width='30' align=center><img border='0' src='<%=site.object(site.object_p).image%>/dotorange.gif'></td>
		<td height='30' width='50%' style='padding-left:5' align=left>商品名称</td>
		<td height='30' width='20%'>商品数量</td>
		<td height='30' width='25%'>总计价格</td>
	</tr>
	<tr >
	  <td width='100%' align=left colspan=10 background='<%=site.object(site.object_p).image%>/dot03.gif' height='1' ></td>
	</tr>
</table>
<%
dim num_goods
dim sum_goods
num_goods=0
sum_goods=0
site.object(site.object_p).rs.open"select * from jins_customer_order_list where customer_order_mark='"&site.temp.customer.order.order_mark&"' order by customer_order_id ",conn,1,1
do while not site.object(site.object_p).rs.eof 
	c="<table align=center cellpadding='0' cellspacing='0' width='100%'  height='20' "&site.object(site.object_p).style&">"
	c=c+"	<tr>"
	c=c+"		<td height='30' width='30' align=center>"
	c=c+"		<img border='0' src='"&site.object(site.object_p).image&"/dotblue.gif'></td>"
	c=c+"		<td height='30' width='50%' style='padding-left:5' align=left><a target=_blank href='temp.asp?tr=goods|detail&id="&site.object(site.object_p).rs("goods_id")&"'>"&site.object(site.object_p).rs("goods_name")&"</a></td>"
	c=c+"		<td height='30' width='20%'>"&site.object(site.object_p).rs("customer_order_goods_num")&"</td>"
	c=c+"		<td height='30' width='25%'> "&site.info.unit_money(1)&" "&site.object(site.object_p).rs("customer_order_goods_price")*site.object(site.object_p).rs("customer_order_goods_num")&"</td>"
	c=c+"	</tr>"
	c=c+"	<tr >"
	c=c+"	  <td width='100%' align=left colspan=10 background='"&site.object(site.object_p).image&"/dot03.gif' height='1' ></td>"
	c=c+"	</tr>"
	c=c+"</table>"
	response.write c
	num_goods=num_goods+site.object(site.object_p).rs("customer_order_goods_num")
	sum_goods=sum_goods+site.object(site.object_p).rs("customer_order_goods_price")*site.object(site.object_p).rs("customer_order_goods_num")
	site.object(site.object_p).rs.movenext
loop
site.object(site.object_p).rs.close
%>
<table align=center cellpadding='0' cellspacing='0' width='100%' bgcolor=#fafafa height='20' <%=site.object(site.object_p).style%>>
	<tr>
		<td height='30' width='30' align=center><img border='0' src='<%=site.object(site.object_p).image%>/dotorange.gif'></td>
		<td height='30' width='50%' style='padding-left:5' align=left>总计：</td>
		<td height='30' width='20%'><font color=red><%=num_goods%></font></td>
		<td height='30' width='25%'><font color=red><%=site.info.unit_money(1)%> <%=sum_goods%></font></td>
	</tr>
	<tr >
	  <td width='100%' align=left colspan=10 background='<%=site.object(site.object_p).image%>/dot03.gif' height='1' ></td>
	</tr>
</table>

<br>