<?php
/**
 * @package iCMS
 * @copyright 2007-2010, iDreamSoft
 * @license http://www.idreamsoft.cn iDreamSoft
 * @author coolmoo <idreamsoft@qq.com>
 */
!defined('iPATH') && exit('What are you doing?'); 
iCMS_admincp_head();
?><script type="text/javascript">admincpnav('首页&nbsp;&raquo;&nbsp;<?=lang('menu_filter')?>');</script>
<div class="container" id="cpcontainer">
  <h3><?=lang('menu_filter')?></h3>
  <table class="tb tb2 nobdb" id="tips">
    <tr>
      <th colspan="15" class="partition">技巧提示</th>
    </tr>
    <tr>
      <td class="tipsblock"><ul id="tipslis">
          <li>每行一个</li>
          <li>过滤词格式:过滤词=***</li>
        </ul></td>
    </tr>
  </table>
  <form action="<?=__SELF__?>?do=filter&operation=post" method="post">
    <input type="hidden" name="action" value="edit" />
    <table class="tb tb2 ">
      <tr>
        <th class="partition">禁用词</th>
        <th class="partition">过滤词</th>
     </tr>
      <tr>
        <td class="vtop rowform"><textarea name="disable" id="source" onKeyUp="textareasize(this)" class="tarea"><?=implode("\r\n",$cache['word.disable'])?></textarea></td>
        <td class="vtop rowform"><textarea name="filter" id="editor" onKeyUp="textareasize(this)" class="tarea"><?=implode("\r\n",$filterArray)?></textarea></td>
      </tr>
      <tr class="nobg">
        <td colspan="3"><div class="fixsel">
            <input type="submit" class="btn" name="forumlinksubmit" value="提交"  />
          </div></td>
      </tr>
    </table>
  </form>
</div>
</body></html>