?? subreport.asp
字號(hào):
<%
if session("admin_name")="" then response.end
%>
<!--#include file="conn.asp"-->
<head>
<link href=../style.css rel=STYLESHEET type=text/css>
</head>
<table border="0" width="100%" cellspacing="1">
<tr>
<td width="100%">
<table border="0" width="100%" cellspacing="1" bgcolor="#FF9933">
<tr>
<td width="100%" colspan="4">投訴訂單查詢</td>
</tr>
<%sql="select * from ts"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,3
if rs.eof then%>
<tr>
<td width="100%" bgcolor="#FFFFFF" colspan="4">
<p align="center">暫沒(méi)有投訴訂單</td>
</tr>
<%else
%>
<tr>
<td width="25%" bgcolor="#FFFFFF">訂單號(hào)</td>
<td width="25%" bgcolor="#FFFFFF">訂購(gòu)人</td>
<td width="25%" bgcolor="#FFFFFF">投訴時(shí)間</td>
<td width="25%" bgcolor="#FFFFFF">查看詳細(xì)信息</td>
</tr><%do while not rs.eof%>
<tr>
<td width="25%" bgcolor="#FFFFFF"><%=rs("sub_number")%></td>
<td width="25%" bgcolor="#FFFFFF"><%=rs("user_name")%></td>
<td width="25%" bgcolor="#FFFFFF"><%=rs("ts_date")%></td>
<td width="25%" bgcolor="#FFFFFF"><a href="report.asp?sub_number=<%=rs("sub_number")%>">詳細(xì)信息</a></td>
</tr><%rs.movenext
loop
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</table>
</td>
</tr>
</table>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -