You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.7 KiB
HTML

5 years ago
<extend name="Public/base"/>
<block name="body">
<!-- 标题栏 -->
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">行为日志</h3>
<p class="description_text">说明:管理账号后台操作的记录列表</p>
</div>
<div class="cf top_nav_list">
<div class="fl button_list">
<a class="ajax-get confirm" url="{:U('clear')}"><span class="button_icon button_icon6"></span>清空</a>
<a class="ajax-post confirm" target-form="ids" url="{:U('remove')}"><span class="button_icon button_icon2"></span>删除</a>
</div>
</div>
<!-- 数据列表 -->
<div class="data_list">
<table class="">
<thead>
<tr>
<th class=""><input class="check-all" type="checkbox"/></th>
<th class="">编号</th>
<th class="">行为</th>
<th class="">管理员账号</th>
<th class="">行为时间</th>
<th class="">行为IP</th>
<th class="" style="width:5%;min-width:80px;">操作</th>
</tr>
</thead>
<tbody>
<notempty name="_list">
<volist name="_list" id="vo">
<tr>
<td><input class="ids" type="checkbox" name="ids[]" value="{$vo.id}" /></td>
<td>{$vo.id} </td>
<td>{$vo.remark}</td><!-- {:L(get_action($vo['action_id'],'title'))} -->
<td>{:get_nickname($vo['user_id'])}</td>
<td><span>{$vo.create_time|time_format}</span></td>
<td>{:long2ip($vo['action_ip'])}</td>
<td><a href="{:U('Action/edit?id='.$vo['id'])}">详细</a>
<a class="confirm ajax-get" href="{:U('Action/remove?ids='.$vo['id'])}">删除</a>
</td>
</tr>
</volist>
<else/>
<td colspan="6" class="text-center">aOh! 暂时还没有内容!</td>
</notempty>
</tbody>
</table>
</div>
<!-- 分页 -->
<div class="page">
<a class="sch-btn" href="{:U('Export/actionlog',array_merge(array('xlsname'=>'管理_行为日志'),I('get.')))}">导出</a>
{$_page}
</div>
<!-- /分页 -->
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="Action/actionLog">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Admin/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script type="text/javascript">
highlight_subnav('{:U('Action/actionlog')}');
Think.setValue('row','{:I("row")}');
$(function(){
$("#action_add").click(function(){
window.location.href = $(this).attr('url');
})
})
</script>
</block>