<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<!--{if $a == "run"}-->
<div class="oemarry_layout">
  <div class="oe_top_nav"><i></i>系统日志->商家日志</div>
  <div class="oe_content">
	
	<form id="serform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
	<div class="oe_txtwrap">
	  商家：<input type="text" name="sname" id="sname" class="input-150" value="<!--{$sname}-->" />&nbsp;
	  日志：<input type="text" name="scont" id="scont" class="input-150" value="<!--{$scont}-->" />&nbsp;
	  &nbsp;&nbsp;<input type="submit" name="btn_search" id="btn_search" class="button_2" value="搜索" />
	</div>
	</form>

    <div class="oe_tools_bar clearfix">
      <a class="icon-checkbox-unchecked" href="javascript:;" id="selAll" onclick="oemarrySelectAll(this, 'selall');">全选/反选</a>
      <a class="icon-remove-2" onclick="oemarryDialogFormDel('myform');">删除选定</a>
	  <a class="icon-remove-2" onclick="oemarryDialogUrlDel('<!--{$oefile}-->&c=<!--{$c}-->&a=delall');">删除全部</a>
    </div>
    
	<form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->&a=del" method="post">
    <table class="oe_table_list table_cs">
	  <tr>
	    <th width="8%">ID</th>
		<th width="15%">操作商家</th>
		<th width="14%">操作时间</th>
		<th width="10%">IP</th>
		<th width="9%">模块</th>
		<th width="9%">动作</th>
		<th>日志</th>
		<th width="6%">状态</th>
		<th width="6%">操作</th>
	  </tr>
	  <!--{if empty($log)}-->
	  <tr>
	    <td class="text_center" colspan="9">No data!</td>
	  </tr>
	  <!--{else}-->
	  <!--{foreach $log as $volist}-->
	  <tr>
	    <td class="text_center"><input type="checkbox" name="id[]" id="id[]" class="selall" value="<!--{$volist.logid}-->" /><!--{$volist.logid}--></td>
		<td><!--{$volist.opuser}--></td>
		<td><!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
		<td><!--{$volist.ip}--></td>
		<td><!--{$volist.control}--></td>
		<td><!--{$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">
		 <a href="javascript:;" onclick="oemarryDialogUrlDel('<!--{$oefile}-->&c=<!--{$c}-->&a=del&id[]=<!--{$volist.logid}-->&<!--{$comeurl}-->');" class="oe_ico_red">删除</a>
		</td>
	  </tr>
	  <!--{/foreach}-->
	  <!--{/if}-->
	</table>
	</form>

	<div class="oe_page_box"><!--{$showpage}--></div>

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