www.gusucode.com > CC校友录贴吧 CCBar源码程序asp编程 > user/user_basemdy_save.asp

    <%
'===================================================================
'= ASP FILENAME	: /user/user_basemdy_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  : 用户资料修改
'= Change Log:
'===================================================================
%>

<!-- #include file = "../inc/customer/include_customer_action_execute.asp" -->
<!-- #include file = "../main_func.asp" -->
<!-- #include file = "./user_inc.asp" -->
<!-- #include file = "../inc/logic/logic_user.asp" -->

<%
'========================================================
'==   Action参数设置
'========================================================
'== 页面名
Const CONST_PAGE_FILE	= "user/user_basemdy_save.asp"

'== 页面标题/功能
Const CONST_PAGE_TITLE	= "用户资料修改"

'== 功能函数名字空间
Const CONST_ACTION_FUNC	= "FormSaveBaseInfoMdyCtl"

'== 相对根目录路径 
GBL_strHomeURL			= "../"

'== 页面构造
Call ActionBuild()

'== 请求校验与过滤
Call ActionFilter(CONST_PAGE_FILE,CONST_ACTION_FUNC)

'== 页面析构
Call ActionOver()

%>

<%
'===================================================================
'= Function    : FormSaveBaseInfoMdyCtl()
'= Time		   : Created At Nov,03,2003
'= Input       : 
'= Description : 用户资料修改
'===================================================================
Function FormSaveBaseInfoMdyCtl()	

	'== 服务器端数据校验
	If Not ServerDataCheck(arrUserMdyDataChk) Then
		Exit Function
	End If

	'== 表单数据获取
	Call CnvFormData(strUserMdyFormName,GBL_objFormData)
	
	'== 逻辑处理
	If Not SaveUserLogic(GBL_intUserId,GBL_objFormData) Then Exit Function

	'== 成功处理
	Dim strHtmlCode,strSuccUrl
	strHtmlCode = "您的用户资料修改成功"
	strSuccUrl = "user/user_basemdy_form.asp"
	Call SuccExecute(strHtmlCode,strSuccUrl)

End Function
%>