{include file="header.tpl" page_name=$page_name sys_name=$sys_name}
<div align="center">
	{$admin_nav}
    <form action="?action=guestbooksite&do=site" method="post">
        <table width="98%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
            <tr>
                <td class="one">允许匿名留言</td>
                <td>
                	<input type="radio" name="isguessbook" value="1" {if $sitegb.isguessbook == '1' && $sitegb.isguessbook != ''} checked="checked" {/if}/>是
                    <input type="radio" name="isguessbook" value="0" {if $sitegb.isguessbook == '0' || $sitegb.isguessbook == '' } checked="checked"{/if}/>否
                </td>
            </tr>
            <tr>
            	<td class="one">留言是否审核</td>
                <td> 
                	<input type="radio" {if $sitegb.is_need_check eq '1'} checked="checked" {/if} name="is_need_check"  value="1"/> 是  <input type="radio" {if $sitegb.is_need_check neq '1'} checked="checked"{/if} name="is_need_check"  value="0"/> 否
                </td>
            </tr>
            <tr>
                <td class="one">替换为的词语</td>
                <td>
                	<input type="text" class="form_text" name="replace" value="{$sitegb.replace}" />
                    <span class="red">将过滤掉的词语替换为该词语</span>
                </td>
            </tr>
            <tr>
                <td class="one">要过滤的</td>
                <td>
                	<textarea name="search" style="width:200px; height:150px">{$sitegb.search}</textarea>
                    <span class="red">每个词之间用换行隔开,字母不区分大小写</span>
                </td>
            </tr>
        </table>
        <div align="center" style="padding: 5px;"><input type="submit" value="保存" /></div>
    </form>
</div>
{include file="footer.tpl"}