📄 user.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=yd_title%></title>
<style type="text/css">
td { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 12px; font-style: normal; line-height: 21px; font-weight: normal; font-variant: normal}
a:visited {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: 21px;
color: #000000;
text-decoration: none;
}
a:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: 21px;
color: #CC0033;
text-decoration: underline;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: 21px;
color: #000000;
text-decoration: none;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: 21px;
color: #000000;
text-decoration: none;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
input {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-style: normal;
line-height: normal;
color: #006600;
border: #000000 1px solid;
}
</style>
<script language= "javascript">
function openpage(htmlurl) {
var newwin=window.open(htmlurl,"newWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=100,left=200,width=300,height=150");
newwin.focus();
return false;
}
</script>
</head>
<body><center>
<%if request.form("sub")="sub" then
username=trim(request.form("username"))
username=replace(username,"'","")
password=trim(request.form("password"))
password=replace(password,"'","")
if username=yd_admin and password=yd_password then
session("yd631")="jiangyuedong"
response.Redirect("index.asp")
else
response.Redirect("index.asp")
end if
end if%>
<br>
<table width="17%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="172" align="right" valign="top"><%if session("yd631")<>"jiangyuedong" then%>
<form name="form1" method="post" action="index.asp" target="_blank">
<table width="200" border="0">
<tr>
<td>管理员:</td>
<td><input name="username" type="text" id="username" size="15" maxlength="20"></td>
</tr>
<tr>
<td>密 码:</td>
<td><input name="password" type="password" id="password" size="15"></td>
</tr>
</table>
<input type="hidden" name="sub" value="sub">
<input type="submit" name="Submit" value="GO">
</form>
<%else response.Write("<a href='session_out.asp'>退出</a>")
response.Write(" ")
response.Write("<a href='add.asp'>添加歌曲</a>")
end if%>
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -