<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="YC_Announce.aspx.cs" Inherits="YCHR.Web.admin.Sys.YC_Announce" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>发布资讯</title>
    <link rel="stylesheet" type="text/css" href="../images/style.css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/messages_cn.js"></script>
    <script type="text/javascript" src="../js/jquery.form.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript" src="../js/singleupload.js"></script>
     <script type="text/javascript" src="../xheditor/xheditor.js"></script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
            //显示关闭高级选项
            $("#upordown").toggle(function () {
                $(this).text("关闭高级选项");
                $(this).removeClass();
                $(this).addClass("up-01");
                $(".upordown").show();
            }, function () {
                $(this).text("显示高级选项");
                $(this).removeClass();
                $(this).addClass("up-02");
                $(".upordown").hide();
            });
        });
    </script>
    <style type="text/css">
        .style1
        {
            width: 8%;
        }
    </style>
</head>
<body style="padding:10px;">
    <form id="form1" runat="server">
    <div class="navigation">
      <span class="back"><a href="List.aspx">返回列表</a></span><b>您当前的位置：首页 &gt; 系统设置 &gt; 发布公告</b>
    </div>
    <div style="padding-bottom:10px;"></div>
       
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" >
 
  <tr>
    <td height=25 class="pl20"><b>管理选项：  <a href="YC_Announce_List.aspx">公告列表</a> | [<a href="javascript:location.reload()">刷新页面</a>]</td>
  </tr>
</table>
 
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">发布资讯</th>
        </tr>
        <tr>
            <td align="right" class="style1">公告标题：</td>
            <td width="85%">
            <asp:TextBox ID="txtTitle" runat="server" CssClass="input w380 required" 
            maxlength="250" minlength="3" HintTitle="发布的文章标题" HintInfo="控制在100个字数内，标题文本尽量不要太长。"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top" class="style1">公告内容：</td>
            <td>
                <asp:TextBox ID="Textcontent" runat="server" Height="450px" 
                    TextMode="MultiLine"  CssClass="input xheditor-mini"
                    Width="768px"></asp:TextBox>
            </td>
        </tr>
<%--        <tr>
            <td align="right" class="style1">发布到：</td>
            <td>
                <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">临安人才网</asp:ListItem>
                    <asp:ListItem Value="2">乐清人才网</asp:ListItem>
                    <asp:ListItem Value="3">湖州人才网</asp:ListItem>
                    <asp:ListItem Value="4">金华人才网</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>--%>
        <tr>
            <td align="right" class="style1">有效期：</td>
            <td>
                <asp:TextBox ID="txtvaliditytime" runat="server" Width="54px" HintTitle="从加入时间算你填写的数字就是有效天数" HintInfo="纯数字，本公告从发布之日起多少天有效。"  CssClass="input  required digits"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style1">浏览次数：</td>
            <td>
            <asp:TextBox ID="txtClick" runat="server" CssClass="input required number" size="10" 
            maxlength="10" HintTitle="公告的浏览次数" HintInfo="纯数字，本公告被阅读的次数。">0</asp:TextBox>
            </td>
        </tr>
    </table>
    <div style="margin-top:10px;text-align:center;">
   <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" onclick="btnSave_Click" 
        />
  &nbsp;
  <input name="重置" type="reset" class="submit" value="重置" />
</div>  
    </form>
</body>
</html>

