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

    <%
''==================================================================
'= ASP FILENAME	: /album/album_add_form.asp
'= CREATED TIME : 2006-5-6
'= LAST MODIFIED: 2006-5-6
'= 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 = "./album_inc.asp" -->

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

'== 页面标题/功能
Const CONST_PAGE_TITLE	= "添加新相片"

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

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

'== 页面构造
Call ActionBuild()

'== 在模板中引用的标签变量
Dim TAG_objDicUnit		'== 单列记录
Dim TAG_strVerifyCode	'== 表单校验
Dim TAG_strPageNav		'== 翻页导航
Dim TAG_strFileType,TAG_intFileSize	'== 文件大小,类型

'== 请求校验与过滤
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_album_add_form.html.asp" --> 
<%
End Function

''==================================================================
'= Function    : FormUpPhotoCtl()
'= Time		   : Created At 2006-5-4
'= Input       : 
'= Description : 添加新相片
'===================================================================='
Function FormUpPhotoCtl()

	'== 客户段表单校验生成
	Dim objClientChk
	Set objClientChk = New classClientChk
	TAG_strVerifyCode = objClientChk.ClientDataCheck("theform",arrAlbumAddDataChk)
	Set objClientChk = Nothing

	'== 文件大小,类型标签赋值
	TAG_strFileType = GBL_strAlbumFileType
	TAG_intFileSize = GBL_intAlbumMaxSize

End Function

%>