<!--
<?php
print <<<EOT
-->
<table width='100%' cellspacing='1' cellpadding='3' class="tablewidth"  id="top_menu">
  <tr>
    <td>[<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.php168.com/thread-bbs-fid-1055.html" 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 width="31%">名 稱</td>
    <td width="12%">所屬分類</td>
    <td width="9%">添加日期</td>
    <td width="12%">標題規則</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 width="31%" align="left">$rs[webname]</td>
    <td width="12%" align="center">$rs[name]</td>
    <td width="9%">$rs[posttime]</td>
    <td width="12%" ><a href="index.php?lfj=$lfj&job=edit_title&id=$rs[id]">修改規則</a></td>
    <td width="8%"><a href="index.php?lfj=$lfj&job=edit_content&id=$rs[id]">修改規則</a></td>
    <td width="9%"> <a href="index.php?lfj=$lfj&job=edit_content&id=$rs[id]"><img alt='點擊修改' src='../member/images/button_edit.png' border=0></a> 
      &nbsp;<a href="index.php?lfj=$lfj&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="index.php?lfj=$lfj&job=sharerulesql&id=$rs[id]"><img alt='導出采集規則' src='images/plub.gif' border=0></a></td>
    <td width="6%"><a href="index.php?lfj=$lfj&action=gather_title&id=$rs[id]">采集</a></td>
  </tr>
  <!--
EOT;
}
print <<<EOT
-->
  <tr align="center" bgcolor="#FFFFFF"> 
    <td colspan="9">{$showpage}<a href="index.php?lfj=$lfj&action=gather_title&id=$rs[id]"></a> 
      請選擇{$sort_fid}</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然後重啟服務器即可<br>
        3.本采集系統,支持各個自定義內容模型的采集(如圖片、下載、視頻等),你只需要修改內容采集規則,把自定義模型的字段放進去即可.</p>
      </td>
  </tr>
</table>
<!--
EOT;
?>
-->