<!--{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>
      <a><cite>婚况声明</cite></a>
    </div>
  </div>
  <!--//top end -->
  
  <div class="oe_searchbar layui-form">
  
    <div class="layui-form-item">
      <div class="layui-inline">
        <div class="layui-form-label">&nbsp;会员UID：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="s_userid" id="s_userid" class="layui-input" value="<!--{if $s_userid>0}--><!--{$s_userid}--><!--{/if}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">用户名：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="s_truename" id="s_truename"  class="layui-input" value="<!--{$s_truename}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">身份证号：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="s_idnumber" id="s_idnumber" class="layui-input" value="<!--{$s_idnumber}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <button class="layui-btn layui-btn-sm search" id="btn_search" 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 class="layui-form-item">
      <div class="layui-form-label">审核状态：</div>
      <div class="label_box">
        <input type="hidden" name="s_flag" id="s_flag" value="<!--{$s_flag}-->" />
        <span f="but_search_cat" data-val="0" data-input="s_flag"<!--{if $s_flag == '0'}--> class="current"<!--{/if}-->>不限</span>
        <span f="but_search_cat" data-val="1" data-input="s_flag"<!--{if $s_flag == '1'}--> class="current"<!--{/if}-->>通过</span>
        <span f="but_search_cat" data-val="2" data-input="s_flag"<!--{if $s_flag == '2'}--> class="current"<!--{/if}-->>未通过</span>
        <span f="but_search_cat" data-val="3" data-input="s_flag"<!--{if $s_flag == '3'}--> class="current"<!--{/if}-->>待审核</span>
      </div>
    </div>
  </div>
  </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" data-a="del">
          <i class="layui-icon layui-icon-delete"></i>
          <span>删除选中</span>
        </div>
        <div class="btn del fl" f="handle-array" data-form="myform" data-a="pass">
          <i class="iconfont icon-tongguo"></i>
          <span>批量通过</span>
        </div>
        <div class="btn del fl del_line" f="handle-array" data-form="myform" data-a="fail">
          <i class=" iconfont icon-butongguo"></i>
          <span>批量不通过</span>
        </div>
        
      </div>
    </div>
    <form class="layui-form" id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->&<!--{$comeurl}-->" method="post">
      <input type="hidden" name="a" id="a" value="" />
      <table class="layui-table">
        <thead>
          <tr>
            <th width="2%">选</th>
            <th width="6%">ID</th>
            <th width="6%">会员Uid</th>
            <th width="8%">用户名</th>
            <th width="8%">姓名</th>
            <th width="8%">身份证</th>
            <th width="5%">性别</th>
            <th width="8%">出生日期</th>
            <th width="6%">婚况</th>
            <th width="9%">声明时间</th>
            <th width="9%">有效时间</th>
            <th width="8%">签名</th>
            <th width="6%">状态</th>
            <th>操作</th>
          </tr>
        </thead>
        <!--{if empty($statement)}-->
        <tr>
          <td colspan="14" class="text_center">没有符合条件的信息</td>
        </tr>
        <!--{else}-->
        <!--{foreach $statement as $volist}-->
         <tr>
          <td class="check text_center">
            <!--{if $volist.flag == '1'}-->
            --
            <!--{else}-->
            <input type="checkbox" lay-skin="primary" name="id[]" id="id[]" class="selall" value="<!--{$volist.logid}-->" />
            <!--{/if}-->
          </td>
          <td class="check text_center">
             <!--{$volist.logid}-->
          </td>
          <td class="text_center">
            <a href="<!--{$oefile}-->&c=user&a=view&id=<!--{$volist.userid}-->">
              <!--{$volist.userid}-->
            </a>
          </td>
          <td class="text_center">
           <!--{if !empty($volist.username)}-->
           <a href="<!--{$oefile}-->&c=user&a=view&id=<!--{$volist.userid}-->">
            <!--{$volist.username}-->
            </a>
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <td class="text_center"><!--{$volist.truename}--></td>
          <td><!--{$volist.idnumber}--></td>
          <td class="text_center">
            <!--{if $volist.gender == '1'}-->
            男
            <!--{elseif $volist.gender == '2'}-->
            女
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <td class="text_center"><!--{$volist.birthday}--></td>
          <td class="text_center"><!--{$volist.marry}--></td>
          <td class="text_center">
            <!--{if $volist.sign_time > 0}-->
            <!--{$volist.sign_time|date_format:"%Y-%m-%d"}--><br />
            <!--{$volist.sign_time|date_format:"%H:%M:%S"}-->
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <td class="text_center">
            <!--{if $volist.valid_time > 0}-->
            
            <!--{if $volist.valid_time > $time}-->
            <font color="green">
            <!--{$volist.valid_time|date_format:"%Y-%m-%d"}--><br />
            <!--{$volist.valid_time|date_format:"%H:%M:%S"}-->
            </font>
            <!--{else}-->
            <font color="red">
            <!--{$volist.valid_time|date_format:"%Y-%m-%d"}--><br />
            <!--{$volist.valid_time|date_format:"%H:%M:%S"}-->
            </font>
            <!--{/if}-->
            
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <td class="text_center">
            <!--{if !empty($volist.sign_name)}-->
            <img src="<!--{$volist.sign_name}-->" f="viewimg" width="60px" height="30px" />
            <!--{else}-->
            --
            <!--{/if}-->
          </td>
          <td class="text_center">
            <!--{if $volist.flag == '1'}-->
            <font color="green">已通过</font>
            <!--{elseif $volist.flag == '2'}-->
            <font color="red">未通过</font>
            <!--{else}-->
            <font color="gray">待审核</font>
            <!--{/if}-->
          </td>
          <td class="text_center">
            <a class="layui-btn layui-btn-xs layui-btn-normal btn_green" target="_blank" href="<!--{$oefile}-->&c=<!--{$c}-->&a=print&id=<!--{$volist.logid}-->&<!--{$comeurl}-->">打印</a>
            
            <!--{if $volist.flag == 0}-->
            <a class="layui-btn layui-btn-xs layui-btn-normal" href="<!--{$oefile}-->&c=<!--{$c}-->&a=edit&id=<!--{$volist.logid}-->&<!--{$comeurl}-->">审核</a>
            <!--{else}-->
            <a class="layui-btn layui-btn-xs layui-btn-normal" href="<!--{$oefile}-->&c=<!--{$c}-->&a=edit&id=<!--{$volist.logid}-->&<!--{$comeurl}-->">查看</a>
            <!--{/if}-->
            <a  href="javascript:;" f="handle-one" data-url="<!--{$oefile}-->&c=<!--{$c}-->&a=del&id[]=<!--{$volist.logid}-->&<!--{$comeurl}-->" class="layui-btn layui-btn-xs">删除</a>
          </td>
        </tr>
        <!--{/foreach}-->
        <!--{/if}-->
      </table>
    </form>
    <div class="oe_page_box"><!--{$showpage}--></div>
  </div>
</div>
<script type="text/javascript">
$(function(){
    //预载图片 9.10.12
    preload_img();
});
</script>
<!--{/if}-->