?? admin_article_del.asp
字號:
<%
'===================================================================
'= ASP FILENAME : /admin/admin_article_del.asp
'= CREATED TIME : 2006-4-30
'= LAST MODIFIED: 2006-4-30
'= 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_content.asp" -->
<%
'========================================================
'== Action參數設置
'========================================================
'== 頁面名
Const CONST_PAGE_FILE = "admin/admin_article_del.asp"
'== 頁面標題/功能
Const CONST_PAGE_TITLE = "刪除文章管理"
'== 功能函數名字空間
Const CONST_ACTION_FUNC = "DelArticleCtl"
'== 相對根目錄路徑
GBL_strHomeURL = "../"
'== 頁面構造
Call ActionBuild()
'== 請求校驗與過濾
Call ActionExecFilterAdmin(CONST_PAGE_FILE,CONST_ACTION_FUNC)
'== 頁面析構
Call ActionOver()
%>
<%
'===================================================================
'= Function : DelArticleCtl()
'= Time : Created At 2006-5-13
'= Input : None
'= Output : None
'= Description : 刪除管理員
'===================================================================
Function DelArticleCtl()
Dim strIds,intSortId
Dim intPageNow,strSql
'== 服務器端數據校驗
If Not ServerDataCheck(arrArticleDelDataChk) Then Exit Function
'== 數據獲取
Call CnvFormData(strArticleDelFormName,GBL_objFormData)
'== 獲取表單數據
strIds = GBL_objFormData.Item("Id")
'== 獲取ID參數
If Not GetPostIdValue("intSortId","信息分類",intSortId) Then Exit Function
'== 邏輯處理
strSql = "AND ARTICLE_ID IN (" & strIds & ")"
If Not RemoveArticlesLogic(strSql,intSortId) Then Exit Function
'== Get now page
intPageNow = FmtFormData(Request("intPageNow"))
'== 成功處理
Dim strHtmlCode,strSuccUrl
strHtmlCode = "該文章及相關記錄已被刪除"
strSuccUrl = "admin/admin_article_manage.asp?intPageNow=" & intPageNow & "&intSortId=" & intSortId
Call SuccExecute(strHtmlCode,strSuccUrl)
End Function
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -