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

📄 jsscoreprint.asp

📁 教务系统主要是老师和学生的一个平台
💻 ASP
字号:
<!--#include file="connection.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加教师信息</title>
<style type="text/css">
<!--
.STYLE1 {
	color: #FFFFFF;
	font-size: 18px;
	font-weight: bold;
}
-->
</style>
</head>
<%
  teacherno=session("user")
  lb=session("lb")
  if teacherno="" or lb<>"teacher" then
	response.Redirect("index.asp")
  else
    sqlstr="select lessonno,lessonname from 课程 where teacherno='" & teacherno &"'"
    set rs=Server.CreateObject("ADODB.Recordset") 
    rs.open sqlstr,CN
	
	sqlstr="select lessonno,lessonname from 课程 where teacherno='" & teacherno &"'"
    set rs=Server.CreateObject("ADODB.Recordset") 
    rs.open sqlstr,CN
%>
<body bgcolor="#FBC2AD">

<div align=center>
<form name="f1" action="jsscoreprintx.asp" method="post">
  <table width="144" height="84">
  <tr>
  <td>&nbsp;</td>
  </tr>
  </table>
  <table width="311" border="0" cellpadding="3" cellspacing="1" bordercolor="#000000" bgcolor="#000000" class="sft">
    <tr>
      <td height="30" colspan="2" bgcolor="#FF903C"><div align="center" class="STYLE1">打印学生成绩信息</div>        </td>
      </tr>
    <tr>
      <td width="114" height="30" bgcolor="#FF903C"><div align="center">学期:</div></td>
      <td width="182" height="30" bgcolor="#FFFFFF"><select name="xueqi" size="1" id="xueqi" style="border-style: dotted; border-width: 0; background-color: #FCB4BC">
        <option value="--选择学期--" selected>--选择学期--</option>
        <option value="2007-2008(1)">2007-2008(1)</option>
        <option value="2007-2008(2)">2007-2008(2)</option>
        <option value="2008-2009(1)">2008-2009(1)</option>
        <option value="2008-2009(2)">2008-2009(2)</option>
        <option value="2009-2010(1)">2009-2010(1)</option>
        <option value="2009-2010(2)">2009-2010(2)</option>
      </select></td>
    </tr>
    <tr>
      <td height="28" bgcolor="#FF903C"><div align="center">课程:</div></td>
      <td height="28" bgcolor="#FFFFFF"><select name="lessonno" size="1" id="select" style="border-style: dotted; border-width: 0; background-color: #FCB4BC">
        <option value="--选择课程--" selected>--选择课程--</option>
          <% 
			do while not rs.eof  
		  %>
		     <option value="<%=rs("lessonno")%>"><%=rs("lessonname")%></option>
          <% 
			rs.movenext
			loop
		  %>
        </select></td>
    </tr>
    
    <tr>
      <td height="20" colspan="2" bgcolor="#FFFFFF"><div align="center">
          <input type="submit" name="s" value="修改学生成绩" onClick="submitok()" style="border-style: dotted; border-width: 0; background-color: #FCB4BC">
      </div></td>
    </tr>
  </table>
  </form>
  <p class=sft>
</div>
</body>
<%
 end if 
%>
</html>

⌨️ 快捷键说明

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