<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_User_SetUser, QianboCMS" EnableEventValidation="false" %>
<%@ Register Src="../../Common/Linkage.ascx" TagName="Linkage" TagPrefix="uc2" %>
<%@ Register Src="../../Common/CityList.ascx" TagName="CityList" 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 runat="server">
<link href="../Css/layout.css" type="text/css" rel="stylesheet" />
<script src="../../Js/Common.js" type="text/javascript"></script>
<script src="../../Js/InfoModel.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="../../Js/DatePicker/WdatePicker.js"></script>
<script src="../../Js/InfoData.js" type="text/javascript"></script>
</head>

<body>
<form id="form1" runat="server">
  <table width="99%" cellspacing="1" cellpadding="0" class="wzdh" align="center">
    <tr>
      <td style="padding-left: 10px;"><img src="../Images/Skin/Default/you.gif" align="absmiddle" /> 您现在的位置：<a href="../SystemInfo.aspx">后台管理</a> &gt;&gt; 用户管理 &gt;&gt; 新增<asp:Literal ID="ModelName" runat="server"></asp:Literal>
        <asp:TextBox ID="FilePicPath" runat="server" Style="display: none;">User|0</asp:TextBox></td>
    </tr>
  </table>
  <table width="99%" cellspacing="1" cellpadding="0" class="border" align="center">
    <tr class="wzlist">
      <td><asp:Repeater ID="RepUserGroupModel" runat="server">
          <ItemTemplate><a href="SetUser.aspx?TypeId=<%# Eval("Id") %>">新增<%# Eval("Name") %></a> | </ItemTemplate>
        </asp:Repeater>
        <uc2:Linkage ID="Linkage1" runat="server" /></td>
    </tr>
  </table>
  <table cellspacing="0" cellpadding="0" width="99%" align="center" border="0" class="cd">
    <tbody>
      <tr align="center">
        <td class="title6" id="TabTitle0" onClick="ShowTabs(0)">基本信息</td>
        <td class="title5" id="TabTitle1" onClick="ShowTabs(1)">扩展信息</td>
        <td>&nbsp;</td>
      </tr>
    </tbody>
  </table>
  <table width="99%" border="0" cellpadding="2" cellspacing="1" class="editborder" align="center">
    <tbody id="Tabs0">
      <tr>
        <td class="bqleft">所属用户组：</td>
        <td class="bqright"><asp:DropDownList ID="ddlistGroup" runat="server" Width="98px"></asp:DropDownList></td>
      </tr>
      <tr>
        <td class="bqleft">登录名：</td>
        <td class="bqright"><asp:TextBox ID="txtLogName" runat="server" MaxLength="18"></asp:TextBox>
          <span style="color: red;">*</span></td>
      </tr>
      <tr>
        <td class="bqleft">登录密码：</td>
        <td class="bqright"><asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox>
          <asp:Label ID="lbDot" runat="server" ForeColor="Red" Text="*"></asp:Label></td>
      </tr>
      <tr runat="server" id="DivCnfmPwd">
        <td class="bqleft">确认密码：</td>
        <td class="bqright"><asp:TextBox ID="txtCnfmPwd" runat="server" TextMode="Password"></asp:TextBox>
          <span style="color: red;">*</span></td>
      </tr>
      <tr>
        <td class="bqleft">电子邮箱：</td>
        <td class="bqright"><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
          <span style="color: red;">*</span></td>
      </tr>
      <tr>
        <td class="bqleft">密码提示问题：</td>
        <td class="bqright"><asp:TextBox ID="txtQuestion" runat="server" Width="267px"></asp:TextBox>
          <span style="color: red;">*</span></td>
      </tr>
      <tr>
        <td class="bqleft">密码提示答案：</td>
        <td class="bqright"><asp:TextBox ID="txtAnswer" runat="server" Width="268px" MaxLength="20"></asp:TextBox>
          <span style="color: red;">*</span></td>
      </tr>
      <tr>
        <td class="bqleft">隐私设定：</td>
        <td class="bqright"><asp:RadioButtonList ID="txtSecret" runat="server" RepeatDirection="Horizontal">
            <asp:ListItem Selected="True" Value="1">公开</asp:ListItem>
            <asp:ListItem Value="0">隐藏</asp:ListItem>
          </asp:RadioButtonList></td>
      </tr>
    </tbody>
    <tbody id="Tabs1" style="display: none;">
      <asp:Literal ID="ModelHtml" runat="server"></asp:Literal>
    </tbody>
    <tr>
      <td class="bqleft"></td>
      <td class="bqright"><asp:Button ID="btnOk" runat="server" CssClass="btn" Text="添加" OnClick="btnOk_Click" />
        <input id="Reset1" class="btn" type="reset" value="取消" onClick="javascript:history.back();" /></td>
    </tr>
  </table>
</form>
</body>
</html>
<%if (Request.QueryString["uid"] != null)
{%>
<script>
   GetModelHtmlUser_User('<%=Request.QueryString["TypeId"] %>','<%=Request.QueryString["uid"] %>');
</script>
<%} %>