⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 down_verific.asp

📁 SK信息采集2.0功能介绍: 1.可针对任何静态网页,动态网页进行采集。包括htm,html,shtml,ASP,ASPX,JSP,PHP等。 2.增加自定文件采集.用户可采集网页中的所有文件.
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%Option Explicit%>
<!--#include file="../../Conn.asp"-->
<!--#include file="../../SysCls/KS_CommonCls.asp"-->
<!--#include file="../Inc/Session.asp"-->
<%
'===================================================================================================================
'软件名称:科汛网站管理系统
'当前版本:科汛网站管理系统 V2.2 SP2 Free
'Copyright (C) 2006-2008 Kesion.Com  All rights reserved.
'产品咨询QQ:9537636,41904294
'技术支持QQ:111394,54004407 
'程序版权:科汛网络
'程序开发:科汛网络开发组(总策划:林文仲)
'E-Mail  :kesioncms@hotmail.com webmaster@kesion.com
'官方网站:http://www.kesion.com  
'演示站点:http://test.kesion.com 
'郑重声明:
'    ①、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求;
'    ②、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息;
'    ③、科汛网络保留此软件的法律追究权利
'===================================================================================================================
Dim KSCls
Set KSCls = New Down_Verific
KSCls.Execute()
Set KSCls = Nothing

Class Down_Verific
        Private KSCMS
		Private Sub Class_Initialize()
		  Set KSCMS=New CommonCls
		End Sub
        Private Sub Class_Terminate()
		 Call KSCMS.CloseConn()
		 Set KSCMS=Nothing
		End Sub
		'主体部分
		Public Sub Execute()
		  Dim K, DownID, Page, CurrPath, FolderID, DisplayMode
		  Dim KeyWord, SearchType, StartDate, EndDate
		  
		 '收集搜索参数
		  KeyWord = KSCMS.G("KeyWord")
		  SearchType = KSCMS.G("SearchType")
		  StartDate = KSCMS.G("StartDate")
		  EndDate = KSCMS.G("EndDate")
		
		
		  Dim Value
		  Value = KSCMS.G("Value")
		  
		  Page = KSCMS.G("Page")
		  DisplayMode = KSCMS.G("DisplayMode")
		  
		  DownID = Trim(KSCMS.G("DownID"))
		  DownID = Split(DownID, ",")
		  Dim RS
		  Set RS=Server.CreateObject("ADODB.Recordset")
		  For K = LBound(DownID) To UBound(DownID)
		
		   RS.Open "Select Tid,Verific FROM KS_DownLoad Where DownID='" & Trim(DownID(K)) & "'", conn, 1, 3
		  
		   If RS.EOF And RS.BOF Then
			 Call KSCMS.AlertHistory("参数传递出错!", -1)
			 Set KSCMS = Nothing
			 Response.End
		   Else
			 FolderID = RS(0)
			  If Value = 1 Then
				If Not KSCMS.ReturnPowerResult(3, "KMD10009") Then                          '批量审核下载权限检查
				   If KeyWord = "" Then
					 Call KSCMS.ReturnErr(2, "Down_Main.asp?DisplayMode=" & DisplayMode & "&ID=" & FolderID & "&Page=" & Page)
				   Else
					 Call KSCMS.ReturnErr(2, "Down_Main.asp?DisplayMode=" & DisplayMode & "&Page=" & Page & "&KeyWord=" & KeyWord & "&SearchType=" & SearchType & "&StartDate=" & StartDate & "&EndDate=" & EndDate)
				   End If
				  Exit Sub
				End If
			  ElseIf Value = 0 Then                                                         '取消审核下载权限检查
				  If Not KSCMS.ReturnPowerResult(3, "KMD10010") Then
					If KeyWord = "" Then
					 Call KSCMS.ReturnErr(2, "Down_Main.asp?DisplayMode=" & DisplayMode & "&ID=" & FolderID & "&Page=" & Page)
				   Else
					 Call KSCMS.ReturnErr(2, "Down_Main.asp?DisplayMode=" & DisplayMode & "&Page=" & Page & "&KeyWord=" & KeyWord & "&SearchType=" & SearchType & "&StartDate=" & StartDate & "&EndDate=" & EndDate)
				   End If
					Exit Sub
				  End If
			  Else
				Call KSCMS.ReturnErr(0, "")
				Exit Sub
			  End If
		  
			 RS(1) = Value
			 RS.Update
		  End If
		  RS.Close
		Next
		Set RS = Nothing
		If KeyWord = "" Then
		 Response.Write ("<script>location.href='Down_Main.asp?DisplayMode=" & DisplayMode & "&ID=" & FolderID & "&Page=" & Page & "';</script>")
		Else
		 Response.Write ("<script>location.href='Down_Main.asp?DisplayMode=" & DisplayMode & "&Page=" & Page & "&KeyWord=" & KeyWord & "&SearchType=" & SearchType & "&StartDate=" & StartDate & "&EndDate=" & EndDate & "';</script>")
		End If
		End Sub
End Class
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -