{T "member","head"}
<body class="gray-bg">
{if $set_iframe==0}
{T "member","iframetop"}
{else}
<div style="padding-top: 15px;"></div>
{/if}
<style>
    .m-member-right{ padding-left: 30px; padding-right: 30px; margin-top: 38px;}
    @media (max-width: 991px){
        .m-member-right{ padding-left: 0px; padding-right: 0px; margin-top: 38px;}
    }
    .mm--xinxi{ font-size: 14px }
    .mm--xinxi .table > tbody > tr > td{ padding: 16px 5px;}

</style>
<div class="container-fluid  ie8-member">
    <div class="row row-40" >
        {if $set_iframe==0}
        <div class="col-sm-3 left-nav">             <!--左侧导航-->
            <nav class="navbar-default navbar-static-side" role="navigation">
                <div class="nav-close"><i class="fa fa-times-circle"></i>
                </div>
                <div class="slimScrollDiv" style="position: relative; width: auto; height: 100%;">
                    <div class="sidebar-collapse" style="width: auto; height: 100%;">
                        {T "member","left"}
                    </div>
                </div>
            </nav>
            <!--end 左侧导航-->
        </div><!--col-sm-3-->{/if}

        <div class="{if $set_iframe==0}col-sm-9{else}col-sm-12{/if} paddingleft0">

            <div class="row">
                <div class="col-sm-12">
                    <div class=" float-e-margins">

                        <div class="ibox-content" style="min-height: 800px;">
                            <div class="row">
                                <div class="col-md-2">
                                    <div class="thumbnail" style="border: none; text-align: center;">
                                        <img src="{avatar($this->uid, 180)}" class="img-circle" style="border: 0px solid #f5f5f5;    box-shadow: 0 0 8px rgba(0,0,0,.15); margin-bottom: 20px; max-height: 120px;">
                                        <a href="index.php?m=member&f=index&v=avatar&set_iframe={$set_iframe}" type="btn" class="btn btn-default btn-outline"><i class="fa fa-photo"></i> 更换头像</a>
                                    </div>
                                </div>
                                <div class="col-md-5 mm--xinxi">
                                    <h3 style="font-size: 24px; font-weight: 500; margin-top: 30px;">个人信息</h3>
                                    <table class="table table-hover">
                                        <br>
                                        <tbody>
                                        <tr>
                                            <th scope="row">昵&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</th>
                                            <td>{$memberinfo['username']}</td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <th scope="row">真实姓名：</th>
                                            <td>{$memberinfo['truename']}</td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <th scope="row">注册邮箱：</th>
                                            <td>{$memberinfo['email']}</td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <th scope="row">手机号码：
                                            </th>
                                            <td>{$memberinfo['mobile']}</td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <th scope="row">会 员 组：</th>
                                            <td>{$groups[$memberinfo['groupid']]['name']}</td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <th scope="row">注册时间：</th>
                                            <td>{date('Y-m-d',$memberinfo['regtime'])}</td>
                                            <td>注册IP: {$memberinfo['regip']}</td>
                                        </tr>
                                        <tr>
                                            <th scope="row">最后登录：</th>
                                            <td>{date('Y-m-d',$memberinfo['lasttime'])}</td>
                                            <td>登录IP: {$memberinfo['lastip']}</td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{T "member","foot"}