📄 usermyordershow.asp
字号:
<!--#include file="siteinfo.asp"-->
<%
M_L=session("My_Login")
L_N=session("Uname")
ID=trim(request.QueryString("id"))
Set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from OrderForm where id="&ID&""
rs.open sql,conn,1,1
if rs.eof then
response.Write"<script language=javascript> alert('数据库异常错误!');history.back(-1);</script>"
response.end
end if
if M_L="My_Login_Succeed" and L_N<>"" then
set rsID=Server.CreateObject("Adodb.Recordset")
sql = "select * from UserInfo where Uname='"&L_N&"'"
rsID.open sql,conn,1,1
Uid=rsID("id")
rsID.close
set rsID=nothing
else
response.write "<script language=javascript> alert('提示:\n\n您还没有登录无权查看!');location.replace('User.asp');</script>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Images/CSS.css" type=text/css rel=stylesheet>
<title></title>
</head>
<body <%=kkk%>>
<table width="96%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#EFEBEF">
<tr align="center" bgcolor="#B9BBB9">
<td height="30" colspan="2" ><strong>客 户 订 单 信 息</strong></td>
</tr>
<tr>
<td width="24%" align="right" bgcolor="#DEDFDE" style='BORDER-TOP: #333333 1px solid'>商品名称:</td>
<td width="76%" bgcolor="#EBEBEB" style='BORDER-TOP: #333333 1px solid'> <%=rs("proname")%></td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">商品编号: </td>
<td bgcolor="#EBEBEB"> <%=rs("prono")%> </td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">订购数量:</td>
<td bgcolor="#EBEBEB"> <%=rs("buynum")%> </td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">其他补充说明:</td>
<td bgcolor="#EBEBEB"> <%=rs("remark")%></td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE" class="feedback">我司回复:</td>
<td bgcolor="#EBEBEB"> <%=rs("re")%> </td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE"><span class="feedback">回复时间:</span></td>
<td bgcolor="#EBEBEB"> <% if rs("re")<>"" then
ret=rs("retime")
response.write ""&ret&""
else
response.write "暂未回复"
end if%></td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">订购者:</td>
<td bgcolor="#EBEBEB"> <% if rs("Uid")>0 then response.Write("<font color='#ff9900' >会员</font> ") end if %>
<%=rs("name")%> </td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">性别:</td>
<td bgcolor="#EBEBEB"> <%=rs("gender")%> </td>
</tr>
<tr>
<td width="24%" align="right" bgcolor="#DEDFDE">单位名称:</td>
<td bgcolor="#EBEBEB"> <%=rs("company")%></td>
</tr>
<tr>
<td width="24%" align="right" bgcolor="#DEDFDE">地址:</td>
<td bgcolor="#EBEBEB"> <%=rs("address")%> </td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">邮编:</td>
<td bgcolor="#EBEBEB"> <%=rs("zip")%> </td>
</tr>
<tr>
<td width="24%" align="right" bgcolor="#DEDFDE">电话:</td>
<td bgcolor="#EBEBEB"> <%=rs("tel")%> </td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">手机:</td>
<td bgcolor="#EBEBEB"> <%=rs("mtel")%> </td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">传真:</td>
<td bgcolor="#EBEBEB"> <%=rs("fax")%></td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">电子邮件:</td>
<td bgcolor="#EBEBEB"> <%=rs("email")%></td>
</tr>
<tr>
<td align="right" bgcolor="#DEDFDE">订购日期:</td>
<td bgcolor="#EBEBEB"> <%=rs("addtime")%> </td>
</tr>
<tr align="center" valign="middle" bgcolor="#B9BBB9">
<td height="50" colspan="2" style='BORDER-BOTTOM: #333333 1px solid'><input type="button" value=" 打印 " onclick="javascript:window.print();">
<input type="button" value="关闭窗口" onclick="javascript:window.close();"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -