求助 采集获取列表正确,但测试发布错误!
采集网站获取到列表了,但是测试发布的时候总是错的,怎么都发不了!下面是返回的代码!我明明填写了标题等各类标签 但依然是这样!
<!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=gb2312" />
<title>添加新闻</title>
<script type="text/javascript">
function CheckConfig()
{
if (document.config.title.value=="")
{
alert('标题不能为空!');
document.config.title.focus;
return false;
}
if (document.config.user.value=="")
{
alert('发布者不能为空!');
document.config.user.focus;
return false;
}
if (document.config.info.value=="")
{
alert('信息来源不能为空!');
document.config.info.focus;
return false;
}
return true;
}
function Clear()
{
document.config.title.value=="";
document.config.user.value=="";
document.config.info.value=="";
}
</script>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
.STYLE1 {color: #FF0000}
.Edit_style {
border: 1px solid #CCCCCC;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
-->
</style>
</head>
<body>
<table width="630" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td height="30" colspan="3" bgcolor="#FFFFFF"><div align="center">添加新闻 | <a href="admin_news.asp">返回新闻管理</a></div></td>
</tr>
<form action="?action=add" method="post" id="config" name="config">
<tr>
<td width="67" height="30" bgcolor="#F7F7F7"><div align="center">新闻标题</div></td>
<td width="560" height="30" colspan="2" bgcolor="#F7F7F7"> <input name="title" type="text" class="Edit_style" id="title" size="35" maxlength="255" /></td>
</tr>
<tr>
<td width="67" height="30" bgcolor="#FFFFFF"><div align="center">新闻分类</div></td>
<td height="30" colspan="2" bgcolor="#FFFFFF">
<select name="classid" id="classid">
<option value="1">刑事审判</option>
<option value="2">审查起诉</option>
<option value="3">侦查阶段</option>
<option value="46">常见罪名</option>
<option value="47">常见问题</option>
<option value="48">辩护技巧</option>
<option value="49">典型案例</option>
<option value="50">法律文书</option>
<option value="51">法律法规</option>
<option value="52">最新动态</option>
</select>
<input name="jf" type="checkbox" id="jf" value="up" checked="checked" />
记忆功能</td>
</tr>
<tr>
<td width="67" height="6" bgcolor="#F7F7F7"><div align="center">发布者</div></td>
<td height="6" colspan="2" bgcolor="#F7F7F7">
<input name="user" type="text" class="Edit_style" id="user" value="334077485" size="20" maxlength="255" /></td>
</tr>
<tr>
<td width="67" height="7" bgcolor="#F7F7F7">小图上传</td>
<td height="7" colspan="2" bgcolor="#F7F7F7"><input name="images" type="text" class="Edit_style" id="images" value="/images/nopic.jpg" size="36" maxlength="255" />
<input name="xs" type="checkbox" id="xs" value="yes" />
<span class="STYLE1">设为图片显示新闻</span>
<iframe name="ad" frameborder=0 width=560 height=40 scrolling=no src=tp-shangchuan.asp></iframe></td>
</tr>
<tr>
<td width="67" height="30" bgcolor="#FFFFFF"><div align="center">新闻来源</div></td>
<td colspan="2" bgcolor="#FFFFFF">
<input name="info" type="text" class="Edit_style" id="info" value="转载" size="20" maxlength="255" />
来源网址
<input name="infourl" type="text" class="Edit_style" id="infourl" size="20" maxlength="255" />
<input type="radio" name="radiobutton" value="radiobutton" onclick="info.value='原创'" />
原创
<input name="radiobutton" type="radio" value="radiobutton" onclick="info.value='转载'" checked="checked" />
转载</td>
</tr>
<tr>
<td width="67" height="30" bgcolor="#F7F7F7"><div align="center">新闻内容</div></td>
<td colspan="2" bgcolor="#F7F7F7"><INPUT type="hidden" name=content>
<iframe ID="eWebEditor1" src="ewebeditor.asp?id=content&style=s_3d" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe> </td>
</tr>
<tr>
<td height="40" colspan="3" bgcolor="#FFFFFF"><div align="center">
<input type="image" src="images/Post.gif" name="Submit" onclick="return CheckConfig();" /> </div></td>
</tr>
</form>
</table>
</body>
</html>
页:
[1]