?? postnews.asp
字號(hào):
<!--#include file="conn.asp"-->
<%
if session("adminname")="" then
response.redirect "relogin.asp"
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>系統(tǒng)管理 | 新聞管理 | 添加新聞</title>
<link rel="stylesheet" type="text/css" href="css.css">
<script language="javascript">
function openeditor(){
if (navigator.appName!="Microsoft Internet Explorer")
alert("此功能Netscape用戶不能使用!")
else
{
newwin=window.open('editor/editor.html','','width=544,height=294');
newwin.focus();
}
}
function submitit()
{
var myform=document.newsform;
if (myform.title.value=="")
{
alert("新聞標(biāo)題不能為空!");
return false;
}
else
{
if (myform.text.value=="")
{
alert("新聞?wù)牟荒転榭眨?quot;);
return false;
}
else
{
return true;
}
}
}
</script>
</head>
<body>
<table cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="25">
<tr>
<td width="100%">當(dāng)前位置: 系統(tǒng)管理 >
<a href="adminnews.asp">新聞管理</a> <span lang="en-us">></span> 新聞發(fā)布</td>
</tr>
</table>
<center> <form name="newsform" method="POST" action="savenews.asp" onsubmit="return submitit();">
<table border="1" cellspacing="1" style="border-collapse: collapse" id="AutoNumber1" bordercolor="#799AE1" width="481">
<tr>
<td width="86" align="right" height="30" bgcolor="#799AE1" bordercolor="#799AE1">
<b><font color="#FFFFFF">新聞標(biāo)題:</font></b></td>
<td width="385">
<input type="text" name="title" size="63" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"></td>
</tr>
<tr>
<td align="right" height="240" bgcolor="#799AE1" bordercolor="#799AE1" width="86"><b>
<font color="#FFFFFF">新聞?wù)模?lt;/font></b><p align="center"> </td>
<td width="385">
<textarea rows="15" name="text" cols="52" class="inputnormalleft" ></textarea></td>
</tr>
<tr>
<td width="475" cols="2" colspan="2">
<p align="center"><input type="submit" value="提交" name="B1" class="s02"> <span lang="en-us">
</span> <input type="reset" value="重置" name="B2" class="s02"> <span lang="en-us">
</span> <input type="button" value="返回" name="B3" class="s02" onclick="window.location='adminnews.asp'"></td>
</tr>
</table> </form>
</center>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -