📄 compose.asp
字号:
<!--#include file="../../includes/keepHouse.asp"-->
<%
call insureID()
if session("POSITION_ID")>3 then
call noRight()
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
<script language="JavaScript">
function validate(){
var Title = document.FormCompose.Title.value;
var Content = document.FormCompose.Content.value;
if ( Title==""){
alert("标题不能为空!");
return false;
}
if (Content==""){
alert("内容不能为空!");
return false;
}
}
</script>
</head>
<body>
<table border="0" width="100%" height="50" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"></td>
</tr>
</table>
<center>
<form method="POST" name="FormCompose" action="saveCE.asp?action=Compose" onSubmit="javaScript:return validate()">
<table border="0" width="75%" cellspacing="0" cellpadding="0">
<tr>
<td width="5%" bgcolor="#0000FF" height="35" align=left><img border="0" src="../../images/back.gif"></td>
<td width="65%" bgcolor="#0000FF" height="35" align=center><b><font color="#FFFFFF">添加公司通知</font></b></td>
<td width="5%" bgcolor="#0000FF" height="35" align=right><img border="0" src="../../images/Close2.gif"></td>
</tr>
</table>
<table border="1" width="75%" bordercolorlight="#EFEFEF" bordercolordark="#FCFCFC" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" height="30" bgcolor="#FCFCFC" align=right>标 题:
</td>
<td width="60%" height="30" bgcolor="#FCFCFC"><input type="text" name="Title" size="61">
</td>
</tr>
<tr>
<td width="15%" valign="top" bgcolor="#FCFCFC" align=right>内 容:
</td>
<td width="60%" bgcolor="#FCFCFC">
<textarea rows="15" name="Content" cols="60" wrap="VIRTUAL"></textarea>
</td>
</tr>
<tr>
<td width="15%" height="30" bgcolor="#FCFCFC" align=right>作 者:
</td>
<td width="60%" height="30" bgcolor="#FCFCFC"><%=session("PERSON_NAME")%>
</td>
<tr>
<td width="75%" height="50" colspan="2" bgcolor=#EFEFEF align=center>
<input type="submit" value="添 加" name="Submit" class="buttonface">
<input type="reset" value="清 除" name="Clear" class="buttonface">
</td>
</tr>
</table>
</form>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -