{include file="header.tpl" page_name=$page_name sys_name=$sys_name}
<div align="center">
{$admin_nav}
<form action="admincp.php?action=settings" method="post">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header">
<td colspan="2">基本设置
</td>
</tr>
<tbody>
<tr>
	<td width="20%" class="one" ><b>网站名称:</b><br /><span class="smalltxt">网站名称，将显示在标题中和页面底部的联系方式处</span></td>
	<td width="80%" class="altbg2"><input type="text" size="50" name="data[sys_name]" value="{$sys_name}" ><input type="hidden" name="data[sys_version]" value="{$sys_version}" ></td>
</tr>
<tr>
	<td width="20%" class="one" ><b>网站 URL:</b><br /><span class="smalltxt">网站 URL，请认真填写网站URL,否则将导致部分页面排版出问题</span></td>
	<td class="altbg2"><input type="text" size="50" name="data[sys_url]" value="{$sys_url}" ><font>*</font></td>
</tr>
<tr>
	<td width="20%" class="one" ><b>搜索关键词:</b><br /><span class="smalltxt">SEO优化，多个关键词请用逗号隔开</span></td>
	<td class="altbg2"><input type="text" size="50" name="data[sys_keywords]" value="{$sys_keywords}"></td>
</tr>

<tr>
	<td width="20%" class="one" ><b>网站描述:</b><br /><span class="smalltxt">SEO优化，便于被搜索引擎收录</span></td>
	<td class="altbg2"><textarea name="data[sys_description]" cols="52" rows="3">{$sys_description}</textarea></td>
</tr>

<!--
<tr>
	<td width="20%" class="one" ><b>默认模板:</b><br /><span class="smalltxt">更改网站前台显示界面</span></td>
	<td class="altbg2">
		<select name="data[sys_tpl]">
			{foreach from=$tpl_list item=tpl}
			<option value="{$tpl.folder}"{if $tpl.folder == $default_tpl} selected{/if}>{$tpl.name}-{$tpl.folder}</option>
			{/foreach}
		</select>
	</td>
</tr>
-->
<tr>
	<td width="20%" class="one"><b>用户注册协议:</b><br />
		<span class="smalltxt">用户注册时，所遵守本网站的协议</span>
	</td>
	<td class="altbg2">
		<textarea name="data[sys_agreement]" cols="52" rows="8">{$sys_agreement}</textarea>
	</td>
</tr>
<tr>
	<td class="one" >底部信息:</td>
    <td class="altbg2">
    	{$editor}
    </td>
</tr>

<tr>
	<td width="20%" class="one" ><b>网站开关:</b><br />
	<span class="smalltxt">网站开关，如果关闭则所有人无法访问</span></td>
	<td class="altbg2">
		<input class="radio" type="radio" name="data[sys_onoff]" value="1"{if $sys_onoff==1}checked{/if}> 关闭 &nbsp;
		<input class="radio" type="radio" name="data[sys_onoff]" value="0"{if $sys_onoff==0}checked{/if}> 开启
	</td>
</tr>

<tr>
	<td class="one">调试信息:</td>
    <td>
    	
    <input type="radio" value="1"  id="first_show_debug" class="show_debug" {if $show_debug eq '1'} checked="checked"{/if} name="data[show_debug]" />显示&nbsp;<input type="radio" class="show_debug" value="0" {if $show_debug eq '0'} checked="checked"{/if} name="data[show_debug]" />不显示</td>
</tr>
<tr>
	<td width="20%" class="one" ><b>关闭原因:</b><br /><span class="smalltxt">网站关闭时，访问的人仅能看到此条信息</span></td>
	<td class="altbg2"><textarea name="data[off_reason]" cols="52" rows="3">{$off_reason}</textarea></td>
</tr>

<tr>
	<td colspan="2"><div align="center"><input type="submit" name="settingsubmit" value="提 交"></div></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
