  <% 
	data_path="../../" 'ACC连接数据库路径，对SQL无效
	numid="131"
	dir="../err.asp" 
  %>
  <!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
  <!--#include file="../rolecheck.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<style type="text/css">
<!--
body{font-size:12px;}
#order ul{list-style:none;}
#order ul li{margin:3px; width:300px; padding:1px 0px 2px 10px; border-bottom:1px dashed #CCCCCC; font-size:13px;}
a:link,a:visited{text-decoration:none; color:#3399CC;}
a:hover{text-decoration:underline; color:#660000;}
-->
</style>

</head>
<%
orderid=request("id")
cpname=request("cn")
set rs=server.CreateObject("adodb.recordset")
sql="select * from yixiang_order_temp where id="&orderid&""
rs.open sql,conn,1,1
if rs.eof then
  response.Write("该订单已经删除或者操作错误。")
end if
%>
<body>
<table width="400" height="301" border="0">
  <tr>
    <td height="35" align="center" valign="middle"><strong>查看订单</strong></td>
  </tr>
  <tr>
    <td align="left" valign="top" style="padding:0px 0px 0px 20px;"><p>
	<div id="order">
	<ul>
	<li><font color="#7B869A">订单号：</font><font color="#FF6600"><%=rs("billno")%></font></li>
	<li><font color="#7B869A">产品名称：</font><%=trim(cpname)%></li>
	<li><font color="#7B869A">订购数量：</font><%=rs("ordernum")%></li>
	<li><font color="#7B869A">买家名称：</font><%=rs("buyuser")%></li>
	<li><font color="#7B869A">付款方式：</font><%=rs("paytype")%></li>
	<li><font color="#7B869A">联系电话：</font><%=rs("buytel")%></li>
	<li><font color="#7B869A">联系地址：</font><%=rs("getadd")%></li>
	<li><font color="#7B869A">提交日期：</font><%=rs("dateandtime")%></li>
	</ul>
	</div>
	</td>
  </tr>  
  <tr>
    <td height="35" align="center" valign="middle" style="font-size:12px;">【 <a href="javascript:window.print()">打印</a> 】 【 <a href="javascript:window.close()">关闭</a> 】</td>
  </tr>
</table>
<%
rs.close
%>
</body>
</html>
