<!-vod2008-><!--#Include File="../cbfconn.asp"-->
<%

cid=cint(request("help"))
if cid="" Then
response.write "<script>alert('很抱歉程序出错!确定后返回首页');history.back();</Script>"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from [help] where list=0 order by cid desc"

                         rs.open sql,conn,1,1
                         if rs.eof and rs.bof then
                         response.write "document.write('没有帮助文件');"
                         else
                         i=0
                         do while not rs.eof or rs.bof 
                         %>
document.write("<LI><A href=\"help/?cid=<%=rs("cid")%>\" target=_blank name=hpspirit/bbs/><%=rs("helpname")%></A></LI>");
<%i=i+1
if i>=cid then exit do
                        rs.movenext
						
                        loop
                       end if
                        rs.close
                        set rs=nothing

%>