⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pc_add.asp

📁 本系统无论是现在还是将来的升级的版本均免费。学生综合测评分也叫综合分或者纪律分
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="const.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">
<link href="img/Style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE3 {	font-size: 14px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
}
-->
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<%
action=Request("action")
if action="add" then
   first_no =safeChar(trim(Request.Form("first_no")))
   onenum =safeChar(trim(Request.Form("onenum")))
   
   if onenum="" or not isnumeric(onenum) then
   onenum=15
   end if
   if first_no="" then 
       Response.Write("起始学号不能为空") 
	end if
   onenum=Cint(onenum)
 
 %>
   <form name="form" action="pc_addx.asp" method="post" onsubmit="return chk()">
  <table width="94%" border="0" align="center" cellpadding="1" cellspacing="0" class="atable1">
  <tr>
    <td colspan="8" bgcolor="#333"><span class="STYLE1">&nbsp;部门得分添加</span></td>
  </tr>
 
	
<%   for i=1 to onenum  %>	
  <tr>
    <td width="8%" class="tdmenu"><div align="center">学号:</div></td>
    <td width="14%" class="tdmenu">
      <div align="left">
        <input name="u_d" type="text" class="atable1" id="u_d" value="<%=first_no%>" size="16" maxlength="16"  />
      </div></td>
    <td width="10%" class="tdmenu"><div align="center">得分:</div></td>
    <td width="7%" class="tdmenu"><input name="mark" type="text" class="atable1" id="mark" value="0" size="4" maxlength="4"></td>
    <td width="11%" class="tdmenu"><div align="center">理由:</div></td>
    <td colspan="3" class="tdmenu">
      <div align="left">
        <input name="reason" type="text" class="atable1" id="reason" value="无" size="50" maxlength="150" />
        </div></td>
    </tr>
	
<%next%>	
	
  <tr>
    <td height="30" colspan="6" class="tdmenu">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <div align="right">
        <input type="hidden" name="action" value="add76" />
      </div>
      <div align="center"></div>      <div align="center"></div>      <div align="center"></div></td>
    <td width="6%" class="tdmenu"><div align="center"><input name="提交" type="submit" class="tdmenu" id="提交" value="提交" />
    </div></td>
    <td width="8%" class="tdmenu">
      <div align="left">
        <input name="重填" type="reset" class="tdmenu" id="重填" value="重填" />
    </div></td>
  </tr>
</table>
</form>

	 
<%else %>
<script language="javascript">
function chk()
{
if(document.form.first_no.value=="") 
{alert('起始学号不能为空');return false;} 
if(document.form.onenum.value=="") 
{alert('人数不能为空');return false;}
else 
return true;
}
</script>
<form name="form" action="" method="post" onsubmit="return chk()">
  <table width="80%" border="0" align="center" cellpadding="1" cellspacing="0" class="atable1">
  <tr>
    <td colspan="6" bgcolor="#333"><span class="STYLE1">&nbsp;&nbsp;部门得分添加</span></td>
  </tr>
  <tr>
    <td height="30" colspan="6" class="tdmenu">&nbsp;&nbsp;&nbsp;<span class="red">请填写初始学号段,比如030300169 则起始学号可以为:030300 随便填&nbsp;一次添加人数:默认10 可添加多次</span> </td>
    </tr>
  <tr>
    <td width="16%" class="tdmenu"><div align="center">初始学号段:</div></td>
    <td width="36%" class="tdmenu">
      <div align="left">
        <input name="first_no" type="text" class="atable1" id="first_no" size="16" maxlength="16"  />
      </div></td>
    <td width="19%" class="tdmenu"><div align="center">&nbsp;添加的人数:</div></td>
    <td colspan="3" class="tdmenu">
      <div align="left">
        <input name="onenum" type="text" class="atable1" id="onenum" value="10" size="6" maxlength="2" />
        </div></td>
    </tr>
  <tr>
    <td height="30" colspan="4" class="tdmenu">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <div align="right">
        <input type="hidden" name="action" value="add" />
      </div>
      <div align="center"></div>      <div align="center"></div>      <div align="center"></div></td>
    <td width="7%" class="tdmenu"><div align="center"><input name="提交" type="submit" class="tdmenu" id="提交" value="提交" />
    </div></td>
    <td width="11%" class="tdmenu">
      <div align="left">
        <input name="重填" type="reset" class="tdmenu" id="重填" value="重填" />
    </div></td>
  </tr>
</table>
</form>
<%end if%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -