<?
include('inc.php');
$rows_type=$mysql->query("select * from `".$BIAOTOU."type`");
  $n_type=mysql_query("select * from `".$BIAOTOU."type`");
  $n_type = mysql_num_rows($n_type);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="css/admin.css">
<link href="css/jquery.css" rel="stylesheet" type="text/css">
<link href="css/base.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

</head>
<body> 


<div class="right">
 <? include "welcome.php";?>
  <div class="right_main">

<table width="98%" border="0" cellpadding="4" cellspacing="1" class="tableoutline">
        <tr class="tb_head">
          <td colspan="5"><h2>分类采集：</h2></td>
        </tr>
        <tr align=center class="firstalt">
          <td width="3%" >ID</td>
          <td width="15%" >目标站</td>
          <td width="15%" >分类</td>
		  <td width="15%" >入库到分类</td>
          <td width="10%" nowrap>操作</td>
        </tr>
		
		<tr align=center class="firstalt">
		<td >1</td>
		<td ><a href="http://chuansong.me" target="_blank">传送门</a></td><form action="caiji/cjapi_chuansong.php" method="post">
		<td><select name="cometype" onFocus="this.style.borderColor='#00CC00'" onBlur="this.style.borderColor='#dcdcdc'" >
<option value="auto" >汽车</option>
<option value="ideatech" >创意·科技</option>
<option value="newsmedia" >媒体·达人</option>
<option value="fun" >娱乐·休闲</option>
<option value="lifejourney" >生活·旅行</option>
<option value="utility" >学习·工具</option>
<option value="hisbook" >历史·读书</option>
<option value="finance" >金融·理财</option>
<option value="food" >美食·菜谱</option>
<option value="moviemusic" >电影·音乐</option>
                     				                         
			</select></td>

		<td><select name="type" onFocus="this.style.borderColor='#00CC00'" onBlur="this.style.borderColor='#dcdcdc'" >
			<?php for($i=0;$i<$n_type;$i++){ ?>
			<option value="<?=$rows_type[$i]['id']?>" <? if ($data[type] ==$rows_type[$i]['id'])echo " selected";?>><?=$rows_type[$i]['type']?></option>
                     <?php }?>
				                         
			</select></td>
		<td style=text-align:center><input class="bginput" type="submit" name="submit" value=" 采集 "></td>
		</tr><tr align=center class="firstalt"><td colspan="10" align="center"><font color="red">采集搜狗微信或更多采集请使用VIP版火车头采集！</font></td></tr>
</form>
		
</form>
			
</table>
</div>
</div>
<? include "footer.php";?>
</body>
</html>