<!--{assign var="menu_id" value="friend"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}-->
<body class="bg_body">
  <!--{include file="<!--{$oetplpath}-->widget/block_top.tpl"}-->
    <div class="w1200 mt30 clearfix mb30">
      <!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->
      <div class="fr bg_f plr40 ptb30 bsb" style="width: 1020px;">
        <h3 class="fz24 mb20">好友</h3>
        <div class="nav clearfix bo_beb">
          <a href="<!--{$oefile}-->&c=friend">
            <div class="item fl mr60 pb15 pr t1">
              <div class="text fz16 color_6">我的好友</div>
            </div>
          </a>
          <a href="<!--{$oefile}-->&c=friendapply">
            <div class="item fl mr60 pb15 pr t1">
              <div class="text fz16 color_6">好友验证</div>
              <!--{assign var="new_friendapply" value=<!--{countdata type='user' mod='friendapply' where="v.fuserid='<!--{$login.info.userid}-->' AND v.flag='0'"}-->}-->
              <!--{if $new_friendapply > 0}-->
              <div class="pa br30 bo_main plr5 color_main fz12 lhn" style="top: -10px;right: -24px;"><!--{$new_friendapply}--></div>
              <!--{/if}-->
            </div>
          </a>
          <a href="<!--{$oefile}-->&c=friendmy">
            <div class="item fl mr60 pb15 pr t1">
              <div class="text fz16 color_6">我发的申请</div>
              <div class="line w100per bg_main pa lb" style="height: 3px;"></div>
            </div>
          </a>
          <a href="<!--{$oefile}-->&c=friendblack">
            <div class="item fl mr60 pb15 pr t1">
              <div class="text fz16 color_6">黑名单</div>
            </div>
          </a>
        </div>
        <!--{if !empty($friendmy)}-->
        <ul class="mt30">
          <!--{foreach $friendmy as $volist}-->
          <li class="clearfix bo_bf7 ptb15 pr">
            <div class="avatar fl img_60 br oh mlr10">
              <img class="ob_c" src="<!--{$volist.headimg}-->">
            </div>
            <div class="info fl ml20 mt5">
              <div class="name">
                <em class="iconfont icon-nv color_nv"></em>
                <span class="color_3 fz16"><!--{$volist.username}--></span>
              </div>
              <div class="text mt5 color_9">
                <!--{$volist.age}-->岁 <!--{$volist.height}-->cm <!--{area type="text" value=$volst.dist1}--> <!--{area type="text" value=$volst.dist1}--> <!--{area type="text" value=$volst.dist1}-->
              </div>
            </div>
            <div class="fr pt12">
              <div class="fl color_9 lh36">申请时间：<!--{$volist.trantime}--></div>
              <!--{if $volist.flag == '1'}-->
              <div class="fl color_green lh36 ml30">你们已经成为好友</div>
              <!--{elseif $volist.flag == '2'}-->
              <div class="fl color_red lh36 ml30">已拒绝</div>
              <!--{else}-->
              <div class="fl color_9 lh36 ml30">等待对方处理</div>
              <!--{/if}-->
            </div>
          </li>
          <!--{/foreach}-->
        </ul>
        <!--{else}-->
        <div class="oe_nodata">
          <p class="p_1"><img src="<!--{$userskin}-->images/nodata.jpg" /></p>
          <p class="p_2">暂无私信消息</p>
        </div>
        <!--{/if}-->
        <!--{if $total > 0 && !empty($showpage)}-->
        <div class="oe_page"> <!--{$showpage}--> </div>
        <!--{/if}-->
      </div>
    </div>
  
    <!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
    <script src="<!--{$urlpath}-->tpl/static/pcui/js/oeui.min.js"></script>
    <script src="<!--{$userskin}-->js/friend.js?v=<!--{$copyright_version}-->"></script>
  </body>
  </html>
