{include file="head.html"}
<div id="maincontent">
  <div class="wrap">
    <div class="tip">{lang='模型预设后将会在添加栏目或内容时生效。'}</div>
    <form action="__URL__/default_manage" id="form" method="post">
      <div class="infobox">
        <h3>{lang='栏目预设'}</h3>
        <table class="form-table table_style">
          <tr>
            <td width="100">{lang='栏目属性'}：</td>
            <td>
            <select name="default_type" id="default_type" >
              <option value="0" <?php if($info['default_type']==0) { ?> selected="selected" <?php } ?> >{lang='栏目页'}</option>
              <option value="1" <?php if($info['default_type']==1) { ?> selected="selected" <?php } ?> >{lang='列表页'}</option>
            </select>
            </td>
          </tr>
          <tr>
            <td width="100">{lang='列表模板'}：</td>
            <td><input name="default_class_tpl" type='text' class="regular-text" id="default_class_tpl" value="{$info['default_class_tpl']}" /></td>
          </tr>
          <tr>
            <td width="100">{lang='内容模板'}：</td>
            <td><input name="default_content_tpl" type='text' class="regular-text" id="default_content_tpl" value="{$info['default_content_tpl']}" /></td>
          </tr>
          <tr>
            <td width="100">{lang='栏目分页数'}：</td>
            <td><input name="default_num" type='text' class="regular-text" id="default_num" value="{$info['default_num']}" /></td>
          </tr>
          <tr>
            <td width="100">{lang='内容作者'}：</td>
            <td><input name="default_author" type='text' class="regular-text" id="default_author" value="{$info['default_author']}" /></td>
          </tr>
          <tr>
            <td width="100">{lang='远程抓图'}：</td>
            <td>
            <select name="default_picoff" id="default_picoff" >
              <option value="1" <?php if($info['default_picoff']==1){ ?> selected="selected" <?php } ?> >
                {lang='开启'}
              </option>
              <option value="0" <?php if($info['default_picoff']==0){ ?> selected="selected" <?php } ?> >
                {lang='关闭'}
              </option>
            </select>
            </td>
          </tr>
          <tr>
            <td width="100">{lang='获取第一张图片为缩略图'}：</td>
            <td>
            <select name="default_onepic" id="default_onepic">
              <option value="1" <?php if($info['default_onepic']==1){ ?> selected="selected" <?php } ?> >
                {lang='开启'}
              </option>
              <option value="0" <?php if($info['default_onepic']==0){ ?> selected="selected" <?php } ?> >
                {lang='关闭'}
              </option>
            </select>
            </td>
          </tr>
          <tr>
            <td width="100">{lang='自动提取关键词和TAG'}：</td>
            <td>
            <select name="default_gettag" id="default_gettag">
              <option value="1" <?php if($info['default_gettag']==1){ ?> selected="selected" <?php } ?> >
                {lang='开启'}
              </option>
              <option value="0" <?php if($info['default_gettag']==0){ ?> selected="selected" <?php } ?> >
                {lang='关闭'}
              </option>
            </select>
            </td>
          </tr>
        </table>
      </div>
      <div class="submit_body">
        <input name="psot_do" id="psot_do" type="hidden" value="yes" />
        <button class="regular-button" type="button" onclick="post()">{lang='提交'}</button>
   </div>
    </form>
  </div>
</div>

</body></html>