📄 admin_album_del.asp
字号:
<%
'===================================================================
'= ASP FILENAME : /admin/admin_album_del.asp
'= CREATED TIME : 2006-7-9
'= LAST MODIFIED: 2006-7-9
'= VERSION INFO : CCASP Framework Ver 2.0.1 ALL RIGHTS RESERVED BY www.cclinux.com
'= DESCRIPTION : 删除相片评论管理
'= Change Log:
'===================================================================
%>
<!-- #include file = "../inc/admin/include_admin_action_execute.asp" -->
<!-- #include file = "./admin_inc.asp" -->
<!-- #include file = "../inc/logic/logic_album.asp" -->
<!-- #include file = "../inc/inc_file_func.asp" -->
<%
'========================================================
'== Action参数设置
'========================================================
'== 页面名
Const CONST_PAGE_FILE = "admin/admin_album_del.asp"
'== 页面标题/功能
Const CONST_PAGE_TITLE = "删除相片"
'== 功能函数名字空间
Const CONST_ACTION_FUNC = "DelAlbumCtl"
'== 相对根目录路径
GBL_strHomeURL = "../"
'== 页面构造
Call ActionBuild()
'== 请求校验与过滤
Call ActionExecFilterAdmin(CONST_PAGE_FILE,CONST_ACTION_FUNC)
'== 页面析构
Call ActionOver()
%>
<%
'===================================================================
'= Function : DelAlbumCtl()
'= Time : Created At 2006-7-9
'= Input : None
'= Output : None
'= Description : 删除相片
'===================================================================
Function DelAlbumCtl()
Dim strIds
Dim intPageNow,strSql
'== 服务器端数据校验
If Not ServerDataCheck(arrAdminDelDataChk) Then
Exit Function
End If
'== 获取表单数据
strIds = Trim(Request.Form("selId"))
'== 删除相片逻辑处理
strSql = " AND ALBUM_ID IN (" & strIds & ")"
If Not RemoveAlbumsLogic(strSql) Then
Exit Function
End If
'== Get now page
intPageNow = FmtFormData(Request("intPageNow"))
'== 成功处理
Dim strHtmlCode,strSuccUrl
strHtmlCode = "该相片及相关评论已被删除"
strSuccUrl = "admin/admin_album_manage.asp?intPageNow=" & intPageNow
Call SuccExecute(strHtmlCode,strSuccUrl)
End Function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -