<!--
<?php
print <<<EOT
-->
<table width='100%' cellspacing='1' cellpadding='3' class="tablewidth"  id="top_menu">
  <tr>
    <td>[<a href="$admin_path&job=list">采集参数列表</a>] [<a href="$admin_path&job=add_title">手工添加新规则</a>] 
      [<a href="$admin_path&job=addrulesql">导入新规则</a>] [<a href="http://bbs.qibosoft.com/thread-forum-fid-10324.htm" target="_blank">下载新规则</a>] 
    </td>
  </tr>
</table>
<table width='100%' cellspacing='1' cellpadding='3' class="tablewidth">
  <tr align="center" class="head"> 
    <td width="5%">序号</td>
    <td>名 称</td>
    <td width="9%">添加日期</td>
    <td width="12%">标题规则</td>
    <td width="8%">内容规则</td>
	 <td width="8%">多页规则</td>
    <td width="9%">相关操作</td>
    <td width="8%">导出规则</td>
    <td width="6%">采集</td>
  </tr>
  <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
  <tr align="center" bgcolor="#FFFFFF" class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
    <td width="5%">$rs[id]</td>
    <td align="left">$rs[webname]</td>
    <td width="9%">$rs[posttime]</td>
    <td width="12%" ><a href="$admin_path&job=edit_title&id=$rs[id]">修改标题</a></td>
    <td width="8%"><a href="$admin_path&job=edit_content&id=$rs[id]">修改内容</a></td>
	<td width="8%"><a href="$admin_path&job=edit_page&id=$rs[id]">修改多页</a></td>
    <td width="9%"> <a href="$admin_path&job=edit_content&id=$rs[id]"><img alt='点击修改' src='../member/images/button_edit.png' border=0></a> 
      &nbsp;<a href="$admin_path&action=deleterule&id=$rs[id]" onClick="return confirm('你确认要删除本条规则吗?')"> 
      <img alt='点击删除' src='../member/images/del_icon2.gif' border=0></a></td>
    <td width="8%"><a href="$admin_path&job=sharerulesql&id=$rs[id]"><img alt='导出采集规则' src='images/plub.gif' border=0></a></td>
    <td width="6%"><a href="$admin_path&action=gather_title&id=$rs[id]">采集</a></td>
  </tr>
  <!--
EOT;
}
print <<<EOT
-->
  <tr align="center" bgcolor="#FFFFFF"> 
    <td colspan="8">{$showpage}</td>
  </tr>
</table>
<br>
<table width="100%" border="0"  cellpadding="3" cellspacing="1" class="tablewidth">
  <tr class="head"> 
    <td>注意事项:</td>
  </tr>
  <tr>
    <td>
      <p>1.如果采集失败,出错信息包含php_network_getaddresses这样的字符串,那代表网络有问题,或者是你的服务器本机的DNS没配置好,不能解释域名的IP,请检查服务器DNS配置<br>
        2.如果采集失败,出错信息包含URL file-access is disabled这样的字符串,那代表你的服务器PHP设置禁用了allow_url_fopen,请修改服务器php.ini把allow_url_fopen 
        = Off改成allow_url_fopen = On然后重启服务器即可</p>
      </td>
  </tr>
</table>
<!--
EOT;
?>
-->