?? outsearch_edit_action.asp
字號:
<%@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,"'","''")
odd = trim(Request("odd"))
odd = replace(odd,"'","''")
'if b <> "" then
' Response.Redirect ""
'end if
if odd = "" then
Response.Write "<script language=javascript>"
Response.Write "alert(""易聯單號不得為空!!!"");history.go(-1);"
Response.Write "</script>"
Response.End
end if
showtitle(title)
const MaxPerPage=15 '分頁顯示的紀錄個數
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>
</form>
<%ShowPages%>
<!--#include file=../data/copyright.asp-->
</body>
</html>
<%
sub ShowContent()
if flag < 4 then
sql="select * from outward_elink join dc on outward_elink.elink_dc_id = dc.dc_id where elink_companyid = "&newcompanyid&" and elink_odd like '%"&odd&"%' order by elink_id asc"
elseif flag = 4 then
sql="select * from outward_elink join dc on outward_elink.elink_dc_id = dc.dc_id where elink_companyid = "&newcompanyid&" and (elink_dc_id in ("&dcservice&")) and elink_odd like '%"&odd&"%' order by elink_id asc"
else
Response.Write "<script language=javascript>"
Response.Write "alert(""非法進入!"");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>編號</td>"
response.write " <td nowrap align=center ><font color=white>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -