<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_NewsClass_Add.aspx.cs" Inherits="YCHR.Web.admin.News.YC_NewsClass_Add" %>
<%@ Register src="../ascx/classManage.ascx" tagname="classManage" tagprefix="uc1" %>
<!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/cursorfocus.js"></script>
<script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
    </script>
<style type="text/css">
.style1 {
	width: 15%;
}
</style>
</head>
<body style="padding:10px;">
<form id="form1" runat="server">
  <div class="navigation"> <span class="back"><a href="AdvList.aspx">返回列表</a></span><b>您当前的位置：管理中心 &gt; 资讯管理 &gt; 增加新闻栏目</b> </div>
  <div class="spClear"></div>
  <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" >
    <tr>
      <td height="25" class="pl20"><b>管理选项： <a href="YC_NewsClass_Add.aspx">新增栏目</a>| <a href="YC_NewsClass_List.aspx">栏目管理</a>| <a href="YC_News_Add.aspx">添加资讯</a> | <a href="YC_News_List.aspx">资讯管理</a> |[<a href="javascript:location.reload()">刷新页面</a>]</b></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="75%"><asp:TextBox ID="txtcname" runat="server" CssClass="input required" size="30" 
            maxlength="10"  ></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right" class="style1">英文名：</td>
      <td width="75%"><asp:TextBox ID="txtename" runat="server" CssClass="input required" size="30" 
            maxlength="10"  ></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right" class="style1">所属频道：</td>
      <td><asp:DropDownList ID="DropDownList1" CssClass="required" runat="server">
          <asp:ListItem>请选择频道</asp:ListItem>
          <asp:ListItem Value="1">职场资讯</asp:ListItem>
          <asp:ListItem Value="2">招聘会</asp:ListItem>
          <asp:ListItem Value="3">求职指导</asp:ListItem>
          <asp:ListItem Value="4">HR专区</asp:ListItem>
        </asp:DropDownList></td>
    </tr>
    <tr>
      <td align="right" class="style1">排序：</td>
      <td><asp:TextBox ID="txtOrder" runat="server" CssClass="input required number" size="5"  Text="0"
            maxlength="10"  ></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;&nbsp;
    <input type="reset" name="button" id="btnReset" value="重 置" class="submit" />
  </div>
</form>
</body>
</html>