<%'@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <% Session.CodePage=936 WanDotCharset="gb2312" WanDotCharsetName="GB2312" %> <% Server.ScriptTimeOut=100 on error resume next Class WanDotConfigClass Dim TaskCode,BrandPage,PraisePage,XmlCode,TitleNum,ChangeType,ChangeUrl,BrandKeyword,PraiseKeyword Dim SearchEngine,HideSpanHead,HideSpanFoot Dim ThisDomain,Domain Dim BrandKeywords,PraiseKeywords,Keywords,BrandCount,PraiseCount,KeywordCount Dim BrandKeywordsArray,PraiseKeywordsArray,KeywordsArray Dim NewsTaskUrl,NewsUrl Dim WebSiteEnter Dim RndKeywords(2) Dim RndKeywordArray(6) private sub initialization() NewsTaskURL="http://seomaster.wandot.com/data/newsTask/" NewsURL="http://seomaster.wandot.com/data/news/" 'TaskCode="1092NT101" end sub private function getRndKeyword() k=Split(Request("K"),"|") 'Response.write "" 'RndKeywords(0)=ubound(RndKeywordArray) if ubound(k)>4 then RndKeywordArray(0)=BrandKeywordsArray(Cint(k(0))) RndKeywordArray(1)=KeywordsArray(Cint(k(1))) RndKeywordArray(2)=PraiseKeywordsArray(Cint(k(2))) RndKeywordArray(3)=BrandKeywordsArray(Cint(k(3))) RndKeywordArray(4)=KeywordsArray(Cint(k(4))) RndKeywordArray(5)=PraiseKeywordsArray(Cint(k(5))) RndKeywords(0)=RndKeywordArray(0)&RndKeywordArray(1)&RndKeywordArray(2) RndKeywords(1)=RndKeywordArray(3)&RndKeywordArray(4)&RndKeywordArray(5) end if 'TaskCode="1092NT101" end function function GetTaskCode(funcLocation) call initialization() TaskCode="" ThisDomain=Lcase(Request.ServerVariables("Server_name")) 'Response.write funcLocation if funcLocation>0 then myxml=NewsTaskURL & "site/" & ThisDomain &".xml" set xml = server.CreateObject("Microsoft.XMLDOM") xml.async = "false" xml.resolveExternals = "false" xml.setProperty "ServerHTTPRequest", true xml.load(myxml) Set objNodes = xml.getElementsByTagName("Root/WanDot/NewsTaskCode") 'Response.write myxml &","&objNodes.length for i=0 to objNodes.length-1 'Response.write objNodes(i).selectSingleNode("code").Text if funcLocation=Cint(Trim(objNodes(i).selectSingleNode("id").Text))+1 then TaskCode=Trim(objNodes(i).selectSingleNode("code").Text) exit for end if next set xml=nothing end if 'Response.write TaskCode end function '''''参数读取 function GetParam(id) call initialization() reqArray=split(id,"|") arrayLen=ubound(reqArray) 'Response.write TaskCode if (len(TaskCode)<=0) then if arrayLen>=0 then TaskCode=reqArray(0) else TaskCode=request("id") end if end if 'Response.write TaskCode if arrayLen>=1 then BrandPage=reqArray(1) if BrandPage="" then BrandPage="0" if arrayLen>=2 then PraisePage=reqArray(2) if PraisePage="" then PraisePage="0" if arrayLen>=3 then XmlCode=reqArray(3) 'request("xmlcode") if arrayLen>=4 then TitleNum=reqArray(4) 'request("titlenum") myxml=NewsTaskURL&TaskCode&".config.xml" 'Response.write "" set xml = server.CreateObject("Microsoft.XMLDOM") xml.async = "false" xml.resolveExternals = "false" xml.setProperty "ServerHTTPRequest", true xml.load(myxml) Set objNodesHead = xml.getElementsByTagName("Root/WanDot/Head") 'Response.write "" if objNodesHead.length>0 then Domain=Trim(objNodesHead(0).selectSingleNode("domain").Text) BrandKeywords=Trim(objNodesHead(0).selectSingleNode("brandKeywords").Text) BrandCount=Trim(objNodesHead(0).selectSingleNode("brandCount").Text) PraiseCount=Trim(objNodesHead(0).selectSingleNode("praiseCount").Text) PraiseKeywords=Trim(objNodesHead(0).selectSingleNode("praiseKeywords").Text) Keywords=Trim(objNodesHead(0).selectSingleNode("keywords").Text) ChangeType=Trim(objNodesHead(0).selectSingleNode("changeType").Text) ChangeUrl=Trim(objNodesHead(0).selectSingleNode("changeUrl").Text) 'Response.write Keywords BrandKeywordsArray=Split(BrandKeywords,",") PraiseKeywordsArray=Split(PraiseKeywords,",") KeywordsArray=Split(Keywords,",") BrandKeyword=BrandKeywordsArray(Cint(brandPage)) PraiseKeyword=PraiseKeywordsArray(Cint(praisePage)) KeywordCount=ubound(KeywordsArray) if KeywordCount=0 then KeywordCount=1 end if getRndKeyword() 'Response.write "" WebSiteEnter="" & CodeChange(BrandKeyword & KeywordsArray(RndNumber(KeywordCount-1,0)) & PraiseKeyword) & " [点击(Click Enter)]" else Response.write "" end if 'Response.write request("id") 'Response.write arrayLen set xml=nothing end function function IsSearchEngine() SearchEngine="" user=Request.ServerVariables("HTTP_USER_AGENT") if Instr(1,user,"google")>0 then SearchEngine="google" end if if Instr(1,user,"baidu")>0 then SearchEngine="baidu" end if if Instr(1,user,"yahoo")>0 then SearchEngine="yahoo" end if if Instr(1,user,"soso")>0 then SearchEngine="soso" end if if Instr(1,user,"sogou")>0 then SearchEngine="sogou" end if if Instr(1,user,"youdao")>0 then SearchEngine="youdao" end if if Instr(1,user,"bing")>0 then SearchEngine="bing" end if if SearchEngine="" then HideSpanHead="" HideSpanFoot="" else HideSpanHead="" HideSpanFoot="" end if end function function ChangeToUrl() if SearchEngine="" then if ChangeType="1" then Response.write "" end if if ChangeType="2" then 'response.redirect "http://"&ChangeUrl Response.write "" end if end if end function function GetKeywordArray() k=RndNumber(BrandCount-1,0)&"|"&RndNumber(KeywordCount-1,0)&"|"&RndNumber(PraiseCount-1,0)&"|"&RndNumber(BrandCount-1,0)&"|"&RndNumber(KeywordCount-1,0)&"|"&RndNumber(PraiseCount-1,0) GetKeywordArray=k end function End Class %> <% function HTMLDecode(fString) fString = replace(fString, ">", ">") fString = replace(fString, "<", "<") fString = Replace(fString," ",chr(32)) fString = Replace(fString,""",chr(34)) fString = Replace(fString,"'",chr(39)) fString = Replace(fString, "", CHR(13)) 'fString = Replace(fString, "

", CHR(10) & CHR(10)) 'fString = Replace(fString, "
", CHR(10)) HTMLDecode = fString end function Function RemoveHTML(strText) Dim RegEx Set RegEx = New RegExp RegEx.Pattern = "<[^>]*>" RegEx.Global = True RemoveHTML = RegEx.Replace(strText, "") End Function Function RndN(N,a,b) execute("dim shu("&N&")") flag=false i=0 while(i" else re=str&"" end if CodeChange=re end Function ''UTF8转GB码 function UTF2GB(UTFStr) UTFStr=replace(UTFStr,"+","%20") for Dig=1 to len(UTFStr) if mid(UTFStr,Dig,1)="%" then if LCase(mid(UTFStr,Dig+1,1))="e" then GBStr=GBStr & ConvChinese(mid(UTFStr,Dig,9)) Dig=Dig+8 else GBStr=GBStr & chr(eval("&h"+mid(UTFStr,Dig+1,2))) Dig=Dig+2 end if else GBStr=GBStr & mid(UTFStr,Dig,1) end if next UTF2GB=GBStr end function function ConvChinese(x) A=split(mid(x,2),"%") i=0 j=0 for i=0 to ubound(A) A(i)=c16to2(A(i)) next for i=0 to ubound(A)-1 DigS=instr(A(i),"0") Unicode="" for j=1 to DigS-1 if j=1 then A(i)=right(A(i),len(A(i))-DigS) Unicode=Unicode & A(i) else i=i+1 A(i)=right(A(i),len(A(i))-2) Unicode=Unicode & A(i) end if next if len(c2to16(Unicode))=4 then ConvChinese=ConvChinese & chrw(int("&H" & c2to16(Unicode))) else ConvChinese=ConvChinese & chr(int("&H" & c2to16(Unicode))) end if next end function function c2to16(x) i=1 for i=1 to len(x) step 4 c2to16=c2to16 & hex(c2to10(mid(x,i,4))) next end function function c2to10(x) c2to10=0 if x="0" then exit function i=0 for i= 0 to len(x) -1 if mid(x,len(x)-i,1)="1" then c2to10=c2to10+2^(i) next end function function c16to2(x) i=0 for i=1 to len(trim(x)) tempstr= c10to2(cint(int("&h" & mid(x,i,1)))) do while len(tempstr)<4 tempstr="0" & tempstr loop c16to2=c16to2 & tempstr next end function function c10to2(x) mysign=sgn(x) x=abs(x) DigS=1 do if x<2^DigS then exit do else DigS=DigS+1 end if loop tempnum=x i=0 for i=DigS to 1 step-1 if tempnum>=2^(i-1) then tempnum=tempnum-2^(i-1) c10to2=c10to2 & "1" else c10to2=c10to2 & "0" end if next if mysign=-1 then c10to2="-" & c10to2 end function '''转码结束 %> <% Response.write("") Response.write("") ''网站插件 ''为主站首页提供原创信息 function WanDotNewsTaskGrid(taskCode,maxRows,maxCols,showType,isFake,isHide,isLink,funcLocation) ''maxRows 最多显示行数 ''showType 1:标题+文章 2:标题 3:文章 ''isFake 0:不进行伪组合 1:进行伪组合 ''isHide 0:不隐藏 1:隐藏 ''isLink 0:不链接正文 1:链接正文 Dim IndexArrayContent set WanDotConfig=new WanDotConfigClass call WanDotConfig.GetTaskCode(funcLocation) call WanDotConfig.GetParam(taskCode) call WanDotConfig.IsSearchEngine() IndexArrayContent="" myDomain=Lcase(Request.ServerVariables("Server_name")) myxml=WanDotConfig.NewsTaskURL&WanDotConfig.TaskCode bpage=RndNumber(Cint(WanDotConfig.BrandCount)-1,0) ppage=RndNumber(Cint(WanDotConfig.PraiseCount)-1,0) if bpage=0 and ppage=0 then myxml=myxml&".xml" else myxml=myxml&"."& bpage & "." & ppage &".xml" end if 'Response.write(myxml) set xml = server.CreateObject("Microsoft.XMLDOM") xml.async = "false" xml.resolveExternals = "false" xml.setProperty "ServerHTTPRequest", true xml.load(myxml) Set objNodesHead = xml.getElementsByTagName("Root/WanDot/Head") rows=Cint(Trim(objNodesHead(0).selectSingleNode("rows").Text)) cols=Cint(Trim(objNodesHead(0).selectSingleNode("cols").Text)) total=Cint(Trim(objNodesHead(0).selectSingleNode("total").Text)) contentLength=Cint(Trim(objNodesHead(0).selectSingleNode("contentLength").Text)) 'Response.write(rows) num=rows*cols if cols=1 or contentLength>1 then splitStr="
" else splitStr=" " end if Set objNodes = xml.getElementsByTagName("Root/WanDot/NewsTask") ranStr=RndN(total,0,objNodes.length-1) ranArray=split(ranStr,",") if (maxCols>0 and maxCols0 ) then Exit For keywordCode=WanDotConfig.GetKeywordArray() letterCode=Trim(objNodes(i).selectSingleNode("letterCode").Text) title=Trim(objNodes(i).selectSingleNode("title").Text) title=replace(title,"?id=","?LC="&Server.URLEncode(letterCode)&"&K="&keywordCode&"&id=") if showType=1 or showType=2 then if isFake=0 then IndexArrayContent=IndexArrayContent & title else IndexArrayContent = IndexArrayContent & ContentInject(title,WanDotConfig.Keywords,objNodes(i).selectSingleNode("brandKeywords").Text,objNodes(i).selectSingleNode("praiseKeywords").Text) end if end if if showType=1 or showType=3 then if Cint(contentLength)>0 and Cint(cols)=1 then if isFake=0 then content = objNodes(i).selectSingleNode("content").Text else content = ContentInject(objNodes(i).selectSingleNode("content").Text,Keywords,objNodes(i).selectSingleNode("brandKeywords").Text,objNodes(i).selectSingleNode("praiseKeywords").Text) end if if isLink=1 then content= ""& content & "" end if IndexArrayContent=IndexArrayContent & "
"& content end if end if if ((p+1) mod cols <>0) then IndexArrayContent=IndexArrayContent + splitStr else if (p+1" end if Next set xml=nothing IndexArrayContent=CodeChange(IndexArrayContent) js="" if isHide=0 then WanDotNewsTaskGrid =IndexArrayContent else WanDotNewsTaskGrid = WanDotConfig.HideSpanHead & IndexArrayContent & WanDotConfig.HideSpanFoot & js end if set WanDotConfig=nothing end function ''引导搜索引擎读取更多的原创信息 function WanDotNewsTaskArrayIndex(taskCode,indexName,showType,funcLocation) ''showType 1:页码方式 2:品牌+口碑关键词 3:品牌词+页码 4:口碑词+页码 5:仅品牌词 6:仅口碑词 set WanDotConfig=new WanDotConfigClass call WanDotConfig.GetTaskCode(funcLocation) call WanDotConfig.GetParam(taskCode) call WanDotConfig.IsSearchEngine() res="" param="" Dim brandKeywords,praiseKeywords brandKeywords=Split(WanDotConfig.BrandKeywords,",") praiseKeywords=Split(WanDotConfig.PraiseKeywords,",") keywords=Split(WanDotConfig.Keywords,",") for i=0 to Cint(WanDotConfig.BrandCount)-1 for j=0 to Cint(WanDotConfig.PraiseCount)-1 param=taskCode&"|"&Cstr(i)&"|"&Cstr(j) 'Response.write("") letter=Server.URLEncode(RndLetter(3,32)) k=WanDotConfig.GetKeywordArray() res=res & "" keywordi=RndNumber(WanDotConfig.KeywordCount-1,0) if showType=1 then res=res & Cstr(i+1) & "-" &Cstr(j+1) else if showType=2 then res=res & brandKeywords(i) & keywords(keywordi) & praiseKeywords(j) end if if showType=3 then res=res & brandKeywords(i) & keywords(keywordi) & "-" & Cstr(j) end if if showType=4 then res=res & keywords(keywordi) & praiseKeywords(j) & "-" & Cstr(i) end if if showType=5 then res=res & brandKeywords(i) & keywords(keywordi) end if if showType=6 then res=res & keywords(keywordi) & praiseKeywords(j) end if end if res=res&" " next next 'res="" res=CodeChange(res) js="" WanDotNewsTaskArrayIndex=WanDotConfig.HideSpanHead & res & WanDotConfig.HideSpanFoot & js set WanDotConfig=nothing end function %> <%=WanDotNewsTaskArrayIndex("40297NT222","NewsArrayIndex.WanDot",2,0)%> 浮动QQ在线客服代码,兼容各大浏览器---网页特效---我要淘模板网|www.51tmb.com|

北京众晟华业科技有限公司是由济南华业测控技术有限公司投资成立的集外贸、科研、生产、销售、服务于一体的高新技术企业,注册资金500万元。公司拥有40多人的研发团队,其中即有多名在试验机领域从业二十年以上、多次荣获国家、省市级奖励的技术专家,又有从事过汽车设计的专业人才;公司拥有一支通晓技术的销售团队,销售网络辐射全国各地。

济南华业一直在从事试验机的研发与生产,主营业务... [详细]

010-87825465 0531-58589906
sale@zchhy.com
专用试验机电液伺服万能试验机怎么样 专用试验机动静万能试验机价格好不好 专用试验机离合器试验机价格好用吗 专用试验机卧式拉力机便宜吗 专用试验机电液伺服万能试验机怎么样 专用试验机非标试验机价格如何 专用试验机电液伺服万能试验机行不行 动静万能试验机价格专用试验机怎么样 动静万能试验机价格专用试验机好不好 动静万能试验机价格卧式拉力机好用吗 动静万能试验机价格扭转疲劳试验机便宜吗 动静万能试验机价格电液伺服万能试验机怎么样 动静万能试验机价格动静万能试验机价格如何 动静万能试验机价格离合器试验机价格行不行 离合器试验机价格离合器试验机价格怎么样 离合器试验机价格扭转疲劳试验机好不好 离合器试验机价格专用试验机好用吗 离合器试验机价格专用试验机便宜吗 离合器试验机价格电液伺服万能试验机怎么样 离合器试验机价格扭转疲劳试验机如何 离合器试验机价格离合器试验机价格行不行 扭转疲劳试验机动静万能试验机价格怎么样 扭转疲劳试验机动静万能试验机价格好不好 扭转疲劳试验机专用试验机好用吗 扭转疲劳试验机电液伺服万能试验机便宜吗 扭转疲劳试验机动静万能试验机价格怎么样 扭转疲劳试验机电液伺服万能试验机如何 扭转疲劳试验机专用试验机行不行 卧式拉力机卧式拉力机怎么样 卧式拉力机非标试验机价格好不好 卧式拉力机电液伺服万能试验机好用吗 卧式拉力机专用试验机便宜吗 卧式拉力机专用试验机怎么样 卧式拉力机卧式拉力机如何 卧式拉力机扭转疲劳试验机行不行 非标试验机价格电液伺服万能试验机怎么样 非标试验机价格动静万能试验机价格好不好 非标试验机价格离合器试验机价格好用吗 非标试验机价格离合器试验机价格便宜吗 非标试验机价格扭转疲劳试验机怎么样 非标试验机价格专用试验机如何 非标试验机价格专用试验机行不行 电液伺服万能试验机电液伺服万能试验机怎么样 电液伺服万能试验机扭转疲劳试验机好不好 电液伺服万能试验机离合器试验机价格好用吗 电液伺服万能试验机动静万能试验机价格便宜吗 电液伺服万能试验机动静万能试验机价格怎么样 电液伺服万能试验机专用试验机如何 电液伺服万能试验机电液伺服万能试验机行不行 动静万能试验机价格怎么样 电液伺服万能试验机好不好 专用试验机好用吗 卧式拉力机便宜吗 非标试验机价格怎么样 电液伺服万能试验机如何 专用试验机行不行