|   
 
 | 
| 一、加入顶部翻页: 
 打开bbs/board/inc/board_fun.asp,找到:
 <%'response.write pagesplitstring
 'response.write pagesplitstring2%>
 把两个单引号去掉就可以了。这是spiderman预留的。
 即为:
 <%response.write pagesplitstring
 response.write pagesplitstring2%>
 保存关闭上传即可。
 (注:据我推测,这是spider当初预留的,可能考虑到某些问题禁止了吧,看看spider考虑得多周到,支持lb吧!呵呵。)
 
 二、加入底部发帖:
 
 打开bbs/board/board.asp,找到:
 
 <%loginaccuessful
 在其后(end if的上一行)加入如下代码:
 
 %>
 <table width=<%=def_bbs_screenwidth%> border="0" cellspacing="0" cellpadding="0" align="center">
 <tr bgcolor=<%=def_bbs_color%> class=tbthree><td colspan=2><img src=<%=def_bbs_homeurl%>images/null.gif width=2 height=2></td></tr>
 <tr bgcolor=<%=def_bbs_color%> class=tbbg9>
 <td height=20><%if gbl_tableheadstring = "" then%> <%end if%><a href=../announce/announce2.asp?boardid=<%=gbl_board_id%>><img src=/<%=gbl_defineimage%>newanc.gif width=60 height=17 border=0 align=absmiddle alt=新帖></a>
 <a href=../announce/announce2.asp?boardid=<%=gbl_board_id%>&voteflag=yes><img src=/<%=gbl_defineimage%>newpoll.gif width=60 height=17 border=0 align=absmiddle alt=新投票></a>
 </td>
 <td align=right></td>
 </tr>
 </table>
 <%
 保存,上传即可。
 
 
 -----------以上修改在314免费版中通过,其它版本未知可行,请慎改动。
 
 
 仿冒官方,请spider不要生气啊。先谢罪了!
 
 
 三、在贴子顶部加翻页功能的方法:
 
 打开
 announce\announce.asp
 查找
 <script language=javascript>
 function opw(f,r,id)
 {
 window.open(f+'?boardid=<%=gbl_board_id%>&'+r+'='+id,'','width=450,height=37,scrollbars=auto,status=no');
 }
 </script>
 
 在后面加上:
 <%
 response.write pagesplitstring
 response.write pagesplitstring2
 %>
 
 
 四、在帖子底部加发帖的办法:
 打开bbs/announce/announce.asp,找到:
 if gbl_chk_tempstr = "" then
 updateonlineuseratinfo gbl_board_id,gbl_board_boardname & "→" & temp
 displaytopic
 在其后加入:
 %>
 <table width=<%=def_bbs_screenwidth%> border=0 cellspacing=1 cellpadding=0 align="center" bgcolor=<%=def_bbs_darkcolor%> class=<%
 if gbl_tableheadstring = "" then
 response.write "tbone"
 else
 response.write "tbthree"
 end if%>><tr><td>
 <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
 <tr bgcolor=<%=def_bbs_color%> class=tbthree><td colspan=2><img src=<%=def_bbs_homeurl%>images/null.gif width=2 height=2></td></tr>
 <tr bgcolor=<%=def_bbs_color%> class=tbthree>
 <td height=20><%if gbl_tableheadstring = "" then response.write " "%><a href=../announce/announce2.asp?boardid=<%=gbl_board_id%>><img src=/<%=gbl_defineimage%>newanc.gif width=60 height=17 border=0 align=absmiddle alt=新帖></a>
 <a href=../announce/announce2.asp?boardid=<%=gbl_board_id%>&voteflag=yes><img src=/<%=gbl_defineimage%>newpoll.gif width=60 height=17 border=0 align=absmiddle alt=新投票></a><%if article_notreplay = 1 then
 response.write " <img src=/" & gbl_defineimage & "reanc.gif width=60 height=17 border=0 align=absmiddle alt=回复帖子>"
 else%>
 <a href=announce2.asp?boardid=<%=gbl_board_id%>&id=<%=form_parentid%>&submitflag=first><img src=/<%=gbl_defineimage%>reanc.gif width=60 height=17 border=0 align=absmiddle alt=回复帖子></a><%end if%>
 </td>
 <td align=right>
 <a href=announce.asp?boardid=<%=gbl_board_id%>&id=<%=form_parentid%>&ac=pre&rd=<%=lmt_rootid & lmt_boardurl%>>上篇</a>
 <a href="javascript:this.location.reload();">刷新</a>
 <a href="announce2.asp?boardid=<%=gbl_board_id%>&id=<%=form_parentid%>">树型</a>
 <a href=announce.asp?boardid=<%=gbl_board_id%>&id=<%=form_parentid%>&ac=nxt&rd=<%=lmt_rootid & lmt_boardurl%>>下篇</a>
 <%if gbl_tableheadstring = "" then response.write " "%>
 </td>
 </tr>
 </table>
 </td></tr></table>
 <img src=/null.gif width=2 height=4><br>
 <%
 
 
 http://w.leadbbs.com/a/a.asp?b=10&id=1713096
 | 
 |