|
- <SCRIPT language=JavaScript>
$ h2 U* N! M/ q0 S s
- 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}">' U1 p; l, R* b5 ^
- \n{$raytitle}\n{$usertitle}\n 等级:{$userclass} B! R* O; M* Y U( C2 t, `
- \n{$userpower}\n 文章:{$article}
. u6 ^# J( t; ?$ j6 [ U
- \n 精华:{$userisbest}
4 Q% i' }* J& b# h
- \n 积分:{$userep}8 E) ~- }" M5 n7 _
- \n 恋人:{$plus_love_love}
4 {! o% x3 s" a" M2 K8 H
- \n{$usergroup}\n 注册:{$regdate}
* E# u; A) ]0 T2 G2 w
- \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}">
4 z5 }# _; k3 y% h
- || 荣誉:<a><font color={$alertcolor}>阳光会员</font></a> <img src="Skins/Default/vip.gif"> 3 x$ u9 j6 I4 P4 ^) S% f
- || 头衔:{$title} 0 M& `# ~! C: |. L% a j. E
- || 威望:{$power}/ F/ w& y% ~9 n, I+ C4 \7 g4 p
- || 门派:{$groups} % V& I4 J8 h! b4 p& X% Q
- ||
1 C, Y1 K& l6 u! Y$ {
- <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>
$ m, g( \; a3 U, ~
- {$body}||
: L( r$ W! G2 c$ {
- 9 b- D* ^" Z, J9 Q, Q: ], M" \
- ----------------------------------------------
: Q5 [; N# ^% {% h9 s3 m* g
- {$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 f+ w2 G5 W" Q# h, v0 Y) E4 [
- <font color=#00008B>该用户发言已被管理员屏蔽</font>
( |$ e& c* I( ?7 {2 u
- ================================';var lockuserinfo2='================================
! ^2 B5 s8 S- v* }6 ^' _( p
- <font color=#00008B>此用户已经锁定不显示该用户发言</font>
. B) J; W* b: S4 J, H: [) |5 A; _
- ================================';var noviewbest='================================
& ]( u( S; q F; ~9 E, J
- <font color=#00008B>您没有浏览该精华帖子的权限</font>
, N: Y1 G! `* {
- ================================';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;">
$ v( m3 _# q6 U+ e6 S t) B
- ╭ ﹌★ , a& L# @6 k; t! z7 u4 \
- ( ^ . ^ )2 z7 E' n/ E1 m
- (~) _ (~)','','<DIV class=quote><B>以下是引用<I>游离在北极</I>在2005-5-27 15:35:29的发言:</B><P>有没有看过《早熟》</P><P>很多时候我们只是孩子,并没有承担的能力,给爱多一份纯净,那样会很美。。。。</P></DIV>
0 e& }+ l; n3 }+ o4 m- }& I& P0 _2 n
- - }2 r/ z7 W7 N% i
- 同意~!','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',''));9 N6 X' C! @1 B3 E6 f# c
- <script>
复制代码 断翼天使 | | |
* D7 N7 O0 B3 |) G. ]3 x' c, H( Z
! h9 F* V* a. N 2 `2 V0 d( `+ [3 n+ Z3 q
|
0 F0 h/ H5 ~- X) p5 w, y以下是引用游离在北极在2005-5-27 15:35:29的发言: 有没有看过《早熟》 很多时候我们只是孩子,并没有承担的能力,给爱多一份纯净,那样会很美。。。。 同意啊!其实爱不一定要同居的!!
* a, \3 f# ]- n+ _
; R, h9 {. @" o. n |
|
|
|