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

📄 save.asp

📁 晴和教务管理系统
💻 ASP
字号:
<!--#include file="../inc/top.asp"-->
<!--#include file="../inc/function.asp"-->
<div align="center">
<table width="760" align="center" border="0" cellspacing="0" cellpadding="0" class="table-zuoyou" bordercolor="#CCCCCC">
<tr> 
<td width="180" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="table-you">
<!--#include file="../loginout.asp"-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35" bgcolor="f1f1f1" background="/jw/images/menu_09.gif" valign="bottom">
<p align="right">模 式&nbsp;&nbsp;&nbsp;&nbsp; </td>
</tr>
<tr> 
<td> 
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr> 
<td align="center"> 
 当前模式:<font color="#008000">自由发表模式<br>
</font><b><font color="#FF0000"><a href="index.asp"><font color="#FF0000">查看教学建议</font></a></font></b></td>
</tr>
<tr> 
<td height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from Jw_kcpj where studentnum = '"& request.Cookies("jiaowu")("Num") &"' and teachernum = '" & trim(request("teachernum")) &"'",conn,1,3
if rs.recordcount = 3 then 
response.write "<script LANGUAGE='javascript'>alert('每门课程最多可以评三次!');history.go(-1);</script>"
response.end
end if
rs.addnew
rs("studentnum")=request.Cookies("jiaowu")("Num")
rs("jy")=htmlencode(trim(request("jy")))
rs("teachernum")=trim(request("teachernum"))
rs("kcmc")=trim(request("kcmc"))
rs("df")=cint(request("R1"))+cint(request("R2"))+cint(request("R3"))+cint(request("R4"))+cint(request("R5"))+cint(request("R6"))+cint(request("R7"))+cint(request("R8"))+cint(request("R9"))+cint(request("R10"))+cint(request("R11"))+cint(request("R12"))
rs("jg")=request("R1")&","&request("R2")&","&request("R3")&","&request("R4")&","&request("R5")&","&request("R6")&","&request("R7")&","&request("R8")&","&request("R9")&","&request("R10")&","&request("R11")&","&request("R12")

rs("adddate")=now()
rs.update
rs.close
set rs=nothing
%>
<td width="580" valign="top" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<TR>
<td class="table-shangxia" bgcolor="#ffffff" height="35"><img src="/jw/images/menu_06.gif" width="41" height="33" align="absmiddle"> <a href="/jw/index.asp">教学系统</a>&gt;&gt;教学评价&gt;&gt;提交建议</td></tr>
</table>
<table border="0" cellspacing="2" cellpadding="1" align="center" width="500">
<tr> 
<td align="center" height="35">
<font color="#FF0000">教学评价成功,感谢你的参与!</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--#include file="../inc/end.asp"-->

⌨️ 快捷键说明

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