📄 showsoft.asp
字号:
<!--#include file="CommonCode.asp"-->
<%
'**************************************************************
' Software name: PowerEasy SiteWeaver
' Web: http://www.powereasy.net
' Copyright (C) 2005-2008 佛山市动易网络科技有限公司 版权所有
'**************************************************************
SoftID = PE_CLng(Trim(Request("SoftID")))
If SoftID = 0 Then
FoundErr = True
ErrMsg = ErrMsg & "<li>请指定SoftID!</li>"
End If
If FoundErr = True Then
Call WriteErrMsg(ErrMsg, ComeUrl)
Response.End
End If
Dim sql
PageTitle = ChannelShortName & "信息"
ItemID = SoftID
strFileName = "ShowSoft.asp"
Conn.Execute ("update PE_Soft set BrowseTimes=BrowseTimes+1 where SoftID=" & SoftID & "")
sql = "select * from PE_Soft where ChannelID=" & ChannelID & " and Deleted=" & PE_False & " and Status=3 and SoftID=" & SoftID & " and ChannelID=" & ChannelID & ""
Set rsSoft = Conn.Execute(sql)
If rsSoft.BOF And rsSoft.EOF Then
FoundErr = True
ErrMsg = ErrMsg & "<li>你要找的" & ChannelShortName & "不存在,或者已经被管理员删除!</li>"
Else
ClassID = rsSoft("ClassID")
If ClassID > 0 Then
Call GetClass
Else
EnableProtect = True
End If
End If
If FoundErr = True Then
Call WriteErrMsg(ErrMsg, ComeUrl)
rsSoft.Close
Set rsSoft = Nothing
Response.End
End If
SoftName = Replace(Replace(Replace(Replace(rsSoft("SoftName") & "", " ", " "), """, Chr(34)), ">", ">"), "<", "<")
SkinID = GetIDByDefault(rsSoft("SkinID"), DefaultItemSkin)
TemplateID = GetIDByDefault(rsSoft("TemplateID"), DefaultItemTemplate)
strHtml = GetTemplate(ChannelID, 3, TemplateID)
Call PE_Content.GetHtml_Soft
Response.Write strHtml
rsSoft.Close
Set rsSoft = Nothing
Set PE_Content = Nothing
Call CloseConn
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -