www.gusucode.com > CC校友录贴吧 CCBar源码程序asp编程 > album/album_paste_save.asp
<% ''=================================================================== '= ASP FILENAME : /album/album_paste_save.asp '= CREATED TIME : 2006-5-5 '= LAST MODIFIED: 2006-5-5 '= 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 = "./album_inc.asp" --> <!-- #include file = "../inc/logic/logic_album.asp" --> <% ''======================================================== '== Action参数设置 '========================================================' '== 页面名 Const CONST_PAGE_FILE = "album/album_paste_save.asp" '== 页面标题/功能 Const CONST_PAGE_TITLE = "添加网络相片" '== 功能函数名字空间 Const CONST_ACTION_FUNC = "FormSavePastePhotoCtl" '== 相对根目录路径 GBL_strHomeURL = "../" '== 页面构造 Call ActionBuild() '== 请求校验与过滤 Call ActionFilter(CONST_PAGE_FILE,CONST_ACTION_FUNC) '== 页面析构 Call ActionOver() %> <% ''=================================================================== '= Function : FormSavePastePhotoCtl() '= Time : Created At 2006-5-5 '= Input : '= Description : 添加网络相片 '===================================================================' Function FormSavePastePhotoCtl() Dim strFormName,strPicName,strHtmlCode,strSuccUrl '== 服务器端数据校验 If Not ServerDataCheck(arrAlbumPasteDataChk) Then Exit Function End If '== 数据获取 Call CnvFormData(strAlbumPasteFormName,GBL_objFormData) '== 保留上传记录 If Not SavePasteAlbumLogic(GBL_intUserId,GBL_objFormData) Then Exit Function '== Update user photo number Call RecordCounter("CLASS_USER","USER_PHOTO",1,"AND USER_ID=" & GBL_intUserId) '== Update user level Call UpdateLevel(GBL_intAlbumLevel) '== 成功处理 strHtmlCode = "您添加网络图片成功" strSuccUrl = "album/album_list.asp" Call SuccExecute(strHtmlCode,strSuccUrl) End Function %>