📄 play.asp
字号:
<!--#include file="Conn.Asp"-->
<html>
<title><%=webname%>→请输入密码!</title>
<META http-equiv=Content-Type content=text/html;charset=GB2312>
<%
Response.Expires=0
Response.Expiresabsolute=Now()-1
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl="no-cache"
from_url=Cstr(Request.ServerVariables("HTTP_REFERER"))
serv_url=Cstr(Request.ServerVariables("SERVER_NAME"))
if mid(From_url,8,len(Serv_url)) <> Serv_url then
response.redirect "index.asp"
response.end
end if
o=md5(Int((8999999999)*Rnd +1000000000))
response.cookies("look")("o")=o
kId=Request("Id")
if request("Id")="" then
response.redirect "?Id=58"
end if
sql="select * from data where id="&kId
set rs=server.createobject("adodb.recordset")
rs.open sql,connstr,3,2
if request("password")=rs("mark") then
%>
<body onload="onc()">
<script language="javascript">
function onc(){
document.getElementById("play").submit();
}
</script>
<form action="LIve.Asp" method="post" name="play" id="play"><tr>
<td><input name="Tv" type="hidden" value="Play"/></td>
<td><input name="Id" type="hidden" value="<%=kId%>" /></td>
<td><input name="num" type="hidden" value="<%=o%>" /></td>
</tr>
</form>
<%
end if
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">BODY {
SCROLLBAR-FACE-COLOR: #009ace; FONT-SIZE: 12px; SCROLLBAR-HIGHLIGHT-COLOR: #b8e9fa; SCROLLBAR-SHADOW-COLOR: #009aaa; COLOR: #a9c8e4; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #cccccc; FONT-FAMILY: 宋体,Arial,Verdana ; BACKGROUND-COLOR: #1a2942
}
TD {
FONT-SIZE: 12px; COLOR: #a9c8e4; LINE-HEIGHT: 140%
}
A:link {
COLOR: #a9c8e4; TEXT-DECORATION: none
}
A:visited {
COLOR: #a9c8e4; TEXT-DECORATION: none
}
A:active {
COLOR: #a9c8e4; TEXT-DECORATION: none
}
A:hover {
COLOR: #00FF00; TEXT-DECORATION: underline
}
</style>
<body onload="document.form1.password.focus();">
<br><br><br><br><br><br><br>
<form name="form1" method="post" action="">
<center>此频道以被作者加密,只有输入正确密码才能观看<br>请输入密码:<input name="password" type="password" class="tx">
<input type="submit" class="tx1" value="观看">
<br><br>
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -