📄 admin_editnotice.txt
字号:
<script language="JavaScript">
function doSubmit(myform){
if (myform.d_title.value==""){
alert("请输入标题!");
return false;
}
if (myform.cupid.value=="0"){
alert("请选择类型!");
return false;
}
if (myform.chapter.value=="0"){
alert("请选择章节!");
return false;
}
if (eWebEditor2.getHTML()==""){
alert("内容不能为空!");
return(false);
}
}
</script>
<form action='admin_homework.asp?action=save' method='post' name='myform' onsubmit="javascript:return doSubmit(this);">
<table width=600 border=0 align=center cellspacing='0' cellpadding='0'>
<tr>
<td height='35' width=70 align=center>标题:</td>
<td align=left><input type='text' name='d_title' value='{topicStr}' size='50'></td>
</tr>
<tr>
<td height='35' align=center>类型:</td>
<td align=left><select name="cupid" size="1">
<option value="0" {0}>=========</option>
<option value="1" {1}>课后作业</option>
<option value="2" {2}>实例分析</option>
</select></td>
</tr>
<tr>
<td height='35' align=center>章节:</td>
<td align=left><select name="chapter" size="1">
<option value="0" {chapter0}>=========
<option value="1" {chapter1}>第一章<option value="2" {chapter2}>第二章<option value="3" {chapter3}>第三章
<option value="4" {chapter4}>第四章<option value="5" {chapter5}>第五章<option value="6" {chapter6}>第六章
<option value="7" {chapter7}>第七章<option value="10" {chapter10}>综合题
</select></td>
</tr>
<tr>
<td height='35' align=center>作者:</td>
<td align=left><input type='text' name='author' value='{theAuthor}' size='20'></td>
</tr>
<tr>
<td height='35' align=center>内容:</td>
<td> </td>
</tr>
<tr>
<td colspan=2 align='center'><textarea name='d_say' style='display:none;'>{theContent}</textarea>
<iframe ID='eWebEditor2' SRC='../ewebeditor/ewebeditor.asp?id=d_say&style=s_light' frameborder='0' scrolling='no' width='550' HEIGHT='350'></iframe></td>
</tr>
</table>
<p>
<input type="hidden" name="action" value="{theAction}">
<input type="hidden" name="id" value="{theID}">
<input type=submit NAME='SUBMIT' VALUE='. 确 定 发 表 .' onclick='return checkform(this.form)'><input type=reset name=btnReset value=' 重 填 '></p>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -