📄 down_left.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_Left
KSCls.Execute()
Set KSCls = Nothing
Class Down_Left
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 OpType, ID, StatusFlag
OpType = Request.QueryString("Type")
ID = Request.QueryString("ID")
StatusFlag = Request.QueryString("StatusFlag")
If ID = "" Then ID = "0"
If OpType = "" Then OpType = "-1"
If ID = "0" And OpType = "0" Then OpType = "-1"
If StatusFlag = "" Then StatusFlag = "0"
With Response
.Write "<html>"
.Write "<head>"
.Write "<meta http-equiv=""Content-Language"" content=""zh-cn"">"
.Write "<meta HTTP-EQUIV=""Content-Type"" CONTENT=""text/html; charset=gb2312"">"
.Write "<title>下载管理</title>"
.Write "<script language=""JavaScript"" src=""../JS/SetFocus.js""></script>"
.Write "<script language=""JavaScript"" src=""../JS/Common.js""></script>"
.Write "<script>" & vbCrLf
.Write "<!--" & vbCrLf
.Write "var EnabledTF=true;" & vbCrLf
.Write "function SetEnabledStatus(Value)" & vbCrLf
.Write "{" & vbCrLf
.Write "document.all.EnabledArea.disabled=Value;" & vbCrLf
.Write "EnabledTF=!Value;" & vbCrLf
.Write "}" & vbCrLf
.Write "-->" & vbCrLf
.Write "</script>" & vbCrLf
.Write "<link href=""../Inc/ManageMent.css"" rel=""stylesheet"" type=""text/css"">"
.Write "<link href=""../Inc/Admin_Style.CSS"" rel=""stylesheet"">"
.Write "</head>"
.Write "<body leftmargin=""0"" topmargin=""0"" marginwidth=""0"" marginheight=""0"" bgcolor=""#F1FAFA"">"
.Write " <div style="" height:96%; overflow:auto; width:100%"" align=""center"">"
.Write " <table width=""100%"" border=""0"" cellpadding=""0"" cellspacing=""0"">"
.Write " <tr>"
.Write " <td height=""20"" valign=""top"">"
.Write " <table width=""100%"" border=""0"" align=""left"" cellpadding=""0"" cellspacing=""0"">"
.Write " <tr>"
.Write " <td height=""22""> <img src=""../Images/Info.gif"" align=""absmiddle"">详细信息</td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""270"" valign=""top"">"
.Write " <table width=""100%"" height=""100%"" border=""0"" cellpadding=""0"" cellspacing=""0"">"
.Write " <tr>"
.Write " <td height=""100%"" valign=""top"" >"
Dim ObjRS, CountClassRS, CountObjRS, SQLStr
Set ObjRS = Server.CreateObject("AdoDB.RecordSet")
If OpType = 0 Then
SQLStr = "Select FolderName,Tj,CreateDate From KS_Class Where ID='" & ID & "'"
ObjRS.Open SQLStr, conn, 1, 1
If Not ObjRS.EOF Then
Set CountClassRS = conn.Execute("Select Count(ID) As ClassTotal From KS_Class Where TN='" & ID & "'")
Set CountObjRS = conn.Execute("Select Count(ID) As DownTotal From KS_DownLoad Where Tid='" & ID & "'")
.Write " <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
.Write " <tr>"
.Write " <td height=""30"" style=""word-wrap: break-word; word-break: break-all;"">"
.Write " <div align=""left""><strong> " & ObjRS("FolderName") & "</strong></div></td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""22""> <div align=""left""> 类"
.Write "型:"
If ObjRS(1) = 1 Then
.Write ("下载频道")
Else
.Write ("下载栏目")
End If
.Write " </div></td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""22""> 栏目总数:<font color=red>" & CountClassRS(0) & "</font>"
.Write " 个</td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""22""> 下载总数:<font color=red>" & CountObjRS(0) & "</font>"
.Write " 个</td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""22""> 创建日期:" & ObjRS(2) & "</td>"
.Write " </tr>"
.Write " </table>"
CountClassRS.Close
CountObjRS.Close
Set CountClassRS = Nothing
Set CountObjRS = Nothing
End If
ElseIf OpType = 1 Then
SQLStr = "Select Title,AddDate,Recommend,Popular,DownSize From KS_DownLoad Where DownID='" & ID & "'"
ObjRS.Open SQLStr, conn, 1, 1
If Not ObjRS.EOF Then
.Write " <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
.Write " <tr>"
.Write " <td height=""30"" style=""word-wrap: break-word; word-break: break-all;"">"
.Write " <div align=""left""><strong> " & ObjRS(0) & "</strong></div></td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""22""> <div align=""left""> 类"
.Write "型:"
.Write " 下载项"
.Write " </div></td>"
.Write " </tr>"
.Write " <tr>"
.Write " <td height=""22""> 大 小:" & ObjRS(4)
.Write " </td>"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -