compose.asp

来自「功能强大的办公自动化系统 具有前后台管理系统 具有很好的应用性」· ASP 代码 · 共 65 行

ASP
65
字号
<!--#include file="../../includes/keepHouse.asp"-->
<%
call insureID()
%>
<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=="" && Content==""){
       alert("您没有写入任何记事!");
       return false;
     }
   }
</script>
</head>

<body>
<table border="0" width="100%" height="40" cellspacing="0" cellpadding="0">
 <tr>
  <td width="100%"></td>
 </tr>
</table>
<center>
<form method="POST" name="FormCompose" action="saveCED.asp" 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"><%=session("PERSON_NAME")%>的个人记事本(撰写中)</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%" align="right" valign="top" bgcolor="#FCFCFC">标&nbsp;题:</td>                       
<td width="60%" bgcolor="#FCFCFC">
<input type="text" name="Title" size="61" value="无标题">
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" bgcolor="#FCFCFC">内&nbsp;容:</td>                       
<td width="85%" bgcolor="#FCFCFC"><textarea rows="10" name="Content" cols="60" wrap="VIRTUAL">无内容</textarea></td>
</tr>
<tr>
<td width="75%" align="center" height="50" colspan="2" bgcolor=#efefef>
<input type="hidden" value="Compose"  name="action">
<input type="submit" value=" 添 加 " name="Submit" class="buttonface">&nbsp;&nbsp;&nbsp;   
<input type="reset" value=" 清 除 "  name="Clear" class="buttonface">
</td>
</tr>
</table>
</form>
</center>
</body>
</html>





⌨️ 快捷键说明

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