<?php (!defined('IN_ADMIN') || !defined('IN_MUDDER')) && exit('Access Denied'); ?>
<div id="body">
<div class="space">
    <div class="subtitle">操作提示</div>
    <table class="maintable" border="0" cellspacing="0" cellpadding="0">
    <tr><td><li>新增词语过滤时，“替换为”处填写“<span class="font_1">{BLOCK}</span>”则为禁止提交，填写“<span class="font_1">{CHECK}</span>”则为手工审核，其他为替换值。</li><li>使用过多的词语过滤项，将会影响服务器效率。</li></td></tr>
    </table>
</div>
<form method="post" action="admincp.php?action=<?=$action?>&file=<?=$file?>&">
    <div class="space">
        <div class="subtitle">词语过滤</div>
        <table class="maintable" border="0" cellspacing="0" cellpadding="0">
            <tr class="altbg1">
                <td width="50">删?</td>
                <td width="300">不良词语</td>
                <td width="*">替换为</td>
                <td width="120">操作者</td>
            </tr>
            <?if($total > 0){?>
            <?while($row=$db->fetch_array($query)) {?>
            <tr>
                <td><input type="checkbox" name="deleteids[]" value="<?=$row['id']?>" /></td>
                <td><input type="text" name="filter[<?=$row['id']?>][keyword]" class="txtbox2" value="<?=$row['keyword']?>" /></td>
                <td><input type="text" name="filter[<?=$row['id']?>][expression]" class="txtbox2" value="<?=$row['expression']?>" /></td>
                <td><?=$row['admin']?></td>
            </tr>
            <?}?>
            <tr class="altbg1">
                <td colspan="4"><input type="button" value="全选" onclick="checkbox_checked('deleteids[]');" class="btn2" />&nbsp;<?=$multipage?></td>
            </tr>
            <?} else {?>
                <td colspan="4">暂无信息。</td>
            <?}?>
            <tr>
                <td class="altbg1">增加:</td>
                <td><input type="text" name="newfilter[keyword]" class="txtbox2" /></td>
                <td><input type="text" name="newfilter[expression]" class="txtbox2" /></td>
                <td>&nbsp;</td>
            </tr>
        </table>
        <center><input type="submit" name="otherssubmit" value="提交操作" class="btn" /></center>
    </div>
</form>
</div>