www.gusucode.com > CC校友录贴吧 CCBar源码程序asp编程 > user/user_basemdy_form.asp
<% '=================================================================== '= ASP FILENAME : /user/user_basemdy_form.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_view.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_form.asp" '== 页面标题/功能 Const CONST_PAGE_TITLE = "用户资料修改" '== 功能函数名字空间 Const CONST_ACTION_FUNC = "FormBaseInfoMdyCtl" '== 相对根目录路径 GBL_strHomeURL = "../" '== 页面构造 Call ActionBuild() '== 在模板中引用的标签变量 Dim TAG_objDicUnit '== 单列记录 Dim TAG_strVerifyCode '== 表单校验 '== 请求校验与过滤 Call ActionFilter(CONST_PAGE_FILE,CONST_ACTION_FUNC) '== 页面析构 Call ActionOver() %> <% '=================================================================== '= Function : LoadPageTpl() '= Time : Created At 2006-5-4 '= Description : 加载页面模块 '=================================================================== Function LoadPageTpl() %> <!-- #include file = "../template_c/page_user_basemdy_form.html.asp" --> <% End Function '=================================================================== '= Function : FormBaseInfoMdyCtl() '= Time : Created At 2006-5-3 '= Input : None '= Description : 用户资料修改 '=================================================================== Function FormBaseInfoMdyCtl() Dim arrTmp,strSql '== 取记录 strSql = " AND USER_ID=" & GBL_intUserId If Not GetUserLogic(strSql) Then Exit Function End If Set TAG_objDicUnit = GBL_objPubDB.GetRsOneRow() If Not ResultExecute(GBL_objPubDB.intRSNum,"此帐户已被删除或处于异常","ES_DB_NO") Then '== 标签数据解析 '== 生日 arrTmp = Split(Trim(TAG_objDicUnit.Item("USER_BIRTH")),"-") TAG_objDicUnit.Item("USER_BIRTH_YEAR") = arrTmp(0) TAG_objDicUnit.Item("USER_BIRTH_MONTH") = arrTmp(1) TAG_objDicUnit.Item("USER_BIRTH_DAY") = arrTmp(2) '== 客户段表单校验生成 Dim objClientChk Set objClientChk = New classClientChk TAG_strVerifyCode = objClientChk.ClientDataCheck("theform",arrUserMdyDataChk) Set objClientChk = Nothing '== 用户签名档 TAG_objDicUnit.Item("USER_SIGN") = FilterHtml(TAG_objDicUnit.Item("USER_INFO")) End If End Function %>