<!--
<?php
print <<<EOT
-->
<div class="ListTopMenu">
	<a href="index.php?lfj=gather&job=list">采集参数列表</a>
    <a href="index.php?lfj=gather&job=add_title">手工添加新规则</a>
    <a href="index.php?lfj=gather&job=addrulesql">导入新规则</a>
    <a href="http://bbs.qibosoft.com/thread-forum-fid-10324.htm" target="_blank">下载新规则</a> 
</div>
<div class="MainCont">
<table width='100%' cellspacing='0' cellpadding='0' class="ListTable">
  <tr> 
    <th width="5%">序号</th>
    <th>名 称</th>
    <th width="12%">所属分类</th>
    <th width="8%">添加日期</th>
    <th width="8%">标题规则</th>
    <th width="8%">内容规则</th>
	<th width="8%">内容多页</th>
    <th width="10%">相关操作</th>
    <th width="8%">导出规则</th>
    <th width="5%">采集</th>
  </tr>
<!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
  <tr> 
    <td>$rs[id]</td>
    <td class="txL">$rs[webname]</td>
    <td>$rs[name]</td>
    <td>$rs[posttime]</td>
    <td><a href="index.php?lfj=$lfj&job=edit_title&id=$rs[id]">修改规则</a></td>
    <td><a href="index.php?lfj=$lfj&job=edit_content&id=$rs[id]">修改规则</a></td>
	<td><a href="index.php?lfj=$lfj&job=edit_page&id=$rs[id]">修改设置</a></td>
    <td> 
    	<a href="index.php?lfj=$lfj&job=edit_content&id=$rs[id]"><img alt='点击修改' src='../member/images/button_edit.png'/></a>
        <a href="index.php?lfj=$lfj&action=deleterule&id=$rs[id]" onClick="return confirm('你确认要删除本条规则吗?')"> 
      <img alt='点击删除' src='../member/images/del_icon2.gif'/></a></td>
    <td><a href="index.php?lfj=$lfj&job=sharerulesql&id=$rs[id]"><img alt='导出采集规则' src='images/plub.gif'/></a></td>
    <td><a href="index.php?lfj=$lfj&action=gather_title&id=$rs[id]">采集</a></td>
  </tr>
<!--
EOT;
}
$showpage=$showpage?"<div class='ShowPage'>$showpage</div>":"";
print <<<EOT
-->
</table>
	$showpage
    <div class="ListBut">请选择{$sort_fid}</div>
</div>
<div class="MainCont">
	<div class="head"><div class="tag">注意事项:</div></div>
	<ul class="NoteList">
    	<li>1.如果采集失败,出错信息包含php_network_getaddresses这样的字符串,那代表网络有问题,或者是你的服务器本机的DNS没配置好,不能解释域名的IP,请检查服务器DNS配置</li>
        <li>2.如果采集失败,出错信息包含URL file-access is disabled这样的字符串,那代表你的服务器PHP设置禁用了allow_url_fopen,请修改服务器php.ini把allow_url_fopen = Off改成allow_url_fopen = On然后重启服务器即可</li>
        <li>3.本采集系统,支持各个自定义内容模型的采集(如图片、下载、视频等),你只需要修改内容采集规则,把自定义模型的字段放进去即可.</li>
	</ul>
</div>
<!--
EOT;
?>
-->