?? newsadd.asp
字號(hào):
<!--#include virtual="/_inc/GeneralADO.asp"-->
<%
if session("userid")="" then
response.write "<SCRIPT LANGUAGE='JavaScript'>"&chr(13)
response.write "<!--"&chr(13)
response.write "parent.location.href=""/error/error.htm"""&chr(13)&chr(13)
response.write "//-->"&chr(13)
response.write "</SCRIPT>"&chr(13)
end if
dim page
page=request.querystring("page")
%>
<html>
<head>
<title>添加新聞</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.unnamed1 { font-size: 9pt; color: #000000; text-decoration: none}
.unnamed2 { font-size: 9pt; color: #666666}
-->
</style>
<link rel="stylesheet" href="<%=session("css")%>/person.css" type="text/css">
<SCRIPT LANGUAGE="vbscript">
function checkdate(date1)
if trim(date1)="" then
checkdate=1
end if
end function
</SCRIPT>
<script language="JavaScript">
<!--
function message()
{//alert(document.newfile.title.value.length);
//alert(document.newfile.begindate.value);
// sendit(o2)
if (document.news.topic.value==""){
alert("請(qǐng)輸入主題");
document.news.topic.focus();
return false;
}
var date1,k
date1=document.news.topic.value
k=checkdate(date1)
if(k==1)
{
alert("主題名稱不能全為空格!");
document.news.topic.focus();
return false;
}
return true;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="98%" border="0" cellspacing="0" cellpadding="0" height="99%" class="unnamed1">
<tr>
<td width="85%" valign="top" align="center" height="100%">
<table width="96%" border="0" cellspacing="0" cellpadding="0" background="/images/image--banyuan--cccccc--2.gif" class="unnamed1" align="center">
<tr>
<td width="10%"><img width="8" height="22" src="/images/image--banyuan--cccccc.gif"><img width="15" height="22" src="/images/image--banyuan--cccccc--6.gif"></td>
<td width="84%">公司動(dòng)態(tài) -->添加新聞</td>
<td align="right" width="6%"><img width="15" height="22" src="/images/image--banyuan--cccccc--6.gif"><img width="6" height="22" src="/images/image--banyuan--cccccc--.gif"></td>
</tr>
</table>
<br>
<form name="news"action="addnews.asp?page=<%=page%>" method="post" onsubmit="javascript:return message()">
<table width="500" border="0" cellspacing="0" cellpadding="0" class="unnamed1">
<tr>
</tr>
<tr>
<td align="left" bgcolor="#EFEFEF">主題:<input type="text" name="topic" size="25"style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid"></td>
</td>
</tr>
<tr>
<td colspan="2" height="121" align="left" bgcolor="#EFEFEF">內(nèi)容:
<textarea name="content" cols="100" rows="38" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" ></textarea>
</td>
</tr>
<tr><td> </td></tr>
<tr>
<td align="center" height="41">
<input type="submit" name="send" value="提交">
<input type="reset" name="reset" value="重置">
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table>
<tr>
<td align="center"><a href="#" onclick="history.back()"><font face="Arial, Helvetica, sans-serif" color="#999966">返回</font></a></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -