|
- <SCRIPT language=JavaScript>7 d) A, |' {1 p5 v$ J0 c
- function dvbbs_show_topic(AnnounceID,BoardID,UserName,Topic,isagree,useremail,userim,UserMobile,face,Topic_Ads,title,sign,UserGroup,body,dateandtime,Expression,ip,RootID,signflag,isbest,PostUserid,layer,userclass,width,height,article,addDate,userWealth,userEP,userCP,birthday,sex,LockUser,userPower,titlepic,UserGroupID,LastLogin,IsChallenge,i,tablebody,isOnline,LockPage,UserIsBest,plus_love_love){ var str=TempStr; var sstr=sTempStr; var UserIM=dvhtmlencode(userim).split("\|\|\|"); var homepage=UserIM[0]; var oicq=UserIM[1]; var uc=UserIM[6]; //首先运行判断部分替换 if (facesetting=='1' && face!=''){ var facestr=sstr[0]; facestr = facestr.replace(/{\$faceurl}/gi,dvhtmlencode(FilterJS(face))); facestr = facestr.replace(/{\$facewidth}/gi,width); facestr = facestr.replace(/{\$faceheight}/gi,height); str = str.replace(/{\$userface}/gi,facestr); } str = str.replace(/{\$userface}/gi,""); if (IsChallenge=='1'){ str = str.replace(/{\{$raytitle}/gi,sstr[1]); } str = str.replace(/{\$raytitle}/gi,""); if (title!=''){ str = str.replace(/{\$usertitle}/gi,sstr[2]); str = str.replace(/{\$title}/gi,dvhtmlencode(title)); } str = str.replace(/{\$usertitle}/gi,""); if (userPower!='' && userPower!='0'){ str = str.replace(/{\$userpower}/gi,sstr[3]); str = str.replace(/{\$power}/gi,userPower); } str = str.replace(/{\$userpower}/gi,""); if (UserGroup!='' && UserGroup!='无门无派'){ str = str.replace(/{\$usergroup}/gi,sstr[4]); str = str.replace(/{\$groups}/gi,dvhtmlencode(UserGroup)); } str = str.replace(/{\$usergroup}/gi,""); if (LockUser=='2' || LockPage=='2'){ str = str.replace(/{\$topicinfo}/gi,lockuserinfo1); } if (LockUser=='1'){ str = str.replace(/{\$topicinfo}/gi,lockuserinfo2); } if (isbest=='1' && GroupSetting41=='0'){ str = str.replace(/{\$topicinfo}/gi,noviewbest); } var topicinfo=''; var manageinfo=''; manageinfo=sstr[14]; topicinfo = sstr[11]; if (i=='0' && star=='1'){ if (isagree==''){isagree="0|0";} isagree=isagree.split("|"); str = str.replace(/{\$topicvote}/gi,sstr[5]); str = str.replace(/{\$fnum}/gi,isagree[0]); str = str.replace(/{\$dnum}/gi,isagree[1]); str = str.replace(/{\$floor}/gi,topfloor); topicinfo = topicinfo.replace(/{\$topic}/gi,dvbbs_topicmode(Topic,TopicMode)); }else{manageinfo+= sstr[15];} topicinfo = topicinfo.replace(/{\$topic}/gi,dvhtmlencode(Topic)); topicinfo = topicinfo.replace(/{\$body}/gi,body); topicinfo = topicinfo.replace(/{\$expression}/gi,"Skins/Default/topicface/"+Expression); if (signflag=='1' && Forum_Setting42=='1' && sign!='' && LockUser=='0'){ topicinfo+= sstr[12]; topicinfo = topicinfo.replace(/{\$usersign}/gi,sign); } manageinfo+= sstr[16]; var actioninfo='' if (isbest=='1'){ actioninfo=actioninfo1; }else{actioninfo=actioninfo2;} manageinfo+= sstr[17]; manageinfo = manageinfo.replace(/{\$actioninfo}/gi,actioninfo); manageinfo+= sstr[18].replace(/{\$actioninfo3}/gi,actioninfo3); str = str.replace(/{\$manageinfo}/gi,manageinfo); str = str.replace(/{\$floor}/gi,floor.replace(/{\$floornum}/gi,((Board_Setting27*(star-1))+(i+1)))); str = str.replace(/{\$usemoney}/gi,votemoney); str = str.replace(/{\$topicvote}/gi,""); if (Forum_ChanSetting0=='1' && Forum_ChanSetting7=='1') { str = str.replace(/{\$raytopic}/gi,sstr[6]); } str = str.replace(/{\$raytopic}/gi,""); if (Forum_ChanSetting0=='1' && Forum_ChanSetting6=='1') { str = str.replace(/{\$raysms}/gi,sstr[7]); str = str.replace(/{\$raytopicsms}/gi,sstr[13]); } str = str.replace(/{\$raysms}/gi,""); str = str.replace(/{\$raytopicsms}/gi,""); str = str.replace(/{\$raysmsad}/gi,unhtml(Topic_Ads)); if (useremail!=''){ str = str.replace(/{\$email}/gi,sstr[8]); str = str.replace(/{\$useremail}/gi,dvhtmlencode(useremail)); } str = str.replace(/{\$email}/gi,""); //UserIM if (oicq!=''){ str = str.replace(/{\$useroicq}/gi,sstr[9]); str = str.replace(/{\$oicq}/gi,oicq); } str = str.replace(/{\$useroicq}/gi,""); if (homepage!=''){ str = str.replace(/{\$homepage}/gi,sstr[10]); str = str.replace(/{\$hpage}/gi,homepage); } str = str.replace(/{\$homepage}/gi,""); if (uc!=''){ str = str.replace(/{\$UserUC}/gi,sstr[19]); str = str.replace(/{\$uc}/gi,uc); } str = str.replace(/{\$UserUC}/gi,""); str = str.replace(/{\$boardid}/gi,BoardID); str = str.replace(/{\$announceid}/gi,AnnounceID); str = str.replace(/{\$topicid}/gi,RootID); str = str.replace(/{\$username}/gi,dvhtmlencode(UserName)); str = str.replace(/{\$userid}/gi,PostUserid); str = str.replace(/{\$alertcolor}/gi,alertcolor); str = str.replace(/{\$star}/gi,star); str = str.replace(/{\$titlepic}/gi,"Skins/Default/star/"+titlepic); str = str.replace(/{\$userclass}/gi,userclass); str = str.replace(/{\$article}/gi,article); str = str.replace(/{\$userep}/gi,userEP); str = str.replace(/{\$regdate}/gi,addDate); str = str.replace(/{\$dateandtime}/gi,dateandtime); str = str.replace(/{\$ip}/gi,ip); str = str.replace(/{\$fontsize}/gi,fontsize); str = str.replace(/{\$lineheight}/gi,lineheight); str = str.replace(/{\$tablebody}/gi,tablebody); str = str.replace(/{\$birthday}/gi,astro(birthday)); str = str.replace(/{\$onlinepic}/gi,OnlinePic(isOnline,sex)); str = str.replace(/{\$tableline}/gi,mainsetting[12]); str = str.replace(/{\$namestyle}/gi,namestyle(UserGroupID)); str = str.replace(/{\$usercolor}/gi,usercolor(UserGroupID)); str = str.replace(/{\$topicinfo}/gi,topicinfo);str = str.replace(/{\$userisbest}/gi,UserIsBest); if (plus_love_love==''){str = str.replace(/{\$plus_love_love}/gi,'<a href=plus_love.asp target="_blank" >无</a>');}else{str = str.replace(/{\$plus_love_love}/gi,'<a href=dispuser.asp?name='+plus_love_love+' target="_blank" >'+plus_love_love+'</a>');}return(str); }function FilterJS(str){ if (str!='') { str = str.replace(/(&#)/gi,"<I>&#</I>"); str = str.replace(/(javascript)/gi,"<I>javascript</I>"); str = str.replace(/(jscript:)/gi,"<I>jscript:</I>"); str = str.replace(/(js:)/gi,"<I>js:</I>"); str = str.replace(/(value)/gi,"<I>value</I>"); str = str.replace(/(about:)/gi,"<I>about:</I>"); str = str.replace(/(file:)/gi,"<I>file:</I>"); str = str.replace(/(ment.cookie)/gi,"<I>ment.cookie</I>"); str = str.replace(/(vbscript:)/gi,"<I>vbscript:</I>"); str = str.replace(/(vbs:)/gi,"<I>vbs:</I>"); str = str.replace(/(on(mouse|exit|error|click|key))/gi,"<I>on$2</I>"); } else{ str=''; } return(str);}//一般标题过滤function dvhtmlencode(str){ if (str!='') { str=str.replace(/ /gi," ") str=str.replace(/>/gi,">") str=str.replace(/</gi,"<") str=str.replace("/","/") str=str.replace(/\r/gi,"") str=str.replace(/\n/gi,"") str=str.replace(/\'/gi,"'") str=str.replace(/"/gi,'"') str=str.replace(/'/gi,"'") str=str.replace(/"/gi,'"') } else { str=''; }return(str);}function dvbbs_topicmode(str,tmode){ switch(tmode) { case '1': return(str); case '2': return("<font color=red>" + dvhtmlencode(str) + "</font>"); case '3': return("<font color=blue>" + dvhtmlencode(str) + "</font>"); case '4': return("<font color=green>" + dvhtmlencode(str) + "</font>"); default: return(dvhtmlencode(str)); }}function unhtml(str){ if (str!='') { str=str.replace(/</gi,"<") str=str.replace(/>/gi,">") return(str); }else{ return(str); }}function astro(birth){ if (birth!='') { var abc; var bstr; var mm; var yy; var dd; var birthmonth; abc=birth.split(" ") bstr=abc[0] abc=bstr.split("-") yy=(abc[0]*1) mm=(abc[1]*1) dd=(abc[2]*1) if (mm=='1') { if(dd>=21){return('<img src=Skins/Default/birth/z11.gif>');} else{return('<img src=Skins/Default/birth/z10.gif>');} } if (mm=='2') { if(dd>=20){return('<img src=Skins/Default/birth/z12.gif>');} else{return('<img src=Skins/Default/birth/z11.gif>');} } if (mm=='3') { if(dd>=21){return('<img src=Skins/Default/birth/z1.gif>');} else{return('<img src=Skins/Default/birth/z12.gif>');} } if (mm=='4') { if(dd>=21){return('<img src=Skins/Default/birth/z2.gif>');} else{return('<img src=Skins/Default/birth/z1.gif>');} } if (mm=='5') { if(dd>=22){return('<img src=Skins/Default/birth/z3.gif>');} else{return('<img src=Skins/Default/birth/z2.gif>');} } if (mm=='6') { if(dd>=22){return('<img src=Skins/Default/birth/z4.gif>');} else{return('<img src=Skins/Default/birth/z3.gif>');} } if (mm=='7') { if(dd>=23){return('<img src=Skins/Default/birth/z5.gif>');} else{return('<img src=Skins/Default/birth/z4.gif>');} } if (mm=='8') { if(dd>=24){return('<img src=Skins/Default/birth/z6.gif>');} else{return('<img src=Skins/Default/birth/z5.gif>');} } if (mm=='9') { if(dd>=24){return('<img src=Skins/Default/birth/z7.gif>');} else{return('<img src=Skins/Default/birth/z6.gif>');} } if (mm=='10') { if(dd>=24){return('<img src=Skins/Default/birth/z8.gif>');} else{return('<img src=Skins/Default/birth/z7.gif>');} } if (mm=='11') { if(dd>=23){return('<img src=Skins/Default/birth/z9.gif>');}else{return('<img src=Skins/Default/birth/z8.gif>');} } if (mm=='12') { if(dd>=22){return('<img src=Skins/Default/birth/z10.gif>');} else{return('<img src=Skins/Default/birth/z9.gif>');} } }else{return('');}}//输出在线图标function OnlinePic(ID,sex){ if (ID=='0'&& sex=='1') {return('<img src="Skins/Default/ofMale.gif">');} if (ID=='0'&& sex!='1') {return('<img src="Skins/Default/ofFeMale.gif">');} if (ID=='1'&& sex=='1') {return('<img src="Skins/Default/Male.gif">');} if (ID=='1'&& sex!='1') {return('<img src="Skins/Default/FeMale.gif">');}}function namestyle(UserGroupID){ if (UserGroupID=='1') {return('filter:glow(color='+mainsetting[9]+',strength=2)');} if (UserGroupID=='3' || UserGroupID=='2') {return('filter:glow(color='+mainsetting[7]+',strength=2)');} if (UserGroupID=='8') {return('filter:glow(color='+mainsetting[11]+',strength=2)');} if (UserGroupID!='8' && UserGroupID!='3' && UserGroupID!='1') {return('filter:glow(color='+mainsetting[5]+',strength=2)');}}function usercolor(UserGroupID){ if (UserGroupID=='1') {return(mainsetting[8]);} if (UserGroupID=='3') {return(mainsetting[6]);} if (UserGroupID=='8') {return(mainsetting[10]);} if (UserGroupID!='8' && UserGroupID!='3' && UserGroupID!='1') {return(mainsetting[4]);}}var TempStr='<!--帖子浏览主体-->\n<TABLE cellPadding=5 cellSpacing=1 align=center class=tableborder1 style="table-layout:fixed;word-break:break-all">\n<tr><td class="{$tablebody}" valign=top width=175>\n<table width=100% cellpadding=4 cellspacing=0><tr>\n<td width=* valign=middle style="{$namestyle}"> \n<font color="{$usercolor}"><B>{$username}</B></font>\n</td><td width=25 valign=middle>{$onlinepic}\n</td><td width=16 valign=middle>{$birthday}</td>\n</tr></table>\n{$userface}\n <img src="{$titlepic}">8 t. _/ ~4 r, Q# b9 c# e
- \n{$raytitle}\n{$usertitle}\n 等级:{$userclass} + ]' j4 Z- w5 p: g3 z
- \n{$userpower}\n 文章:{$article}
) l( [5 p9 B( C0 \
- \n 精华:{$userisbest}
! _" _ f& X2 ^! R& \
- \n 积分:{$userep}
: t6 ~( C8 D! w/ b: m; C
- \n 恋人:{$plus_love_love}- C1 R+ ?! r+ o |! _6 \2 I* |% D, Z6 n
- \n{$usergroup}\n 注册:{$regdate}
# g" J3 g! ~$ k4 ]2 |8 N0 f
- \n{$topicvote}\n</td><td class={$tablebody} valign=top width=*>\n<table width=100% ><tr><td width=*>\n{$raytopic}\n{$raysms}\n<a><img src="Skins/Default/message.gif"></a> \n<a href="friendlist.asp?action=addF&myFriend={$username}" target="_blank" ><img src="Skins/Default/friend.gif"></a> \n<a href="dispuser.asp?id={$userid}" target="_blank" ><img src="Skins/Default/profile.gif"></a> \n<a href="query.asp?stype=1&nSearch=3&keyword={$username}&BoardID={$boardid}&SearchDate=ALL" target="_blank" ><img src="Skins/Default/find.gif"></a> \n{$email}{$useroicq}{$homepage}{$UserUC}\n<a href="post.asp?action=re&BoardID={$boardid}&replyID={$announceid}&id={$topicid}&star={$star}&reply=true" target="_blank" ><img src="Skins/Default/reply.gif"></a> \n<a href="post.asp?action=re&BoardID={$boardid}&replyID={$announceid}&id={$topicid}&star={$star}" target="_blank" ><img src="Skins/Default/reply_a.gif"></a></td><td width=80>\n{$floor}\n</td></tr>\n<tr><td height=1 colspan=2>\n<table border=0 cellspacing=0 cellpadding=0 align=center style="width:100%" class=tableborder1>\n<tr><td> </td></tr>\n</table>\n</td></tr>\n</table>\n<blockquote><table border=0 width=90% style="table-layout:fixed;word-break:break-all"><tr>\n<td width="100%" style="font-size:{$fontsize}pt;line-height:{$lineheight}pt">\n{$topicinfo}\n</td></tr></table></blockquote>\n</td></tr>\n<tr><td class="{$tablebody}" valign=middle align=center width=175>\n<a href="look_ip.asp?boardid={$boardid}&userid={$userid}&ip={$ip}&action=lookip" target="_blank" >\n<img src="Skins/Default/ip.gif"></a> {$dateandtime}</td>\n<td class="{$tablebody}" valign=middle width=*>\n<table width=100% cellpadding=0 cellspacing=0><tr><td align=left valign=middle> \n{$raytopicsms}\n{$raysmsad}\n </td><td align="right" nowarp valign="bottom" width="200">\n{$manageinfo}\n</td>\n<td align=right valign=bottom width=4> </td>\n</tr></table>\n</td></tr></table>';var sTempStr=' <img src="{$faceurl}">
. Z- t, W0 k5 |( H# B, e# d7 R0 ~
- || 荣誉:<a><font color={$alertcolor}>阳光会员</font></a> <img src="Skins/Default/vip.gif">
& o- B: q& O$ N! P; q- J6 B
- || 头衔:{$title}
. E/ `. d) A4 }) E/ t
- || 威望:{$power}
3 l U% N1 \! k$ M6 \
- || 门派:{$groups} - T- l* }0 H" |" @) _( l
- ||
$ L& p- W& ~1 J( I! i5 A
- <a href="postagree.asp?boardid={$boardid}&id={$topicid}&isagree=1"title="同意该帖观点,给他一朵鲜花,将消耗您{$usemoney}点金钱" target="_blank" ><img src="Skins/Default/xianhua.gif">鲜花</a>(<font color="{$alertcolor}">{$fnum}</font>) <a href="postagree.asp?boardid={$boardid}&id={$topicid}&isagree=2" target="_blank" ><img src="Skins/Default/jidan.gif">鸡蛋</a>(<font color="{$alertcolor}">{$dnum}</font>)||<a href="pay_topic.asp?boardid={$boardid}&id={$announceid}" target="_blank" ><img src="Skins/Default/buytopic.gif"></a>|| <a><img src="Skins/Default/sendsms.gif"></a>||<a href="mailt{$useremail}" target="_blank" ><img src="Skins/Default/email.gif"></A> ||<a href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln={$oicq}" target="_blank" ><img src="Skins/Default/oicq.gif"></a> ||<a href="{$hpage}" target="_blank" ><img src="Skins/Default/homepage.gif"></A> ||<img src="{$expression}"> <b>{$topic}</b>. K- X+ s1 Q! D+ J
- {$body}||' m% A t' c" M. f+ |( p
-
5 N" {( |$ Q1 D: X
- ----------------------------------------------; M, F6 G! G Y
- {$usersign}||<a><font color={$alertcolor}>手机短信</font></a> ||<a href="post.asp?action=edit&BoardID={$boardid}&replyID={$announceid}&ID={$topicid}&star={$star}" target="_blank" ><img src="Skins/Default/edit.gif"></a> ||<a href="admin_postings.asp?action=删除跟帖&BoardID={$boardid}&ID={$topicid}&replyID={$announceid}&userid={$userid}" target="_blank" ><img src="Skins/Default/delete.gif"></a> ||<a href="admin_postings.asp?action=复制&BoardID={$boardid}&ID={$topicid}&replyID={$announceid}&userid={$userid}" target="_blank" ><img src="Skins/Default/copy.gif"></a> ||<a href="admin_postings.asp?action={$actioninfo}&BoardID={$boardid}&ID={$topicid}&replyID={$announceid}&userid={$userid}" target="_blank" ><img src="Skins/Default/jing.gif"></a>\n|| <a href="admin_postings.asp?action={$actioninfo3}&BoardID={$boardid}&ID={$topicid}&replyID={$announceid}&userid={$userid}" target="_blank" ><img src="Skins/Default/lockpage.gif"></a>||<a href="http://service.51uc.com/user_info/show_user_info_base.shtml?UID={$uc}" target="_blank" ><img src="Skins/Default/uc.gif"></a>';sTempStr=sTempStr.split("||");var alertcolor='#FF0000';var Board_Setting27='10';var fontsize='9';var lineheight='12';var Forum_Setting42='1';var facesetting='1';var votemoney='50';var Forum_ChanSetting0='0';var Forum_ChanSetting5='0';var Forum_ChanSetting6='0';var Forum_ChanSetting7='0';var topfloor='楼主';var floor='第 <font color="{$alertcolor}">{$floornum}</font> 楼';var lockuserinfo1='================================3 k6 c- G% H/ v0 e8 y. X) M$ \
- <font color=#00008B>该用户发言已被管理员屏蔽</font>
* t: B; f( _, m" G0 n
- ================================';var lockuserinfo2='================================# m& p% J9 w! }/ E
- <font color=#00008B>此用户已经锁定不显示该用户发言</font>
& S4 t) W8 {, E$ r, {9 F( q
- ================================';var noviewbest='================================
% @* n0 ~. G$ h( z5 {3 B* \: D5 H
- <font color=#00008B>您没有浏览该精华帖子的权限</font>% A3 b9 a1 ~; p6 T% s+ r
- ================================';var actioninfo1='解除精华';var actioninfo2='精华';var GroupSetting41='1';var TopicMode='0';var mainsetting='98%||#FF0000||#00008b||#000066||#000066||#9898BA||#990000||#9898BA||#990000||#9898BA||#0000ff||#cccccc||#6595D6';var mainsetting=mainsetting.split("||");var TopicNum='143';</SCRIPT><SCRIPT language=JavaScript>var star='7';</SCRIPT><SCRIPT language=JavaScript>var actioninfo3='单帖屏蔽';document.write (dvbbs_show_topic('167017','72','断翼天使','','','mbq_bs@163.com','||||||||||||||||||','','http://cp.any8.com/image/128X128GIF/50223.gif','<a href=http://it.xiasha.cn target="_blank" >下沙大学生网IT频道正式开通!</a>','','<img SRC="http://www.muqin.com.cn/upload/forum/2004120813082315.gif">screen.width-600)this.style.width=screen.width-600;if(this.height>250)this.style.width=(this.width*250)/this.height;">, ^, t3 j# E/ J( e
- ╭ ﹌★ ) c2 @# Q K T' [; b
- ( ^ . ^ )& s0 \/ a2 E9 G
- (~) _ (~)','','<DIV class=quote><B>以下是引用<I>游离在北极</I>在2005-5-27 15:35:29的发言:</B><P>有没有看过《早熟》</P><P>很多时候我们只是孩子,并没有承担的能力,给爱多一份纯净,那样会很美。。。。</P></DIV>1 ~* k6 S7 b0 m8 G2 Y
-
' ]& X6 F+ w d+ |/ ]8 d
- 同意~!','2005-5-27 16:00:26','face1.gif','*.*.*.*','75378',1,0,23434,4,'居委会委员','100','135','219','2005-4-1','554','277','277','','0',0,'0','level2.gif',4,'2005-8-27 0:23:35','0',0,'tablebody1','0','0','1',''));% S# T% o. Q9 a8 c/ Y% v
- <script>
复制代码 断翼天使 | | | # z! i. ]' S2 U
( A: l: i8 g6 ^1 ?' L9 X. Q 5 k$ _3 O3 j ]
| + u$ O/ l( M7 o' t, _. k
以下是引用游离在北极在2005-5-27 15:35:29的发言: 有没有看过《早熟》 很多时候我们只是孩子,并没有承担的能力,给爱多一份纯净,那样会很美。。。。 同意啊!其实爱不一定要同居的!!2 q6 H+ t: L. B2 x3 M4 Y+ H
1 f# f# U( _- S" k, c |
|
|
|