?? addnotice.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="conn.asp" -->
<%
if (session("username")="") then
response.Redirect("index.asp")
end if
%><html>
<head>
<title>修改欄目</title>
<link rel="stylesheet" href="css/admin.css" type="text/css">
</head>
<body>
<script language="JavaScript">
<!--
function check_null()
{
if(document.addnotice.title.value=="")
{
alert("請輸入消息的標題!");
return false;
}
if(document.addnotice.content.value=="")
{
alert("請輸入消息的內容!");
return false;
}
return true;
}
-->
</script>
<p> </p>
<p> </p>
<form action="insertnotice.asp" method="post" name="addnotice" onsubmit="javascript: return check_null();">
<table width="595" height="2%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" align="center"><font color="#FFFFFF" size="+1">添加最新消息</font>
</td>
</tr>
</table>
<table width="631" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr valign="middle" bgcolor="#799ae1">
<td width="212" align="center"><font color="#FFFFFF">標題</font></td>
<td width="369" align="center"><font color="#FFFFFF">內容</font></td>
</tr>
<tr>
<td valign="top"> <div align="center"><br>
<input name="title" type="text" id="title" size="40">
</div></td>
<td>
<textarea name="content" cols="50" rows="10" id="content"></textarea>
</td>
</tr>
</table>
<table width="632" height="7%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td width="627" height="33" align="center">
<input type="submit" name="Submit" value="添加">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -