<!--{template @admin/header}--> <div class="tt"> <table  cellspacing="0" width="100%" cellpadding="0" class="tableborder" id="table111"> <tbody> <tr class="header"> <td colspan="2">技巧提示</td> </tr> <tr > <td colspan="2"><div class="tr5">显示最新 {$limit}条计划任务执行记录，所有的记录都可以删除。</div></td> </tr> </tbody> </table> <div class="c"/> </div> <form method="post" action="admin.php?mod=task&code=log_delete"> <table class="tableborder" cellspacing="0" cellpadding="0"  id="table2" name="table2" width="100%"> <tbody> <tr class="header"> <td colspan="7">计划任务LOG</td> </tr> <tr > <td width="8%"><input class="checkbox" type="checkbox" name="chkall" class="header" onclick="checkall(this.form,'delete')">
全删</td> <td>名称</td> <td>信息</td> <td width="20%">触发者</td> </tr> <!--{loop $log_list $task_log}--> <tr onmouseover="this.className='tr_hover'" onmouseout="this.className='tr_normal'"> <td><input type="checkbox" name="delete[]" value="{$task_log[id]}">
删除</td> <td><b><a href="admin.php?mod=task&code=modify&id={$task_log[task_id]}">{$task_log[task_name]}</a> </b></td> <td> 执行结果:{$task_log[error_string]}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;耗时:<span style="color:red">$task_log[exec_time]</span>(秒)
<br>
{$task_log[message]}</td> <td>用户:<a href="index.php?mod=member&code=view&id={$task_log[uid]}" target="_blank" title="{$task_log[agent]}">{$task_log[username]}</a> IP:$task_log[ip]
<br>
时间:$task_log[dateline] </td> </tr> <!--{/loop}--> <tr > <td>显示:</td> <td colspan="4">最新 {$limit}　条记录</td> </tr> </tbody> </table> <span id="submit"><br/> <center> <input type="submit" name="cronssubmit" value="提 交" class="button"> </center> <br/> </span> </form> <div class="c"/> </div> <form method="post" action="admin.php?mod=task&code=log_list"> <table class="tableborder" width="100%" cellspacing="0" cellpadding="0"  id="table111"> <tbody> <tr class="header"> <td colspan="7">查看LOG记录</td> </tr> <tr > <td width="50%">任务名称</td> <td>{$task_select}</td> </tr> <tr > <td>显示条数</td> <td><input type="text" name="limit" value="{$limit}" class="input"></td> </tr> </tbody> </table> <span id="submit"><br/> <center> <input type="submit" name="cronssubmit" value="提 交" class="button"> </center> <br/> </span> </form> <div class="c"/> </div> <form method="post" action="admin.php?mod=task&code=log_delete"> <table class="tableborder" width="100%" cellspacing="0" cellpadding="0" id="table111"> <tbody> <tr class="header"> <td colspan="7">删除LOG记录</td> </tr> <tr > <td width="50%">任务名称</td> <td>{$task_select}</td> </tr> <tr > <td>删除多少天以前的</td> <td><input type="text" name="day" value="{$limit}" class="input"></td> </tr> </tbody> </table> <span id="submit"><br/> <center> <input type="submit" name="cronssubmit" value="提 交" class="button"> </center> <br/> </span> </form>
{template "admin/footer"}
