<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>更新栏目HTML</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>
<body background='img/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D1DDAA" align="center">
  <form name="form1" action="makehtml_tag_action_list.php" method="get" target='stafrm'>
    <tr> 
      <td height="28" colspan="2" background='img/tbg.gif'>
      	<table width="98%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="30%" height="18"><strong>更新TAG列表HTML：</strong> </td>
            <td width="70%" align="right">
            	( Design By NIC 2009-7-27 QQ:2384419)
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr> 
      <td width="108" valign="top" bgcolor="#FFFFFF">选择TAG：</td>
      <td width="377" valign="top" bgcolor="#FFFFFF"> 
    <?php
       $sql="select * from #@__tagindex order by tag asc"; 
       $dsql->Execute('al',$sql);
	   echo "<select name='typeid' style='width:300px'>\r\n";
       echo "<option value='0' selected='1'>更新所有TAG...</option>\r\n";
       while($row=$dsql->GetObject('al')){       
         echo "<option value='".$row->id."'>".$row->tag."</option>";
	   }
       echo "</select>";
		?>
      </td>
    </tr>
	<tr> 
      <td height="20" valign="top" bgcolor="#FFFFFF">是否强制全部生成：</td>
      <td height="20" valign="top" bgcolor="#FFFFFF">
	  <input name="all" type="radio" class="np" value="1"  />
     重新生成全部TAG列表  
    <input type="radio" name="all" class="np" value="0" checked='1'/>
     仅更新上次生成后有变化的TAG
    </td>
    </tr>

    <tr>
      <td height="20" valign="top" bgcolor="#FFFFFF">每次最大创建页数：</td>
      <td height="20" valign="top" bgcolor="#FFFFFF"><input name="maxpagesize" type="text" id="maxpagesize" value="50" size="10">
        个文件 </td>
    </tr>
	 <tr>
      <td height="20" valign="top" bgcolor="#FFFFFF">说明：</td>
      <td height="20" valign="top" bgcolor="#FFFFFF"> * TAG列表页模板文件：<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/list_tag.htm<br>
	                                                 * TAG首页模板文件：<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/index_tag.htm<br>
	  
	  </td>
    </tr>	
    <!--
	-->
    <tr> 
      <td height="20" colspan="2" bgcolor="#FAFAF1" align="center">
      	<input name="b112" type="button" class="coolbg np" value="生成TAG列表HTML" onClick="document.form1.action='makehtml_tag_action_list.php';document.form1.submit();" style="width:100px"> 
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="nic_b112" type="button" class="nbt" value="生成TAG首页HTML" onClick="document.form1.action='makehtml_tag_action_index.php';document.form1.submit();" style="width:120">
      </td>
    </tr>
  </form>
  <tr bgcolor="#E6F3CD"> 
    <td height="20" colspan="2"> <table width="100%">
        <tr> 
          <td width="74%">进行状态： </td>
          <td width="26%" align="right"> <script language='javascript'>
            	function ResizeDiv(obj,ty)
            	{
            		if(ty=="+") document.all[obj].style.pixelHeight += 50;
            		else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
            	}
            	</script>
            [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] 
          </td>
        </tr>
      </table></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td colspan="2" id="mtd">
    	<div id='mdv' style='width:100%;height:350px;'> 
        <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
      </div>
	  </td>
  </tr>
</table>
</body>
</html>
