<!--
<?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  class="head"> 
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr> 
      <td colspan="2">好東西別忘了大家共享分享哦!!</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="22%" align="center">導出的采集規則SQL語句:</td>
      <td width="78%"><a href="index.php?lfj=$lfj&job=edit_title&id=$rs[id]"> 
        </a><a href="index.php?lfj=$lfj&action=gather_title&id=$rs[id]"></a> 
        <textarea name="sqlcode" cols="60" rows="8" id="sqlcode">$SQL</textarea>
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="22%" align="center">&nbsp;</td>
      <td width="78%"> 
        <input type="button" name="Submit" value="復制" onclick="JM_cc('sqlcode')">
         <SCRIPT LANGUAGE="JavaScript">
 <!--
 function JM_cc(ob){
var obj=document.getElementById(ob); if (obj) { 
obj.select();js=obj.createTextRange();js.execCommand("Copy");
alert('復制succeed,記得與大家分享哦!');
}

}
 //-->
 </SCRIPT>
      </td>
    </tr>
 
</table>
<!--
EOT;
?>
-->