<!--{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><cite>游客记录</cite></a>
    </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">手机号：</div>
        <div class="layui-input-inline input-100">
          <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-100">
          <select name="srz" id="srz">
            <option value="">不限</option>
            <option value="1"<!--{if $srz == '1'}--> selected<!--{/if}-->>已验证</option>
            <option value="2"<!--{if $srz == '2'}--> selected<!--{/if}-->>未验证</option>
          </select>
        </div>
      </div>
      
      <div class="layui-inline">
        <div class="layui-form-label">微信编号：</div>
        <div class="layui-input-inline input-120">
          <input type="text" name="sopenid" id="sopenid" class="layui-input" value="<!--{$sopenid}-->" />
        </div>
      </div>
      <!--//0.07.18 -->
      <div class="layui-inline">
        <div class="layui-form-label">注册会员：</div>
        <div class="layui-input-inline input-100">
          <select name="suser" id="suser">
            <option value="">不限</option>
            <option value="1"<!--{if $suser == '1'}--> selected<!--{/if}-->>已注册</option>
            <option value="2"<!--{if $suser == '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">
    <div class="oe_tbl_tool clearfix">
      <div class="oe_gnbar clearfix">
        <div class="select btn fl">
          <input type="checkbox" name="allid[]" lay-skin="primary" title="全选" lay-filter="selectAll">
        </div>
        <div class="btn del fl" f="handle-array" data-form="myform" style="border-right:none;">
          <i class="layui-icon layui-icon-delete"></i>
          <span>删除</span>
        </div>
      </div>
      <div class="oe_tongji_bar clearfix current">
        <span><b><!--{$total}--></b> 条记录</span>
      </div>
      
    </div>
    <form class="layui-form" id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
    <input type="hidden" name="a" id="a" value="del" />
    <table class="layui-table">
      <thead>
        <tr>
          <th width="4%">选</th>
          <th width="7%">ID</th>
          <th width="11%">手机号</th>
          <th width="12%">归属地</th>
          <th width="8%">验证</th>
          <th width="14%">提交时间</th>
          <th width="12%">微信编号</th>
          <th width="13%">注册会员</th>
          <th width="8%">来源</th>
          <th>操作</th>
        </tr>
      </thead>
      <!--{if empty($guest)}-->
      <tr>
        <td class="text_center" colspan="10">没有符合条件的信息</td>
      </tr>
      <!--{else}-->
      <!--{foreach $guest as $volist}-->
      <tr>
        <td class="check text_center">
          <input type="checkbox" name="id[]"  lay-skin="primary" value="<!--{$volist.guestid}-->" />
        </td>
        <td class="text_center">
          <!--{$volist.guestid}-->
        </td>
        <td class="text_center"><!--{$volist.mobile}--></td>
        <td class="text_center">
          <!--//21.04.06 -->
          <!--{if !empty($volist.mobileaddr)}-->
          <!--{$volist.mobileaddr}--> 
          <!--{$volist.mobileisp}--> 
          <!--{else}-->
          --
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{if $volist.mobilerz == '1'}-->
          <font color="green">已验证</font>
          <!--{else}-->
          <font color="gray">未验证</font>
          <!--{/if}-->
        </td>
        <td class="text_center"><!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
        <td class="text_center">
          <!--{if !empty($volist.wxopenid)}-->
          <!--{if !empty($volist.wxuser)}-->
          
            <!--{if !empty($volist.wxuser.headimgurl)}-->
            <img src="<!--{$volist.wxuser.headimgurl}-->" width="20px" height="20px" f="viewimg" />
            <!--{/if}-->
            <!--{$volist.wxuser.nickname}--> / 
            <!--{hook mod="var" item="gender" type="text" value=$volist.wxuser.gender}--> / 
            <!--{$volist.wxuser.province}--> <!--{$volist.wxuser.city}-->
            <br />
            <!--{$volist.wxuser.openid}--> 
            
          <!--{/if}-->
          <!--{else}-->
          --
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{if $volist.userid > 0}-->
          <!--{if !empty($volist.user)}-->
          <a href="<!--{$urlpath}-->index.php?c=home&a=detail&id=<!--{$volist.user.userid}-->" target="_blank">
          <img src="<!--{$volist.user.headimg}-->" width="20" height="20" f="viewimg" />
          <!--{$volist.user.username}--> / uid:<!--{$volist.user.userid}--> <br />
          <!--{$volist.user.age}-->岁 / 
          <!--{hook mod="var" item="marry" type="text" value=$volist.user.marry}--> / 
          <!--{if $volist.user.height > 0}-->
          <!--{$volist.user.height}-->CM
          <!--{/if}-->
          <!--{$volist.user.truename}-->
          <!--{/if}-->
          <!--{else}-->
          <font color="red">未注册成功</font>
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{if !empty($volist.fromdevice)}-->
          <!--{$volist.fromdevice}-->
          <!--{else}-->
          wap
          <!--{/if}-->
        </td>
        <td class="text_center">
          <a href="javascript:;" f="handle-one" data-url="<!--{$oefile}-->&c=<!--{$c}-->&a=del&id[]=<!--{$volist.guestid}-->&<!--{$comeurl}-->" class="layui-btn layui-btn-xs layui-btn-danger">删除</a>
        </td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>
    </form>
    
    <div class="oe_page_box"><!--{$showpage}--></div>
    
  </div>
</div>
<!--{/if}-->
</body>
</html>