<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"><?php  echo $common_admin_index; ?><!--管理首页--></a> >> <?php  echo $system_set; ?><!--系统设置--></span>
<div style="clear:both"></div>
</h1>
<div class="tab-div">
    <div id="tabbar-div">
      <p>
        <span class="tab-front" id="general-tab"><?php  echo $system_base_set; ?><!--基本设置--></span><span
		 class="tab-back" id="detail-tab"><?php  echo $system_member_set; ?><!--会员设置--></span><span 
		 class="tab-back" id="optim-tab"><?php  echo $system_optimization_set; ?><!--优化设置--></span><span 
		 class="tab-back" id="mix-tab"><?php  echo $system_other_set; ?><!--其他设置--></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"><?php  echo $web_name; ?><!--网站名称-->：</td>
            <td width="86%"><input type="text" name="web_name" value="<?php  echo $system_info['web_name']['system_value']; ?>" size="30" />
            </td>
          </tr>
          <tr>
            <td class="label"><?php  echo $web_host; ?><!--网站地址-->：</td>
            <td><input type="text" name="web_host" value="<?php  echo $system_info['web_host']['system_value']; ?>" size="30" /></td>
          </tr>
          <tr>
          <!--<tr>
            <td class="label"><?php  echo $web_time; ?>默认时区：</td>
            <td><input type="text" name="web_time" value="<?php  echo $system_info['web_time']['system_value']; ?>" /></td>
		  </tr>-->
          <tr>
            <td class="label"><?php  echo $web_ipc; ?><!--ICP备案证书号-->：</td>
            <td><input type="text" name="web_ipc" value="<?php  echo $system_info['web_ipc']['system_value']; ?>" /></td>
		  </tr>
          <tr>
            <td class="label"><?php  echo $web_keywords; ?><!--网站关键字-->：</td>
            <td><input type="text" name="web_keywords" value="<?php  echo $system_info['web_keywords']['system_value']; ?>" size="30" /></td>
          </tr>
          <tr>
            <td class="label"><?php  echo $web_description; ?><!--网站描述-->：</td>
            <td>
                <textarea name="web_description" cols="50" rows="3"><?php  echo $system_info['web_description']['system_value']; ?></textarea>
            </td>
		  </tr>		  
          <tr>
            <td class="label"><?php  echo $web_state; ?><!--网站状态-->：</td>
            <td><?php  echo $web_state_radio; ?></td>
		  </tr>
          <tr>
            <td class="label"><?php  echo $web_close_info; ?><!--关闭原因-->：</td>
            <td><textarea name="web_close_info" cols="50" rows="3"><?php  echo $system_info['web_close_info']['system_value']; ?></textarea></td>
          </tr>
          <tr>
            <td class="label"><?php  echo $web_copyright; ?><!--网站版权信息-->：</td>
            <td><textarea name="web_copyright" cols="50" rows="3"><?php  echo $system_info['web_copyright']['system_value']; ?></textarea></td>
          </tr>
          <tr>
            <td class="label"><?php  echo $web_stat_code; ?><!--第三方统计代码-->：</td>
            <td>
              <textarea name="web_stat_code" cols="50" rows="3"><?php  echo $system_info['web_stat_code']['system_value']; ?></textarea>
            </td>
          </tr>
        </table>

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

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