📄 board_mdy_save.asp
字号:
<%
'===================================================================
'= ASP FILENAME : /board/board_mdy_save.asp
'= CREATED TIME : Feb,08,2004
'= LAST MODIFIED: Feb,08,2004
'= VERSION INFO : CCASP Framework Ver 2.0.1 ALL RIGHTS RESERVED BY www.cclinux.com
'= DESCRIPTION : 修改留言(database)
'= Change Log:
'===================================================================
%>
<!-- #include file = "../inc/customer/include_customer_action_execute.asp" -->
<!-- #include file = "./board_inc.asp" -->
<!-- #include file = "../inc/logic/logic_board.asp" -->
<%
'========================================================
'== Action参数设置
'========================================================
'== 页面名
Const CONST_PAGE_FILE = "board/board_mdy_save.asp"
'== 页面标题/功能
Const CONST_PAGE_TITLE = "修改留言"
'== 功能函数名字空间
Const CONST_ACTION_FUNC = "FormSaveMdyBoardCtl"
'== 相对根目录路径
GBL_strHomeURL = "../"
'== 页面构造
Call ActionBuild()
'== 请求校验与过滤
Call ActionFilter(CONST_PAGE_FILE,CONST_ACTION_FUNC)
'== 页面析构
Call ActionOver()
%>
<%
'===================================================================
'= Function : FormSaveMdyBoardCtl()
'= Time : Created At 2006-5-14
'= Input : None
'= Description : 修改留言
'===================================================================
Function FormSaveMdyBoardCtl()
Dim intBoardId,intPageNow,strSql
'== 服务器端数据校验
If Not ServerDataCheck(arrMdyBoardDataChk) Then Exit Function
'== 数据获取
Call CnvFormData(strMdyBoardFormName,GBL_objFormData)
'== 获取ID参数
If Not GetPostIdValue("intBoardId","留言",intBoardId) Then Exit Function
intPageNow = FmtFormData(Request("intPageNow"))
'== 逻辑处理
strSql = " AND BOARD_ID=" & intBoardId & " AND BOARD_USER_ID=" & GBL_intUserId
If Not SaveBoardLogic(GBL_intUserId,strSql,GBL_objFormData) Then Exit Function
'== 成功处理
Dim strHtmlCode,strSuccUrl
strHtmlCode = "您修改留言成功"
strSuccUrl = "board/board_list.asp?intPageNow=" & intPageNow
Call SuccExecute(strHtmlCode,strSuccUrl)
End Function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -