<!--#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="../images/Admin_css.css">
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="2" class="admintable">
  <tr>
    <td height="30" class="b1_1"><a href="Admin_ItemAddNew.asp">添加项目</a> >> <font color=red>基本设置</font> >> 列表设置 >> 链接设置 >> 正文设置 >> 采样测试 >> 属性设置 >> 完成</td>
  </tr>         
</table>     
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF" class="admintable" >
<form method="post" action="Admin_ItemAddNew2.asp" name="myform">
    <tr> 
      <td colspan="2" class="admintitle">添加新项目--基本设置</td>
    </tr>
    <tr> 
      <td width="20%" class="b1_1"><strong>项目名称：</strong></td>
      <td width="75%" class="b1_1">
	  <input name="ItemName" type="text" size="27" maxlength="30">&nbsp;&nbsp;<font color=red>*</font>如：新浪网－文章中心 既简单又明了      </td>
    </tr>
    <tr> 
      <td width="20%" class="b1_1"><strong> 所属栏目：</strong></td>
      <td width="75%" class="b1_1"><select ID="ClassID" name="ClassID"><%call Admin_ShowChannel_Option(1)%></select>      </td>
    </tr>
    <tr>
      <td width="20%" class="b1_1"><strong> 网站名称：</strong></td>
      <td width="75%" class="b1_1">
	  <input name="WebName" type="text" size="27" maxlength="30">      </td>
    </tr>
    <tr>
      <td width="20%" class="b1_1"><strong> 网站网址：</strong></td>
      <td width="75%" class="b1_1"><input name="WebUrl" type="text" size="49" maxlength="150">      </td>
    </tr>
    <tr>
      <td class="b1_1"><strong>网站编码：</strong></td>
      <td class="b1_1"><select name="ChannelDir" id="ChannelDir">
          <option value="gb2312">gb2312</option>
          <option value="utf-8">utf-8</option>
      </select></td>
    </tr>
   <tr> 
      <td width="20%" class="b1_1"><strong> 网站登录：</strong></td>
      <td class="b1_1">
		<input name="LoginType" type="radio" class="noborder" onClick="Login.style.display='none'" value="0" checked>不需要登录<span lang="en-us">&nbsp;
		</span>
		<input name="LoginType" type="radio" class="noborder" onClick="Login.style.display=''" value="1">设置参数</td>
    </tr>
   <tr id="Login" style="display:none"> 
      <td width="20%" class="b1_1"><strong> 登录参数：</strong></td>
      <td class="b1_1">
        登录地址：<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> 
      <td width="20%" class="b1_1"><strong>项目备注：</strong></td>
      <td width="75%" class="b1_1"><textarea name="ItemDemo" cols="49" rows="5"></textarea></td>
    </tr>
    <tr> 
      <td colspan="2" align="center" class="b1_1"><input name="Action" type="hidden" id="Action" value="SaveAdd">
        <input name="Cancel" type="button" id="Cancel" value=" 返&nbsp;&nbsp;回 " onClick="window.location.href='Admin_ItemManage.asp'">
        &nbsp; 
        <input  type="submit" name="Submit" value="下&nbsp;一&nbsp;步"></td>
    </tr>
</form>
</table>
<!--#include file="../Admin_Copy.asp"-->     
</body>         
</html>
<%end Sub%>