<%controller(FangPage.WMS.Controller.userprofile) %>
<!DOCTYPE html>
<html lang="zh-CN" class="default-layout">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<meta name="renderer" content="webkit"/>
<title>个人信息 - ${pagetitle}</title>
<link href="statics/css/login.css" rel="stylesheet"/>
<script type="text/javascript" src="${plupath}/jquery/jquery-1.8.2.min.js"></script>
<link rel="stylesheet" href="${plupath}/layer/skin/layer.css"  type="text/css" id="skinlayercss"/>
<script src="${plupath}/layer/layer.js" type="text/javascript"></script>
<%include(_iehack.aspx) %>
<script type="text/javascript">
    $(function () {
        $("#sumitreg").click(function () {
            $("#frmpost").submit();
        })
    })
</script>
<!--[if gte IE 9]>
<style type="text/css">
.gradient {
    filter: none;
}
</style>
<![endif]-->
</head>
<body>
    <div class="wrap">
        <%include(_header.aspx) %>
        <div class="container body-wrap main">
            <div class="box-wrap history-wrap">
                <h1 class="page-header first"><span class="text"><span class="sprite sprite-key"></span>个人信息</span>
                <hr/>
            </h1>
            <div class="row">
                <div class="span8 offset4 signup-form-wrap form-wrap">
                    <form id="frmpost" name="frmpost" method="post" action="" class="form">
                        <div class="form-content">
                            <div class="item-wrap text-item-wrap">
                                <label for="password">登录帐号：</label>
                                <span>
                                    ${fulluserinfo.username}
                                </span>
                            </div>
                            <div class="item-wrap text-item-wrap">
                                <label for="repeat">真实姓名：</label>
                                <span class="text-wrap">
                                    <input id="realname" name="realname" type="text" value="${fulluserinfo.realname}"/>
                                </span><span class="item-message help-inline"></span>
                            </div>
                            <div class="item-wrap text-item-wrap">
                                <label for="repeat">性别：</label>
                                <span>
                                  <select id="sex" class="span2" name="sex">
                                    <option <%if fulluserinfo.sex==0 %> selected="selected" <%/if %> value="0">女</option>
                                    <option <%if fulluserinfo.sex==1 %> selected="selected" <%/if %> value="1">男</option>
                                    <option <%if fulluserinfo.sex==-1 %> selected="selected" <%/if %> value="-1">保密</option>
                                  </select>
                                </span><span class="item-message help-inline"></span>
                            </div>
                            <div class="item-wrap text-item-wrap">
                                <label for="repeat">手机号码：</label>
                                <span class="text-wrap">
                                    <input id="mobile" name="mobile" maxlength="50" value="${fulluserinfo.mobile}" type="text">
                                </span><span class="item-message help-inline"></span>
                            </div>
                            <div class="item-wrap text-item-wrap">
                                <label for="repeat">邮箱地址：</label>
                                <span class="text-wrap">
                                    <input id="email" class="span5" name="email" maxlength="50" value="${fulluserinfo.email}" type="text">
                                </span><span class="item-message help-inline"></span>
                            </div>
                            <div class="button-row">
                            <button type="submit" class="visible-hidden"></button>
                            <span id="sumitreg" class="btn btn-primary fir-wrap submit-button"><span class="btn-inner"><span class="fir fir-btn-normal-submit"><span class="fir-text">确定</span></span></span></span>
                        </div>
                        </div>
                    </form>
                </div>
            </div>
            </div>
        </div>
        <%include(_footer.aspx) %>
    </div>
<%if ispost %>
<script type="text/javascript">
    layer.msg('${msg}', 0, 1);
    var bar = 0;
    count();
    function count() {
        bar = bar + 4;
        if (bar < 80) {
            setTimeout("count()", 100);
        }
        else {
            window.location.href = "${pagename}";
        }
    }
</script>
<%/if %>
</body>
</html>
