<!--
<?php
print <<<EOT
-->  
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
  <form name="form1" method="post" action="index.php?lfj=$lfj&action=$job">
    <tr class="head"> 
      <td width="5%" align="center">ID </td>
      <td width="18%" align="center">名稱</td>
      <td width="9%" align="center">首頁顯示</td>
      <td width="8%" align="center">排序</td>
      <td width="15%" align="center">LOGO</td>
      <td width="17%" align="center">狀態</td>
      <td width="11%" align="center">分類</td>
      <td width="7%" align="center">審核</td>
      <td width="10%" align="center">修改/刪除</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor='#FFFFFF'> 
      <td width='5%' align="center">$rs[id]</td>
      <td width="18%"> 
        <input type="checkbox" name="iddb[{$rs[id]}]" value="$rs[id]">
        <a href="$rs[url]" target="_blank">$rs[name]</a> </td>
      <td width="9%" align="center">$rs[ifshow]</td>
      <td width="8%" align="center"> 
        <input type="text" name="listdb[{$rs[id]}]" size="3" value="$rs[list]">
      </td>
      <td width="15%" align="center"> 
        <!--
EOT;
if(!$rs[iswordlink]&&$rs[logo]){
print <<<EOT
-->
        <a href="$rs[url]" target="_blank">$rs[logo]</a> 
        <!--
EOT;
}print <<<EOT
-->
      </td>
      <td width="17%" align="center">$rs[state]</td>
      <td width="11%" align="center"><a href="index.php?lfj=friendlink&job=list&fid=$rs[fid]">$rs[fname]</a></td>
      <td width="7%" align="center">$rs[yz]</td>
      <td width="10%" align="center"><a href="index.php?lfj=friendlink&job=mod&id=$rs[id]"><img alt='點擊修改' src='../member/images/button_edit.png' border=0></a>&nbsp;&nbsp;<a href="index.php?lfj=friendlink&action=delete&id=$rs[id]" onClick="return confirm('刪除後不可恢復,你確實要刪除嗎?')"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr bgcolor='#FFFFFF'> 
      <td colspan="9" align="center"> $showpage</td>
    </tr>
    <tr bgcolor='#FFFFFF'> 
      <td colspan="9" align="center"> 
        <input type="submit" name="Submit" value="提交處理排序">
      </td>
    </tr>
  </form>
</table>
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
     <tr class="head">  
      <td>說明:</td>
    </tr>
  <tr>
    <td bgcolor="#FFFFFF">系統可以同意你手工在網頁模板添加調用只顯示哪個分類的友情鏈接<br>
      如果首頁已按分類調用顯示友情鏈接的話,那麼就有可能與默認首頁顯示的有重復現象,此時就建議設置首頁不顯示,以免造成重復顯示的情況.</td>
  </tr>
</table>
<!--
EOT;
?>
-->


