| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1444 人关注过本帖
标题:UBB怎么使用呀 ?
只看楼主 加入收藏
mengbingyu
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2005-1-28
收藏
 问题点数:0 回复次数:5 
UBB怎么使用呀 ?
UBB怎么才能差到我的留言版里呀?还有就是表情字符转换,不解???

谁帮忙解决一下!最好说的清楚具体一点!先谢过了!
搜索更多相关主题的帖子: UBB 
2005-03-11 09:13
griefforyou
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:3336
专家分:0
注 册:2004-4-15
收藏
得分:0 
可以借用一下动态的UBB转换代码呀。

天津网站建设 http://www./
2005-03-11 09:15
mengbingyu
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2005-1-28
收藏
得分:0 
我想自己写一个哦!不是盗来用的!想自己做一个,了解一下UBB是怎么用的!呵呵!

没有“凝”的日子里,我想的是“凝” 不会让“凝”再为我哭泣,爱“凝”不是游戏!
2005-03-14 17:36
tyang
Rank: 1
等 级:新手上路
帖 子:216
专家分:0
注 册:2004-9-16
收藏
得分:0 
关注中

我的网站" target="_blank">http://www. 欢迎加入网站设计交流群:17222128
2005-03-15 08:54
zhanglemail
Rank: 1
等 级:新手上路
帖 子:13
专家分:0
注 册:2005-3-8
收藏
得分:0 
不如那现成的改一改

2005-03-15 10:29
suyongtao
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:33
帖 子:8674
专家分:127
注 册:2004-11-6
收藏
得分:0 

<title> 留言板</title> <% function changechr(str) changechr=replace(replace(replace(replace(str,"<","&lt;"),">","&gt;"),chr(13),"<br>")," "," ") end function

Function LinkURLs(strInput) Dim iCurrentLocation Dim iLinkStart Dim iLinkEnd Dim strLinkText Dim strOutPut strLinkText="" strOutput="" iCurrentLocation=1 Do while Instr(iCurrentLocation,strInput,"[url]",1)<>0 iLinkStart=Instr(iCurrentLocation,strInput,"[url]",1) iLinkEnd=Instr(iCurrentLocation+1,strInput,"[/url]",1) If iLinkEnd=0 then iLinkEnd=len(strINput)+1 select case Mid(strInput,iLinkEnd-1,1) case ".","!","?" iLinkEnd=iLinkEnd-1 end select stroutput=strOutput & Mid(strInput,iCurrentLocation,iLinkStart-iCurrentLocation) strLinkText=replace(Mid(strInput,iLinkStart+5,iLinkEnd-iLinkStart-5),"[/url]","") strOutput=strOutput & "<A href=""" & strLinkText & """ target=_blank>" & strLinkText & "</A>" iCurrentLocation=iLinkEnd Loop

strOutput=strOutput & Mid(strInput,iCurrentLocation) LinkURLs=replace(strOutput,"[/url]","",1,-1,1) End Function

Function LinkIMGs(strInput) Dim iCurrentLocation Dim iLinkStart Dim iLinkEnd Dim strLinkText Dim strOutPut strLinkText="" strOutput="" iCurrentLocation=1 Do while Instr(iCurrentLocation,strInput,"[img]",1)<>0 iLinkStart=Instr(iCurrentLocation,strInput,"[img]",1) iLinkEnd=Instr(iCurrentLocation+1,strInput,"[/img]",1) If iLinkEnd=0 then iLinkEnd=len(strINput)+1 select case Mid(strInput,iLinkEnd-1,1) case ".","!","?" iLinkEnd=iLinkEnd-1 end select stroutput=strOutput & Mid(strInput,iCurrentLocation,iLinkStart-iCurrentLocation) strLinkText=replace(Mid(strInput,iLinkStart+5,iLinkEnd-iLinkStart-5),"[/img]","") strOutput=strOutput & "<img src=""" & strLinkText & """>" iCurrentLocation=iLinkEnd Loop

strOutput=strOutput & Mid(strInput,iCurrentLocation) LinkIMGs=replace(strOutput,"[/img]","",1,-1,1) End Function

Function LinkEmail(strInput) Dim iCurrentLocation Dim iLinkStart Dim iLinkEnd Dim strLinkText Dim strOutPut strLinkText="" strOutput="" iCurrentLocation=1 Do while Instr(iCurrentLocation,strInput,"[email]",1)<>0 iLinkStart=Instr(iCurrentLocation,strInput,"[email]",1) iLinkEnd=Instr(iCurrentLocation+1,strInput,"[/email]",1) If iLinkEnd=0 then iLinkEnd=len(strINput)+1 select case Mid(strInput,iLinkEnd-1,1) case ".","!","?" iLinkEnd=iLinkEnd-1 end select stroutput=strOutput & Mid(strInput,iCurrentLocation,iLinkStart-iCurrentLocation) strLinkText=replace(Mid(strInput,iLinkStart+7,iLinkEnd-iLinkStart-7),"[/email]","") strOutput=strOutput & "<A href=""mailt" & strLinkText & """><font color=blue>" & strLinkText & "</font></A>" iCurrentLocation=iLinkEnd Loop

strOutput=strOutput & Mid(strInput,iCurrentLocation) LinkEmail=replace(strOutput,"[/email]","",1,-1,1) End Function function encrypt(ecode) Dim texts dim i for i=1 to len(ecode) texts=texts & chr(asc(mid(ecode,i,1))+i) next encrypt = texts end function function UBB(str) str=LinkURLs(str) str=LinkIMGs(str) str=LinkEmail(str) UBB=str end function %>


面朝大海,春暖花开!
2005-03-15 11:09
快速回复:UBB怎么使用呀 ?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020567 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved