<!--{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">
          <select name="sfee" id="sfee">
            <option value="">不限</option>
            <option value="1"<!--{if $sfee == '1'}--> selected<!--{/if}-->>是</option>
            <option value="2"<!--{if $sfee == '2'}--> selected<!--{/if}-->>否</option>
          </select>
        </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="18%">查看人</th>
          <th width="10%">查看人等级</th>
          <th width="18%">被看人</th>
          <th width="10%">被看人等级</th>
          <th width="8%">费用(<!--{$config.moneyname}-->)</th>
          <th width="8%">查看次数</th>
          <th width="13%">最后查看</th>
          <th>备注</th>
        </tr> 
      </thead>
      
      <!--{if empty($viewcontact)}-->
      <tr>
        <td colspan="8" class="text_center">没有符合条件的信息</td>
      </tr>
      <!--{else}-->
      <!--{foreach $viewcontact as $volist}-->
      <tr>
        <td class="drop">
          &nbsp;
          <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>
          
          <!--{if $volist.from.gender=='1'}-->
          <i class="iconfont icon-nan" title="男"></i>
          <!--{else}-->
          <i class="iconfont icon-nv" title="女"></i>
          <!--{/if}-->
          
          <a href="<!--{$urlpath}-->index.php?c=home&a=detail&id=<!--{$volist.viewuid}-->" target="_blank">
          <!--{$volist.from.username}-->/<!--{$volist.viewuid}-->
          </a>
        </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="drop">
          &nbsp;
          <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>
          
          <!--{if $volist.to.gender=='1'}-->
          <i class="iconfont icon-nan" title="男"></i>
          <!--{else}-->
          <i class="iconfont icon-nv" title="女"></i>
          <!--{/if}-->
          
          <a href="<!--{$urlpath}-->index.php?c=home&a=detail&id=<!--{$volist.homeuid}-->" target="_blank">
          <!--{$volist.to.username}-->/<!--{$volist.homeuid}-->
          </a>
        </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">
          <!--{doubleval($volist.fee)}-->
        </td>
        <td class="text_center">
          <!--{$volist.viewtimes}-->
        </td>
        <td class="text_center">
          <!--{if $volist.lasttime > 0}-->
          <!--{$volist.lasttime|date_format:"%Y-%m-%d %H:%M:%S"}-->
          <!--{else}-->
          --
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{$volist.remark}-->
        </td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>
    
    <div class="oe_page_box"><!--{$showpage}--></div>

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