<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<h3><b>提示信息</b></h3>
<div class="tr5">1.　為了保證後台的安全性,系統只允許論壇創始人和管理員刪除操作日記<br>2.　系統必須保留前100條後台管理日志.</div>
<form action="$basename&" method=post>
<input type=hidden name=action value=search>
<h2>搜索</h2>

<table width=100% cellspacing="0" cellpadding="0">
<tr class="tr3 s3" align="center">
<td>關鍵字</td>
<td><input type="text" class="input" name="keyword"></td>
<td><input type="submit" class="btn" value='提 交'></td></tr>
</table>

</form><br/>
<h2><b>管理日志</b></h2>
<table width="100%" cellspacing="0" cellpadding="0" style="word-break:break-all;">
<!--
EOT;
if($admintype=='adminlog'){
print <<<EOT
-->
<tr class="tr3 tac s3">
	<td width="10%">用戶名</td>
	<td width="10%">錯誤密碼</td>
	<td width="30%">操作日志</td>
	<td width="10%">IP</td>
	<td width="15%">操作時間</td>
	<td width="30%">其他</td>
</tr>
$adlogfor
<!--
EOT;
}elseif($admintype=='forumlog'){
print <<<EOT
-->
<tr class="tr3 tac">
<td>管理員</td>
<td>用戶名</td>
<td width='15%'>論壇</td>
<td colspan=3>操作日志</td>
<td>IP</td>
<td>操作時間</td>
</tr>
$adlogfor
<!--
EOT;
}elseif($admintype=='creditlog'){
print <<<EOT
-->
<tr class="tr3 tac">
<td width=8%>積分名稱</td>
<td width=10%>作者</td>
<td width=5%>點數</td>
<td width=12%>查看文章位置</td>
<td width=10%>管理員</td>
<td width=10%>IP</td>
<td width=15%>操作時間</td>
<td>評分理由</td></tr>
<!--
EOT;
foreach($creditdb as $credit){
if($credit){
print <<<EOT
-->
<tr class="tr3 tac">
<td>$credit[name]</td>
<td>$credit[5] </td>
<td>$credit[6]</td>
<td><a href="read.php?tid=$credit[1]">查看文章位置</a></td>
<td>$credit[3]</td>
<td>$credit[4]</td>
<td>$credit[time]</td>
<td>$credit[8]</td></tr>
<!--
EOT;
}}}
print <<<EOT
-->
</table><br>$pages
<!--
EOT;
if($action=='search'){print <<<EOT
-->
<br><br><center class="xia2"><a href='$basename'><b>查看全部日志</b></a></center>
<!--
EOT;
}if($admin_gid==3){
$j_url=EncodeUrl("$basename&del=Y");
print <<<EOT
-->
<br><br><center class="xia2"><a href="$j_url"><b class="xia2" style="margin-left:2em;">刪除多余管理日志</b></a></center>
<!--
EOT;
}include_once PrintEot('adminbottom');
?>-->