<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Defult.Master" AutoEventWireup="true" CodeBehind="userEdit.aspx.cs" Inherits="Maticsoft.Web.Admin.userEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="page-content">
        <div class="page-header">
            <h1>
                修改用户信息
            </h1>
        </div>
        <div class="row">
            <div class="Content">
                <!-- PAGE CONTENT BEGINS -->
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        账户：
                    </label>
                    <div class="col-sm-9">
                        <input type="text" id="loginname" readonly maxlength="30" placeholder="title" class="col-xs-10 col-sm-5" runat="server" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        密码：<small>如果不需要修改，则不要填写</small></label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="password" id="pwd" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        手机：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="phone" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        邮箱：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="email" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>                
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="statuscheckbox">
                        性别
                    </label>
                    <div class="col-sm-9">
                        <div class="control-group">
                            <label>
                                <input name="statuscheckbox" type="radio" class="ace" value="" <%= sex == "男"?"checked":"" %>>
                                <span class="lbl">男</span>
                            </label>
                            <label>
                                <input name="statuscheckbox" type="radio" class="ace" value="top" <%=sex == "女" ? "checked":"" %>>
                                <span class="lbl">女</span>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        姓名：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="realname" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        头像：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input id="head" runat="server" type="file"/>
                            <% if (!string.IsNullOrEmpty(model.headimg)) {%>
                                <img src="../user/Image/<%=model.headimg %>" />
                            <%} %>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        身份证图片：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input id="sfzPic" type="file" runat="server" />
                            <% if (!string.IsNullOrEmpty(model.sfzImg)) {%>
                                <img src="../user/sfz/<%=model.sfzImg %>" />
                            <%} %>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        身份证ID：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="sfzID" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div style="clear: both">
                </div>
                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" runat="server" id="submitButton" onserverclick="submitButton_Click">
                            <i class="icon-ok bigger-110"></i>提交
                        </button>
                        &nbsp; &nbsp; &nbsp;
                        <button class="btn" type="reset">
                            <i class="icon-undo bigger-110"></i>重置
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="otherjquery" runat="server">
    <script src="assets/js/chosen.jquery.min.js"></script>
    <script type="text/javascript">
        jQuery(function ($) {
            $(".chosen-select").chosen();
        });

    </script>
</asp:Content>
