<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<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 class="oe_tool_bar ft" style="display:none;">
      <button class="layui-btn layui-btn-sm search" id="but_submit_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>
  <!--//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-100">
          <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">测试ID：</div>
        <div class="layui-input-inline input-120">
          <input type="text" name="s_testid" id="s_testid" class="layui-input" value="<!--{if $s_testid > 0}--><!--{$s_testid}--><!--{/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_result" id="s_result" class="layui-input" value="<!--{$s_result}-->" />
        </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 del_line" f="handle-array" data-form="myform">
          <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}-->&<!--{$comeurl}-->" method="post">
    <input type="hidden" name="a" id="a" value="del" />
    <table class="layui-table">
      <thead>
        <tr>
          <th width="3%">选</th>
          <th width="8%">ID</th>
          <th width="15%" class="text_left">测试用户</th>
          <th width="15%" class="text_left">测试标题</th>
          <th width="14%">测试时间</th>
          <th width="8%">得分</th>
          <th class="text_left">测试结果</th>
          <th width="10%">操作</th>
        </tr>
      </thead>
      <!--{if empty($emlogs)}-->
      <tr>
        <td class="text_center" colspan="8">没有符合条件的信息！</td>
      </tr>
      <!--{else}-->
      <!--{foreach $emlogs as $volist}-->
      <tr>
        <td class="check text_center">
          <input type="checkbox" name="id[]" id="id[]" class="selall" lay-skin="primary" value="<!--{$volist.logid}-->" />
        </td>
        <td class="text_center"><!--{$volist.logid}--></td>
        <td>
          <!--{if !empty($volist.user)}-->
            <!--{if $volist.user.gender=='1'}-->
            <i class="iconfont icon-nan" title="男"></i>
            <!--{else}-->
            <i class="iconfont icon-nv" title="女"></i>
            <!--{/if}-->
            <!--{$volist.user.username}-->/<!--{$volist.userid}-->/<!--{$volist.user.age}-->岁/
            <!--{hook mod="var" item="marry" type="text" value=$volist.user.marry}-->
          <!--{else}-->
            --
          <!--{/if}-->
        </td>
        <td><!--{$volist.title}-->/<!--{$volist.testid}--></td>
        <td class="text_center">
          <!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}-->
        </td>
        <td class="text_center">
          <!--{doubleval($volist.score)}--> 分
        </td>
        <td><!--{$volist.result|nl2br}--></td>
        <td class="text_center">
          <a href="javascript:;" f="handle-one" data-url="<!--{$oefile}-->&c=<!--{$c}-->&a=del&id[]=<!--{$volist.logid}-->&<!--{$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>
</body>
</html>