⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 album_paste_save.asp

📁 1] 校友多种方式注册认证[直接注册,答问注册,认证注册] 2] 校友论坛 小巧而实用的论坛,支持UBB标签,快速回复,帖子搜索,灵活的将帖子置顶,设置精华 3] 校友相册 相片上传[方便上传
💻 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

%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -