<!--{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="more_search_open"></div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <div class="layui-form-label">会员ID：</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>
      <div class="layui-inline">
        <div class="layui-form-label">手机号：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="smobile" id="smobile" class="layui-input" value="<!--{$smobile}-->" />
        </div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <div class="layui-form-label">邮&#12288;箱：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="semail" id="semail" class="layui-input" value="<!--{$semail}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">性&#12288;别：</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">拉&#12288;黑：</div>
        <div class="layui-input-inline input-150">
          <!--{hook mod="var" item="blacktype" type="select" name="sblacktype" text="不限" value=$sblacktype}-->
        </div>
      </div>
    </div>
    
    <div class="layui-form-item">
      <div class="layui-inline">
        <div class="layui-form-label">地&#12288;区：</div>
        <div class="layui-input-inline input-120">
          <!--{assign var="distlist" value=vo_list("mod={area} where={v.parentid='0'} orderby={v.orders ASC}")}-->
          <select name="sarea1" id="sarea1" lay-filter="area" data-depth="1" data-name="sarea" data-text="=请选择=">
            <option value="">=请选择=</option>
            <!--{foreach $distlist as $val}-->
            <option value="<!--{$val.areaid}-->"<!--{if $sarea1 == $val.areaid}--> selected<!--{/if}-->><!--{$val.areaname}--></option>
            <!--{/foreach}-->
          </select>
        </div>
        <div class="layui-input-inline input-120" id="json_sarea2">
          <!--{if $sarea1 > 0}-->
          <!--{assign var="distlist2" value=vo_list("mod={area} where={v.parentid='<!--{$sarea1}-->'}")}-->
          <select name="sarea2" id="sarea2" lay-filter="area" data-depth="2" data-name="sarea" data-text="=请选择=">
            <option value="">=请选择=</option>
            <!--{foreach $distlist2 as $val}-->
            <option value="<!--{$val.areaid}-->"<!--{if $sarea2 == $val.areaid}--> selected<!--{/if}-->><!--{$val.areaname}--></option>
            <!--{/foreach}-->
          </select>
          <!--{else}-->
          <select name="sarea2" id="sarea2" lay-filter="area">
            <option value="">=请选择=</option>
          </select>
          <!--{/if}-->
        </div>
        <div class="layui-input-inline input-120" id="json_sarea3">
          <!--{if $sarea2 > 0}-->
          <!--{assign var="distlist3" value=vo_list("mod={area} where={v.parentid='<!--{$sarea2}-->'}")}-->
          <select name="sarea3" id="sarea3" lay-filter="area" data-depth="3" data-name="sarea" data-text="=请选择=">
            <option value="">=请选择=</option>
            <!--{foreach $distlist3 as $val}-->
            <option value="<!--{$val.areaid}-->"<!--{if $sarea3 == $val.areaid}--> selected<!--{/if}-->><!--{$val.areaname}--></option>
            <!--{/foreach}-->
          </select>
          <!--{else}-->
          <select name="sarea3" id="sarea3" lay-filter="area">
            <option value="">=请选择=</option>
          </select>
          <!--{/if}-->
        </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">
    <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="8%">UID</th>
          <th width="6%">头像</th>
          <th width="8%">用户名</th>
          <th width="8%">姓名</th>
          <th width="5%">性别</th>
          <th width="5%">年龄</th>
          <th width="5%">婚况</th>
          <th width="9%">地区</th>
          <th width="13%">注册时间</th>
          <th width="13%">拉黑原因</th>
          <th width="13%">拉黑时间</th>
          <th>操作</th>
        </tr>
      </thead>
      <!--{if empty($blackuser)}-->
      <tr>
        <td class="text_center" colspan="8">没有符合条件的信息！</td>
      </tr>
      <!--{else}-->
      <!--{foreach $blackuser as $volist}-->
      <tr>
        <td class="text_center"><!--{$volist.userid}--></td>
        <td class="text_center">
          <!--{if !empty($volist.headimg)}-->
          <img src="<!--{$volist.headimg}-->" width="20px" height="20px" f="viewimg" />
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{$volist.username}-->
        </td>
        <td class="text_center">
          <!--{$volist.truename}-->
        </td>
        <td class="text_center">
          <!--{hook mod="var" item="gender" type="text" value=$volist.gender}-->
        </td>
        <td class="text_center">
          <!--{$volist.age}-->
        </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.addtime|date_format:"%Y-%m-%d %H:%M:%S"}-->
        </td>
        <td class="text_center">
          <!--{if $volist.blacktype > 0}-->
          <!--{hook mod="var" item="blacktype" type="text" value=$volist.blacktype}-->
          <!--{else}-->
          --
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{if $volist.blacktime > 0}-->
          <!--{$volist.blacktime|date_format:"%Y-%m-%d %H:%M:%S"}-->
          <!--{else}-->
          --
          <!--{/if}-->
        </td>
        <td class="text_center">
          <a href="javascript:;" class="layui-btn layui-btn-xs layui-btn-info" f="handle-one" data-text="确定要取消吗？" data-url="<!--{$oefile}-->&c=<!--{$c}-->&a=cancel&id=<!--{$volist.userid}-->&<!--{$comeurl}-->">取消黑名单</a>
        </td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>
    </form>
    
    <div class="oe_page_box"><!--{$showpage}--></div>
    
  </div>
</div>
<script type="text/javascript">
$(function(){
    layui.use(['layer', 'element'], function(){

    });
});
</script>
<!--{/if}-->

</body>
</html>