?? ad.asp
字號:
<html>
<head>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function areyousure() {
return check();
}
function check()
{
var yjform=document.addnews;
if(yjform.leibie.options[yjform.leibie.selectedIndex].value=='Z')
{
alert("請選擇類別!");
yjform.leibie.focus();
return false;
}
if(yjform.biaoti.value.length<=0)
{
alert("請錄入文章的標題!^_^");
yjform.biaoti.focus();
return false;
}
if(yjform.gjz1.value.length<=0)
{
alert("請錄入關鍵字1!");
yjform.gjz1.focus();
return false;
}
if(yjform.gjz2.value.length<=0)
{
alert("請錄入關鍵字2!");
yjform.gjz2.focus();
return false;
}
if(yjform.neirong.value.length<=0)
{
alert("請錄入新聞的具體內容?");
yjform.neirong.focus();
return false;
}
if(yjform.neirong.value.length>=8000)
{
alert("錄入內容太長,請更正!");
yjform.neirong.focus();
return false;
}
}
//-->
</SCRIPT>
<title>新聞提交后臺管理程序</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../html/3508.css">
<style type="text/css">
<!--
.newstype { font-size: 12px; color: #003366; background-color: #FFFFEF}
.title { font-size: 16px; font-weight: bold; color: #003366; background-color: #FFFFF8}
.botton { font-size: 12px; color: #000000; background-color: #FFFFF8}
-->
</style>
</head>
<body bgcolor="#CCFFFF">
<div align="center"><font size="5">新聞發布單<br>
</font></div>
<div align="right"> <a href="admrevise0.htm">修改新聞</a></div>
<form method="post" action="addnews.asp" name="addnews" onsubmit="return areyousure()">
<table width="580" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="80">類別</td>
<td width="517">
<select name="leibie" class="newstype">
<option value="Z">類別</option>
<option value="A">娛樂</option>
<option value="B">游戲</option>
<option value="C">體育</option>
<option value="D">軍事</option>
<option value="E">科技</option>
<option value="F">房產</option>
<option value="G">財經</option>
<option value="H">教育</option>
<option value=I">笑話</option>
<option value="J">天氣</option>
<option value="K">旅游</option>
<option value="L">其他</option>
</select>
</td>
</tr>
<tr>
<td width="80">標題</td>
<td width="517">
<input type="text" name="biaoti" size="60" class="newstype" maxlength="60">
</td>
</tr>
<tr>
<td width="80">附標題</td>
<td width="517">
<input type="text" name="fubiaoti" size="60" class="newstype" maxlength="60">
</td>
</tr>
<tr>
<td width="80">關鍵字1:</td>
<td width="517">
<input type="text" name="gjz1" size="15" class="newstype" maxlength="10">
</td>
</tr>
<tr>
<td width="80">關鍵字2:</td>
<td width="517">
<input type="text" name="gjz2" size="15" class="newstype" maxlength="10">
</td>
</tr>
<tr>
<td width="80">摘自:</td>
<td width="517">
<input type="text" name="zhaizi" size="30" class="newstype" maxlength="20">
</td>
</tr>
<tr>
<td width="80">作者:</td>
<td width="517">
<input type="text" name="zuozhe" size="16" class="newstype" maxlength="8">
</td>
</tr>
<tr>
<td colspan="2">具體內容:</td>
</tr>
<tr align="center">
<td colspan="2">
<textarea name="neirong" cols="80" rows="20" class="newstype"></textarea>
</td>
</tr>
<tr align="center" bgcolor="#006600">
<td colspan="2" height="1"></td>
</tr>
<tr align="center" valign="bottom">
<td colspan="2" height="40">
<input type="submit" name="Submit" value="新聞提交" class="botton">
<input type="reset" name="Submit2" value="內容清除" class="botton">
<br>
</td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -