<?php 
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<script language='JavaScript'>
function checkform()
{
	var obj1 = document.getElementById("channelid");
	var obj2 = document.getElementById("catid");
	if(obj1.value=="0")
	{
		alert("您还没有选择频道");
		return false;
	}
	else if(obj2.value=="0")
	{
		alert("您还没有选择栏目");
		return false;
	}
	return true;
}
</script>

<table cellpadding="0" cellspacing="0" border="0" width="100%" height="5">
  <tr>
    <td></td>
  </tr>
</table>
<?=$menu?>
<form method="post" name="myform">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="5">
  <tr>
    <td></td>
  </tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<th colspan=10><a href="?mod=<?=$mod?>&file=<?=$file?>&action=outcontent"><font color="white">发布内容</font></a></th>
<tr align="center">
<td colspan="10" class="tablerowhighlight">第一步:  选择频道及发布到的栏目</td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td  align="right" class="tablerow"><strong>选择频道&nbsp;&nbsp;</strong></td>
<td width="60%"  class="tablerow"><?=$channel_select?>&nbsp;<font color="Red">*</font></td>
<td width="10%"  class="tablerow"></td>
</tr>
<tr>
<td  align="right"  class="tablerow"><strong>选择栏目&nbsp;&nbsp;</strong></td>
<td width="60%"  class="tablerow"><?=$cat_select?>&nbsp;<font color="Red">*</font></td>
<td width="10%"  class="tablerow"></td>
</tr>
<tr align="center">
<td colspan="3"></td>
</tr>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
<input type="submit" name="submit" value="下一步" onClick="if(checkform()) document.myform.action='?mod=<?=$mod?>&file=collect&action=outcontent&jobid=<?=$jobid?>&step=2'">&nbsp;&nbsp;&nbsp;&nbsp;
</td>
  </tr></form>
</table>
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align=center></td>
  </tr>
</table>

<table cellpadding="2" cellspacing="1" border="0" align=center class="tableBorder" >
  <tr>
    <td class="submenu" align=center>提示信息</td>
  </tr>
  <tr>
    <td class="tablerow">
	  <p>选择系统频道和相应栏目后，您可以将您采集的数据内容发布到不同的频道及栏目中去，该处两项必选！</p>    </td>
  </tr>
</table>
</body>
</html>