<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userscore.aspx.cs" Inherits="Kcms.UI.admin.userscore" %>
<!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>
    <title></title>
    <link href="skins/work-style.css" rel="stylesheet" type="text/css" />
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form2" runat="server">
<div class="container">
 <div class="path clearfix"><div class="l"><h4><img src="skins/icon/remarkmanagement_summ.gif" align="absmiddle" />等级方案</h4></div><div class="r"><asp:Literal ID="litAdv" runat="server"></asp:Literal></div></div>
 <div class="mbox clearfix">
  <div class="left">
    <a href="userrank.aspx">等级方案</a>
    <a href="userscore.aspx" class="on">等级积分</a>
  </div>
  <div class="right">
        <table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td width="14%"><b>对应等级</b></td>
  <td><b>最高分值</b></td>
  <td width="12%">&nbsp;</td>
</tr>
            <asp:Repeater ID="rptList" runat="server" onitemcommand="rptList_ItemCommand">
            <ItemTemplate>
<tr onMouseOver="this.className='over'" onMouseOut="this.className=''">
  <td><asp:Literal ID="litRank" runat="server" Text='<%#Eval("rank") %>'></asp:Literal></td>
  <td>
      <asp:TextBox ID="txtScore" runat="server" Text='<%#Eval("score") %>' 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
    </td>
  <td>
      <asp:LinkButton ID="LinkButton1" runat="server" CommandName="edit" CausesValidation="False">修改</asp:LinkButton>　<asp:LinkButton Visible="<%#(Container.ItemIndex+1)==recordCount%>" ID="LinkButton2" runat="server" CommandName="del" CausesValidation="False" OnClientClick="return confirm('确定删除?')">删除?</asp:LinkButton></td>
</tr>
            </ItemTemplate>
            </asp:Repeater>
<tr>
  <td>
      <asp:HiddenField ID="hidRank" runat="server" />
      </td>
  <td>
      <asp:TextBox ID="txtScore" runat="server" Columns="5" 
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
          ControlToValidate="txtScore" Display="Dynamic" ErrorMessage="*" 
          SetFocusOnError="True"></asp:RequiredFieldValidator>
      　<asp:Button ID="Button1" runat="server" CssClass="btn0" Text="添加" 
          onclick="Button1_Click" />
    </td>
  <td> </td>
</tr>
</table>
  </div>
 </div>
</div>
</form>
</body>
</html>