?? ifr.asp
字號:
<% on error resume next
Response.ExpiresAbsolute=now()-1
Response.CacheControl="no-cache"
%>
<%
'在頁頭寫:
Dim StartTime,EndTime
StartTime=timer() '創(chuàng)建一個計時器,單位:毫秒,頁面開始執(zhí)行時間
%>
<%server.ScriptTimeout=1800%>
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers=""
MM_authFailedURL="../../index.asp"
MM_grantAccess=false
If Session("userssdfgfhtrh") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<!--#include file="../../Connections/oavbsconncopy.asp" -->
<%
Dim Recordset2__u
Recordset2__u = "1"
If (Session("userssdfgfhtrh") <> "") Then
Recordset2__u = Session("userssdfgfhtrh")
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows
Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_oavbsconncopy_STRING
Recordset2.Source = "SELECT top 1 id FROM fawen WHERE 添加人帳號='" + Replace(Recordset2__u, "'", "''") + "' ORDER BY id desc"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()
Recordset2_numRows = 0
%><%if not Recordset2.eof or not Recordset2.bof then
dim iddd
iddd=Recordset2("id")
end if
%>
<%
Dim Recordset1__u
Recordset1__u = "1"
If (Session("userssdfgfhtrh") <> "") Then
Recordset1__u = Session("userssdfgfhtrh")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconncopy_STRING
Recordset1.Source = "SELECT 郵件編號 FROM fawenfiles WHERE 上傳人帳號='" + Replace(Recordset1__u, "'", "''") + "' ORDER BY id desc"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
if not Recordset1.eof or not Recordset1.bof then
if isnumeric(Recordset1("郵件編號"))=false then
'response.write "第一次更新.."
Recordset1("郵件編號")=iddd
Recordset1.update
end if
end if
Recordset1_numRows = 0
%>
<%dim iddddddddd
iddddddddd=Recordset2("id")
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
<%response.redirect("sendtoshenpi.asp?id="&iddddddddd)%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -