<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<div class="layui-fluid oe_fluid">

  <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>
      <a><cite>畅聊会员</cite></a>
    </div>
  </div>
  <!--//Top End -->
  
  <!--{if $a == "run"}-->
  <form class="layui-form" id="mysearch" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
  <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">性别：</div>
        <div class="layui-input-inline input-150">
          <!--{hook mod="var" item="gender" name="sgender" type="select" text="不限" value=$sgender}-->
        </div>
      </div>    

      <div class="layui-inline">
        <div class="layui-form-label">会员UID：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="suserid" id="suserid" class="layui-input" value="<!--{if $suserid>0}--><!--{$suserid}--><!--{/if}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">用户名：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="susername" id="susername" class="layui-input" value="<!--{$susername}-->" />
        </div>
      </div>
      <br />
      <div class="layui-inline">
        <div class="layui-form-label">姓名：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="struename" id="struename" class="layui-input" value="<!--{$struename}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">&nbsp;&nbsp;手&#12288;机：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="smobile" id="smobile" class="layui-input" value="<!--{$smobile}-->" />
        </div>
      </div>
      
      <div class="layui-inline">
        <div class="layui-form-label">畅聊次数：</div>
        <div class="layui-input-inline input-120">
          <select name="stimes" id="stimes">
            <option value="">不限</option>
            <option value="1"<!--{if $stimes == '1'}--> selected<!--{/if}-->>有</option>
            <option value="2"<!--{if $stimes == '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="8%">UID</th>
          <th width="12%">用户名</th>
          <th width="8%">姓名</th>
          <th width="10%">手机</th>
          <th width="5%">性别</th>
          <th width="5%">年龄</th>
          <th width="6%">身高</th>
          <th width="8%">婚况</th>
          <th width="10%">所在地</th>
          <th width="8%">可用次数</th>
          <th>创建时间</th>
          <th width="6%">操作</th>
          
        </tr>
      </thead>
      <!--{if empty($chattimesuser)}-->
      <tr>
        <td class="text_center" colspan="12">没有符合条件的信息</td>
      </tr>
      <!--{else}-->
      <!--{foreach $chattimesuser as $volist}-->
      <tr>
        <td class="text_center"><a href="<!--{$urlpath}-->index.php?c=home&a=detail&id=<!--{$volist.userid}-->" target="_blank"><!--{$volist.userid}--></a></td>
        <td>
          <!--{if !empty($volist.headimg)}-->
          <img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.headimg}-->" width="20px" height="20px" f="viewimg" preload="0" />
          <!--{/if}-->
          <a href="<!--{$oefile}-->&c=user&a=view&id=<!--{$volist.userid}-->"><!--{$volist.username}--></a>
        </td>
        <td class="text_center"><!--{$volist.truename}--></td>
        <td class="text_center"><!--{$volist.mobile}--></td>
        <td class="text_center">
          <!--{if $volist.gender=='1'}-->
          <i class="iconfont icon-nan" title="男"></i>
          <!--{else}-->
          <i class="iconfont icon-nv" title="女"></i>
          <!--{/if}-->
        </td>
        <td class="text_center"><!--{$volist.age}--></td>
        <td class="text_center"><!--{$volist.height}--></td>
        <td class="text_center"><!--{hook mod="var" item="marry" type="text" value=$volist.marry}--></td>
        <td class="text_center">
          <!--{area type="text" value=$volist.dist2}--> 
        </td>
        <td class="text_center">
          <!--{$volist.times}-->
        </td>
        <td class="text_center"><!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
        <td class="text_center">
          <a href="javascript:;" f="handle-one" data-text="确定要删除吗？" data-url="<!--{$oefile}-->&c=<!--{$c}-->&a=del&id[]=<!--{$volist.userid}-->&<!--{$comeurl}-->" class="layui-btn layui-btn-xs layui-btn-danger">删除</a>
        </td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>
    
    <div class="oe_page_box"><!--{$showpage}--></div>
  </div>
  <script type="text/javascript">
  $(function(){
      //预载图片 9.10.12
      preload_img();
  });
  </script>
  <!--{/if}-->
  
  
</div>

</body>
</html>