📄 kemu.asp
字号:
<!--#include file=conn.asp-->
<!--#include file=checkuser.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>吻宇网络管理系统</title>
<style type="text/css">
<!--
body {
background-color: #EFF8FE;
}
body,td,th {
font-size: 12px;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
color: #000000;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
function formCheck()
{
if (document.cnwy.namer.value == "")
{
alert("科目名称不能为空~!");
return false;
}
if (document.cnwy.dxts.value == "")
{
alert("单选题数不能为空~!");
return false;
}
if(document.cnwy.sxts.value=="")
{
alert("双选题数不能为空~!")
return false;
}
if(document.cnwy.dxfs.value=="")
{
alert("单选分数不能为空~!")
return false;
}
if(document.cnwy.sxfs.value=="")
{
alert("双选分数不能为空~!")
return false;
}
if(document.cnwy.zongf.value=="")
{
alert("总分数不能为空~!")
return false;
}
if(document.cnwy.passfs.value=="")
{
alert("通过考试的分数不能为空~!")
return false;
}
if(document.cnwy.passtime.value=="")
{
alert("考试的时间不能为空!")
return false;
}
}
</script>
</head>
<body>
<form method="post" action="kemu_add.asp" name="cnwy" onSubmit="return formCheck()">
<table border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#67B0ED">
<tr bgcolor="#EFF8FE">
<td height="7" colspan="2" ><div align="center">考试科目增加</div></td>
</tr>
<tr>
<td height="8" bgcolor="#EFF8FE" >科目名称:</td>
<td height="8" bgcolor="#EFF8FE" ><input name="namer" type="text" id="namer"></td>
</tr>
<tr bgcolor="#EFF8FE">
<td width="97" height="18">单选题个数:</td>
<td width="261"><input name="dxts" type="text" id="dxts"></td>
</tr>
<tr bgcolor="#EFF8FE">
<td>双选题个数:</td>
<td><input name="sxts" type="text" id="sxts"></td>
</tr>
<tr bgcolor="#EFF8FE">
<td>单选题分数:</td>
<td><input name="dxfs" type="text" id="dxfs"></td>
</tr>
<tr bgcolor="#EFF8FE">
<td>双选题分数:</td>
<td><input name="sxfs" type="text" id="sxfs"></td>
</tr>
<tr bgcolor="#EFF8FE">
<td>本门科目的总数:</td>
<td><input name="zongf" type="text" id="zongf"></td>
</tr>
<tr bgcolor="#EFF8FE">
<td>通过考试的分数:</td>
<td><input name="passfs" type="text" id="passfs">
</td>
</tr>
<tr bgcolor="#EFF8FE">
<td>本科考试的时间: </td>
<td><input name="passtime" type="text" id="passtime">
单位是分钟</td>
</tr>
<tr bgcolor="#EFF8FE">
<td height="22">本科科目的状态:</td>
<td><select name="zt" id="zt">
<option value="unlock">开启</option>
<option value="lock">关闭</option>
</select></td>
</tr>
<tr bgcolor="#EFF8FE">
<td colspan="2"><table width="165" border="0" align="center">
<tr>
<td width="76"><input type="submit" name="Submit" value="添加"></td>
<td width="79"><div align="right">
<input type="reset" name="Submit2" value="清除">
</div></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -