📄 addsubjectwarehouse_four.asp
字号:
<!--#include file ="../include.asp"-->
<%
StartPage "增加考题确认页",2
%>
<!--
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<link rel="stylesheet" type="text/css" href="../default.css">
<BODY leftmargin=150 rightmargin=150 topmargin=30>
<IMG src="../images/title.JPG" border=0>
<hr>
<br>
-->
<%
Subject = Request.Form ("Subject")
Theme = Request.Form ("Theme")
SubjectSelect = Request.Form ("Select")
if SubjectSelect = "1" then
SubjectText = Request.Form ("SubjectText")
SelectOne = Request.Form ("SelectOne")
SelectTwo = Request.Form ("SelectTwo")
SelectThree = Request.Form ("SelectThree")
SelectFour = Request.Form ("SelectFour")
CorrectSelect = Request.Form ("CorrectSelect")
'IntCorrectSelect = CorrectSelect
'IntegerCorrectSelect = cint(IntegerCorrectSelect)
else
SubjectText = Request.Form ("SubjectText")
CorrectSelect = Request.Form ("CorrectSelect")
'Response.Write (SubjectText)
'Response.Write "<br>"
'Response.Write (CorrectSelect)
'Response.End
end if
TableName = Subject + Theme + "表"
%>
<form name ="Next" action ="" method ="post">
<table border="1" cellpadding="0" cellspacing="0" style="BORDER-COLLAPSE: collapse" bordercolor="lightskyblue" width="90%" align=center>
<tr>
<td height=20 bgcolor=LightSkyBlue></td>
</tr>
<tr>
<td align=center>
<table border=0 width="90%">
<tr>
<td colspan=2></td>
</tr>
<tr>
<td align=center colspan=2>
<font size=7 color=LightSkyBlue>管理员增加考题页</font>
</td>
</tr>
<tr>
<td align=left width="30%"><b><font size=4 color=LightSkyBlue>增加流程</font></b></td>
<td>
<%
m_strSubject = "<input type = hidden name = Subject value = "+Subject+">"
Response.Write (m_strSubject)
m_strTheme = "<input type = hidden name = Theme value = "+Theme+">"
Response.Write (m_strTheme)
%>
</td>
</tr>
<tr>
<td align=center><b><font size=4 color=LightSkyBlue>选择科目名</font></b></td>
<td align=center >
<%
Object = Request.Form("Object")
set conn = Server.CreateObject ("adodb.connection")
conn.Open "NetExamine","sa",""
set userconn = Server.CreateObject ("adodb.recordset")
if SubjectSelect = "1" then
sqlstr = "insert into "+TableName+" values ('"+SubjectText+"','"+SelectOne+"','"+SelectTwo+"','"+SelectThree+"','"+SelectFour+"',"+CorrectSelect+")"
else
sqlstr = "insert into "+TableName+" values ('"+SubjectText+"','"+CorrectSelect+"')"
'Response.Write (sqlstr)
'Response.End ()
end if
userconn.Open sqlstr,conn
Response.Write "<font color = LightSkyBlue>您已经成功的增加这一道题,请按下面方式继续</font>"
'userconn.Close()
conn.Close()
%>
</td>
</tr>
<tr>
<td align=center><b><font size=4 color=LightSkyBlue>选择题目名</font></b></td>
<td align=center></td>
</tr>
<tr>
<td align=center><b><font size=4 color=LightSkyBlue>填写内容</font></b></td>
<td align=center><input type ="button" value ="继续增加" onclick ="Check()">
<input type ="button" value ="返回功能首页" onclick ="Check1()"></td>
</tr>
<tr>
<td align=center><b><font size=4 color=LightSkyBlue>增加确认</font></b></td>
<td align=center></td>
</tr>
<tr>
<td colspan=2>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=20 bgcolor=LightSkyBlue></td>
</tr>
</table>
</form>
<%
EndPage
%>
<!--
<br>
<hr>
<center>
<font size=2>
欢迎来到本网站,最佳分辨率:800×600
<br>如果有困难请与我联系:FD_FYY@hotmail.com
</font>
</center>
</BODY>
</HTML>
-->
<script language="javascript">
function Check()
{
document.Next.action = "AddSubjectwarehouse_Three.asp";
document.Next.submit ();
}
function Check1()
{
document.Next.action = "AdminFunction.asp";
document.Next.submit ();
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -