www.gusucode.com > CC校友录贴吧 CCBar源码程序asp编程 > user/user_collection_del.asp
<% '=================================================================== '= ASP FILENAME : /user/user_collection_del.asp '= CREATED TIME : 2006-6-24 '= LAST MODIFIED: 2006-6-24 '= 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 = "./user_inc.asp" --> <!-- #include file = "../inc/logic/logic_collection.asp" --> <% '======================================================== '== Action参数设置 '======================================================== '== 页面名 Const CONST_PAGE_FILE = "user/user_collection_del.asp" '== 页面标题/功能 Const CONST_PAGE_TITLE = "删除收藏" '== 功能函数名字空间 Const CONST_ACTION_FUNC = "DelUserCollection" '== 相对根目录路径 GBL_strHomeURL = "../" '== 页面构造 Call ActionBuild() '== 请求校验与过滤 Call ActionFilter(CONST_PAGE_FILE,CONST_ACTION_FUNC) '== 页面析构 Call ActionOver() %> <% '=================================================================== '= Sub : DelUserCollection() '= Time : Created At 2006-6-24 '= Input : '= Description : 删除收藏 '=================================================================== Function DelUserCollection() Dim intCollectionId,strSql '== 服务器端数据校验 'If Not ServerDataCheck(arrUserFaceSetDataChk) Then ' Exit Function 'End If '== 获取ID参数 If Not GetPostIdValue("intCollectionId","我的收藏",intCollectionId) Then Exit Function '== 逻辑处理 strSql = " AND COLLECTION_ID=" & intCollectionId If Not RemoveCollectionLogic(GBL_intUserId,strSql) Then Exit Function '== 成功处理 Dim strHtmlCode,strSuccUrl strHtmlCode = "您的收藏删除成功" strSuccUrl = "user/user_info_show.asp" Call SuccExecute(strHtmlCode,strSuccUrl) End Function %>