{template modoer_header}
<div id="body">
<div class="myhead"></div>
<div class="mymiddle">
    <div class="myleft">
        <!--{template 'menu','member','member'}-->
    </div>
    <div class="myright">
        <div class="myright_top"></div>
        <div class="myright_middle">
            <h3>$subtitle</h3>
            <div class="mainrail">
                <ul class="optabs"><li><a href="{url member/index/ac/friend}">我的好友</a></li><li$active[follow]><a href="{url member/index/ac/follow}">我的关注</a></li><li$active[fans]><a href="{url member/index/ac/follow/op/fans}">我的粉丝</a></li></ul><div class="clear"></div>
                <form method="post" name="myform" action="{url member/index/ac/$ac/rand/$_G[random]}">
                    <table width="100%" cellspacing="0" cellpadding="0" class="maintable" trmouse="Y">
                        <tr class="thbg">
                            <th width="*">用户名称</th>
                            <th width="100">操作</th>
                        </tr>
                        <!--{if !$total}-->
                        <tr><tr><td colspan="5">暂无信息。</td></tr></tr>
                        <!--{/if}-->
                        <!--{dbres $list $val}-->
                        <tr id="tr_$val[uid]">
                            <td class="pic">
                                <a href="{url space/index/uid/$val[friend_uid]}" target="_blank"><img src="{print get_face($val[uid])}" /></a>
                                <div>
                                    <span><a href="{url space/index/uid/$val[uid]}" target="_blank">$val[username]</a></span>&nbsp;
                                    <span class="font_3">[{print:member group(groupid/$val[groupid])}]</span><br />
                                    <span>关注: <span class="font_2">$val[follow]</span></span>&nbsp;&nbsp;
                                    <span>粉丝: <span class="font_2">$val[fans]</span></span>&nbsp;&nbsp;
                                    <span>点评: <span class="font_2">$val[reviews]</span></span>&nbsp;&nbsp;
                                </div>
                            </td>
                            <td>
                                <a href="javascript:send_message($val[uid]);">发短信</a><br />
                                {if $op=='fans'}
                                    <a href="javascript:void(0);" onclick="member_follow($val[uid]);return false;"><span class="font_5">加关注</span></a>
                                {else}
                                    <a href="javascript:void(0);" onclick="member_unfollow($val[uid],unfollow_callback);return false;">取消关注</a>
                                {/if}
                            </td>
                        </tr>
                        <!--{/dbres}-->
                    </table>
                </form>
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
<div class="mybottom"></div>
</div>
<script type="text/javascript">
function unfollow_callback(uid) {
    $('#tr_'+uid).hide().remove();
    msgOpen('已取消关注.');
}
</script>
<!--{eval footer();}-->