|
问题是这样的,我制定好采集规则之后测试发布可以成功,以前我也采集过没问题,今天不知道是怎么回事,怎么也发布不出去,火车返回代码如下,希望大家能帮忙看看是什么问题引起的:
File:///D:\LocoySpiderV2009SP4_Standard_Build2009-08-07_xddf\Data\48-要我发经验心得\WebError.log
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加文章 - HBcms</title>
<style> body,td{font-size:9pt;} </style>
<link rel="stylesheet" href="/./script/admin_main_css.css" type="text/css" />
<script src="/./script/admin_main_js.js"></script>
<script type="text/javascript" src="/./script/jquery/jquery.js"></script>
</head>
<base target="_self"></base>
<body leftmargin="0" topmargin="0" bgcolor="white"><TABLE align=center cellSpacing=0 cellPadding=0 class="tb_width link_black nav_table" border=0><tr><td width=150 align=center rowspan=3 vlign=top id="hbcms_logo_area"><a href="http://www.hbcms.com/" target=_blank style="text-decoration:none;"><IMG SRC="/./image/icon/hbcms_logo_120_60.gif" WIDTH="120" HEIGHT="60" BORDER="0" ALT="宏博内容管理系统"></a></td><td valign=bottom><A HREF="main.php">系统后台首页</A> | <A HREF="type_list.php">网站栏目管理</A> | <A HREF="article_batch.php">文章批量管理</A> | <A HREF="type_batch.php">栏目批量管理</A> | <A HREF="article_add.php">添加新的文章</A> | <A HREF="article_list.php">文章高级搜索</A>
</td></tr><tr><td>
<A HREF="my_index_page.php">更新网站首页</A> | <A HREF="mytpl_list.php">网站模板管理</A> | <A HREF="mytag_list.php">自定义的标记</A> | <A HREF="cfg_edit.php">系统配置管理</A> | <A HREF="file_manager.php">在线文件管理</A> | <A HREF="login.php?logout=1">安全退出系统</A></td></tr></table><SCRIPT>top_ad();</SCRIPT><a name=main></a><style type="text/css">
.form_danxuan,.form_duoxuan {width:530px;}
.form_danxuan label,.form_duoxuan label {display:block;float:left;width:130px;font-weight:normal;}
</style>
<CENTER><IMG SRC="../image/icon/addedit.png" WIDTH="48" HEIGHT="48" BORDER="0" ALT="" align=absmiddle><span class=title_1>添加文章</span></CENTER>
<TABLE width=95% align=center>
<TR>
<TD align=right>
<A HREF="article_list.php?type_id=38" class=red>- 文章 -</A>
</TD>
</TR>
</TABLE>
<TABLE class=tb_1 align=center cellpadding='0' cellspacing='0'>
<tr class=tb_title_1><th align=center>
添加文章 </th></tr>
<TR>
<TD><CENTER>
<script type="text/javascript">
//<![CDATA[
function validate_form_article(frm) {
var value = '';
var errFlag = new Array();
var _qfGroups = {};
_qfMsg = '';
value = frm.elements['title'].value;
if (value == '' && !errFlag['title']) {
errFlag['title'] = true;
_qfMsg = _qfMsg + '\n - 文章标题: 必须填写';
}
value = frm.elements['title'].value;
if (value != '' && value.length < 2 && !errFlag['title']) {
errFlag['title'] = true;
_qfMsg = _qfMsg + '\n - 文章标题: 至少需要 2 个字母!';
}
value = frm.elements['title'].value;
if (value != '' && value.length > 200 && !errFlag['title']) {
errFlag['title'] = true;
_qfMsg = _qfMsg + '\n - 文章最多不超过 200 个字符';
}
value = frm.elements['type_id'].selectedIndex == -1? '': frm.elements['type_id'].options[frm.elements['type_id'].selectedIndex].value;
var regex = /^-?[1-9][0-9]*/;
if (value != '' && !regex.test(value) && !errFlag['type_id']) {
errFlag['type_id'] = true;
_qfMsg = _qfMsg + '\n - 主栏目: 必须填写';
}
value = frm.elements['hits'].value;
var regex = /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/;
if (value != '' && !regex.test(value) && !errFlag['hits']) {
errFlag['hits'] = true;
_qfMsg = _qfMsg + '\n - 文章点击: 必须是数字';
}
if (_qfMsg != '') {
_qfMsg = '\n=== 有如下错误需要修改 ===\n' + _qfMsg;
_qfMsg = _qfMsg + '\n\n- 请修改上述错误后再重新提交';
alert(_qfMsg);
return false;
}
return true;
}
//]]>
</script>
<form width="100%" action="/admin/article_add.php" method="post" name="form_article" id="form_article" target="_self" onsubmit="try { var myValidator = validate_form_article; } catch(e) { return true; } return myValidator(this);">
<div>
<input name="add_date" type="hidden" value="" />
<input name="mod" type="hidden" value="" />
<input name="article_id" type="hidden" value="" />
<input name="user_id" type="hidden" value="1" />
<table border="0">
<tr>
<td align="right" valign="top"><span style="color: #ff0000">*</span><b>文章标题</b></td>
<td valign="top" align="left"> <input size="80" name="title" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>高级属性</b></td>
<td valign="top" align="left"> <A HREF="###" onclick="return hbcmsShowTr('form_article');" hidefocus="true" style="text-decoration: none;">点这里显示或隐藏 标题颜色,副栏目,图标,作者,来源,分页,关键字,简介,权限,模板,商品 等属性</A></td>
</tr>
<tr>
<td align="right" valign="top"><b>链接网址<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="80" name="jump_url" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>标题颜色<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="10" onclick="getMyColor(this)" onmouseover="this.style.color=this.value;" style="color:black" name="title_color" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>主栏目</b></td>
<td valign="top" align="left"> <select name="type_id">
<option value="0">==== 请选择 ====</option>
<option value="6"> - 新闻公告 - </option>
<option value="11"> - 网赚指南 - </option>
<option value="33"> .... 网赚基础</option>
<option value="32"> .... 本站教程</option>
<option value="34"> .... 网赚晋级</option>
<option value="35"> .... 网赚资讯</option>
<option value="54"> - 网赚工具 - </option>
<option value="63"> - 站长赚钱 - </option>
<option value="15"> - 其他赚钱 - </option>
<option value="25"> .... 调查赚钱</option>
<option value="26"> .... 推广赚钱</option>
<option value="28"> .... 综合赚钱</option>
<option value="29"> .... 挂机赚钱</option>
<option value="64"> - 建站教程 - </option>
<option value="68"> .... 建站基础</option>
<option value="66"> .... 织梦专区</option>
<option value="67"> .... 宏博专区</option>
<option value="22"> - 推广&SEO - </option>
<option value="38" selected="selected"> - 经验心得 - </option>
<option value="16"> - 建站资源 - </option>
<option value="19"> .... 免费空间</option>
<option value="65"> .... 常用源码</option>
<option value="4"> - 友情连接 - </option>
<option value="17"> - QQ专区 - </option>
<option value="39"> .... QQ技巧</option>
<option value="40"> .... QQ安全</option>
<option value="41"> .... QQ工具</option>
<option value="42"> .... 免费Q币</option>
<option value="24"> - 玩转电脑 - </option>
<option value="43"> .... 软件应用</option>
<option value="44"> .... 操作系统</option>
<option value="45"> .... 病毒安全</option>
<option value="46"> .... 硬件专题</option>
<option value="58"> .... 安全资讯</option>
<option value="18"> - 免费电话 - </option>
<option value="60"> - 本站论坛 - </option>
<option value="69"> - 点击赚钱 - </option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>副栏目<span class="hbcms_adv_item a"></span></b></td>
<td valign="top" align="left"> <select name="type_id_2">
<option value="0" selected="selected">==== 请选择 ====</option>
<option value="6"> - 新闻公告 - </option>
<option value="11"> - 网赚指南 - </option>
<option value="33"> .... 网赚基础</option>
<option value="32"> .... 本站教程</option>
<option value="34"> .... 网赚晋级</option>
<option value="35"> .... 网赚资讯</option>
<option value="54"> - 网赚工具 - </option>
<option value="63"> - 站长赚钱 - </option>
<option value="15"> - 其他赚钱 - </option>
<option value="25"> .... 调查赚钱</option>
<option value="26"> .... 推广赚钱</option>
<option value="28"> .... 综合赚钱</option>
<option value="29"> .... 挂机赚钱</option>
<option value="64"> - 建站教程 - </option>
<option value="68"> .... 建站基础</option>
<option value="66"> .... 织梦专区</option>
<option value="67"> .... 宏博专区</option>
<option value="22"> - 推广&SEO - </option>
<option value="38"> - 经验心得 - </option>
<option value="16"> - 建站资源 - </option>
<option value="19"> .... 免费空间</option>
<option value="65"> .... 常用源码</option>
<option value="4"> - 友情连接 - </option>
<option value="17"> - QQ专区 - </option>
<option value="39"> .... QQ技巧</option>
<option value="40"> .... QQ安全</option>
<option value="41"> .... QQ工具</option>
<option value="42"> .... 免费Q币</option>
<option value="24"> - 玩转电脑 - </option>
<option value="43"> .... 软件应用</option>
<option value="44"> .... 操作系统</option>
<option value="45"> .... 病毒安全</option>
<option value="46"> .... 硬件专题</option>
<option value="58"> .... 安全资讯</option>
<option value="18"> - 免费电话 - </option>
<option value="60"> - 本站论坛 - </option>
<option value="69"> - 点击赚钱 - </option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>作者<span class="hbcms_adv_item a"></span></b></td>
<td valign="top" align="left"> <input name="author" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>来源<span class="hbcms_adv_item bb"></span></b></td>
<td valign="top" align="left"> <input name="from" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>图标网址<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="70" onchange="show_pic_preview(this,0);" id="file_0" name="icon_url" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b><span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <span id=pic_preview_0></span> <A HREF="file_upload_image.php?js_function=insertPic2icon&show_top_part=no&total_file_num=1" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);"><IMG SRC="../image/icon/upload_f2.png" WIDTH="18" HEIGHT="18" BORDER="0" align=absmiddle>上传图片</A>/<A HREF="resource_list.php?js_function=insertPic2icon&show_top_part=no&total_file_num=1" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);">选择图片</A> </td>
</tr>
<tr>
<td align="right" valign="top"><b>编辑评价</b></td>
<td valign="top" align="left"> <select name="editor_mark">
<option value="0">未审核</option>
<option value="2">预备发布</option>
<option value="3">低质</option>
<option value="5" selected="selected">普通</option>
<option value="8">较好</option>
<option value="10">推荐</option>
<option value="14">重点推荐</option>
<option value="18">强烈推荐</option>
<option value="20">置顶</option>
<option value="24">重点置顶</option>
<option value="28">永久置顶</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>发表时间<span class="hbcms_adv_item ccc"></span></b></td>
<td valign="top" align="left"> <select name="write_date[Y]">
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010" selected="selected">2010</option>
</select>-<select name="write_date[m]">
<option value="1">01</option>
<option value="2" selected="selected">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>-<select name="write_date[d]">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10" selected="selected">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select> <select name="write_date[H]">
<option value="0">00</option>
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13" selected="selected">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
</select>:<select name="write_date">
<option value="0">00</option>
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58" selected="selected">58</option>
<option value="59">59</option>
</select>:<select name="write_date">
<option value="0" selected="selected">00</option>
<option value="5">05</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="30">30</option>
<option value="35">35</option>
<option value="40">40</option>
<option value="45">45</option>
<option value="50">50</option>
<option value="55">55</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章分页<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="split_size">
<option value="0">手工分页:请在需要分页的地方添加 #p#page_title#e# 标记</option>
<option value="1">自动分页:每页1000个字符</option>
<option value="2">自动分页:每页2000个字符</option>
<option value="3" selected="selected">自动分页:每页3000个字符</option>
<option value="5">自动分页:每页5000个字符</option>
<option value="8">自动分页:每页8000个字符</option>
<option value="10">自动分页:每页1万个字符</option>
<option value="15">自动分页:每页1.5万个字符</option>
<option value="20">自动分页:每页2万个字符</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章内容<br><!-- cc视频插件代码 --><object width="72" height="24"><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="movie" value=" http://union.bokecc.com/flash/pl ... 2042&type=hbcms" /><embed src=" http://union.bokecc.com/flash/pl ... 2042&type=hbcms" type="application/x-shockwave-flash" width="72" height="24" allowScriptAccess="always" wmode="transparent"></embed></object><!-- cc视频插件代码 --></b></td>
<td valign="top" align="left"> <input checked="checked" name="body_ctrl[img_to_icon]" type="checkbox" value="1" id="qf_bb7204" /><label for="qf_bb7204">自动提取第一张图片为文章图标(缩略图)</label> <input name="body_ctrl[download_files]" type="checkbox" value="1" id="qf_44107f" /><label for="qf_44107f">下载远程图片文件</label> <input name="body_ctrl[seo_web_link]" type="checkbox" value="1" id="qf_344810" checked="checked" /><label for="qf_344810">远程链接SEO</label> <BR> <input name="body_ctrl[strip_web_link]" type="checkbox" value="1" id="qf_df14fc" /><label for="qf_df14fc">除去内容中的超级链接</label> <input name="body_ctrl[strip_img_link]" type="checkbox" value="1" id="qf_2c8698" /><label for="qf_2c8698">除去内容中的图片</label> <A HREF="file_upload_image.php?js_function=insertPic2article&show_top_part=no" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);"><IMG SRC="../image/icon/upload_f2.png" WIDTH="18" HEIGHT="18" BORDER="0" align=absmiddle>上传图片<font color=black>/</font>上传文件</A>/<A HREF="resource_list.php?js_function=insertPic2article&show_top_part=no" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);">选择文件</A> <A HREF="article_list.php?js_function=insertArticleLinks&show_top_part=no" target=_blank onclick="return hbcmsOpenNewDiv(this.href,750,500);"><img src="../image/icon/addedit.png" WIDTH="18" HEIGHT="18" BORDER="0" align=absmiddle>添加文章链接</A>(制作专题)<span id=upload_file></span></td>
</tr><tr><td colspan="2"><div><input type="hidden" id="body" name="body" value="" style="display:none" /><input type="hidden" id="body___Config" value="" style="display:none" /><iframe id="body___Frame" src="/./script/FCKeditor/editor/fckeditor.html?InstanceName=body&Toolbar=myDefault" width="680px" height="400px" frameborder="0" scrolling="no"></iframe></div><a name="article_keyword"></a></td></tr>
<tr>
<td align="right" valign="top"><b>文章关键字<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input size="70" title="Meta keywords: Search Engine Optimization(SEO) recommended" name="keyword" type="text" value="" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>自动填写<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input onclick="form.keyword.disabled=this.checked;" name="key_auto" type="checkbox" value="1" id="qf_4012e4" /><label for="qf_4012e4">关键字</label></td>
</tr>
<tr>
<td align="right" valign="top"><b>简介<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <textarea rows="3" cols="76" style="width:560px;" title="Meta description: Search Engine Optimization(SEO) recommended" name="desc"></textarea></td>
</tr>
<tr>
<td align="right" valign="top"><b>自动填写<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input onclick="form.desc.disabled=this.checked;" name="desc_auto" type="checkbox" value="1" id="qf_02f6f3" checked="checked" /><label for="qf_02f6f3">截取详细内容最前面的120个汉字,将其设为简介</label></td>
</tr>
<tr>
<td align="right" valign="top"><b>查看权限<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="article_rank">
<option value="0">所有的</option>
<option value="1">普通会员</option>
<option value="2">VIP会员</option>
<option value="3">高级VIP会员</option>
<option value="4">高级管理员</option>
<option value="5">超级管理员</option>
<option value="6">站长</option>
</select> 需要积分: <input size="4" name="need_money" type="text" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章页面模板<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select multiple="multiple" size="5" name="tpl_dir[]">
<option value="0">- 使用栏目默认的 -</option>
<option value="zh-gb2312.tpl_7.blue_7.126.150:article_detail.tpl.html">冰蓝简洁风格:详细内容页</option>
<option value="zh-gb2312.tpl_7.blue_7.126.150:article_detail_pic.tpl.html">冰蓝简洁风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_001:article_detail.tpl.html">自带DIV+CSS框架模板001:详细内容页</option>
<option value="zh-gb2312.tpl_001:article_detail_pic.tpl.html">自带DIV+CSS框架模板001:视频flash图片页面</option>
<option value="zh-gb2312.tpl_12.lightblue:article_detail.tpl.html">蓝色朴素风格:详细内容页</option>
<option value="zh-gb2312.tpl_12.lightblue:article_detail_pic.tpl.html">蓝色朴素风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_9.gray:article_detail.tpl.html">灰白简洁风格:详细内容页</option>
<option value="zh-gb2312.tpl_9.gray:article_detail_pic.tpl.html">灰白简洁风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_11.black:article_detail.tpl.html">黑色非主流风格:详细内容页</option>
<option value="zh-gb2312.tpl_11.black:article_detail_pic.tpl.html">黑色非主流风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_10.pink:article_detail.tpl.html">粉红靓丽风格:详细内容页</option>
<option value="zh-gb2312.tpl_10.pink:article_detail_pic.tpl.html">粉红靓丽风格:视频flash图片页面</option>
<option value="zh-gb2312.tpl_6.red:article_detail.tpl.html">五彩明朗风格:详细内容页</option>
<option value="zh-gb2312.tpl_6.red:article_detail_pic.tpl.html">五彩明朗风格:视频flash图片页面</option>
<option value="en-iso-8859-1.tpl_1">English template: Pink</option>
<option value="en-iso-8859-1.tpl_2">English template: Blue</option>
<option value="en-iso-8859-1.tpl_3">English template: Red</option>
<option value="299.162:article_detail.tpl.html">宏博cms预设CSS框架模板:文章页</option>
<option value="299.162:article_detail_pic.tpl.html">宏博cms预设CSS框架模板:可显示大图片的文章页</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>商品属性<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="goods_status">
<option value="0">非商品,关闭购买功能</option>
<option value="5">有货</option>
<option value="6">热销</option>
<option value="7">促销</option>
<option value="3">缺货</option>
<option value="4">暂停</option>
</select> 市场价格: <input size="6" name="market_price" type="text" value="0" /> 会员价格: <input size="6" name="member_price" type="text" value="0" /> <A HREF="shopping_cfg.php" target=_blank>配置</A></td>
</tr>
<tr>
<td align="right" valign="top"><b>返回页面<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <select name="return_page">
<option value="list" selected="selected">文章列表</option>
<option value="add">添加文章</option>
</select></td>
</tr>
<tr>
<td align="right" valign="top"><b>自定义偏好<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input name="save_preference" type="checkbox" value="1" id="qf_e26b74" /><label for="qf_e26b74">保存偏好</label></td>
</tr>
<tr>
<td align="right" valign="top"><b>文章点击<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> <input name="hits" type="text" value="1" /></td>
</tr>
<tr>
<td align="right" valign="top"><b>增加字段<span class="hbcms_adv_item"></span></b></td>
<td valign="top" align="left"> 如果您觉得内容字段不够用,<A HREF="cfg_custom_field.php?mod=add&db_table_name=article_base" target=_blank>请点击这里,添加自定义字段</A></td>
</tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> <div style="display:block;"> </div></td>
</tr>
<tr>
<td align="right" valign="top"><b>高级</b></td>
<td valign="top" align="left"> <A HREF="#article_keyword" onclick="hbcmsShowTr('form_article');" name=advance_link>显示高级属性</A></td>
</tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> </td>
</tr>
<tr>
<td align="right" valign="top"><b>帮助</b></td>
<td valign="top" align="left"> <A HREF="http://www.hbcms.com/hbcms/php/search.php?page_name=article_add.php&anchor=" target=_blank><IMG SRC="../image/icon/help1.gif" WIDTH="13" HEIGHT="13" BORDER="0" align=absmiddle>点击这里查看操作指南</A></td>
</tr><tr><td colspan="2"> </td></tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> <input name="btnSubmit" value="添加文章" type="submit" />     <input name="btnReset" value="重置" type="reset" /></td>
</tr>
<tr>
<td align="right" valign="top"><b></b></td>
<td valign="top" align="left"> </td>
</tr>
<tr>
<td></td>
<td align="left" valign="top"><font color=red>*</font> 表示该字段必须填写</td>
</tr>
</table>
</div>
</form> <BR> <BR>
</CENTER></TD>
</TR>
</TABLE>
<script>hbcmsShowTr("form_article");</script><script type="text/javascript" src="/./script/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
myInstanceName = "body";
delay_sec = "0";
function load_fck_editor(InstanceName) {
var oFCKeditor = new FCKeditor(InstanceName) ;
oFCKeditor.BasePath = "/./script/FCKeditor/" ;
oFCKeditor.Width = "680";
oFCKeditor.Height = "400";
/*
oFCKeditor.DefaultLanguage = "zh-cn";
oFCKeditor.TabSpaces = 1;
*/
oFCKeditor.DisplayErrors = false ;
oFCKeditor.ToolbarSet = "myDefault";
oFCKeditor.ReplaceTextarea();
// 检查是否包含script等代码
if ( document.getElementById(InstanceName) != null && document.getElementById(InstanceName).value ) {
var content = document.getElementById(InstanceName).value.toLowerCase();
if ( content.indexOf("<\/script>") != -1 ) {
setTimeout("switch_fck_mode('"+InstanceName+"')",2000);
}
}
}
function get_fck_editor_value(InstanceName) {
//获取FCKeditor的实例
var my_editor = FCKeditorAPI.GetInstance(InstanceName);
//获取FCKeditor的编辑窗口中的内容
var s = my_editor.GetXHTML(true);
return s;
}
function switch_fck_mode(InstanceName) {
var my_editor = FCKeditorAPI.GetInstance(InstanceName);
if (my_editor && my_editor.EditorDocument ) {
my_editor.SwitchEditMode();
}
}
if ( delay_sec > 100 ) {
setTimeout("load_fck_editor('"+myInstanceName+"')",delay_sec);
}
</script>
<script language=javascript>
<!--
function getMyColor(t) {
var old_color = ( t.value.indexOf('#') == 0 ) ? '?'+t.value.substr(1) : '?' + t.value;
var color = showModalDialog("/./script/select_color.html"+old_color+"", "", "dialogWidth:18.5em; dialogHeight:17.5em; status:0");
if (color != null) {
t.value = color;
t.style.color = color;
} else {
t.focus();
}
return true;
}
function insert2CustomField(file_url, file_title, file_desc, file_id) {
document.getElementById(file_id).value = file_url;
document.getElementById(file_id).focus();
}
function insertPic2icon(img_url) {
document.getElementById("file_0").value = img_url.replace('/big/','/small/');
show_pic_preview(document.getElementById("file_0"),0);
document.getElementById("file_0").focus();
}
function insertPic2article(file_url, file_title, file_desc) {
var uf = document.getElementById("upload_file");
if ( uf.innerHTML == "" ) {
uf.innerHTML = "<br>";
}
var img_url = '';
var img_html = '';
var file_url_ary = file_url.split('|');
var file_title_ary = file_title.split('|');
var file_desc_ary = file_desc.split('|');
for(i=0;i<file_url_ary.length; i++ ) {
img_url = file_url_ary;
img_html = '';
if ( file_title_ary != '' ) {
img_html += "<BR><B>"+file_title_ary+"</B>";
}
if ( file_desc_ary != '' ) {
img_html += "<BR>"+file_desc_ary+"";
}
if ( img_url.indexOf('.gif') != -1 || img_url.indexOf('.png') != -1 || img_url.indexOf('.jpg') != -1 || img_url.indexOf('.jpeg') != -1 ) {
uf.innerHTML += "<A HREF=# onclick=\"return fck_insert_html('body', '<img src="+img_url+">');\"><img src='"+img_url+"' width=30 height=30 border=1></A> ";
img_html += "<BR><img src='"+img_url+"' alt='"+file_title_ary+"' border=0 /> <BR>";
} else if ( img_url.indexOf('.swf') != -1 ) {
uf.innerHTML += "<A HREF=# onclick=\"return fck_insert_html('body', '<embed src="+img_url+" type=application/x-shockwave-flash scale=ShowAll play=true loop=true menu=true wmode=Window quality=1></embed>');\">Flash</A> ";
img_html += "<BR><embed src="+img_url+" type=application/x-shockwave-flash scale=ShowAll play=true loop=true menu=true wmode=Window quality=1></embed> <BR>";
} else {
f_basename = img_url.match("[^/]*$")[0];
basename = f_basename.split('\?')[0];
extension = basename.split('.')[1];
uf.innerHTML += "<A HREF=# onclick=\"return fck_insert_html('body', ' 下载: <a href="+img_url+" target=_blank>"+extension+" 文件</a> ');\">"+extension+"</A> ";
img_html += "<BR>下载: <a href='"+img_url+"' target=_blank>"+extension+" 文件</a> <BR>";
}
fck_insert_html("body", img_html);
}
}
function insertArticleLinks(file_url, file_title, file_desc) {
var img_url = '';
var img_html = '';
var file_url_ary = file_url.split('|');
var file_title_ary = file_title.split('|');
var file_desc_ary = file_desc.split('|');
for(i=0;i<file_url_ary.length; i++ ) {
img_url = file_url_ary;
img_html = '';
img_html += "<a href='"+img_url+"'>"+file_title_ary+"<BR>";
if ( file_desc_ary != '' ) {
img_html += ""+file_desc_ary+"<BR>";
}
fck_insert_html("body", img_html);
}
}
function insertCCLinks(cc_url) {
cc_url = cc_url.replace('[cc]','');
cc_url = cc_url.replace('[/cc]','');
cc_html = '<center>视频欣赏:<br><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="438" height="387" style="border:1px gray solid;"> <param name="movie" value="http://union.bokecc.com/'+cc_url+'"><param name="allowFullScreen" value="true" /> <param name="quality" value="high"> <embed src="http://union.bokecc.com/'+cc_url+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="438" height="387" allowFullscreen=true ></embed></object></center>';
fck_insert_html("body", cc_html);
var uf = document.getElementById("upload_file");
if ( uf.innerHTML == "" ) {
uf.innerHTML = "<br>";
}
if( cc_url.indexOf('hbcms_video_link') == -1 ){
uf.innerHTML += '<A HREF=# onclick="return insertCCLinks(\''+cc_url+'&hbcms_video_link=1\');">Video</A> ';
}
// 关闭cc上传界面
if(tools){
tools.destory();
}
return false;
}
function fck_insert_html(InstanceName, html) {
var my_editor = FCKeditorAPI.GetInstance(InstanceName);
my_editor.InsertHtml(html);
return false;
}
//setTimeout("insertCCLinks('flash/player.swf?videoID=64624_773100&autoStart=false&share=true')",5000);
// ############ 上传图片处理函数,来源于 www.izy.cn ###########
function formatSize(size) {
if (size < 0x100000) {// < 1 MB
return Math.round(size / 0x400)+" KB";
} else { // > 1 MB
return (Math.round((size / 0x100000)*10)/10)+" MB";
}
}
function check_pic(t,seq) {
max_size = 20480; // byte
o_w = t.width;
o_h = t.height;
del_checkbox = '';
if ( t.width>100 ) {
t.width=100;
} else if ( t.height>100 ) {
t.height=100;
}
document.getElementById('pic_preview_text_'+seq).innerHTML = " Width: "+o_w+"px Height:"+o_h+"px Size: "+formatSize(parseInt(t.fileSize))+"";
if ( parseInt(t.fileSize) > max_size && seq>0) {
document.getElementById('pic_preview_text_'+seq).innerHTML += "<br><FONT COLOR=red>文件不能超过 "+formatSize(max_size)+"</FONT>";
return false;
}
}
function show_pic_preview(t,seq) {
pic_url = t.value;
pic_url2 = t.value.toLowerCase();
if ( pic_url2 == '' ) {
return false;
}
if ( pic_url2.indexOf('.jp') == -1 && pic_url2.indexOf('.png') == -1 && pic_url2.indexOf('.gif') == -1) {
alert('jpg gif png 文件只能');
resetThisPic(seq,0);
return false;
}
document.getElementById('pic_preview_'+seq).innerHTML = "<table><tr><td><a href='"+pic_url+"' target=_blank><img src='"+pic_url+"' border=0 alt='Click here to view original image!' onload='check_pic(this,"+seq+");'></a></td><td id=pic_preview_text_"+seq+"></td></tr></table>";
}
function resetThisPic(seq,file_size) {
//alert(document.getElementById('file_'+seq+''));
}
function setFocus() {
document.form_article.title.focus();
}
setFocus();
document.body.onload = setFocus;
//-->
</script>
<script>
if ( document.form_article.desc_auto.checked ) {
document.form_article.desc.value = "自动填写";
document.form_article.desc.disabled = true;
}
</script><P><div id="powered_str">
<p><CENTER>如果您对本页功能有任何建议或意见,<A HREF='http://bbs.hbcms.net/'target=_blank>请点击这里</a> 反馈给HBcms系统的开发小组! <a href="help_new_webmaster.php#help_1">系统使用帮助</a> </CENTER> <p><CENTER><font face="Arial" color="green" style="text-decoration:none;"><FONT COLOR="blue" >H</FONT><FONT COLOR="red">B</FONT><A HREF="http://www.hbcms.com/" target=_blank><font color="green" style="text-decoration:none;">CMS</font></A></font> 是一个可免费使用的<A HREF="http://www.hbcms.com/" target=_blank style="color:black;text-decoration:none;">网站内容管理系统</A>,您甚至可以用她来做商业网站。点这里查看详细的<A HREF="http://www.hbcms.com/main/copyright.html" target=_blank>版权说明</A></CENTER></div>
<CENTER><div id="powered_by"><font style="font-family: Arial;clear: both;">Powered by <A HREF="http://www.hbcms.com/" target=_blank><font face="Arial" color="green" style="text-decoration:none;"><FONT COLOR="blue" >H</FONT><FONT COLOR="red">B</FONT>CMS</font></A> © 2006-2010 <A HREF="http://www.hbw.cn/" target=_blank style="text-decoration:none;"><font face="Arial"><FONT COLOR="blue" >H</FONT><FONT COLOR="red">B</FONT></font></A>, Inc.</font></div></CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!--
bottom_ad();
//-->
</SCRIPT></body> </html> |
|