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

📄 post.html

📁 基于ASP的OA办公系统有BBS
💻 HTML
字号:
<HTML>
<HEAD>
<title>NET-OA</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> 



<script>
if (self==top){self.location.href="../../default.asp"};
function CheckForm() {
	var errorMsg = "";
		if (document.form1.tTitle.value==""){
			errorMsg += "\n贴子主题 \t- 贴子主题不能为空";
		}
		if (document.form1.tContent.value==""){
			errorMsg += "\n贴子内容 \t- 贴子内容不能为空";
		}
		if (errorMsg != ""){
			msg = "_____________________________________________________\n\n";
			msg += "此信息不能提交,因为有一些必填内容你还没有填写.\n";
			msg += "请按要求把内容填完再提交.\n";
			msg += "______________________________________________________\n\n";
			msg += "以下内容要求填写: -\n";
			errorMsg += alert(msg + errorMsg + "\n");
			return false;
		}
}
</script>
<link rel="stylesheet" href="../../inc/style.css" type="text/css">
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" leftmargin="2" topmargin="2" oncontextmenu="return false" scroll="no">
<table id=t1 width="100%" border="0" cellspacing="0" cellpadding="0" class="borderon">
 <tr>
 <td height="21">&nbsp;发布/编辑帖子<span id="admin"></span></td>
 </tr>
</table>
<div style="position:relative; width:100%; height:expression(body.offsetHeight-t1.offsetHeight-2); z-index:1; left: 0px; top: 0px; overflow-x:hidden;overflow-y:scroll;"> 
 <!--Net-OA1--></div>
<!--Net-OA2-->		<form name="form1" method="post" action="post.asp" onSubmit="return CheckForm();">
 <table width="100%" border="1" bordercolor="#999999" cellspacing="0" cellpadding="2" align="center">
		<tr bgcolor="#CCCCCC"><td colspan="2">发布/编辑贴子</td></tr>
		<tr bgcolor="#EEEEEE"><td align="right">贴子主题:</td><td>
		<input type="hidden" name="T" value="<!--Net-OA3-->">
		<input type="text" name="tTitle" size="40" maxlength="250" value="<!--Net-OA4-->">
		</td></tr>
		<tr><td align="right">贴子内容:</td><td>
		<textarea name="tContent" cols="54" rows="8"><!--Net-OA5--></textarea>
		</td></tr>
 	<tr bgcolor="#CCCCCC"><td align="center" colspan="2">
		<input type="hidden" name="fID" value="<!--Net-OA6-->">
		<input type="hidden" name="tID" value="<!--Net-OA7-->">
 <input type="submit" name="S1" value=" 提交 ">
 <input type="button" name="S2" value=" 取消 " onclick="history.back();">
 	</td></tr></table></form>
		<!--Net-OA8--></body>
</html>

⌨️ 快捷键说明

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