<div class="pb">

    <div class="body">
        <div class="member-info">
            <div class="uk-grid">
                <div class="uk-width-1-2">
                    @if(!empty($_memberUser['id']) && $memberUser['id']==$_memberUser['id'])
                        <a href="/member/profile_avatar" class="avatar" title="点击修改头像">
                            @else
                                <a href="javascript:;" class="avatar">
                                    @endif
                                    @if(empty($memberUser['avatar']))
                                        <img src="{{\TechSoft\Laravel\Assets\AssetsUtil::fix('assets/lib/img/avatar.png')}}">
                                    @else
                                        <img src="{{\TechSoft\Laravel\Assets\AssetsUtil::fix($memberUser['avatar'])}}">
                                    @endif
                                </a>
                </div>
                <div class="uk-width-1-2">
                    <div class="username">{{$memberUser['username'] or ''}}</div>
                    <div class="info">{{$memberUser['realname'] or ''}}</div>
                    <div class="info">第 {{$memberUser['id']}} 位会员</div>
                    <div class="info">注册于 <time datetime="{{$memberUser['created_at']}}"></time></div>
                </div>
            </div>
        </div>

        <div class="member-stat">
            <div class="uk-grid">
                <div class="uk-width-1-2">
                    <a class="count">{{$memberUser['_threadCount'] or 0}}</a>
                    <div class="title">帖子</div>
                </div>
                <div class="uk-width-1-2">
                    <a class="count">{{$memberUser['_postCount'] or 0}}</a>
                    <div class="title">评论</div>
                </div>
            </div>
        </div>

        @if(!empty($_memberUser['id']) && $memberUser['id']==$_memberUser['id'])
            <div class="member-action">
                <a class="uk-button uk-button-primary" href="/member/profile"><i class="uk-icon-edit"></i> 编辑个人资料</a>
            </div>
        @endif
    </div>

</div>

<div class="pb">

    <div class="member-menu-list">
        <a href="/member/{{$memberUser['id']}}/threads" @if($base_request_path=='/member/'.$memberUser['id'].'/threads') class="cur" @endif><i class="uk-icon-list"></i> Ta 发布的帖子</a>
        <a href="/member/{{$memberUser['id']}}/posts" @if($base_request_path=='/member/'.$memberUser['id'].'/posts') class="cur" @endif><i class="uk-icon-comment-o"></i> Ta 发表的评论</a>
        <a href="/member/{{$memberUser['id']}}/ups" @if($base_request_path=='/member/'.$memberUser['id'].'/ups') class="cur" @endif><i class="uk-icon-thumbs-o-up"></i> Ta 赞过的帖子</a>
        <a href="/member/{{$memberUser['id']}}/favorites" @if($base_request_path=='/member/'.$memberUser['id'].'/favorites') class="cur" @endif><i class="uk-icon-heart-o"></i> Ta 收藏的帖子</a>
    </div>

</div>