<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HuiYuan_ZengJia.aspx.cs" Inherits="Admin_YongHu_HuiYuan_ZengJia" %>

<!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">
    <title>无标题页</title>
    <link rel="Stylesheet" href="../Images/Admin.css" type="text/css" />
    <script type="text/javascript">
        function SheZhiWenJian(LeiXing,DiZhi)
        {
            if(LeiXing=="TouXiang")
            {
                document.getElementById("TouXiang").src=DiZhi;
                document.getElementById("TouXiangDiZhi").value=DiZhi;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" onkeydown="if(event.ctrlKey&&event.keyCode==13) this.submit();">
    <div>
        <div style="height:18px">
        位置：用户管理 &gt; <a href="HuiYuan.aspx">会员管理</a> &gt; 增加会员
        </div>
        <div style="height:5px"></div>
        <table class="tab1" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="tab2_bt">
                                增加会员
                            </td>
                        </tr>
                        <tr>
                            <td>
                <table class="tab3" border="0" cellpadding="0" cellspacing="1" style="width:100%">
                    <tr>
                        <td style="width: 200px; height: 22px">
                            &nbsp; &nbsp; 头像</td>
                        <td style="height: 22px">
                            &nbsp; &nbsp;&nbsp;
                            <asp:Image ID="TouXiang" runat="server" />
                            <input type="button" value="选择头像" onclick="window.open('../XuanZheTouXiang.aspx?b=TouXiang','_blank','toolbar=no,scrollbars=yes,width=1000,height=600');" />
                            </td>
                    </tr>
                    <tr>
                        <td style="width:200px; height: 22px;">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">昵称</span>
                        </td>
                        <td style="height: 22px">
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="NiChen" runat="server" CssClass="text" MaxLength="16" Width="250px"></asp:TextBox>
                            &nbsp;&nbsp;<span class="text_pt">会员的昵称。</span>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="NiChen"
                                ErrorMessage="RequiredFieldValidator" SetFocusOnError="True">昵称不能为空。</asp:RequiredFieldValidator>
                            </td>
                    </tr>
                    <tr>
                        <td style="width: 200px; height: 22px">
                            &nbsp; &nbsp; 性别</td>
                        <td style="height: 22px">
                            &nbsp; &nbsp;
                            <asp:RadioButton ID="XingBie_T" runat="server" Checked="True" GroupName="XingBie"
                                Text="男" />
                            <asp:RadioButton ID="XingBie_F" runat="server" GroupName="XingBie" Text="女" /></td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">手机号</span>
                        </td>
                        <td class="text_pt">
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="ShouJiHao" runat="server" CssClass="text" MaxLength="11" Width="250px"></asp:TextBox>
                            &nbsp; 会员的手机号。<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
                                ControlToValidate="ShouJiHao" ErrorMessage="RegularExpressionValidator" SetFocusOnError="True"
                                ValidationExpression="^\d{11}">手机号只能是11位的数字组成。</asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 200px" class="text_bt">
                            &nbsp; &nbsp; 用户组</td>
                        <td class="text_pt">
                            &nbsp; &nbsp; &nbsp;<asp:DropDownList ID="YongHuZu" runat="server">
                            </asp:DropDownList><input type="button" value="管理用户组" onclick="location.href='YongHuZu.aspx'" />
                            &nbsp;&nbsp; 会员所在的用户组。</td>
                    </tr>
                    <tr>
                        <td class="text_bt" style="width: 200px">
                            &nbsp; &nbsp; 密码</td>
                        <td class="text_pt">
                            &nbsp; &nbsp;
                            <asp:TextBox ID="MiMa" runat="server" CssClass="text" MaxLength="20" TextMode="Password"></asp:TextBox>&nbsp;
                            会员的密码。<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
                                ControlToValidate="MiMa" ErrorMessage="RegularExpressionValidator" SetFocusOnError="True"
                                ValidationExpression="^.{6,20}">密码只能是6-20位的字符组成。</asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="HuiYuanZiLiaoDaiMa" runat="server" Text="Label"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="text_bt" style="width: 200px">
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:Button ID="Button1" runat="Server" Text="增加会员" />
                            &nbsp;&nbsp;
                            <input type="reset" value="重新填写" />
                            </td>
                    </tr>
                    </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
        <asp:HiddenField ID="TouXiangDiZhi" runat="server" />
    </form>
</body>
</html>
