?? admin_cate_del.asp
字號:
<%
'===================================================================
'= ASP FILENAME : /admin/admin_cate_del.asp
'= CREATED TIME : 2006-5-3
'= LAST MODIFIED: 2006-5-3
'= 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_forum.asp" -->
<!-- #include file = "../inc/logic/logic_config.asp" -->
<%
'========================================================
'== Action參數設置
'========================================================
'== 頁面名
Const CONST_PAGE_FILE = "admin/admin_cate_del.asp"
'== 頁面標題/功能
Const CONST_PAGE_TITLE = "刪除論壇分類"
'== 功能函數名字空間
Const CONST_ACTION_FUNC = "DelCateCtl"
'== 相對根目錄路徑
GBL_strHomeURL = "../"
'== 頁面構造
Call ActionBuild()
'== 請求校驗與過濾
Call ActionExecFilterAdmin(CONST_PAGE_FILE,CONST_ACTION_FUNC)
'== 頁面析構
Call ActionOver()
%>
<%
'===================================================================
'= Function : DelCateCtl()
'= Time : Created At 2006-5-3
'= Input : None
'= Output : None
'= Description : 刪除論壇分類
'===================================================================
Function DelCateCtl()
Dim strIds
Dim intPageNow,strSql
'== 服務器端數據校驗
If Not ServerDataCheck(arrCateDelDataChk) Then
Exit Function
End If
'== 獲取表單數據
strIds = Trim(Request.Form("selId"))
'== 邏輯處理
strSql = "AND CATE_ID IN (" & strIds & ")"
If Not RemoveCatesLogic(strSql) Then
Exit Function
End If
'== Get now page
intPageNow = FmtFormData(Request("intPageNow"))
'== 重新load系統內存
If Not LoadParaLogic() Then
Exit Function
End If
'== 成功處理
Dim strHtmlCode,strSuccUrl
strHtmlCode = "該論壇分類及相關記錄已被刪除"
strSuccUrl = "admin/admin_cate_manage.asp"
Call SuccExecute(strHtmlCode,strSuccUrl)
End Function
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -