<!--{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" style="width: 1020px;">
    <div class="bg_f p30 bsb clearfix">
      <div class="avatar oh fl pr" id="avatar" f="but_upload_avatar" style="width: 155px;height:155px;">
        <img class="ob_c" src="<!--{$login.info.headimgurl}-->" alt="头像">
        <div class="pa lb w100per color_f t_center bg_tran_5">
          <!--{if $login.info.headflag == '0'}-->
          <!--{elseif $login.info.headflag == '2'}-->
          审核中
          <!--{elseif $login.info.headflag == '3'}-->
          未通过
          <!--{else}-->
          <!--{/if}-->
        </div>
      </div>
      <div class="fl pl30" style="width: 220px;">
        <div class="text fz16 lh30"><!--{$login.info.username}--></div>
        <div class="text color_9 mt10 lh30">
          <span>UID:<!--{$login.info.userid}--></span>
          <!--{if $login.info.isvip == '1'}-->
          <a class="color_f bg_main bo_main br30 plr15 cursor ptb5 ml15 inline_block lhn" href="<!--{$oefile}-->&c=vip">VIP升级续费VIP <em class="iconfont icon-bdfw fz12"></em></a>
          <!--{else}-->
          <a class="color_f bg_main bo_main br30 plr15 cursor ptb5 ml15 inline_block lhn" href="<!--{$oefile}-->&c=vip">VIP升级 <em class="iconfont icon-bdfw fz12"></em></a>
          <!--{/if}-->
        </div>
        <div class="text color_9 mt10 lh30">
          等级：<!--{$login.group.groupname}-->
        </div>
        <div class="text color_9 mt10 lh30">关注：<a href="<!--{$oefile}-->&c=listen"><span class="color_main"><!--{countdata type='user' mod='fans' where="v.userid='<!--{$login.info.userid}-->'"}--></span>人</a></div>
      </div>
      <div class="fl bg_f2" style="width: 1px;height: 155px;"></div>
      <div class="fl pl30 color_9" style="width: 220px;">
        <div class="text lh30">
          实名认证：<a href="<!--{$oefile}-->&c=rz"><!--{if $login.info.idrz==1}--><font color="green">已认证</font><!--{else}--><font color="red">未认证<!--{/if}--></font></a>
        </div>
        <div class="text mt10 lh30">
          个人资料：<!--{$login.info.growth}-->% 
          <a href="<!--{$oefile}-->&c=profile">
            <em class="iconfont icon-xiugai cursor"></em>
          </a>
        </div>
        <div class="text mt10 lh30">资料状态：<!--{if $login.info.flag==1}-->正常<!--{elseif $login.info.flag==0}-->待审核<!--{else}-->不通过<!--{/if}--></div>
        <div class="text mt10 lh30"><!--{$config.moneyname}-->：<span class="color_main"><!--{doubleval($login.info.money)}--></span></div>
      </div>
      <div class="fl bg_f2" style="width: 1px;height: 155px;"></div>
      <div class="fl pl30 color_9" style="width: 160px;">
        <div class="text lh30">人气指数：<span class="color_main"><!--{if $login.info.hits<10}-->10<!--{else}--><!--{$login.info.hits}--><!--{/if}--></span></div>
        <div class="text mt10 lh30">我的粉丝：<span class="color_main"><!--{countdata type='user' mod='fans' where="v.tuserid='<!--{$login.info.userid}-->'"}--></span>人</div>
        <div class="text mt10 lh30">我的相册：<span class="color_main"><!--{countdata type='user' mod='myphoto' where="v.userid='<!--{$login.info.userid}-->'"}--></span>张</div>
      </div>
    </div>
    <div class="bg_f p30 bsb mt20">
      <div class="title clearfix mb5">
        <h3 class="fl fn">今日速配</h3>
      </div>
      <script type="text/javascript">
          $(function(){
              $.ajax({
                  type: "POST",
                  url: _ROOT_PATH+"index.php?m=user&c=index",
                  cache: false,
                  data: {a:"match", r:get_rndnum(8)},
                  dataType: "json",
                  success: function(data) {
                      var json = eval(data);
                      var response = json.response;
                      var result = json.result;
                      if (response == "1") {
                          $("#today_match").html("");
                          $("#today_match").html(result);
                      }
                  },
                  error: function() {
                      OEUI.message.msg({text: "系统繁忙，请稍后再试"});
                  }
              });
          });
      </script>
      <div class="user clearfix" id="today_match">

      </div>
    </div>
    <div class="bg_f p30 bsb mt20">
      <div class="title clearfix mb5">
        <h3 class="fl fn">谁看过我</h3>
        <div class="fr color_6 cursor">
          <a href="<!--{$oefile}-->&c=visitme">更多</a>
        </div>
      </div>
      <div class="user clearfix">
        <!--{assign var="visitme" value=vo_list("mod={visitme} where={v.homeuid=<!--{$login.info.userid}-->} num={6}")}-->
        <!--{if !empty($visitme)}-->
        <!--{foreach $visitme as $volist}-->
        <div class="item plr30 ptb15 fl">
          <div class="avatar img_100 br oh">
            <img class="ob_c" src="<!--{$volist.headimg_s}-->">
          </div>
          <div class="text w100 t_center fz14 mt10 ws"><!--{$volist.username}--> <!--{$volist.age}-->岁</div>
          <div class="btn_box mt10">
            <button class="w100per bsb bo_eb ptb6 br30 bg_f color_9 cursor" f="pop_jdchat" data-touid="<!--{$volist.viewuid}-->">
              <em class="iconfont icon-xiaoxi"></em>
              发私信
            </button>
          </div>
        </div>
        <!--{/foreach}-->
        <!--{else}-->
        <div class="oe_nodata">
          <p class="p_1"><img src="<!--{$skinpath}-->images/nodata.jpg" /></p>
          <p class="p_2">暂无会员来访</p>
        </div>
        <!--{/if}-->
      </div>
    </div>
  </div>
</div>

<!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
<!--{include file="<!--{$uctplpath}-->widget/block_footer_oeui.tpl"}-->
<script src="<!--{$urlpath}-->tpl/static/pcui/js/oeui.uploader.min.js"></script>
<script src="<!--{$userskin}-->js/uploader.avatar.js"></script>
</body>
</html>