ASP判断来路并转向的代码

来源:互联网 时间:1970-01-01

<%
url=request.ServerVariables("HTTP_REFERER")
if url<>"" then
host=split(url,".")(1)
end if
if host<>"baidu" or host<>"google" or host<>"soso" then
%>
<SCRIPT language=JavaScript>var STime=60;document.write("<p align=/"center/" id=/"interstitialframe/"><A onfocus=/"this.blur();/" href=/"<%=click_url.item(0).text%>/" target=_blank><IMG  src=/"images/nkidcnet.gif/" width=0 height=0 title=/"𱬵Ա/" border=0></A></p>");
</SCRIPT>
<script language='javascript'>window.open('<%=click_url.item(0).text%>','','left=100,top=100,width=500,height=600,resizable=Yes,scrollbars=yes');</script>
<%end if%>

相关阅读:
Top