Cls_SysConfig.asp
资源名称:eat.rar [点击查看]
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:7k
源码类别:
数据库编程
开发平台:
ASP/ASPX
- <%'Copyright (c) 2006 Foosun Inc. Code by Einstein.Liu
- Class Cls_SysConfig
- private MF_ID,MF_Domain,MF_SiteName,MF_eMail,MF_Soft_Version,MF_Copyright_Info,MF_Site_lock,MF_UpFile_Type,MF_UpFile_Size,MF_Index_templet,MF_Index_File_Name,MF_WriteType
- private MF_Mail_Server,MF_Mail_Name,MF_Mail_Pass_word,MF_Index_Refresh,MF_Class_Refresh,MF_Write_Type,MF_Date_Path,MF_Copy_Right,MF_login_style,f_MF_Encript_SN
- private p_Save_Rs,strShowErr
- private MF_picClassid,MF_markType,MF_markText,MF_markFontSize,MF_markFontColor,MF_markFontName,MF_markFontBond,MF_markPicture,MF_markOpacity,MF_MarkTranspColor,MF_markWidth,MF_markHeight,MF_markPosition
- '缩略图功能参数
- private MF_thumbnailComponent,MF_rateTF,MF_thumbnailWidth,MF_thumbnailHeight,MF_thumbnailRate
- public function getSysParam()
- Dim sysRs,sqlStatement
- Set sysRs=Server.CreateObject(G_FS_RS)
- sqlStatement="select ID,MF_Domain,MF_Site_Name,MF_eMail,MF_Soft_Version,MF_Encript_SN,MF_Copyright_Info,MF_Site_lock,MF_UpFile_Type,MF_UpFile_Size,MF_Index_Templet,MF_Index_File_Name,MF_Mail_Server,MF_Mail_Name,MF_Mail_Pass_Word,MF_Index_Refresh,MF_Class_Refresh,MF_Login_style,MF_writeType,MarkType,MarkText,MarkFontSize,MarkFontColor,MarkFontName,MarkFontBond,MarkPicture,MarkOpacity,MarkWidth,MarkHeight,MarkTranspColor,MarkPosition,ThumbnailComponent,RateTF,ThumbnailWidth,ThumbnailHeight,ThumbnailRate,PicClassid from FS_MF_Config"
- sysRs.open sqlStatement,Conn,1,3
- MF_ID=sysRs("ID")
- f_MF_Encript_SN = sysRs("MF_Encript_SN")
- MF_Domain=sysRs("MF_Domain")
- MF_SiteName=sysRs("MF_Site_Name")
- MF_eMail=sysRs("MF_eMail")
- MF_Soft_Version=sysRs("MF_Soft_Version")
- MF_Copyright_Info=sysRs("MF_Copyright_Info")
- MF_Site_lock=sysRs("MF_Site_lock")
- MF_UpFile_Type=sysRs("MF_UpFile_Type")
- MF_UpFile_Size=sysRs("MF_UpFile_Size")
- MF_Index_Templet=sysRs("MF_Index_Templet")
- MF_Index_File_Name=sysRs("MF_Index_File_Name")
- MF_Mail_Server=sysRs("MF_Mail_Server")
- MF_Mail_Name=sysRs("MF_Mail_Name")
- MF_Mail_Pass_Word=sysRs("MF_Mail_Pass_Word")
- MF_Index_Refresh=sysRs("MF_Index_Refresh")
- MF_Class_Refresh=sysRs("MF_Class_Refresh")
- MF_Login_style=sysRs("MF_Login_style")
- MF_WriteType=sysRs("MF_WriteType")
- MF_MarkType=sysRs("MarkType")
- MF_MarkText=sysRs("MarkText")
- MF_MarkFontSize=sysRs("MarkFontSize")
- MF_MarkFontColor=sysRs("MarkFontColor")
- MF_MarkFontName=sysRs("MarkFontName")
- MF_MarkFontBond=sysRs("MarkFontBond")
- MF_MarkPicture=sysRs("MarkPicture")
- MF_MarkOpacity=sysRs("MarkOpacity")
- MF_MarkWidth=sysRs("MarkWidth")
- MF_MarkHeight=sysRs("MarkHeight")
- MF_MarkTranspColor=sysRs("MarkTranspColor")
- MF_MarkPosition=sysRs("MarkPosition")
- MF_ThumbnailComponent=sysRs("ThumbnailComponent")
- MF_RateTF=sysRs("RateTF")
- MF_ThumbnailWidth=sysRs("ThumbnailWidth")
- MF_ThumbnailHeight=sysRs("ThumbnailHeight")
- MF_ThumbnailRate=sysRs("ThumbnailRate")
- MF_PicClassid=sysRs("PicClassid")
- End function
- public property get id()'系统参数id(基本不用,该记录只有一条)
- id=MF_ID
- end property
- public property get MF_Encript_SN()
- MF_Encript_SN=f_MF_Encript_SN
- end property
- public property get domain()'系统主域名
- domain=MF_Domain
- end property
- public property get sitename()'系统子域名
- sitename=MF_SiteName
- end property
- public property get email()'
- email=MF_eMail
- end property
- public property get soft_version()'系统版本号
- Soft_Version=MF_Soft_Version
- end property
- public property get copyright_info()'系统版权信息
- copyright_info=MF_Copyright_Info
- end property
- public property get site_lock()'站点锁定
- site_lock=MF_Site_lock
- end property
- public property get upFile_type()
- upFile_type=MF_upFile_type
- end property
- public property get upFile_Size()
- upFile_Size=MF_UpFile_Size
- end property
- public property get index_Templet()'系统首页模板
- index_Templet=MF_Index_Templet
- end property
- public property get index_File_Name()'系统首页模板
- index_File_Name=MF_Index_File_Name
- end property
- public property get mail_Server()'系统邮件服务器
- mail_Server=MF_Mail_Server
- end property
- public property get mail_Name()
- mail_Name=MF_Mail_Name
- end property
- public property get mail_Pass_Word()'邮件服务器登陆密码
- mail_Pass_Word=MF_Mail_Pass_Word
- end property
- public property get index_Refresh()'首页自动刷新间隔时间,单位分钟(-1不自动刷新,0为立即刷新,其他值为刷新时间的间隔:例如,5就为5分钟)
- index_Refresh=MF_Index_Refresh
- end property
- public property get class_Refresh()'栏目自动刷新间隔时间,单位分钟(-1不自动刷新,0为立即刷新,其他值为刷新时间的间隔:例如,5就为5分钟)
- class_Refresh=MF_Class_Refresh
- end property
- public property get login_style()'登陆风格
- login_style=MF_Login_style
- end property
- public property get writeType()
- writeType=MF_WriteType
- end property
- '--------组件参数---------------------------------
- public property get picClassid()'水印组件
- picClassid=MF_picClassid
- end property
- public property get markType()'水印类型(文字,图片)
- markType=MF_MarkType
- end property
- public property get markText()'水印文字
- markText=MF_MarkText
- end property
- public property get markFontSize()'水印文字大小
- markFontSize=MF_MarkFontSize
- end property
- public property get markFontColor()'水印文字颜色
- markFontColor=MF_MarkFontColor
- end property
- public property get markFontName()'水印文字字体
- markFontName=MF_MarkFontName
- end property
- public property get markFontBond()'水印文字是否粗体
- markFontBond=MF_MarkFontBond
- end property
- public property get markPicture()'水印图片
- markPicture=MF_MarkPicture
- end property
- public property get markOpacity()'水印图片透明度
- markOpacity=MF_MarkOpacity
- end property
- public property get markWidth()'水印图片透明度
- markWidth=MF_MarkWidth
- end property
- public property get markHeight()'水印图片透明度
- markHeight=MF_MarkHeight
- end property
- public property get markTranspColor()'水印图片去除底色
- markTranspColor=MF_MarkTranspColor
- end property
- public property get markPosition()'水印位置
- markPosition=MF_MarkPosition
- end property
- '缩略图组件-----------------------
- public property get thumbnailComponent()'缩略图组件
- thumbnailComponent=MF_ThumbnailComponent
- end property
- public property get rateTF()'是否按比例生成缩略图
- rateTF=MF_RateTF
- end property
- public property get thumbnailWidth()'缩略图宽度
- thumbnailWidth=MF_ThumbnailWidth
- end property
- public property get thumbnailHeight()'缩略图高度
- thumbnailHeight=MF_ThumbnailHeight
- end property
- public property get thumbnailRate()'缩略图缩放比例
- thumbnailRate=MF_ThumbnailRate
- end property
- End class
- %>