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

📄 tijiaook.asp

📁 在线教育
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/conn.asp" -->
<%
tjid=request("id")
zy_cs=trim(request("zy_cs"))
zy_km=request("zy_km")
zy_teacher=request("zy_teacher")
zy_title=request("zy_title")
content=request("content")
zy_studentname=request("username")
zy_studentid=request("userid")
zy_tjtime=now()
sql_pd="select * from tijiao where zy_studentid='"&zy_studentid&"' and zy_cs='"&zy_cs&"' and zy_km='"&zy_km&"'"
Set conn = Server.CreateObject("ADODB.Connection")
conn.open MM_conn_STRING
set rs_pd=conn.execute(sql_pd)
if not rs_pd.eof then
response.write"<script language='jscript'>"
response.write"alert('你已经提交过该作业!');"
response.write"window.location.href='zytj.asp';"
response.write"</script>"
else
set rscat=server.createobject("adodb.recordset")
sql="select * from tijiao" 
rscat.open sql,conn,1,3
rscat.addnew
rscat("tjid")=tjid
rscat("zy_cs")=zy_cs
rscat("zy_km")=zy_km
rscat("zy_teacher")=zy_teacher
rscat("zy_title")=zy_title
rscat("content")=content
rscat("zy_studentname")=zy_studentname
rscat("zy_studentid")=zy_studentid
rscat("zy_tjtime")=now()
rscat.update
rscat.close
set rscat=nothing
end if
%>
<HTML>
<head>
<style type="text/css">
<!--
p{font-size:9pt};
td{font-size:9pt};
li{font-size:9pt};
select{font-size:9pt};
.forms {
	BORDER-RIGHT: #254b03 1px solid; BORDER-TOP: #254b03 1px solid; MARGIN-TOP: auto; MARGIN-BOTTOM: auto; BORDER-LEFT: #254b03 1px solid; WIDTH: 80px; BORDER-BOTTOM: #254b03 1px solid; HEIGHT: 14px; BACKGROUND-COLOR: #ffffff
}
a {color:#0000ff;font-size: 9pt ;text-decoration:none; line-height:13.5pt}
a:hover {text-decoration:none; color:#000000;text-decoration: underline}
-->
.a10 {  font-size: 10.5pt}
.bg {
	background-repeat: no-repeat;
}
</style>
<title>作业提交成功</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv=refresh content="2; url=zytj.asp"></head>

<body leftmargin="0" topmargin="0">
<table width="760" cellpadding="0" cellspacing="0" border="0" align="center">
  
</table>
  
<table width="760" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr> 
      <td><img src="images/top.gif" width="760" height="100"></td>
  </tr>
</table>
  
<table width="760" border="0" cellpadding="0" cellspacing="0" bordercolor="003366" align="center">
  <tr> 
      
  </tr>
</table>
  
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="003366" bgcolor="#EAF2ED">
<tr> 
      <td valign="top">
        <table width="100%" height="438" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="438" align="center" valign="top" ><div align="left" class="bg">                <br>
              <br>                <table width=95% cellspacing=1 cellpadding=5  align=center>
                  <tr align=center>
                    <td colspan=2><b><font color=#cc0000>恭喜,作业提交成功!</font></b></td>
                  </tr>
                  <tr >
                    <td ></td>
                    <td>【2秒后<a href="zytj.asp"><font color=red>返回首页</font></a>】</td>
                  </tr>
                </table
            </div></td>
          </tr>
        </table>      </td>
  </tr>
<tr>
  <td valign="top"><table width="760" border="0" cellpadding="0" cellspacing="0" height="24" bordercolor="003366" align="center">
    <tr>
      <td><div align="center">CopyRight @ 2008</div></td>
    </tr>
  </table></td>
</tr>
</table>
  
</body>
</html>

⌨️ 快捷键说明

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