<? defined('ROOT_PHPLEFT') or exit(require '../../../404.php');?>
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
 <link href="css/main.css" type="text/css" rel="stylesheet">
<script src="<?=PL_URL?>js/win/artDialog.js?skin=default"></script>
<script src="<?=PL_URL?>js/win/plugins/iframeTools.js"></script>
</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
<div class="tpis"><img src="images/icos.gif" align="absmiddle"/>当前位置：基础设置  > <?=modname($menuid,'name')?> > 字段管理</div>

<? include inTemplate(menu);?>
<form action="?file=set&post=index" method="post">
<input name="menuid" type="hidden" value="<?=$menuid?>">
    <table class="usertableborder bb" cellspacing="1" cellpadding="3" width="100%" align="center"
        border="0">
        <tr>
            <th colspan="2">
                模块设置</th>
        </tr>
      
              <tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">缩略图大小</div></td>
          <td width="876" height="30" class="usertablerow2" align="left"> <input name="set[images_size]" type="text" value="<? if ($set['images_size']=='') echo '200,200'?><?=$set['images_size']?>" size="20"> 例如 200,200 为 200宽，200高</td>
         
      </tr>
     <tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">首页模板</div></td>
          <td width="876" height="30" class="usertablerow2" align="left"><?=select(filetemplate(modname($menuid),'index'),$set[index_template],'默认模板','set[index_template]');?> </td>
         
      </tr>
      <tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">列表模板</div></td>
          <td width="876" height="30" class="usertablerow2" align="left"><?=select(filetemplate(modname($menuid),'list'),$set[list_template],'默认模板','set[list_template]');?> </td>
         
      </tr>
<tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">列表页是否生成静态</div></td>
      <td width="876" height="30" class="usertablerow2" align="left"><input type="radio" name="set[list_html]" value="0" class="no"<?php if ($set['list_html']=='0' or $set['list_html']=='') echo 'checked'?>/> 否&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="set[list_html]" value="1" class="no"<?php if ($set['list_html']=='1') echo ' checked'?>/> 是 </td>
         
      </tr>
         
    <tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">列表页地址规则</div></td>
      <td width="876" height="30" class="usertablerow2" align="left"><select name="set[htm_list_urlid]" ><option value="0"<?php if ($set['htm_list_urlid']=='0' or $set['htm_list_urlid']=='') echo ' selected'?>>例 (动态) list.php?id=1</option><option value="2"<?php if ($set['htm_list_urlid']=='2') echo ' selected'?>>例 (假静态) list.php?1.html</option><option value="1"<?php if ($set['htm_list_urlid']=='1') echo ' selected'?>>例 (静态/伪静态) list_1.html</option></select> </td>
         
      </tr>
       <tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">内页模板</div></td>
          <td width="876" height="30" class="usertablerow2" align="left"><?=select(filetemplate(modname($menuid),'show'),$set[show_template],'默认模板','set[show_template]');?> </td>
         
      </tr>
<tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">内容页URL是否生成静态</div></td>
      <td width="876" height="30" class="usertablerow2" align="left"><input type="radio" name="set[show_html]" value="0" class="no"<?php if ($set['show_html']=='0' or $set['show_html']=='') echo 'checked'?>/> 否&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="set[show_html]" value="1" class="no"<?php if ($set['show_html']=='1') echo 'checked'?>/> 是  </td>
         
      </tr>
         <tr align="center">
          <td width="142" height="30" valign="top"  class="text" style="padding-right:10px;" align="left"><div align="center">内容页地址规则</div></td>
          <td width="876" height="30" class="usertablerow2" align="left"><select name="set[htm_show_urlid]" <?php if ($set['htm_show_urlid']=='0') echo ' selected'?>><option value="0"<?php if ($set['htm_show_urlid']=='0' or $set['htm_show_urlid']=='') echo ' selected'?>>例 (动态) show.php?id=1</option><option value="2"<?php if ($set['htm_show_urlid']=='2') echo ' selected'?>>例 (假静态) show.php?1.html</option> <option value="1"<?php if ($set['htm_show_urlid']=='1') echo ' selected'?>>例 (静态/伪静态) show_1.html</option></select></td>
        </tr>
      <tr>
          <td height="30" class="text" style="padding-right:10px; text-align:right"></td>
        <td height="30" class="usertablerow1"><input type="submit" name="button" id="button" value=" 确 认 "></td>
           
        </tr>
    </table>
  </form>
</body>
</html>
