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

    <%
'===================================================================
'= ASP FILENAME	: /admin/admin_user_mdypass_save.asp
'= CREATED TIME : 2006-6-30
'= LAST MODIFIED: 2006-6-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_user.asp" -->
<!-- #include file = "../inc/inc_md5.asp" -->

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

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

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

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

'== 页面构造
Call ActionBuild()

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

'== 页面析构
Call ActionOver()
%>

<%
'===================================================================
'= Function		: FormSaveUserPassMdyCtl()  
'= Time		    : Created At 2006-6-30
'= Input        : None
'= Output       : None
'= Description  : 修改用户密码
'===================================================================
Function FormSaveUserPassMdyCtl()

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

	'== 逻辑处理
	Dim intUserId
	Dim strPass
	intUserId = Request.Form("intUserId")
	strPass = Request.Form("iptPassword")
	If Not SaveUserPassLogic(intUserId,strPass) Then
		Exit Function
	End If

	'== 成功处理
	Dim strHtmlCode,strSuccUrl
	strHtmlCode = "修改用户密码成功"
	strSuccUrl = "admin/admin_user_passmdy_form.asp"
	Call SuccExecute(strHtmlCode,strSuccUrl)

End Function
%>