<!--#include file="../xyconn.asp" -->
<!--#include file="seeion.asp"-->
<% 
id=request.QueryString("id")
if id="" or not isnumeric(id) then
Response.Write "<script>alert('参数错误！');history.go(-1);</script>" 
Response.End()
end if
exec="select * from [pro_action] where dd_id="& id 
set rs=server.createobject("adodb.recordset") 
rs.open exec,conn,1,1 
if rs.eof and rs.bof then
Response.Write "<script>alert('参数不正确，ID值不存在！');history.go(-1);</script>" 
Response.End()
end if
%>
<!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=utf-8" />
<title>查看订单状态</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-size:12px;
}
.button{font-size:12px; background:url(button.gif); border:1px solid #BDC5CA; height:23px;  color:#333333}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE5 {color: #FF0000}
-->
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" background="images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="images/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[企业产品订单处理状态查看]</td>
              </tr>
            </table></td>
            <td width="54%">&nbsp;</td>
          </tr>
        </table></td>
        <td width="16"><img src="images/tab_07.gif" width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td>
        <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" >
      <tr  onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8" >
        <td height="28" width="12%" class="td">订单编号</td>
        <td width="88%"  class="td"><%=rs("userid")%></td>
      </tr>
      <tr  onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF">
        <td height="25" width="12%" class="td">产品名称</td>
        <td class="td"><%
set rss=server.createobject("adodb.recordset")
exec="select * from [products] where id="&rs("pro_id")&"" 
rss.open exec,conn,1,1 
response.Write("<a href=""../ShowPro.asp?id="&rs("pro_id")&""" target=""_blank"">"&rss("title")&"</a>")
rss.close
set rss=nothing
%></td>
      </tr>
      <tr  onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8">
        <td height="25" width="12%" class="td">订购数量</td>
        <td class="td"><%=rs("dd_count")%></td>
      </tr>
    <tr  onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF">
        <td height="25" class="td">真实姓名</td>
        <td class="td"><%
set rss=server.createobject("adodb.recordset")
exec="select * from [user] where username='"&rs("userid")&"'"
rss.open exec,conn,1,1 
response.Write(""&rss("zsname")&"")
rss.close
set rss=nothing
%></td>
    </tr>
    <tr  onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF">
        <td height="25" class="td">联系电话</td>
        <td class="td"><%
set rss=server.createobject("adodb.recordset")
exec="select * from [user] where username='"&rs("userid")&"'"
rss.open exec,conn,1,1 
response.Write(""&rss("tel")&"")
rss.close
set rss=nothing
%></td>
      </tr>
   <tr  onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8">
      <td height="25" class="td">收货地址</td>
      <td class="td"><%
set rss=server.createobject("adodb.recordset")
exec="select * from [user] where username='"&rs("userid")&"'"
rss.open exec,conn,1,1 
response.Write(""&rss("address")&"")
rss.close
set rss=nothing
%></td>
    </tr>
    <tr  onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF">
      <td height="25" class="td">邮政编码</td>
      <td class="td"><%
set rss=server.createobject("adodb.recordset")
exec="select * from [user] where username='"&rs("userid")&"'"
rss.open exec,conn,1,1 
response.Write(""&rss("youbian")&"")
rss.close
set rss=nothing
%></td>
    </tr>
    <tr  onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8">
      <td height="25" class="td">其它说明</td>
      <td class="td"><%
set rss=server.createobject("adodb.recordset")
exec="select * from [user] where username='"&rs("userid")&"'"
rss.open exec,conn,1,1 
response.Write(""&rss("bz")&"")
rss.close
set rss=nothing
%></td>
    </tr>
    <tr  onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8">
      <td height="25" class="td">所需费用</td>
      <td class="td"><font color="#0000FF"><%=rs("dd_zj")%></font> 元（人民币）</td>
    </tr>
    <tr  onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF">
      <td height="25" class="td">提交日期</td>
      <td class="td"><%=rs("dd_date")%></td>
    </tr>
    <tr  onmouseout="style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF">
      <td height="25" class="td">&nbsp;</td>
      <td class="td"><input type="button" name="Submit3" value="返回订单列表" onclick="window.location.href='manage_orders.asp' "  class="button"/></td>
    </tr>
    </table>
        </td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" background="images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="images/tab_18.gif" width="12" height="35" /></td>
        <td>&nbsp;</td>
        <td width="16"><img src="images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>