<!--{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">操作人：</div>
        <div class="layui-input-inline">
          <input type="text" name="sname" id="sname" value="<!--{$sname}-->" class="layui-input" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">日志：</div>
        <div class="layui-input-inline">
          <input type="text" name="scont" id="scont" value="<!--{$scont}-->" class="layui-input" />
        </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">
          <i class="layui-icon layui-icon-delete"></i>
          <span>删除选定</span>
        </div>
        <div class="btn del fl del_line" f="handle-one" data-url="<!--{$oefile}-->&c=<!--{$c}-->&a=delall">
          <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="8%">ID</th>
          <th width="10%">操作人</th>
          <th width="16%">操作时间</th>
          <th width="13%">IP</th>
          <th width="6%">端口</th>
          <th width="8%">模块</th>
          <th width="8%">动作</th>
          <th>日志</th>
          <th width="6%">状态</th>
          <th width="6%">操作</th>
        </tr> 
      </thead>
      
      <!--{if empty($log)}-->
      <tr>
        <td colspan="11" class="text_center">没有符合条件的信息</td>
      </tr>
      <!--{else}-->
      <!--{foreach $log as $volist}-->
      <tr>
        <td class="check text_center">
          <input type="checkbox" name="id[]" lay-skin="primary" value="<!--{$volist.logid}-->" />
        </td>
        <td class="text_center">
          <!--{$volist.logid}-->
        </td>
        <td class="text_center"><!--{$volist.opuser}--></td>
        <td class="text_center"><!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
        <td class="text_center"><!--{$volist.ip}--></td>
        <td class="text_center"><!--{$volist.clientport}--></td>
        <td class="text_center"><!--{$volist.control}--></td>
        <td class="text_center"><!--{$volist.action}--></td>
        <td><!--{$volist.dowhat}--></td>
        <td class="text_center">
        <!--{if $volist.success == '1'}-->
        <font color="green">成功</font>
        <!--{else}-->
        <font color="red">失败</font>
        <!--{/if}-->
        </td>
        <td class="text_center">
          <div class="btn_box">
            <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>
          </div>
        </td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>
    </form>
    <div class="oe_page_box"><!--{$showpage}--></div>

  </div>
</div>
<!--{/if}-->

</body>
</html>