<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->
<!-- #include file="include/checksession.asp" -->
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" href="include/e1.css" type="text/css">
</HEAD>
<script language="javascript">
	function check()
	{
		if(form1.infotitle.value=="")
		{
			alert("至少需要标题！");
			document.form1.infotitle.focus();
			return false;
		}
		else
		{
			return true;
			document.form1.submit();
		}

	}
</script>
<BODY>     
 <form name="form1" method="post" action="Infoaddcheck.asp" onsubmit="return check();">
  <table align="center" bgcolor="#AAAAAA" border="0" cellpadding="0" cellspacing="0" width="90%"><tr><td >
  <table width="100%" border="0" cellpadding="5" cellspacing="1">
          <tr class="tdTitle"> 
            <td height="46" colspan="3"> 
              <div align="center"><strong><font color="#FFFFFF" size="4">发 布 公 
                告 </font></strong></div></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="19%">&nbsp;</td>
      <td width="64%"><div align="left">标 题： 
                <input name="infotitle" type="text" size="50" maxlength="40">
        </div>
          
        <p align="left">类别： 
          <select name="infoclassname" size="1">
            <option value="0" selected>公告</option>
          </select>
        </p>
              <p align="left">公告内容：<br>
          <textarea name="infocontent" cols="50"  rows="10"></textarea>
        </p>      <p align="left">增加时间： 
                <input name="createdatetime" type="text" size="50" maxlength="40" value="<% =year(now)&"-"&month(now)&"-"&day(now) %>"></p>
        <p align="left">
          <input type="checkbox" name="IsFocus" value="1">
                重要公告</p>
        <p align="center"> 
          <input type="submit" name="Submit" value="发布">
          &nbsp;&nbsp;&nbsp; 
          <input type="reset" name="Submit2" value="重填">
        </p>
        </td>
      <td width="17%">&nbsp;</td>
    </tr>
  </table>
</td></tr></table>
</form>
<P>&nbsp; </P>

</BODY>
</HTML>
