<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="useradd.aspx.cs"
    Inherits="FangPage.Admin.useradd" %>

<%@ Register Assembly="FangPage.Control" Namespace="FangPage.Control" TagPrefix="cc1" %>
<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="styles/style.css" type="text/css" rel="stylesheet">
    <style type="text/css">
        <!
        -- body
        {
            background-image: url(images/main_bg.gif);
            background-repeat: repeat-x;
            background-color: #CEE7FC;
        }
        -- ></style>
    <meta content="MSHTML 6.00.3790.0" name="GENERATOR">
</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5">
    <form id="form1" runat="server">
    <div>
        <table class="TdBg" cellspacing="1" cellpadding="0" width="100%" height="100" border="0">
            <tbody>
                <tr valign="middle">
                    <td class="Tdimg" style="padding-left: 10px" height="28" colspan="2">
                        <img height="18" src="images/bbs_find.gif" width="18" align="absMiddle" border="0">
                        <strong>添加用户</strong>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        角色级别：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;&nbsp;<cc1:DropDownList ID="Roleid" runat="server">
                        </cc1:DropDownList>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        用户名：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Username" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        登录密码：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Password" runat="server" TextMode="Password"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        确认密码：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Repeat" runat="server" TextMode="Password"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        所属用户组：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:DropDownTreeList ID="Groupid" runat="server" />
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        头像：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Avatar" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        真实姓名：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Realname" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        性别：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        <cc1:RadioButtonList ID="Sex" runat="server" RepeatColumns="3">
                            <asp:ListItem Value="-1">保密</asp:ListItem>
                            <asp:ListItem Value="1" Selected="True">男</asp:ListItem>
                            <asp:ListItem Value="0">女</asp:ListItem>
                        </cc1:RadioButtonList>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        出生日期：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Bday" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        身份证号码：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Idcard" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        所在公司：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Company" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        职务：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Position" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        专业：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Speciality" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        学历：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Education" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        Email：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Email" runat="server"></cc1:TextBox>&nbsp;
                        <asp:CheckBox ID="Showemail" runat="server" Text="公开邮箱" />
                        <asp:CheckBox ID="IsSentmail" runat="server" Text="发送邮件" />
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        手机号码：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Mobile" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        联系电话：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Phone" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        传真号码：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Fax" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        QQ号码：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Qq" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        个人博客：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Blog" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        所在区域：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Location" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        详细地址：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Address" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        邮政编码：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Zipcode" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 120px;" height="22" align="right">
                        审核状态：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                         <cc1:RadioButtonList ID="State" runat="server" RepeatColumns="2">
                            <asp:ListItem Value="0" Selected="True">未审核</asp:ListItem>
                            <asp:ListItem Value="1">已审核</asp:ListItem>
                        </cc1:RadioButtonList>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td height="35" style="width: 120px">
                        &nbsp;
                    </td>
                    <td style="padding-left: 10px">
                        <cc1:Button ID="Button1" runat="server" OnClick="Button1_Click" />&nbsp;&nbsp;
                        <button class="ManagerButton" type="button" onclick="javascript:window.location.href='<%=returnurl%>';">
                            <img src="images/arrow_undo.gif" />返 回</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
