<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userEdit.aspx.cs" Inherits="Kcms.UI.admin.userEdit" %>
<%@ Register assembly="PageNavigator" namespace="KcNavigator" tagprefix="Kc" %>
<!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>
    <script src="../scripts/public.js" type="text/javascript"></script>
    <script src="../inc/My97DatePicker/WdatePicker.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/friends_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="user.aspx">用户列表</a>
    <a href="userEdit.aspx" class="on">添加用户</a>
  </div>
  <div class="right">
<table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td width="20%">用户名：<asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
          runat="server" ControlToValidate="txtUserName" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
    </td>
  <td>
      <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
    </td>
</tr>
<tr>
  <td>密码：</td>
  <td><asp:TextBox ID="txtUserPass" runat="server" TextMode="Password"></asp:TextBox>不修改就留空<asp:HiddenField 
          ID="hidUserPass" runat="server" />
    </td>
</tr>
<tr>
  <td>性别：</td>
  <td>
      <asp:RadioButtonList ID="rdoSex" runat="server" RepeatDirection="Horizontal" 
          RepeatLayout="Flow">
          <asp:ListItem Value="1">男</asp:ListItem>
          <asp:ListItem Value="2">女</asp:ListItem>
          <asp:ListItem Selected="True" Value="0">保密</asp:ListItem>
      </asp:RadioButtonList>
    </td>
</tr>
<tr>
  <td>Email：</td>
  <td><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
</tr>
<tr>
  <td>QQ：</td>
  <td><asp:TextBox ID="txtQQ" runat="server"></asp:TextBox></td>
</tr>
<tr>
  <td>是否管理员：</td>
  <td>
      <asp:CheckBox ID="chkIsAdmin" runat="server" Text="是" />
    </td>
</tr>
<tr>
  <td>积　分：</td>
  <td>
      <asp:TextBox ID="txtScore" runat="server" Text="0" onfocus="this.blur()"
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox></td>
</tr>
<tr>
  <td>注册时间：</td>
  <td>
      <asp:TextBox ID="txtAddtime" runat="server" onfocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})" CssClass="Wdate"></asp:TextBox></td>
</tr>

<tr>
  <td>最后登录IP：</td>
  <td>
      <asp:TextBox ID="txtLastIP" runat="server"></asp:TextBox></td>
</tr>

<tr>
  <td>最后登录时间：</td>
  <td>
      <asp:TextBox ID="txtLastTime" runat="server" onfocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})" CssClass="Wdate"></asp:TextBox></td>
</tr>

<tr>
  <td>上次登录IP：</td>
  <td>
      <asp:TextBox ID="txtPrevIP" runat="server"></asp:TextBox></td>
</tr>

<tr>
  <td>上次登录时间：</td>
  <td>
      <asp:TextBox ID="txtPrevTime" runat="server" onfocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})" CssClass="Wdate"></asp:TextBox></td>
</tr>

<tr>
  <td>状态：</td>
  <td>
      <asp:DropDownList ID="drpState" runat="server">
         <asp:ListItem Value="0">待审核</asp:ListItem>
         <asp:ListItem Value="1">已通过</asp:ListItem>
       </asp:DropDownList>
       </td>
</tr>

<tr>
  <td>头像：</td>
  <td><asp:TextBox ID="pid_v" Text="0" runat="server" style="display:none;"></asp:TextBox><p id="pid" class="picbg" onclick="javascript:showUpload('pid', 2,0);"><asp:Literal ID="litPic" runat="server"></asp:Literal></p></td>
</tr>

<tr>
  <td>等级方案：</td>
  <td>
      <asp:DropDownList ID="drpRankType" runat="server">
      </asp:DropDownList>
    </td>
</tr>

<tr>
  <td>&nbsp;</td>
  <td><asp:Button ID="btnPost" runat="server" CssClass="btn0" Text="添 加" 
          onclick="btnPost_Click" /></td>
</tr>
</table>
  </div>
 </div>
</div>
</form>
</body>
</html>