<%@ Page Title="用户信息编辑" Theme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="UserEdit.aspx.cs" Inherits="Web.Admin.Contents.UserEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="form1" runat="server">
        <div class="formtextfield">
            <div class="title">
                <h4><span>用户信息编辑</span></h4>
            </div>
            <div class="content">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="fieldname">账号:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtEmail" runat="server" Width="260" CssClass="text form-validate"></asp:TextBox>
                            <asp:CustomValidator ControlToValidate="txtEmail" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror"  runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription">Email格式填写</td>
                    </tr>
                    <tr>
                        <td class="fieldname">密码:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="260" CssClass="text form-validate"></asp:TextBox>
                        </td>
                        <td class="fielddescription"><asp:Label ID="PasswordMessage" Style="display: none;" runat="server" Text="Label">如果不修改密码请留空</asp:Label></td>
                    </tr>
                    <tr>
                        <td class="fieldname">状态:
                        </td>
                        <td class="fieldvalue">
                            <asp:CheckBox ID="ckbStatus" runat="server" />禁用
                        </td>
                        <td class="fielddescription">禁用后该账号将不能登录</td>
                    </tr>
                    <tr>
                        <td class="fieldname">名称:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtName" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">地址:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtAddress" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>

                    <tr>
                        <td class="fieldname">电话:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtTel" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                         </td>
                        <td class="fielddescription"></td>
                    </tr>
       
                    <tr>
                        <td class="fieldname">域名:</td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtDomain" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                            </td>
                        <td class="fielddescription"></td>
                    </tr>
       
                    <tr>
                        <td class="fieldname">备注:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtRemark" runat="server" Width="520" Height="50" TextMode="MultiLine" CssClass="textarea"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                </table>
            </div>
            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClientClick="return checkInput();" OnClick="btnSave_Click" SkinID="ButtonSave" />
                        &nbsp;&nbsp;
                        <asp:Button ID="btnCancel" runat="server" Text="取消" SkinID="ButtonCancel" CausesValidation="false" OnClick="Cancel_Click"/>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
