<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<script src="js/utils.js"></script>
<body>
<h1>
<span class="action-span1"><a href="?ctl=index&act=admin_main"><tpl>$common_admin_index</tpl><!--管理首页--></a> >> <tpl>$system_set</tpl><!--系统设置--></span>
<div style="clear:both"></div>
</h1>
<div class="tab-div">
    <div id="tabbar-div">
      <p>
        <span class="tab-front" id="general-tab"><tpl>$system_base_set</tpl><!--基本设置--></span><span
		 class="tab-back" id="detail-tab"><tpl>$system_member_set</tpl><!--会员设置--></span><span 
		 class="tab-back" id="optim-tab"><tpl>$system_optimization_set</tpl><!--优化设置--></span><span 
		 class="tab-back" id="mix-tab"><tpl>$system_other_set</tpl><!--其他设置--></span>
      </p>
    </div>

    <!-- tab body -->
    <div id="tabbody-div">
      <form action="?ctl=system&act=system_set_save" method="post" name="theForm">
        <!-- 基本信息 -->
        <table width="90%" id="general-table" align="center">
          <tr>
            <td width="14%" class="label"><tpl>$web_name</tpl><!--网站名称-->：</td>
            <td width="86%"><input type="text" name="web_name" value="<tpl>$system_info['web_name']['system_value']</tpl>" size="30" />
            </td>
          </tr>
          <tr>
            <td class="label"><tpl>$web_host</tpl><!--网站地址-->：</td>
            <td><input type="text" name="web_host" value="<tpl>$system_info['web_host']['system_value']</tpl>" size="30" /></td>
          </tr>
          <tr>
          <!--<tr>
            <td class="label"><tpl>$web_time</tpl>默认时区：</td>
            <td><input type="text" name="web_time" value="<tpl>$system_info['web_time']['system_value']</tpl>" /></td>
		  </tr>-->
          <tr>
            <td class="label"><tpl>$web_ipc</tpl><!--ICP备案证书号-->：</td>
            <td><input type="text" name="web_ipc" value="<tpl>$system_info['web_ipc']['system_value']</tpl>" /></td>
		  </tr>
          <tr>
            <td class="label"><tpl>$web_keywords</tpl><!--网站关键字-->：</td>
            <td><input type="text" name="web_keywords" value="<tpl>$system_info['web_keywords']['system_value']</tpl>" size="30" /></td>
          </tr>
          <tr>
            <td class="label"><tpl>$web_description</tpl><!--网站描述-->：</td>
            <td>
                <textarea name="web_description" cols="50" rows="3"><tpl>$system_info['web_description']['system_value']</tpl></textarea>
            </td>
		  </tr>		  
          <tr>
            <td class="label"><tpl>$web_state</tpl><!--网站状态-->：</td>
            <td><tpl>$web_state_radio</tpl></td>
		  </tr>
          <tr>
            <td class="label"><tpl>$web_close_info</tpl><!--关闭原因-->：</td>
            <td><textarea name="web_close_info" cols="50" rows="3"><tpl>$system_info['web_close_info']['system_value']</tpl></textarea></td>
          </tr>
          <tr>
            <td class="label"><tpl>$web_copyright</tpl><!--网站版权信息-->：</td>
            <td><textarea name="web_copyright" cols="50" rows="3"><tpl>$system_info['web_copyright']['system_value']</tpl></textarea></td>
          </tr>
          <tr>
            <td class="label"><tpl>$web_stat_code</tpl><!--第三方统计代码-->：</td>
            <td>
              <textarea name="web_stat_code" cols="50" rows="3"><tpl>$system_info['web_stat_code']['system_value']</tpl></textarea>
            </td>
          </tr>
        </table>

        <!-- 会员设置 -->
        <table width="90%" id="detail-table" align="center" style="display:none">
          <tr>
            <td width="14%" class="label"><tpl>$open_member</tpl><!--会员功能-->：</td>
            <td width="86%"><tpl>$open_member_radio</tpl></td>
          </tr>
          <tr>
            <td class="label"><tpl>$reg_code</tpl><!--注册验证码-->：</td>
            <td><tpl>$reg_code_radio</tpl></td></tr>
          <tr>
          <tr>
            <td class="label"><tpl>$login_code</tpl><!--登录验证码-->：</td>
            <td><tpl>$login_code_radio</tpl></td></tr>
          <tr>
          <tr>
            <td class="label"><tpl>$open_comment</tpl><!--评论权限-->：</td>
            <td><tpl>$open_comment_radio</tpl></td>
          </tr>
          <tr>
            <td class="label"><tpl>$comment_code</tpl><!--评论验证码-->：</td>
            <td><tpl>$comment_code_radio</tpl></td></tr>
          <tr>
          <tr>
            <td class="label"><tpl>$leave_login</tpl><!--留言板权限-->：</td>
            <td><tpl>$leave_login_radio</tpl></td></tr>
          <tr>
          <tr>
            <td class="label"><tpl>$leave_code</tpl><!--留言板验证码-->：</td>
            <td><tpl>$leave_code_radio</tpl></td></tr>
          <tr>
          <tr>
        </table>
        <!-- 其他信息 -->
        <table width="90%" id="optim-table" style="display:none" align="center">
          <tr>
            <td class="label"><tpl>$rwrite</tpl><!--伪静态-->：</td>
            <td><tpl>$rwrite_radio</tpl>&nbsp;&nbsp;<a href="http://www.binzcms.com/bbs/viewthread.php?tid=20" target="_blank"><tpl>$rwrite_info_url</tpl></a></td>
          </tr>
            <td class="label"><tpl>$web_gzip</tpl><!--页面Gzip压缩-->：</td>
            <td><tpl>$gzip_radio</tpl>&nbsp;&nbsp;<font color="#999999"><tpl>$web_gzip_info</tpl></font></td>
          </tr> 
        </table>
        <!-- 其他信息 -->
        <table width="90%" id="mix-table" style="display:none" align="center">
          <tr>
            <td class="label"><tpl>$not_allow_word</tpl><!--禁用词语-->：</td>
            <td><textarea name="not_allow_word" cols="50" rows="4"><tpl>$system_info['not_allow_word']['system_value']</tpl></textarea>
			<br>
			<span class="notice-span"><tpl>$not_allow_word_info</tpl></span>
			</td>
          </tr>
        </table>

        <div class="button-div">
		<input type="hidden" name="admin_language" value="<tpl>$system_info['admin_language']['system_value']</tpl>" />
		<input type="hidden" name="front_language" value="<tpl>$system_info['front_language']['system_value']</tpl>" />
		<tpl>foreach $system_info as $var</tpl>
		<input type="hidden" name="system_info[]" value="<tpl>$var['system_name']</tpl>" />
		<tpl>/foreach</tpl>		
          <input type="submit" value="<tpl>$system_save</tpl>" class="button" />
          <input type="reset" value="<tpl>$system_reset</tpl>" class="button" />
        </div>
      </form>
    </div>
</div>
<div id="footer">
<tpl>$common_copyright</tpl>
</div>
<script src="js/tab.js"></script>
</body>
