<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<{$css_root}>images/admincp.css" rel="stylesheet" type="text/css" />
<title>系统设置</title>
</head>
<body>
<div class="container">
<div class="itemtitle">
  <h3>站点信息</h3>
</div>
<form id="cpform" action="setsystem.php?act=setok" method="post" name="cpform">
  <table class="tb tb2">
    <tbody>
    
      <tr>
        <td class="td27" colspan="2">网站名称:</td>
      </tr>
      <tr class="noborder">
        <td class="vtop rowform"><input class="txt" type="text" value="<{$sitename}>" name="settings[sitename]"/>
        </td>
        <td class="vtop tips2">网站名称，将显示在首页和浏览器标题中</td>
      </tr>
      
      <tr>
        <td class="td27" colspan="2">时间格式化:</td>
      </tr>
      <tr class="noborder">
        <td class="vtop rowform"><input class="txt" type="text" value="<{$format_type}>" name="settings[format_type]"/>
        </td>
        <td class="vtop tips2">后台和前台的时间显示格式，请填写如 Y-m-d 格式 Y-m-d(2009-09-1) H-m-s(17:03:17)</td>
      </tr>
      
      <tr>
        <td class="td27" colspan="2">允许游客下载:</td>
      </tr>
      <tr class="noborder">
        <td class="vtop rowform"><ul>
        <{if $allow_guest_down eq 1}>
            <li>
              <input class="radio" type="radio" checked="" value="1" name="settings[allow_guest_down]"/>
              是 </li>
            <li>
              <input class="radio" type="radio" value="0" name="settings[allow_guest_down]"/>
              否 </li>
          <{else}>
          <li>
              <input class="radio" type="radio" value="1" name="settings[allow_guest_down]"/>
              是 </li>
            <li>
              <input class="radio" type="radio" checked="" value="0" name="settings[allow_guest_down]"/>
              否 </li>
              <{/if}>
          </ul></td>
        <td class="vtop tips2">允许游客下载，游客将不用注册也可以下载网站提供的内容</td>
      </tr>
      
      <tr>
        <td class="td27" colspan="2">每页显示的文章数:</td>
      </tr>
      <tr class="noborder">
        <td class="vtop rowform"><input class="txt" type="text" value="<{$article_num}>" name="settings[article_num]"/>
        </td>
        <td class="vtop tips2">设置新闻页面每页显示的新闻数，建议数值不要超过30</td>
      </tr>
      
      <tr>
        <td class="td27" colspan="2">文章的标题长度:</td>
      </tr>
      <tr class="noborder">
        <td class="vtop rowform"><input class="txt" type="text" value="<{$article_title_len}>" name="settings[article_title_len]"/>
        </td>
        <td class="vtop tips2">设置每条新闻标题的长度，建议数值不要超过80.(设置80，代表最多能显示40个中文字符)</td>
      </tr>
      <tr>
        <td colspan="2"><input class="btn" type="submit" value="提交" name="settingsubmit"/>
        </td>
      </tr>
    </tbody>
  </table>
</form>
</div>
</body>
</html>
