📄 systemlog_index.tpl.php
字号:
<html>
<head>
<title>系统后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/calendar.js" language="javascript"></script>
<script src="<?php echo $this->basedir;?>js/jquery.js" language="javascript"></script>
<script language="javascript">
$(document).ready(function() {
$("#ta tr").mouseover(function(){
$(this).addClass("over");
});
$("#ta tr").mouseout(function(){
$(this).removeClass("over");
});
$("#ta tr:even").addClass("double");
});
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr align="center" valign="top">
<td width="*" align="center" valign="top">
<!-- ######### begin ######### -->
<div class="Block">
<div class="BlockBar">系统日志检索*系统默认30天的日志不能删除</div>
<table cellspacing="1" cellpadding="4" class="frm">
<form id="form1" name="form1" method="post" action="<?php echo $this->installdir;?>?mod=systemlog&action=index">
<tr class="row">
<td width="12%" class="align-center">搜索记录:</td>
<td ><input name="keyword" type="text" id="keyword" value="<?php echo $_REQUEST['keyword'];?>" />
<input name="type" type="radio" class="radio" value="0" />
匹配用户
<input name="type" type="radio" class="radio" value="1" />
匹配描述
<input name="Submit" type="submit" class="btn" value="搜索" /></td>
</tr>
</form>
<form id="form1" name="form1" method="post" action="<?php echo $this->installdir;?>systemlog/index/">
<tr class="row">
<td class="align-center">按时间:</td>
<td><input name="stime" type="text" class="time" id="stime" onClick="vodcms_date(event,this,this)" />
至
<input name="etime" type="text" class="time" id="etime" onClick="vodcms_date(event,this,this)" /> <input name="Submit2" type="submit" class="btn" value="提交" /></td>
</tr>
</form>
</table>
</div>
<br />
<div class="BlockBar">系统日志</div>
<table cellspacing="1" cellpadding="4" class="tab" id="ta">
<tr class="sub align-center">
<td width="11%" class="align-center">编号</td>
<td width="14%" class="align-center">用户</td>
<td width="45%" class="align-center">描述</td>
<td width="20%" class="align-center">时间</td>
<td width="10%" class="align-center">管理</td>
</tr>
<?php
if (count($this->systemlog)>0){
foreach ($this->systemlog as $rs){?>
<tr class="row">
<td class="align-center"><?php echo $rs['id'];?></td>
<td class="align-center"><?php echo $rs['admin'];?></td>
<td class="align-left"><?php echo $rs['message'];?></td>
<td class="align-left"><?php echo date('Y-m-d H:i:s', $rs['addtime']);?></td>
<td class="align-center"><?php if( ($rs['addtime']+(30*86400) ) < time()){?><a href="<?php echo $this->installdir;?>?mod=systemlog&action=delete&id=<?php echo $rs['id'];?>">删除</a><?php }else{ echo '系统保留';}?></td>
</tr>
<?php
}
}else{
echo '<tr class="row align-center"><td colspan="6">没有找到任何记录!</td></tr>';
}?>
</table>
<?php echo $this->printpage;?>
</div>
<div id="App-Version-Prompt" style="display:none;">
<div class="space"></div>
<div class="Block">
<div class="BlockBar">版本更新信息</div>
<div class="BlockContent" id="App-Version-Prompt-Body" style="padding:20px 5px 20px 5px; text-align:center; background:#FFFFCC;">loading...</div>
</div>
</div>
<!-- ########## end ########## --> </td>
<td width="5"></td>
<td width="150" align="center" valign="top">
<?php
echo $this->render('menu');
?> </td>
</tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -