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

<!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/manager.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt; 类别管理 &gt; 类别列表</b></div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="7" align="left">
                分类管理
            </th>
        </tr>
        <tr>
            <td align="left" valign="top" style="width: 140px;">
                栏目名称：
            </td>
            <td style="width: 200px;">
                <asp:TextBox ID="tcname" CssClass="input required" runat="server"></asp:TextBox>
            </td>
            <td style="width: 140px;">
                排&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 序：
            </td>
            <td style="width: 140px;">
                <asp:TextBox ID="torderid" runat="server" CssClass="input required number" size="10"
                    MaxLength="10">0</asp:TextBox>
            </td>
            <td>
                <asp:Button ID="btnadd" runat="server" Text="添加栏目" OnClick="btnadd_Click" />
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <div style="padding-bottom: 10px;">
    </div>
    <asp:Repeater ID="rptSalaryList" runat="server" OnItemCommand="rptSalaryList_ItemCommand"
       >
        <HeaderTemplate>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tr>
                    <th width="7%">
                        编号
                    </th>
                    <th align="center" width="30%">
                        月薪范围
                    </th>
                    <th>
                        排序
                    </th>
                    <th width="150">
                        管理操作
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td align="center">
                    <%#Eval("id") %>
                </td>
                <td width="30%" align="center">
                    <asp:HiddenField ID="txtid" Value='<%#Eval("id") %>' runat="server" />
                    <%#Eval("cname") %>
                </td>
                <td align="center">
                    <%#Eval("orderid") %>
                </td>
                <td align="center">
                    <span>
                        <asp:ImageButton ID="Imageedit" ToolTip="修改" CommandName="Imgedit" ImageUrl="../images/white_edit.png"
                            runat="server" />
                    </span><span>
                        <asp:ImageButton ID="ImgDel" OnClientClick="return confirm( '确定要删除吗？ ');" ToolTip="删除"
                            CommandName="ImgDel" ImageUrl="../images/white_delete.png" runat="server" />
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    </form>
</body>
</html>