?? gonggao_form.asp
字號:
<%
if session("cjuser")="" and session("pwdd")="" then
response.write"<SCRIPT language=JavaScript>alert('你沒有登錄,無權(quán)進(jìn)入!');"
response.write"this.location.href='error.htm';</SCRIPT>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
function check()
{
if(frm1.title.value == "")
{
alert("您忘了填寫標(biāo)題了!");
return false;
}
if(frm1.content.value == "")
{
alert("你沒有填寫內(nèi)容!");
return false;
}
}
</script>
<style type="text/css">
<!--
.zz {
font-size: 10pt;
}
-->
</style>
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="100">
<table width="57%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="295"><form name="frm1" method="post" action="gonggao.asp" >
<table width="100%" height="0" border="0" cellpadding="0" cellspacing="1" ">
<tr class="xiangxi">
<td colspan="2" >添加公告(不能超過200字)</td>
</tr>
<tr bgcolor="#FFFFFF" class="zz">
<td width="14%" height="43" class="font12"> 標(biāo)題:</td>
<td width="86%">
<input name="title" type="text" id="title" size="32"></td>
</tr>
<tr bgcolor="#FFFFFF" class="zz">
<td height="161" align="center" valign="middle" class="font12">公<br>
<br>
告<br>
<br>
內(nèi)<br>
<br>
容</td>
<td>
<textarea name="content" cols="30" rows="10" id="content"></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">
<input type="submit" name="Submit" onClick="return check();"value="確定">
<input type="reset" name="Submit2" value="重置">
</td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -