📄 jsbjcjl.asp
字号:
<%@ language=vbscript %>
<!--#include file="conn.asp"-->
<%
dm= request("dm")
if Session.Contents("dm")=dm then
zybj= request("zybj")
dm= request("dm")
set rs2=server.createobject("adodb.recordset")
sql2="select * from js where zybj='" + zybj + "'"
rs2.open sql2,conn,1,1
bjbh= request("bjbh")
bjbh="b"+cstr(bjbh)
mc=request("mc")
sj=request("sj")
sql="SELECT * from "&bjbh&" Order by xh"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,3
if rs.eof then
response.write"<script language='javascript'>"
response.write"alert('没有符合您要求的记录!');"
response.write"history.go(-1);"
response.write"</script>"
response.end
end if
total=rs.recordcount
Dim i
ReDim fsjl(total)
i=0
%>
<html>
<head>
<title>龚文生</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="config.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" background="bg01.gif">
<form action=bjcjxg.asp?sj=<%=sj%>&xhcs=<%=total%>&bjbh=<%=bjbh%> method=post>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<div align="center"><b><font color=red><font face="华文行楷" size="6">
<%=zybj%></font></font></b></div>
<div align="center"><b><font color=red>成绩录入或修改</font></b></div>
<div align="center"><b><font color="#0066FF">共有<font color=red><%=total%></font>位学生
</font></b></div>
</td>
</tr>
</table>
<center>
<table border=1 cellpadding=1 cellspacing=1>
<tr bgcolor=black style='color:white'>
<td align=center>编号</td>
<td align=center>学号</td>
<td align=center>姓名</td>
<td align=center>性别</td>
<td align=center>个人详情</td>
<td align=center><%=mc%> </td>
<%
do while not rs.eof
i=i+1
xh=rs("xh")
xm=rs("xm")
xb=rs("xb")
%>
<%
If sColor = "silver" Then
sColor = "#cccccc"
Else
sColor = "silver"
End If
Response.Write("<tr bgcolor='" & sColor & "'>")
%>
<td align=center><font color="red"><%=i%></font> </td>
<td align=center><%=xh%> </td>
<td align=center><%=xm%> </td>
<%
if xb="男" then
%>
<td align=center><font color="red"><%=xb%></font> </td>
<%
else
%>
<td align=center><font color="green"><%=xb%></font> </td>
<%
end if
%>
<td align=center>
<a href="#" onClick="window.open('gwslyck.asp?xh=<%=xh%>&zybj=<%=zybj%>', 'Sample', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,height=640,left=0,top=0')">
<font color="blue">查看详情</font></a></td>
<td align=center>
<%
if sj="fs10" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs10")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs11" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs11")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs12" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs12")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs13" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs13")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs14" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs14")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs15" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs15")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs16" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs16")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs17" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs17")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs18" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs18")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs19" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs19")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs110" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs110")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs111" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs111")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs112" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs112")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs113" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs113")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs114" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs114")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs115" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs115")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs116" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs116")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs117" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs117")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs118" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs118")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs119" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs119")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs20" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs20")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs21" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs21")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs22" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs22")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs23" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs23")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs24" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs24")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs25" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs25")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs26" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs26")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs27" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs27")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs28" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs28")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs29" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs29")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs120" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs120")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs121" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs121")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs122" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs122")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs123" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs123")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs124" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs124")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs125" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs125")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs126" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs126")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs127" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs127")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs128" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs128")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs129" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs129")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs30" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs30")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs31" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs31")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs32" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs32")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs33" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs33")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs34" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs34")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs35" then
%>
<input type=text name="<%=i%>" size=4 maxlength=4 class=i value="<%=rs("fs35")%>"> </font></td>
<%
fsjl(i)=rs("xh")
end if
%>
<%
if sj="fs36" then
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -