<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="img/base.css" rel="stylesheet" type="text/css">
<title>采集内容导出</title>
</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="co_export.php" method="get" target="stafrm">
    <input type="hidden" name="nid" value="<?php echo $nid?>" />
    <input type="hidden" name="totalcc" value="<?php echo $totalcc?>" />
    <input type="hidden" name="channelid" value="<?php echo $channelid?>" />
    <input type="hidden" name="dopost" value="done" />
    <tr> 
      <td height="28" colspan="3" background='img/tbg.gif'><strong><a href="co_main.php"><u>采集管理</u></a> 
        &gt; 采集内容导出：</strong></td>
    </tr>
    <tr> 
      <td height="24" colspan="3" bgcolor="#F8FCF1">
      	<strong>共有[<?php echo $totalcc; ?>]条可导出数据：</strong>
      	<?php
      	if(empty($nid))
      	{
      		echo "<br /><font color='red'>你当进行的操作是--导出所有采集内容，需注意下面问题：<br />\r\n";
      	  echo "1 、如果你采集的内容包含多个内容模型的信息，本操作将会出错！<br />\r\n";
      	  echo "2 、这种模式'完成后自动生成导入内容HTML'功能无效。\r\n";
      	  echo "</font>";
        }
      	?>
      </td>
    </tr>
    <tr> 
      <td width="26%" height="24" align="center" bgcolor="#FFFFFF">默认导出栏目：</td>
      <td width="74%" colspan="2" bgcolor="#FFFFFF"> 
        <?php
         $typeOptions = GetOptionList(0,$cuserLogin->getUserChannel(),$channelid);
         echo "<select name='typeid' style='width:300px'>\r\n";
         echo "<option value='0' selected>请选择主分类...</option>\r\n";
         echo $typeOptions;
         echo "</select>";
	    ?>
	    （请选择白色的栏目）
      </td>
    </tr>
    <tr> 
      <td height="24" align="center" bgcolor="#FFFFFF">
      	批量采集选项：
      </td>
      <td colspan="2" bgcolor="#FFFFFF">
      	<input name="autotype" type="checkbox" id="autotype" value="1" class="np"<?php if($usemore==1 || empty($nid)) echo " checked='1' "; ?>/>
      	使用采集规则中指定的栏目ID(如果目标的栏目ID为0，则用上面选择的栏目)
      </td>
    </tr>
    <tr> 
      <td height="24" align="center" bgcolor="#FFFFFF">发布选项：</td>
      <td colspan="2" bgcolor="#FFFFFF">
      	<input name="arcrank" type="radio" class="np" value="0" checked='1' />
        普通文档 
        <input name="arcrank" type="radio" class="np" value="-1" />
        保存为草稿 
        </td>
    </tr>
    <tr> 
      <td height="24" align="center" bgcolor="#FFFFFF">每批导入：</td>
      <td colspan="2" bgcolor="#FFFFFF">
      	<input name="pagesize" type="text" id="pagesize" value="60" style="width:30px" /> 条
      </td>
    </tr>
    <tr> 
      <td height="24" align="center" bgcolor="#FFFFFF">附带选项：</td>
      <td colspan="2" bgcolor="#FFFFFF">
      	<input name="onlytitle" type="checkbox" id="onlytitle" value="1" class="np" />
        排除重复标题
        <input name="makehtml" type="checkbox" id="makehtml" value="1" class="np" />
        完成后自动生成导入内容HTML
        <input name="usetitle" type="checkbox" id="usetitle" value="1" class="np" />
        使用列表索引的标题
      </td>
    </tr>
    <tr> 
      <td height="24" align="center" bgcolor="#FFFFFF">随机推荐：</td>
      <td colspan="2" bgcolor="#FFFFFF">
      	<input name="randcc" type="text" id="randcc" value="12" style="width:30px" />
        (0 表示不推荐，具体数值表示大约多少篇文档出现一篇推荐[随机])
      </td>
    </tr>
    <tr> 
      <td height="24" colspan="3" bgcolor="#F8FCF1">&nbsp;</td>
    </tr>
    <tr> 
      <td height="34" colspan="3" align="center" bgcolor="#FFFFFF">
      	<input name="imageField" type="image" src="img/button_ok.gif" width="60" height="22" border="0" class="np" />
		&nbsp;
        <a href="co_main.php"><img src="img/button_back.gif" width="60" height="22" border="0" /></a> 
      </td>
    </tr>
  </form>
  <tr> 
    <td height="34" colspan="3" align="center" bgcolor="#E6F3CD">
    	<table width="100%">
        <tr> 
          <td width="74%">进行状态： </td>
          <td width="26%" align="right"></td>
        </tr>
      </table>
      </td>
  </tr>
  <tr> 
    <td height="150" colspan="3" bgcolor="#FFFFFF" id="mtd">
    <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="300"></iframe>
	  </td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>
