您当前的位置::绿色东东 -> SEO资料 -> 站长技术 -> 建网技术 -> 文章信息
绿色论坛

新云inc目录文件具体说明(解说)

  • 原作者:绿色笑话
  • 文章来源:www.greendd.cn
  • 发布时间:2008-7-20 1:49:23

文章介绍



    Uploadcls.asp 此程序采用无惧无组件上传类。

    UbbCode.asp UBB代码转换程序

    Function UbbCode(strContent)

    Std_StranJF.Js 简繁转换

    CheckInput.asp 检查输入

    Function IsValidEmail(email) 判断EMAIL是否正确

    Function IsValidTel(para) 判断电话号码是否正确

    Classmenu.asp 栏目菜单

    Function LoadClassMenu(ByVal ChannelID, ByVal ClassID, ByVal TopNum, ByVal PerRowNum, ByVal Compart, ByVal styles) 装载分类栏目单

    Function ReadClassMenu(ByVal str) 读取分类栏目菜单

    Function LoadClassMenubar(ByVal ChannelID, ByVal ClassID, ByVal TopNum, ByVal PerRowNum, ByVal frontstr) 装载分类菜单栏

    Function ReadClassMenubar(str) 读取分类菜单栏

    www.greendd.cn www.greendd.com整理

    Function ShowListPage(CurrentPage, Pcount, totalrec, PageNum, strLink, ListName) 通用分页程序

    Function ShowHtmlPage(CurrentPage, Pcount, totalrec, PageNum, strLink, ExtName, ListName) 通用HTML分页程序

    Down_CLS.asp 资源下载的主类程序

    CLS_Main.asp 全站的主类程序

    Sub Class_Initialize() 类初始化

    Function CheckNull(ByVal sValue) 是否为有效值

    Function ChkFormStr(ByVal str) 过滤表单字符

    Function CheckRequest(ByVal str,ByVal strLen) 过滤SQL非法字符

    Function RemoveBadCharacters(ByVal strTemp) 移除有害字符

    Function RemoveHtml(ByVal Textstr) 去除HTML标记

    Function Execute(Command) 执行SQL语句

    Sub ReadConfig() 读取站点配置文件

    www.greendd.cn www.greendd.com整理

    Sub ReloadChannel(ChannelID) 重载频道设置

    Sub ReadChannel(ChannelID) 读取频道设置

    Sub LoadTemplates(ChannelID, pageid, StyleID) 载入模板

    Sub TemplatesToCache(ChannelID, pageid) 模板加载至缓存

    Property Get GetSiteUrl() 取得带端口的URL

    Function FormEncode(ByVal str, ByVal n) 过滤提交的表单数据

    Function ChkKeyWord(ByVal keyword) 过滤关键字

    Function JAPEncode(ByVal str) 日文片假名编码

    Function JAPUncode(ByVal str) 日文片假名解码

    Function ChkBadWords(ByVal str) 脏话过滤

    Function HTMLEncode(ByVal fString) 过滤HTML及脏话

    Function CheckPost() 判断发言是否来自外部

    Function CheckOuterUrl() 判断来源是否来自外部

    Function GotTopic(ByVal str, ByVal strLen) 显示字串长度

    Function CheckTopic(ByVal strContent) 过滤字串

    Function ReadTopic(ByVal str, ByVal strLen) 显示指定长度字串

    Function strLength(ByVal str) 计算字串长度

    Function CheckInfuse(ByVal str, ByVal strLen) 防止SQL注入

    Function ChkQueryStr(ByVal str) 过滤查询非法字符

    Function CheckQuery(ByVal str) 限制搜索的关键字

    Function IsValidStr(ByVal str) 判断字串里否有非法字符

    Function IsValidPassword(ByVal str) 决断密码里是否有非法字符

    Function IsValidChar(ByVal str) 判断字符串里是否有非法字符和中文

    Function FormatDate(DateAndTime, para) 格式化日期输出(10种格式)

    Function ReadFontMode(str, vColor, vFont) 读取字体模式

    Function ReadBriefTopic(ByVal para) 读取简短标题

    Function GetImageUrl(ByVal url, ByVal ChannelDir) 获取图片URL

    GetFlashAndPic(ByVal url, ByVal height, ByVal width) 读取图片或FLASH

    Function ReadFileUrl(url) 读取文件URL

    Function ReadFileName(ByVal strname, ByVal id, ByVal ExtName, ByVal PrefixStr, ByVal HtmlForm, ByVal n) 读取HTML文件名

    Function HtmlRndFileName() HTML随机文件

    Function ClassFileName(ByVal ClassID, ByVal ExtName, ByVal PrefixStr, ByVal n) 读取HTML文件列表名

    Function SpecialFileName(ByVal specid, ByVal ExtName, ByVal n) 读取专题HTML文件名

    Function ChannelMenu() 显示频道菜单

    Function LoadSelectClass(ChannelID) 载入缓存下拉列表

    Function GetRandomCode() 系统分配随机代码

    Function CodeIsTrue() 检查验证码

    Function ReadAlpha(ByVal str) 取字符串第一个字母

    Function CreatPathEx(ByVal sPath) 创建生成目录

    Function FileDelete(ByVal FilePath) FSO删除文件

    Function FolderDelete(ByVal FolderPath) FSO删除目录

    Function CopyToFile(ByVal SoureFile, ByVal NewFile) 复制文件

    Function CopyToFolder(ByVal SoureFolder, ByVal NewFolder) 复制文件

    Function CreatedTextFile(ByVal FileName, ByVal body) 创建文本文件

    Function Readfile(ByVal fromPath) 读取文件内容

    Function CutMatchContent(ByVal str, ByVal start, ByVal last, ByVal Condition) 截取相匹配的内容

    Function UserGroupSetting(ByVal gradeid) 取用户权限设置

    Function ReadContent(ByVal strContent) 获取内容UBB转换

    Cls_public.asp 公共类库

    Function LoadArticleList(ByVal ChannelID, ByVal ClassID, ByVal SpecialID,ByVal stype, ByVal TopNum, ByVal strLen, ByVal showclass, ByVal showpic, ByVal showdate, ByVal DateMode, ByVal newindow, ByVal styles) 加载文章列表

    Function ReadArticleList(ByVal str) 读取文章列表

    Function LoadSoftList(ByVal ChannelID, ByVal ClassID, ByVal SpecialID, ByVal stype, ByVal TopNum, ByVal strLen, ByVal showclass, ByVal showdate, ByVal DateMode, ByVal newindow, ByVal styles) 加载软件(资源)列表

    Function ReadSoftList(ByVal str) 读取软件(资源)列表

    Function LoadFlashList(ByVal ChannelID, ByVal ClassID, ByVal SpecialID, ByVal stype, ByVal TopNum, ByVal strLen, ByVal showclass, ByVal showdate, ByVal DateMode, ByVal newindow, ByVal styles) 加载FLASH动画(媒体)列表

    Function ReadFlashList(ByVal str) 读取FLASH动画(媒体)列表

    Function LoadAnnounceContent(ByVal sTopic, ByVal ChannelID) 加载内容公告

    Function ReadAnnounceContent(ByVal str, ByVal ChannelID) 读取内容公告

    Function LoadAnnounceList(ByVal ChannelID, ByVal maxnum, ByVal maxlen, ByVal newindow, ByVal showdate, ByVal DateMode, ByVal showtree) 加载公告列表

    Function ReadAnnounce

    [1] [2] [3]  下一页

文章上下页关联