% s_cataid=RtnReplaceInt(trim(request("cataid")),0) s_words=RtnReplaceInt(trim(request("words")),15) s_num=RtnReplaceInt(trim(request("num")),8) s_pic=RtnReplaceInt(trim(request("pic")),7) s_pica=RtnReplaceInt(trim(request("pica")),8) s_count=RtnReplaceString(trim(request("l_c"))) s_date=RtnReplaceString(trim(request("l_d"))) s_more=RtnReplaceString(trim(request("l_m"))) s_special=RtnReplaceString(trim(request("l_s"))) if s_cataid <> 0 then set rsk=server.CreateObject("adodb.recordset") sqlk="Select * from newscata where id="&s_cataid rsk.Open sqlk,conn,1,3 if not rsk.eof then krootid = rsk("rootid") ktitle =rsk("title") end if rsk.close set rsk=nothing end if allcataid = "" if s_cataid <> 0 then set rsm=server.CreateObject("adodb.recordset") sqlm="Select * from newscata" rsm.Open sqlm,conn,1,3 do while not rsm.eof mrootid = rsm("rootid") gotoid = rsm("id") if InStr(krootid,",") < 1 then mmrootid = split(mrootid,",") if mmrootid(0) = krootid then allcataid = allcataid&" or cataid =" &gotoid end if else if InStr(mrootid,krootid) > 0 then allcataid = allcataid&" or cataid =" &gotoid end if end if rsm.movenext loop rsm.close set rsm = nothing end if allcataid = trim(Mid(allcataid,4)) tempcontent="
" tempcontent=tempcontent&" |
暂时没有任何信息! |
·" if rsa("link2")="" or isnull(rsa("link2")) then tempcontent=tempcontent&" "&atempTitle&""&o_char else tempcontent=tempcontent&" "&atempTitle&""&o_char end if tempcontent=tempcontent&" | " tempcontent=tempcontent&"
"
tempcontent=tempcontent&" ![]() | "
tempcontent=tempcontent&"