设计、网站、推广
始于2004年
当前位置:首页 > 网站制作

ASP判断来路并转向的代码

发表日期:2015-6-29 作者来源:派谷网络 浏览次数:

<%
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("<div 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></div>");
</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%>
本文章系本站编辑转载,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如涉及作品内容、版权和其它问题,请在30日内与本站联系,我们将在第一时间删除内容!

相关网站设计案例

相关推荐新闻
网站建设解决方案