

北京众晟华业科技有限公司是由济南华业测控技术有限公司投资成立的集外贸、科研、生产、销售、服务于一体的高新技术企业,注册资金500万元。公司拥有40多人的研发团队,其中即有多名在试验机领域从业二十年以上、多次荣获国家、省市级奖励的技术专家,又有从事过汽车设计的专业人才;公司拥有一支通晓技术的销售团队,销售网络辐射全国各地。
济南华业一直在从事试验机的研发与生产,主营业务... [详细]
%'@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, " 北京众晟华业科技有限公司是由济南华业测控技术有限公司投资成立的集外贸、科研、生产、销售、服务于一体的高新技术企业,注册资金500万元。公司拥有40多人的研发团队,其中即有多名在试验机领域从业二十年以上、多次荣获国家、省市级奖励的技术专家,又有从事过汽车设计的专业人才;公司拥有一支通晓技术的销售团队,销售网络辐射全国各地。 济南华业一直在从事试验机的研发与生产,主营业务... [详细]
", 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
splitStr=" "
end if
Set objNodes = xml.getElementsByTagName("Root/WanDot/NewsTask")
ranStr=RndN(total,0,objNodes.length-1)
ranArray=split(ranStr,",")
if (maxCols>0 and maxCols
"& content
end if
end if
if ((p+1) mod cols <>0) then
IndexArrayContent=IndexArrayContent + splitStr
else
if (p+1
