📄 1.asp
字号:
<%
db="fadmy.asa"
Set conn = Server.CreateObject("ADODB.Connection")
connstr="driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath(db)
conn.Open connstr
%>
<%
dim url,time1,no
url=trim(request("url"))
time1=trim(request("time1"))
set rs=server.createobject("adodb.recordset")
sql="select * from url where url='"&url&"'"
rs.open sql,conn,3,3
if rs.eof then
rs.addnew
rs("url")=url
rs("time")=time1
rs.update
end if
rs.close
if request("no")<>"" then
no=request("no")+1
else
no=1
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>正在刷新中.....</title>
</head>
<body topmargin="0" leftmargin="0">
<SCRIPT language=JavaScript>
function defaultwin(){
var exitwin,url,ownwin;
url = 'http://www.fyasp.com';
exitwin = window.open(url,'nowexitwin');}
function get_cookie(Name) {
var search = Name + '='
var returnvalue = '';
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(';', offset);
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadpopup(){
if (get_cookie('popped')==''){
defaultwin()
document.cookie='popped=yes'
}
}
window.onload=loadpopup;
</SCRIPT>
<iframe name="I1" width="286" height="41" border="0" frameborder="0" scrolling="no" src="http://www.fyasp.com/pm/2.asp?url=<%=url%>&time1=<%=time1%>&no=<%=no%>">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -