if not in_sdcms then response.write("template load fail"):response.end() end if if not in_sdcms then response.write("template load fail"):response.end() end if html=html&mid(templatedata,167,259) html=html&webroot html=html&mid(templatedata,438,84) html=html&webroot html=html&mid(templatedata,534,25) html=html&webroot html=html&mid(templatedata,571,42) html=html&webroot html=html&mid(templatedata,625,60) html=html&webroot html=html&mid(templatedata,697,40) html=html&webroot html=html&mid(templatedata,749,49) html=html&webroot html=html&mid(templatedata,810,59) html=html&webroot html=html&mid(templatedata,881,48) html=html&webroot html=html&mid(templatedata,941,58) html=html&webroot html=html&mid(templatedata,1011,55) html=html&webroot html=html&mid(templatedata,1078,55) html=html&rsshow("cid") html=html&mid(templatedata,1151,20) html=html&id html=html&mid(templatedata,1178,14) html=html&contenturl html=html&mid(templatedata,1207,26) html=html&webroot html=html&mid(templatedata,1245,33) if iscomment=1 and syscomment then html=html&mid(templatedata,1316,13) html=html&webroot html=html&mid(templatedata,1341,34) end if html=html&mid(templatedata,1385,33) html=html&seokey html=html&mid(templatedata,1429,40) html=html&seodesc html=html&mid(templatedata,1481,13) html=html&title if page>1 then html=html&mid(templatedata,1522,2) html=html&page html=html&mid(templatedata,1533,1) end if html=html&mid(templatedata,1544,1) html=html&classname html=html&mid(templatedata,1559,1) html=html&sdcms.getsys("webname") html=html&mid(templatedata,1588,23) html=html&webroot html=html&mid(templatedata,1623,48) html=html&webroot html=html&mid(templatedata,1683,83) html=html&webroot html=html&mid(templatedata,1778,53) dim picarr:picarr=eval(rsshow("piclist")) html=html&mid(templatedata,1876,2) dim bigpic:bigpic=picarr(0) html=html&mid(templatedata,1909,2) if bigpic<>"" then html=html&mid(templatedata,1933,508) end if html=html&mid(templatedata,2451,4) if not in_sdcms then response.write("template load fail"):response.end() end if html=html&mid(templatedata,2538,82) html=html&webroot html=html&mid(templatedata,2632,33) html=html&webroot html=html&mid(templatedata,2677,77) html=html&weburl html=html&mid(templatedata,2765,211) html=html&webroot html=html&mid(templatedata,2988,319) html=html&webroot html=html&mid(templatedata,3319,33) set rs=sdcms.db.exedb("select top 8 * from [sd_category] where followid=0 and ismenu=1 order by ordnum,cateid") i=1 while not rs.eof dim navid:navid=rs("cateid") html=html&mid(templatedata,3527,22) html=html&sdcms.is_current(parentid,rs("cateid"),"class=""hover""") html=html&mid(templatedata,3611,10) html=html&sdcms.getcateurl(rs("cateid")) html=html&mid(templatedata,3656,2) html=html&rs("catename") html=html&mid(templatedata,3677,8) set rp=sdcms.db.exedb("select * from [sd_category] where followid="&navid&" and ismenu=1 order by ordnum,cateid") i=1 while not rp.eof html=html&mid(templatedata,3830,13) html=html&sdcms.getcateurl(rp("cateid")) html=html&mid(templatedata,3878,1) if rp("modeid")=-2 then html=html&mid(templatedata,3906,16) end if html=html&mid(templatedata,3932,1) html=html&sdcms.cutstr(rp("catename"),12,0) html=html&mid(templatedata,3971,9) i=i+1 rp.movenext wend set rp=nothing html=html&mid(templatedata,4030,28) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,4108,163) set rs=sdcms.db.exedb("select top 10 url,pic,title from [sd_expand_ad] where islock=1 order by ordnum desc,id desc") if rs.eof then html=html&mid(templatedata,4410,45) html=html&webroot html=html&mid(templatedata,4467,106) end if i=1 while not rs.eof html=html&mid(templatedata,4610,63) html=html&rs("pic") html=html&mid(templatedata,4687,34) html=html&rs("url") html=html&mid(templatedata,4735,9) html=html&rs("title") html=html&mid(templatedata,4760,29) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,4839,88) html=html&webroot html=html&mid(templatedata,4939,8) html=html&sdcms.getpostion(parentid," > ") html=html&mid(templatedata,4984,101) html=html&sdcms.getcatename(topid) html=html&mid(templatedata,5114,57) set rp=sdcms.db.exedb("select * from [sd_category] where followid="&topid&" order by ordnum,cateid") if rp.eof then html=html&mid(templatedata,5294,18) html=html&sdcms.getcateinfo(topid) html=html&mid(templatedata,5341,5) end if i=1 while not rp.eof dim sid:sid=rp("cateid") html=html&mid(templatedata,5411,39) html=html&sdcms.is_current(parentid,rp("cateid")," class=""hover""") html=html&mid(templatedata,5513,10) html=html&sdcms.getcateurl(rp("cateid")) html=html&mid(templatedata,5558,2) html=html&rp("catename") html=html&mid(templatedata,5579,27) set rs=sdcms.db.exedb("select * from [sd_category] where followid="&sid&" order by ordnum,cateid") if not rs.eof then html=html&mid(templatedata,5731,4) end if i=1 while not rs.eof html=html&mid(templatedata,5772,73) if classid=rs("cateid") then html=html&mid(templatedata,5877,14) end if html=html&mid(templatedata,5901,10) html=html&sdcms.getcateurl(rs("cateid")) html=html&mid(templatedata,5946,2) html=html&rs("catename") html=html&mid(templatedata,5967,72) i=i+1 rs.movenext wend if i>1 then html=html&mid(templatedata,6086,5) end if set rs=nothing html=html&mid(templatedata,6119,18) i=i+1 rp.movenext wend set rp=nothing html=html&mid(templatedata,6187,140) if not in_sdcms then response.write("template load fail"):response.end() end if html=html&mid(templatedata,6410,413) html=html&classname html=html&mid(templatedata,6837,109) if bigpic<>"" then html=html&mid(templatedata,6968,104) if bigpic="" then bigpic=webroot&"theme/wxysn/images/nobigpro.gif" end if html=html&mid(templatedata,7155,57) html=html&bigpic html=html&mid(templatedata,7223,35) html=html&title html=html&mid(templatedata,7268,13) html=html&bigpic html=html&mid(templatedata,7292,46) html=html&title html=html&mid(templatedata,7348,9) html=html&title html=html&mid(templatedata,7367,255) for i=0 to ubound(picarr) html=html&mid(templatedata,7651,26) if picarr(i)="" then html=html&mid(templatedata,7701,58) html=html&webroot html=html&mid(templatedata,7771,79) else html=html&mid(templatedata,7858,33) if i=0 then html=html&mid(templatedata,7906,14) end if html=html&mid(templatedata,7930,64) html=html&picarr(i) html=html&mid(templatedata,8008,15) html=html&picarr(i) html=html&mid(templatedata,8037,14) html=html&picarr(i) html=html&mid(templatedata,8065,51) end if html=html&mid(templatedata,8126,26) next html=html&mid(templatedata,8160,260) html=html&title html=html&mid(templatedata,8430,50) html=html&intro html=html&mid(templatedata,8490,32) if sdcms.strlen(rsshow("prono"))>0 then html=html&mid(templatedata,8565,22) html=html&rsshow("prono") html=html&mid(templatedata,8607,6) end if html=html&mid(templatedata,8623,26) if sdcms.strlen(rsshow("promode"))>0 then html=html&mid(templatedata,8694,22) html=html&rsshow("promode") html=html&mid(templatedata,8738,6) end if html=html&mid(templatedata,8754,65) html=html&hits html=html&mid(templatedata,8828,13) if iscomment=1 and syscomment then html=html&mid(templatedata,8879,35) html=html&webroot html=html&mid(templatedata,8926,20) html=html&id html=html&mid(templatedata,8953,2) html=html&comments html=html&mid(templatedata,8968,11) end if html=html&mid(templatedata,8989,284) else html=html&mid(templatedata,9281,50) html=html&title html=html&mid(templatedata,9341,44) html=html&author html=html&mid(templatedata,9396,4) html=html&comefrom html=html&mid(templatedata,9413,4) html=html&createdate html=html&mid(templatedata,9432,20) html=html&hits html=html&mid(templatedata,9461,7) if iscomment=1 and syscomment then html=html&mid(templatedata,9506,35) html=html&webroot html=html&mid(templatedata,9553,20) html=html&id html=html&mid(templatedata,9580,2) html=html&comments html=html&mid(templatedata,9595,11) end if html=html&mid(templatedata,9616,24) end if html=html&mid(templatedata,9650,83) html=html&content html=html&mid(templatedata,9745,60) html=html&get_content_page html=html&mid(templatedata,9826,75) for i=0 to ubound(tags) html=html&mid(templatedata,9928,9) html=html&webroot html=html&mid(templatedata,9949,18) html=html&server.urlencode(tags(i)) html=html&mid(templatedata,9997,9) html=html&tags(i) html=html&mid(templatedata,10018,18) html=html&tags(i) html=html&mid(templatedata,10048,5) next html=html&mid(templatedata,10061,103) set rs=sdcms.db.exedb("select top 1 id,isurl,url,title,style,classid from [sd_content] where islock=1 and classid="&classid&" and id<"&id&" and isurl=0 order by id desc") if rs.eof then html=html&mid(templatedata,10357,4) end if i=1 while not rs.eof html=html&mid(templatedata,10398,37) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,10498,9) html=html&rs("title") html=html&mid(templatedata,10523,2) html=html&sdcms.cutstr(rs("title"),70,1) html=html&mid(templatedata,10560,18) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,10628,46) set rs=sdcms.db.exedb("select top 1 id,isurl,url,title,style,classid from [sd_content] where islock=1 and classid="&classid&" and id>"&id&" and isurl=0") if rs.eof then html=html&mid(templatedata,10850,4) end if i=1 while not rs.eof html=html&mid(templatedata,10891,37) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,10991,9) html=html&rs("title") html=html&mid(templatedata,11016,2) html=html&sdcms.cutstr(rs("title"),70,1) html=html&mid(templatedata,11053,18) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,11121,58) if likeid<>"0" then html=html&mid(templatedata,11202,137) set rs=sdcms.db.exedb("select top 10 id,title,style,createdate,isurl,url,classid from [sd_content] where islock=1 and id in("&likeid&") order by ontop desc,id desc") if rs.eof then html=html&mid(templatedata,11527,11) end if i=1 while not rs.eof html=html&mid(templatedata,11575,49) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,11687,9) html=html&rs("title") html=html&mid(templatedata,11712,18) html=html&rs("title") html=html&mid(templatedata,11746,49) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,11845,33) end if html=html&mid(templatedata,11888,14) if iscomment=1 and syscomment then html=html&mid(templatedata,11940,267) end if html=html&mid(templatedata,12217,97) if not in_sdcms then response.write("template load fail"):response.end() end if html=html&mid(templatedata,12397,83) html=html&webroot html=html&mid(templatedata,12492,10) set rs=sdcms.db.exedb("select top 10 * from [sd_category] where followid=0 and modeid=-1 order by ordnum,cateid") i=1 while not rs.eof html=html&mid(templatedata,12647,12) html=html&sdcms.getcateurl(rs("cateid")) html=html&mid(templatedata,12694,2) html=html&rs("catename") html=html&mid(templatedata,12715,4) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,12769,12) html=html&webroot html=html&mid(templatedata,12793,35) html=html&webroot html=html&mid(templatedata,12840,143) html=html&sdcms.getsys("webname") html=html&mid(templatedata,13011,53) html=html&sdcms.getsys("webicp") html=html&mid(templatedata,13091,6) html=html&sdcms.getsys("webcount") html=html&mid(templatedata,13126,28) html=html&weburl html=html&mid(templatedata,13165,18) html=html&sdcms.getsys("webname") html=html&mid(templatedata,13211,11) html=html&sdcms.runtime html=html&mid(templatedata,13240,7) html=html&dbquery html=html&mid(templatedata,13259,278) html=html&webroot html=html&mid(templatedata,13549)