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,876) html=html&classname html=html&mid(templatedata,7300,109) if bigpic<>"" then html=html&mid(templatedata,7431,104) if bigpic="" then bigpic=webroot&"theme/wxysn/images/nobigpro.gif" end if html=html&mid(templatedata,7618,57) html=html&bigpic html=html&mid(templatedata,7686,35) html=html&title html=html&mid(templatedata,7731,13) html=html&bigpic html=html&mid(templatedata,7755,46) html=html&title html=html&mid(templatedata,7811,9) html=html&title html=html&mid(templatedata,7830,255) for i=0 to ubound(picarr) html=html&mid(templatedata,8114,26) if picarr(i)="" then html=html&mid(templatedata,8164,58) html=html&webroot html=html&mid(templatedata,8234,79) else html=html&mid(templatedata,8321,33) if i=0 then html=html&mid(templatedata,8369,14) end if html=html&mid(templatedata,8393,64) html=html&picarr(i) html=html&mid(templatedata,8471,15) html=html&picarr(i) html=html&mid(templatedata,8500,14) html=html&picarr(i) html=html&mid(templatedata,8528,51) end if html=html&mid(templatedata,8589,26) next html=html&mid(templatedata,8623,260) html=html&title html=html&mid(templatedata,8893,50) html=html&intro html=html&mid(templatedata,8953,32) if sdcms.strlen(rsshow("prono"))>0 then html=html&mid(templatedata,9028,22) html=html&rsshow("prono") html=html&mid(templatedata,9070,6) end if html=html&mid(templatedata,9086,26) if sdcms.strlen(rsshow("promode"))>0 then html=html&mid(templatedata,9157,22) html=html&rsshow("promode") html=html&mid(templatedata,9201,6) end if html=html&mid(templatedata,9217,65) html=html&hits html=html&mid(templatedata,9291,13) if iscomment=1 and syscomment then html=html&mid(templatedata,9342,35) html=html&webroot html=html&mid(templatedata,9389,20) html=html&id html=html&mid(templatedata,9416,2) html=html&comments html=html&mid(templatedata,9431,11) end if html=html&mid(templatedata,9452,284) else html=html&mid(templatedata,9744,50) html=html&title html=html&mid(templatedata,9804,44) html=html&author html=html&mid(templatedata,9859,4) html=html&comefrom html=html&mid(templatedata,9876,4) html=html&createdate html=html&mid(templatedata,9895,20) html=html&hits html=html&mid(templatedata,9924,7) if iscomment=1 and syscomment then html=html&mid(templatedata,9969,35) html=html&webroot html=html&mid(templatedata,10016,20) html=html&id html=html&mid(templatedata,10043,2) html=html&comments html=html&mid(templatedata,10058,11) end if html=html&mid(templatedata,10079,24) end if html=html&mid(templatedata,10113,83) html=html&content html=html&mid(templatedata,10208,60) html=html&get_content_page html=html&mid(templatedata,10289,75) for i=0 to ubound(tags) html=html&mid(templatedata,10391,9) html=html&webroot html=html&mid(templatedata,10412,18) html=html&server.urlencode(tags(i)) html=html&mid(templatedata,10460,9) html=html&tags(i) html=html&mid(templatedata,10481,18) html=html&tags(i) html=html&mid(templatedata,10511,5) next html=html&mid(templatedata,10524,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,10820,4) end if i=1 while not rs.eof html=html&mid(templatedata,10861,37) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,10961,9) html=html&rs("title") html=html&mid(templatedata,10986,2) html=html&sdcms.cutstr(rs("title"),70,1) html=html&mid(templatedata,11023,18) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,11091,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,11313,4) end if i=1 while not rs.eof html=html&mid(templatedata,11354,37) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,11454,9) html=html&rs("title") html=html&mid(templatedata,11479,2) html=html&sdcms.cutstr(rs("title"),70,1) html=html&mid(templatedata,11516,18) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,11584,58) if likeid<>"0" then html=html&mid(templatedata,11665,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,11990,11) end if i=1 while not rs.eof html=html&mid(templatedata,12038,49) html=html&sdcms.geturl(rs("id"),rs("classid"),rs("isurl"),rs("url")) html=html&mid(templatedata,12150,9) html=html&rs("title") html=html&mid(templatedata,12175,18) html=html&rs("title") html=html&mid(templatedata,12209,49) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,12308,33) end if html=html&mid(templatedata,12351,14) if iscomment=1 and syscomment then html=html&mid(templatedata,12403,267) end if html=html&mid(templatedata,12680,97) if not in_sdcms then response.write("template load fail"):response.end() end if html=html&mid(templatedata,12860,83) html=html&webroot html=html&mid(templatedata,12955,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,13110,12) html=html&sdcms.getcateurl(rs("cateid")) html=html&mid(templatedata,13157,2) html=html&rs("catename") html=html&mid(templatedata,13178,4) i=i+1 rs.movenext wend set rs=nothing html=html&mid(templatedata,13232,12) html=html&webroot html=html&mid(templatedata,13256,35) html=html&webroot html=html&mid(templatedata,13303,143) html=html&sdcms.getsys("webname") html=html&mid(templatedata,13474,56) html=html&sdcms.getsys("webicp") html=html&mid(templatedata,13557,6) html=html&sdcms.getsys("webcount") html=html&mid(templatedata,13592,28) html=html&weburl html=html&mid(templatedata,13631,18) html=html&sdcms.getsys("webname") html=html&mid(templatedata,13677,11) html=html&sdcms.runtime html=html&mid(templatedata,13706,7) html=html&dbquery html=html&mid(templatedata,13725,55) html=html&webroot html=html&mid(templatedata,13792)