?? outward_edit_search_action.asp
字號(hào):
<%@language=vbscript%>
<%
response.buffer=true
Response.Expires = 0
Response.CacheControl = "Private"
%>
<%'On Error Resume Next%>
<%
const title="派送通知修改"
%>
<html>
<head>
<meta http-equiv="Content-Type"content="text/html; charset=gb_2312-80">
<title><%=title%></title>
<link rel=stylesheet type=text/css href=../data/forum.css>
</head>
<body topmargin="0">
<!-- #include file=../data/username.inc-->
<!-- #include file=../data/connect.asp-->
<!--#include file=../data/myPrg.asp-->
<!--#include file=../data/flag.inc-->
<%
b = trim(Request("b"))
b = replace(b,"'","’")
'if b <> "" then
' Response.Redirect ""
'end if
if b = "" then
call closedatabase
Response.Write "<script language=javascript>"
Response.Write "alert(""委托單號(hào)SRA不得為空!!!"");history.go(-1);"
Response.Write "</script>"
Response.End
end if
showtitle(title)
const MaxPerPage=15 '分頁(yè)顯示的紀(jì)錄個(gè)數(shù)
dim totalPut
dim CurrentPage
dim TotalPages
dim i,j
dim detail
if not isempty(request("page")) then
currentPage=clng(request("page"))
else
currentPage=1
end if
'response.write "currentpage="¤tpage
set rs = server.createobject("adodb.recordset")
%>
<table align=center border='1' width=100% cellspacing='0' bordercolordark='#FFFFFF' bordercolorlight='#DADBFC' bordercolor='#00000'>
<%ShowContent%>
</table>
<%ShowPages%>
<!--#include file=../data/copyright.asp-->
<%
rs.Close
set rs = nothing
call closedatabase
%>
</body>
</html>
<%
sub ShowContent()
if flag < 4 then
sql="select * from outward join dc on outward.outw_dc_id = dc.dc_id where outw_companyid = "&newcompanyid&" and outw_sra like '%"&b&"%' order by outw_id desc"
elseif flag = 4 then
sql="select * from outward join dc on outward.outw_dc_id = dc.dc_id where outw_companyid = "&newcompanyid&" and (outw_dc_id in ("&dcservice&")) and outw_sra like '%"&b&"%' order by outw_id desc"
else
call closedatabase
Response.Write "<script language=javascript>"
Response.Write "alert(""非法進(jìn)入!"");history.go(-1);"
Response.Write "</script>"
Response.End
end if
'Response.Write sql
'Response.End
rs.open sql,conn,3,2
if err.number <> 0 then
Response.wrte err.description
else
i=0
if not rs.eof then
response.write " <tr bgcolor='#0000A0'>"
response.write " <td nowrap align=center ><font color=white>編號(hào)</td>"
response.write " <td nowrap align=center ><font color=white>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -