📄 发放借书证.htm
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>录入学生信息</title>
</head>
<script language=vbscript>
sub check
if frm7.studentid.value=empty then
msgbox("学生的学号不能为空")
frm7.studentid.focus()
exit sub
end if
if instr(frm7.studentid.value,"'")<>0 then
msgbox("您输入了非法字符")
frm7.studentid.focus
exit sub
end if
if instr(frm7.studentname.value,"'")<>0 then
msgbox("您输入了非法字符")
frm7.studentname.focus
exit sub
end if
if instr(frm7.class1.value,"'")<>0 then
msgbox("您输入了非法字符")
frm7.class1.focus
exit sub
end if
if not isnumeric(frm7.studentid.value) then
msgbox("学号必须为数字")
frm7.studentid.focus()
exit sub
end if
if frm7.studentname.value=empty then
msgbox("学生的姓名不能为空")
frm7.studentname.focus()
exit sub
end if
if isnumeric(frm7.studentname.value) then
msgbox("姓名不能为数字")
frm7.studentname.focus()
exit sub
end if
if frm7.class1.value=empty then
msgbox("学生的班级不能为空")
frm7.class1.focus()
exit sub
end if
frm7.submit
end sub
</script>
<body bgcolor="#000000">
<div align="center">
<center>
<form name=frm7 method=post action="addstudent.asp">
<table border="1" width="297" height="149" cellspacing="0" cellpadding="0">
<tr>
<td width="281" height="28" colspan="2">
<p align="center"><b><font color="#FFFFFF">输入学生信息</font></b></td>
</tr>
<tr>
<td width="137" height="21" bgcolor="#FFCCFF" align="center"><b><font color="#000000">学生学号:</font></b></td>
<td width="144" height="21"><input type=text name=studentid ></td>
</tr>
<tr>
<td width="137" height="28" bgcolor="#FFCCFF" align="center"><b><font color="#000000">学生姓名:</font></b></td>
<td width="144" height="28"><input type=text name=studentname></td>
</tr>
<tr>
<td width="137" height="24" bgcolor="#FFCCFF" align="center"><b><font color="#000000">学生班级:</font></b></td>
<td width="144" height="24"><input type=text name=class1></td>
</tr>
<tr>
<td width="137" height="26" bgcolor="#008000">
<p align="center"><input type=button value="确认" onclick="check()"></p>
</td>
<td width="144" height="26" bgcolor="#008000">
<p align="center"><input type=button value="放弃" onclick="javascript:document.location='管理员页面.htm'"></p>
</td>
</tr>
</table></form>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -