?? add.asp
字號(hào):
<!--#include file="../includes/db.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>辦公自動(dòng)化系統(tǒng)</title>
<script language="JavaScript">
function validate(){
var Title = document.FormCompose.Title.value;
var Content = document.FormCompose.Content.value;
if ( Title==""){
alert("標(biāo)題不能為空!");
return false;
}
if (Content==""){
alert("內(nèi)容不能為空!");
return false;
}
}
</script>
<link href="../Includes/Style.css" rel="stylesheet" type="text/css">
</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="FormAdd" action="save.asp?action=Add" onSubmit="return validate()">
<table width="75%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5A8BCE">
<tr>
<td width="65%" bgcolor="#E6F7FF" height="35" align=center><b><font color="#000000">添加資訊</font></b></td>
</tr>
</table>
<table width="75%" border="0" cellpadding="0" cellspacing="1" bordercolorlight="#EFEFEF" bordercolordark="#FCFCFC" bgcolor="#5A8BCE">
<tr>
<td width="15%" height="30" bgcolor="#FCFCFC" align=right>標(biāo) 題:
</td>
<td width="60%" height="30" bgcolor="#FCFCFC"> <input name="Title" type="text" class="smallInput" size="61">
</td>
</tr>
<tr>
<td width="15%" valign="top" bgcolor="#FCFCFC" align=right>內(nèi) 容:
</td>
<td width="60%" bgcolor="#FCFCFC"> <textarea name="Content" cols="60" rows="15" wrap="VIRTUAL" class="smallInput"></textarea>
</td>
</tr>
<tr>
<td width="15%" height="30" bgcolor="#FCFCFC" align=right>添加者:
</td>
<td width="60%" height="30" bgcolor="#FCFCFC"> <%=session("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>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -