1、==============================
查找:
---------------
function displayboard(boardid,boardassort,boardname,boardintro,lastwriter,lastwritetime,topicnum,……)
----------------有区版的替换为:
function displayboard(boardid,boardassort,boardname,boardintro,lastwriter,lastwritetime,topicnum,announcenum,forumpass,lastannounceid,lasttopicname,masterlist,boardlimit,assortname,todayannounce,goodnum,boardimgurl,boardimgwidth,boardimgheight,onlineuser,lowerboard,assortmaster,childid,childbid)
------------无区版主的替换为:
function displayboard(boardid,boardassort,boardname,boardintro,lastwriter,lastwritetime,topicnum,announcenum,forumpass,lastannounceid,lasttopicname,masterlist,boardlimit,assortname,todayannounce,goodnum,boardimgurl,boardimgwidth,boardimgheight,onlineuser,lowerboard,childid,childbid)
3、==================================
查找:
---------------
response.write vbcrlf & "displayboard(" ....................
else
response.write vbcrlf & "displayboard("........................
end if
----------------------
在它上面,添加:
'显示二级版面新帖修改
dim childid,childbid,rschild
childid = 0
childbid = 0
if getdata(19,0) = 0 then
set rschild = con.execute("select top 1 id,boardid from leadbbs_topic where title='" &getdata(20,0) & "'")
if not rschild.eof then
childid = rschild(0)
childbid = rschild(1)
else
childid = 0
childbid = 0
end if
end if
'显示二级版面新帖修改