?? edit_homework.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%const need_purview=2%>
<!--#include file="../localhost.asp"-->
<!--#include file="show_error.asp"-->
<!--#include file="../purview.asp"-->
<!--#include file="conn.asp"-->
<%response.buffer=true%>
<%
id=request.querystring("id")
if not isnumeric(id) then
call error("非法參數!")
call Iserror()
response.end
else
call opendb()
set rs=conn.execute("select * from homework where id=" & id)
if rs.eof then
call closers()
call closedb()
call error("非法參數!")
call Iserror()
response.end
else
array_homework=rs.getrows()
call closers()
call closedb()
end if
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無標題文檔</title>
<link href="../eric.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style3 {color: #FFFFFF; font-weight: bold; font-size: 14px; }
-->
</style>
</head>
<body>
<form name="form1" method="post" action="admin_check.asp?action=edit_homework&id=<%=id%>">
<table width="600" border="0" align="center" cellpadding="4" cellspacing="1" id="table_01">
<tr>
<td width="163" class="white_bold_blue">布置作業:</td>
<td width="237" class="white_bold_blue"> </td>
<td width="172" class="white_bold_blue">說明</td>
</tr>
<tr>
<td>作業名稱:</td>
<td><%response.write array_homework(2,0):rem 顯示第3列第1行的數據%></td>
<td>如:圓弧連接</td>
</tr>
<tr>
<td>當前是否允許上傳作業:</td>
<td><input name="is_upload" type="radio" value="1" <%if array_homework(4,0) then response.write "checked"%>>
允許上傳
<input type="radio" name="is_upload" value="-1" <%if not array_homework(4,0) then response.write "checked"%>>
不允許上傳</td>
<td>該功能可以用在限制時段交作業</td>
</tr>
<tr>
<td>面向的對象:</td>
<td><%response.write array_homework(7,0):rem 作業面向班級%></td>
<td>按住ctrl選擇多個班級</td>
</tr>
<tr>
<td>內容:</td>
<td><textarea name="content" cols="30" rows="8" class="input_textarea_01" id="content"><%response.write array_homework(8,0)%></textarea></td>
<td></td>
</tr>
<tr>
<td>上傳相關文件:</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="3"><span class="red_bold_14pt_font">注意:</span> <table width="500" border="0" align="center" cellpadding="4" cellspacing="1" id="table_02">
<tr>
<td width="16" height="16" align="center" valign="middle" bgcolor="#0099CC" class="style3">1</td>
<td width="464" class="red_12pt_font"> 在添加完成該操作后,系統會創建以此命名的文件夾,請不要隨意改動(如更名,會帶來大量的數據操作!),或者刪除,學生的作業都將提交到該文件夾下面,一旦刪除,則所有該次作業都將刪除,無法恢復,請慎重! </td>
</tr>
<tr>
<td width="16" height="16" align="center" valign="middle" bgcolor="#0099CC" class="style3">2</td>
<td>如果你要布置多個作業,請一個添加完成后,再繼續添加</td>
</tr>
<tr>
<td height="16" align="center" valign="middle" bgcolor="#0099CC" class="style3">3</td>
<td>只用添加了班級才能布置作業給相應的班級</td>
</tr>
<tr>
<td height="16" align="center" valign="middle" bgcolor="#0099CC" class="style3">4</td>
<td>還有什么疑問,可以問系統管理員.</td>
</tr>
<tr>
<td height="16" align="center" valign="middle" bgcolor="#0099CC" class="style3">5</td>
<td class="red_12pt_font">當前版本系統不允許更改作業名稱!</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3" class="center"><input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -