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,875) html=html&classname html=html&mid(templatedata,7299,109) if bigpic<>"" then html=html&mid(templatedata,7430,104) if bigpic="" then bigpic=webroot&"theme/wxysn/images/nobigpro.gif" end if html=html&mid(templatedata,7617,57) html=html&bigpic html=html&mid(templatedata,7685,35) html=html&title html=html&mid(templatedata,7730,13) html=html&bigpic html=html&mid(templatedata,7754,46) html=html&title html=html&mid(templatedata,7810,9) html=html&title html=html&mid(templatedata,7829,255) for i=0 to ubound(picarr) html=html&mid(templatedata,8113,26) if picarr(i)="" then html=html&mid(templatedata,8163,58) html=html&webroot html=html&mid(templatedata,8233,79) else html=html&mid(templatedata,8320,33) if i=0 then html=html&mid(templatedata,8368,14) end if html=html&mid(templatedata,8392,64) html=html&picarr(i) html=html&mid(templatedata,8470,15) html=html&picarr(i) html=html&mid(templatedata,8499,14) html=html&picarr(i) html=html&mid(templatedata,8527,51) end if html=html&mid(templatedata,8588,26) next html=html&mid(templatedata,8622,260) html=html&title html=html&mid(templatedata,8892,50) html=html&intro html=html&mid(templatedata,8952,32) if sdcms.strlen(rsshow("prono"))>0 then html=html&mid(templatedata,9027,22) html=html&rsshow("prono") html=html&mid(templatedata,9069,6) end if html=html&mid(templatedata,9085,26) if sdcms.strlen(rsshow("promode"))>0 then html=html&mid(templatedata,9156,22) html=html&rsshow("promode") html=html&mid(templatedata,9200,6) end if html=html&mid(templatedata,9216,65) html=html&hits html=html&mid(templatedata,9290,13) if iscomment=1 and syscomment then html=html&mid(templatedata,9341,35) html=html&webroot html=html&mid(templatedata,9388,20) html=html&id html=html&mid(templatedata,9415,2) html=html&comments html=html&mid(templatedata,9430,11) end if html=html&mid(templatedata,9451,284) else html=html&mid(templatedata,9743,50) html=html&title html=html&mid(templatedata,9803,44) html=html&author html=html&mid(templatedata,9858,4) html=html&comefrom html=html&mid(templatedata,9875,4) html=html&createdate html=html&mid(templatedata,9894,20) html=html&hits html=html&mid(templatedata,9923,7) if iscomment=1 and syscomment then html=html&mid(templatedata,9968,35) html=html&webroot html=html&mid(templatedata,10015,20) html=html&id html=html&mid(templatedata,10042,2) html=html&comments html=html&mid(templatedata,10057,11) end if html=html&mid(templatedata,10078,24) end if html=html&mid(templatedata,10112,83) html=html&content html=html&mid(templatedata,10207,60) html=html&get_content_page html=html&mid(templatedata,10288,75) for i=0 to ubound(tags) html=html&mid(templatedata,10390,9) html=html&webroot html=html&mid(templatedata,10411,18) html=html&server.urlencode(tags(i)) html=html&mid(templatedata,10459,9) html=html&tags(i) html=html&mid(templatedata,10480,18) html=html&tags(i) html=html&mid(templatedata,10510,5) next html=html&mid(templatedata,10523,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,10819,4) end if i=1 while not rs.eof html=html&mid(templatedata,10860,37) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,10960,9) html=html&rs("title") html=html&mid(templatedata,10985,2) html=html&sdcms.cutstr(rs("title"),70,1) html=html&mid(templatedata,11022,18) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,11090,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,11312,4) end if i=1 while not rs.eof html=html&mid(templatedata,11353,37) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,11453,9) html=html&rs("title") html=html&mid(templatedata,11478,2) html=html&sdcms.cutstr(rs("title"),70,1) html=html&mid(templatedata,11515,18) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,11583,58) if likeid<>"0" then html=html&mid(templatedata,11664,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,11989,11) end if i=1 while not rs.eof html=html&mid(templatedata,12037,49) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,12149,9) html=html&rs("title") html=html&mid(templatedata,12174,18) html=html&rs("title") html=html&mid(templatedata,12208,49) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,12307,33) end if html=html&mid(templatedata,12350,14) if iscomment=1 and syscomment then html=html&mid(templatedata,12402,267) end if html=html&mid(templatedata,12679,97) if not in_sdcms then response.write("template load fail"):response.end() end if html=html&mid(templatedata,12859,83) html=html&webroot html=html&mid(templatedata,12954,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,13109,12) html=html&sdcms.getcateurl(rs("cateid")) html=html&mid(templatedata,13156,2) html=html&rs("catename") html=html&mid(templatedata,13177,4) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,13231,12) html=html&webroot html=html&mid(templatedata,13255,35) html=html&webroot html=html&mid(templatedata,13302,143) html=html&sdcms.getsys("webname") html=html&mid(templatedata,13473,56) html=html&sdcms.getsys("webicp") html=html&mid(templatedata,13556,6) html=html&sdcms.getsys("webcount") html=html&mid(templatedata,13591,28) html=html&weburl html=html&mid(templatedata,13630,18) html=html&sdcms.getsys("webname") html=html&mid(templatedata,13676,11) html=html&sdcms.runtime html=html&mid(templatedata,13705,7) html=html&dbquery html=html&mid(templatedata,13724,55) html=html&webroot html=html&mid(templatedata,13791)