 <!--#include file="inc/conn.asp"-->
<!--#include file="inc/function.asp"-->
 <%
Call Main()
'关闭数据库链接
Call CloseConn()
Call CloseConnItem()
Sub Main%>
<html>
<head>
<title>采集系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../css/Admin_Style.css">
</head>
 

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="border">
  <tr> 
    <td height="22" colspan="2" align="center" class="topbg"><strong>采&nbsp;&nbsp;集&nbsp;&nbsp;系&nbsp;&nbsp;统&nbsp;&nbsp;项&nbsp;&nbsp;目&nbsp;&nbsp;管&nbsp;&nbsp;理</strong></td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="border">
  <tr class="tdbg"> 
    <td width="65" height="30"><strong>管理导航：</strong></td>
    <td height="30"><a href="Admin_ItemAddNew.asp">添加项目</a> >> <font color=red>基本设置</font> >> 列表设置 >> 链接设置 >> 正文设置 >> 采样测试 >> 属性设置 >> 完成</td>         
  </tr>         
</table>
<br>         
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="border" >
<form method="post" action="Admin_ItemAddNew2.asp" name="myform">
    <tr> 
      <td height="22" colspan="2" class="title"> <div align="center"><strong>添 加 新 
		项 目--基 本 设 置</strong></div></td>
    </tr>
    <tr class="tdbg"> 
      <td width="20%" class="tdbg"><strong>项目名称：</strong></td>
      <td class="tdbg" width="75%">
		<input name="ItemName" type="text" size="27" maxlength="30">
		&nbsp;&nbsp;<font color=red>*</font></td>
    </tr>
   <tr class="tdbg"> 
      <td width="20%" class="tdbg"><strong> 所属频道：</strong></td>
      <td class="tdbg">
		<input type="radio" value="1" name="ChannelID" onClick="info.style.display='';expo.style.display='none'">
		商业资讯<span lang="en-us">&nbsp;
		</span>
		<input type="radio" value="2" name="ChannelID" onClick="expo.style.display='';info.style.display='none'">
		展会资讯 <font color=red> * </font></td>
    </tr>
    <tr class="tdbg" id="info" style="display:none"> 
      <td width="20%" class="tdbg"><strong> 所属栏目：</strong></td>
      <td class="tdbg" width="75%"><font color="#F4FAFF"> 
              <select name="infoClassID" size="1" class="lh17">
			  <option selected>--+选择商业资讯类别+--</option>
<%
set rs1=server.CreateObject("adodb.recordset")
sql1="select * from Websen_newsType"
rs1.open sql1,conn,1,1
if not rs1.eof then
do while not rs1.eof
response.write "<option value='"&rs1("typeid")&"'>"&rs1("type")&"</option>"&chr(13)+chr(10)
rs1.movenext
loop
rs1.close
end if
%> 
</select> <font color=red> * </font> <a href="../info/Class_Ok.asp?action=add_class_1"><font color='#FF0000'>添加</font></a></font>
      </td>
    </tr>
    <tr class="tdbg" id="expo" style="display:none"> 
      <td width="20%" class="tdbg"><strong> 所属栏目：</strong></td>
      <td class="tdbg" width="75%"><font color="#F4FAFF"> 
              <select name="expoClassID" size="1" class="lh17">
			  <option selected>--+选择展会资讯类别+--</option>
          <%
set rs1=server.CreateObject("adodb.recordset")
sql1="select * from Websen_expoinfotype"
rs1.open sql1,conn,1,1
if not rs1.eof then
do while not rs1.eof
response.write "<option value='"&rs1("id")&"'>"&rs1("type")&"</option>"&chr(13)+chr(10)
rs1.movenext
loop
rs1.close
end if 
%> 
              </select> <font color=red> * </font> <a href="../expo/Class_Ok.asp?action=add_class_1"><font color='#FF0000'>添加</font></a></font> 
			   </font>
      </td>
    </tr>
    <tr>
      <td width="20%" class="tdbg"><strong> 网站名称：</strong></td>
      <td class="tdbg" width="75%">
		<input name="WebName" type="text" size="27" maxlength="30">
      </td>
    </tr>
    <tr>
      <td width="20%" class="tdbg"><strong> 网站网址：</strong></td>
      <td class="tdbg" width="75%"><input name="ListStr" type="text" size="58" maxlength="200"><font color=red> * </font><font color=blue>注：主要采集网站的列表页</font>
      </td>
    </tr>
   <tr class="tdbg"> 
      <td width="150" class="tdbg"><strong> 网站登录：</strong></td>
      <td class="tdbg">
		<input type="radio" value="0" name="LoginType" checked onClick="Login.style.display='none'">不需要登录<span lang="en-us">&nbsp;
		</span>
		<input type="radio" value="1" name="LoginType" onClick="Login.style.display=''">设置参数</td>
    </tr>
   <tr class="tdbg" id="Login" style="display:none"> 
      <td width="150" class="tdbg"><strong> 登录参数：</strong></td>
      <td class="tdbg">
        登录地址：<input name="LoginUrl" type="text" size="40" maxlength="150" value=""><br>
        提交地址：<input name="LoginPostUrl" type="text" size="40" maxlength="150" value=""><br>
        用户参数：<input name="LoginUser" type="text" size="30" maxlength="150" value=""><br>
        密码参数：<input name="LoginPass" type="text" size="30" maxlength="150" value=""><br> 
		失败信息：<input name="LoginFalse" type="text" size="30" maxlength="150" value=""></td>
    </tr>
    <tr class="tdbg"> 
      <td width="20%" class="tdbg"><strong>项目备注：</strong></td>
      <td class="tdbg" width="75%"><textarea name="ItemDemo" cols="49" rows="5"></textarea></td>
    </tr>
    <tr class="tdbg"> 
      <td colspan="2" align="center" class="tdbg"><input name="Action" type="hidden" id="Action" value="SaveAdd">
        <input name="Cancel" type="button" id="Cancel" value=" 取  消 " onClick="window.location.href='Admin_ItemManage.asp'" style="cursor: hand;background-color: #cccccc;">
        &nbsp; 
        <input  type="submit" name="Submit" value="下&nbsp;一&nbsp;步" style="cursor: hand;background-color: #cccccc;"></td>
    </tr>
</form>
</table>
<!--#include file="Admin_ItemFoot.asp"-->     
</body>         
</html>
<%end Sub%>