【php开源代码栏目提醒】:网学会员--在 php开源代码编辑为广大网友搜集整理了:addgonggao.php绩等信息,祝愿广大网友取得需要的信息,参考学习。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加公告</title>
<link rel="stylesheet" type="text/css" href="css/font.css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<script language="javascript">
function chkinput(form)
{
if(form.title.value=="")
{
alert("请输入公告主题!");
form.title.select();
return(false);
}
if(form.content.value=="")
{
alert("请输入公告内容!");
form.content.select();
return(false);
}
return(true);
}
</script>
<body topmargin="0" leftmargin="0" bottommargin="0">
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" bgcolor="#FFCF60"><div align="center" class="style1">添加公告</div></td>
</tr>
<tr>
<td height="175" bgcolor="#666666"><table width="750" height="175" border="0" align="center" cellpadding="0" cellspacing="1">
<form name="form1" method="post" action="savenewgonggao.php" onSubmit="return chkinput(this)">
<tr>
<td width="80" height="25" bgcolor="#FFFFFF"><div align="center">公告主题:</div></td>
<td width="667" bgcolor="#FFFFFF"><div align="left"><input type="text" name="title" size="50" class="inputcss"></div></td>
</tr>
<tr>
<td height="125" bgcolor="#FFFFFF"><div align="center">公告内容:</div></td>
<td height="125" bgcolor="#FFFFFF"><div align="left"><textarea name="content" rows="8" cols="70"></textarea>
</div></td>
</tr>
<tr>
<td height="25" colspan="2" bgcolor="#FFFFFF"><div align="center"><input type="submit" value="添加" class="buttoncss"> <input type="reset" value="重写" class="buttoncss"></div></td>
</tr>
</form>
</table></td>
</tr>
</table>
</body>
</html>