<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>CMS4J </title>
<link href="../skin/blue/css/oper_area_style.css" rel="stylesheet" type="text/css">
</head>
<script src="../../js/common.js"></script>

<body>
<form action="../../do?action=addAnnounce" method="post" name="cms4jForm" id="cms4jForm">
  <table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
    <tr height="12"> 
      <td width="3%"><img src="../../images/admin/oper_table_up_left.gif" width="26" height="12"></td>
      <td width="92%" background="../../images/admin/oper_table_up_bg.gif" height="12"></td>
      <td width="5%"><img src="../../images/admin/oper_table_up_right.gif" width="26" height="12"></td>
    </tr>
    <tr> 
      <td colspan="3"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="5" background="../../images/admin/oper_table_left_bg.gif"><img src="../../images/admin/oper_table_left_bg.gif" width="5" height="2"></td>
            <td background="../../images/admin/oper_table_bg.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  
                <td class="title_bar">添加新公告</td>
                </tr>
                <tr height="4"> 
                  <td height="4"></td>
                </tr>
              </table>
              
            <table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_border_bg">
              <tr>
                <td height="22" align="right" class="list_left_title">公告标题：</td>
                <td height="22" colspan="3" class="list_cell_bg">
                  <input name="TITLE" type="text" class="form_input" id="TITLE" size="52">
                  <span class="test_must">*</span></td>
              </tr>
              <tr> 
                <td width="17%" height="22" align="right" class="list_left_title">所属分类：</td>
                <td width="29%" height="22" class="list_cell_bg">
                  <select name="CLASS_ID" class="form_select" id="CLASS_ID">
                   <cms4j:announce_class filter="all">
				    <option value="<%=announce_class.getID()%>"><%=announce_class.getNAME()%></option>
				   </cms4j:announce_class>
                                    </select>
               </td>
                <td width="22%" align="center" class="list_cell_bg"><span class="list_left_title">类 别:</span></td>
                <td width="32%" class="list_cell_bg"><input name="ANNOUNCE_TYPE" type="radio" value="text" checked>
文字
  <input type="radio" name="ANNOUNCE_TYPE" value="popwin">
弹出窗口 </td>
              </tr>
              <tr>
                <td height="22" align="right" class="list_left_title">内容：</td>
                <td height="22" colspan="3" class="list_cell_bg">
					<textarea name="CONTENT" class="form_textarea" id="CONTENT" style="display:none"></textarea>
          			<iframe ID="editor" src="../editor/editor.htm" frameborder=1 scrolling=no width="98%" height="405"></iframe>  
                  </td>
              </tr>
              <tr>
                <td height="22" align="right" class="list_left_title">显示时间段：</td>
                <td height="22" colspan="3" class="list_cell_bg"><input name="BEGIN_DATE" type="text" class="form_input" id="BEGIN_DATE" size="20">
至 
  <input name="END_DATE" type="text" class="form_input" id="END_DATE" size="20"></td>
              </tr>
              <tr> 
                <td height="22" colspan="4" align="right" class="table_oper_tr"><input type="submit" name="Submit" value="添 加"> 
                  <input type="button" name="Submit2" value="取 消" onClick="location.href='announce_list.jsp'"> </td>
              </tr>
            </table></td>
            <td width="5" background="../../images/admin/oper_table_right_bg.gif"><img src="../../images/admin/oper_table_right_bg.gif" width="5" height="2"></td>
          </tr>
        </table></td>
    </tr>
    <tr height="13"> 
      <td><img src="../../images/admin/oper_table_down_left.gif" width="26" height="13"></td>
      <td width="100%" height="13" background="../../images/admin/oper_table_down_bg.gif"></td>
      <td align="right"><img src="../../images/admin/oper_table_down_right.gif" width="26" height="13"></td>
    </tr>
  </table>
  <table width="717" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td align="center">&nbsp;</td>
  </tr>
</table>
</form>
</body>
</html>
