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

📄 kebiao.asp

📁 关于学生成绩的管理系统
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
xino=session("xino")
zhuanyeno=session("zhuanyeno")
banno=session("banno")
jino=session("jino") 
set rs=server.createobject("ADODB.Recordset")
sqlstr="select * from 系 where xino='"&session("xino")&"'"
rs.open sqlstr,conn,1,1
if not rs.eof then
  xiname=rs("xiname")
end if
%>
<%
set rs=server.createobject("ADODB.Recordset")
sqlstr="select * from 专业 where zhuanyeno='"&session("zhuanyeno")&"'"
rs.open sqlstr,conn,1,1
if not rs.eof then
  zhuanye=rs("zhuanye")
end if
%>
<html>
<head>
<title>课表添加</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" background="imags/kabg.gif">
<table width="741" border="0" height="22">
  <tr>
      <td background="imags/shou2.jpg"> 
        
      <div align="center"><b><font color="#66FFFF" size="4"><img src="imags/83.gif" width="14" height="14"><font size="5">请提交课程表</font></font></b></div>
      </td>
    </tr>
  </table>
  
<table width="739" border="0" height="24">
  <tr>
    <td>
      <div align="center"><font color="#333366">2002-2003年度第一学期课程表</font> <%=xiname%> 
        &nbsp<%=zhuanye%><font color="#333366">专业 </font> <%=jino%><font color="#333366"> </font> <%=banno%></div>
    </td>
  </tr>
</table>
<form name="form1" method="post" action="kebiaolian.asp">
  <table width="739" border="0" height="342">
    <tr> 
      <td height="346"> 
        <div align="center">
          <table width="350" border="1" height="340">
            <tr> 
              <td height="20" width="84">星期: </td>
              <td height="20" width="250"> 
                <select name="week" size="1">
                  <option selected>星期一</option>
                  <option>星期二</option>
                  <option>星期三</option>
                  <option>星期四</option>
                  <option>星期五</option>
                </select>
              </td>
            </tr>
            <tr> 
              <td height="29" width="84">节次: </td>
              <td height="29" width="250"> 
                <select name="jieci" size="1">
                  <option selected>1-2</option>
                  <option>3-4</option>
                  <option>5-6</option>
                  <option>7-8</option>
                </select>
              </td>
            </tr>
            <tr> 
              <td height="25" width="84">课程名: </td>
              <td height="25" width="250"> 
                <input type="text" name="lessonname" size="20">
              </td>
            </tr>
            <tr> 
              <td height="17" width="84">周次:</td>
              <td height="17" width="250"> 
                <select name="weekname" size="1">
                  <option selected>单周</option>
                  <option>双周</option>
                  <option>单双周</option>
                </select>
              </td>
            </tr>
            <tr> 
              <td height="20" width="84">教室: </td>
              <td height="20" width="250"> 
                <input type="text" name="room" size="20">
              </td>
            </tr>
            <tr> 
              <td height="21" width="84">教师名: </td>
              <td height="21" width="250"> 
                <input type="text" name="teachername" size="20">
              </td>
            </tr>
            <tr> 
              <td height="18" width="84">总学时: </td>
              <td height="18" width="250"> 
                <input type="text" name="hours" size="20">
              </td>
            </tr>
            <tr> 
              <td height="7" width="84">实验学时:</td>
              <td height="7" width="250"> 
                <input type="text" name="shiyehours" size="20">
              </td>
            </tr>
            <tr> 
              <td height="11" width="84">学分: </td>
              <td height="11" width="250"> 
                <input type="text" name="xuefen" size="20">
              </td>
            </tr>
            <tr> 
              <td height="15" width="84">状态: </td>
              <td height="15" width="250"> 
                <select name="pro" size="1">
                  <option selected>考试科</option>
                  <option>考查科</option>
                </select>
              </td>
            </tr>
            <tr> 
              <td height="20" colspan="2"> 
                <div align="center"> 
                  <input type="submit" name="Submit" value="录入">
                </div>
              </td>
            </tr>
          </table>
        </div>
        <div align="left"></div>
        <div align="right"> 
          <table width="107" border="0" height="28">
            <tr> 
              <td background="imags/line079.gif"><font face="隶书" color="#660033"><a href="keadd1.asp">返回数据管理</a></font> 
              </td>
            </tr>
          </table>
          <div align="center"><font color="#330000"><a href="keadd2.asp"><img src="imags/0000005.gif" width="137" height="30" border="0"></a></font></div>
        </div>
      </td>
    </tr>
  </table>
  <div align="center"> </div>
</form>
<p align="center"> </p>
</body>
<%
session("xiname")=xiname
session("zhuanye")=zhuanye
session("xino")=xino
session("zhuanyeno")=zhuanyeno

Session.Contents("banno")=banno
Session.Contents("jino")=jino
%>
</html>

⌨️ 快捷键说明

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