<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->

<!--{if $a == "run"}-->
<div class="layui-fluid oe_fluid">
  
  <form class="layui-form" id="mysearch" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
  <div class="oe_breadcrumb_box clearfix">
    <div class="layui-breadcrumb fl" lay-filter="breadcrumb" style="visibility: visible;">
      <a href="javascript:;">会员管理</a><span lay-separator="">/</span>
      <a href="javascript:;">浏览记录</a><span lay-separator=""></span>
    </div>
  </div>
  <!--//Top End -->
  
  <div class="oe_searchbar layui-form">
    <div class="more_search_open"></div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <div class="layui-form-label">浏览者UID：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="sfromuid" id="sfromuid" class="layui-input" value="<!--{if $sfromuid > 0}--><!--{$sfromuid}--><!--{/if}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">被浏览者UID：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="stouid" id="stouid" class="layui-input" value="<!--{if $stouid > 0}--><!--{$stouid}--><!--{/if}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">来源：</div>
        <div class="layui-input-inline input-150">
          <!--{hook mod="var" item="view_fromtype" name="sfromtype" type="select" value=<!--{$sfromtype}-->}-->
        </div>
      </div>

      <div class="layui-inline">
        <button class="layui-btn layui-btn-sm search" id="but_submit_search2" lay-submit lay-filter="searchform2">
          <i class="layui-icon layui-icon-search"></i>
          搜索
          <span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span>
        </button>
      </div>
    </div>
    
  </div>
  <!--//search End -->
  </form>
  
  <div class="oe_table_wrap layui-form">
  
    <table class="layui-table">
      <thead>
        <tr>
          <th width="10%">浏览者头像</th>
          <th width="14%">浏览者</th>
          <th width="11%">浏览者等级</th>
          <th width="10%">被浏览者头像</th>
          <th width="15%">被浏览者</th>
          <th width="12%">被浏览者等级</th>
          <th width="6%">来源</th>
          <th width="8%">浏览次数</th>
          <th>最近一次</th>
        </tr> 
      </thead>
      
      <!--{if empty($visit)}-->
      <tr>
        <td colspan="9" class="text_center">没有符合条件的信息</td>
      </tr>
      <!--{else}-->
      <!--{foreach $visit as $volist}-->
      <tr>
        <td class="text_center drop">
          <div class="down">
            <div><img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.from.headimg_0}-->" width="20px" height="20px" f="zoom_avatar" preload="0" /></div>
            <div class="sub">
              <img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.from.headimg}-->" f="viewimg" />
            </div>
          </div>
        </td>
        <td class="text_center">
          <!--{if $volist.from.gender=='1'}-->
          <i class="iconfont icon-nan" title="男"></i>
          <!--{else}-->
          <i class="iconfont icon-nv" title="女"></i>
          <!--{/if}-->
          <!--{$volist.from.username}-->/<!--{$volist.viewuid}-->
        </td>
        <td class="text_center">
        
          <!--{if $volist.from.groupid > 1}-->
            <!--{if $volist.from.vipetime>$time}-->
              <span class="vip_bg"><!--{hook mod="group" type="text" value=$volist.from.groupid}--></font></span>
            <!--{else}-->
              <s><!--{hook mod="group" type="text" value=$volist.from.groupid}--></s>
            <!--{/if}-->
          <!--{else}-->
          <!--{hook mod="group" type="text" value=$volist.from.groupid}-->
          <!--{/if}-->
          
          
        </td>
        <td class="text_center drop">
          <div class="down">
            <div><img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.to.headimg_0}-->" width="20px" height="20px" f="zoom_avatar" preload="0" /></div>
            <div class="sub">
              <img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.to.headimg}-->" f="viewimg" />
            </div>
          </div>
        </td>
        <td class="text_center">
          <!--{if $volist.to.gender=='1'}-->
          <i class="iconfont icon-nan" title="男"></i>
          <!--{else}-->
          <i class="iconfont icon-nv" title="女"></i>
          <!--{/if}-->
          <!--{$volist.to.username}-->/<!--{$volist.homeuid}-->
        </td>
        <td class="text_center">
          <!--{if $volist.to.groupid > 1}-->
            <!--{if $volist.to.vipetime>$time}-->
              <span class="vip_bg"><!--{hook mod="group" type="text" value=$volist.to.groupid}--></font></span>
            <!--{else}-->
              <s><!--{hook mod="group" type="text" value=$volist.to.groupid}--></s>
            <!--{/if}-->
          <!--{else}-->
          <!--{hook mod="group" type="text" value=$volist.to.groupid}-->
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{if $volist.fromtype == 0}-->
          --
          <!--{else}-->
          <!--{hook mod="var" item="view_fromtype" type="text" value=<!--{$volist.fromtype}-->}-->
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{$volist.viewtimes}-->
        </td>
        <td class="text_center">
          <!--{$volist.viewtime|date_format:"%Y-%m-%d %H:%M:%S"}-->
        </td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>
    <div class="oe_page_box"><!--{$showpage}--></div>

  </div>
</div>
<!--{/if}-->
<script type="text/javascript">
$(function(){
    //预载图片 9.10.12
    preload_img();
});
</script>
</body>
</html>