📄 admin.asp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<title>用户管理</title>
<link href="css.css" rel="stylesheet" type="text/css" />
<!--#include file="md5.asp" -->
<!--#include file="conn.asp" -->
</head>
<script type="text/javascript">
function checkadd(){
if(document.form2.username.value==""){
alert("请输入用户名");
document.form1.username.focus;
return false;
}
if(document.form2.password.value==""){
alert("请输入密码");
document.form2.username.focus;
return false;
}
}
</script>
<body>
<p> </p>
<p> </p>
<p> </p>
<table width="48%" height="151" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td height="84" valign="top" bgcolor="#FFFFFF">
<form action="Index.asp?action=chkuser" method="post" name="form1" id="form1">
<table width="100%" height="82" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="28" colspan="3" align="center" bgcolor="#CCCCCC">校园图书管理--用户管理</td>
</tr>
<tr>
<td width="33%" height="13" align="center">用户名</td>
<td width="29%" align="center">统计</td>
<td width="38%" align="center">管理</td>
</tr>
<tr>
<td height="14" align="center"> </td>
<td align="center"> </td>
<td align="center"> </td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<p> </p>
<form id="form2" name="form2" method="post" action="admin.asp?action=add">
<table width="48%" height="46" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td width="34%" height="21" align="center" bgcolor="#FFFFFF">用户名 </td>
<td width="51%" align="center" bgcolor="#FFFFFF">密码</td>
<td width="15%" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="22" align="center" bgcolor="#FFFFFF"><input name="username" type="text" id="username" size="15" /></td>
<td height="22" align="center" bgcolor="#FFFFFF"><input name="password" type="password" id="password" size="15" /></td>
<td height="22" align="center" bgcolor="#FFFFFF"><input type="submit" name="button" id="button" value="提交" onclick="return checkadd();" /></td>
</tr>
</table>
</form>
<%
dim action
action=trim(request.QueryString("action"))
select case action
case "add"
end select
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -