<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form1" method="post" action="index.php?lfj=$lfj&action=$job">
    <tr class="head"> 
      <td width="7%" align="center">序號 </td>
      <td width="32%" align="center">名稱</td>
      <td width="24%" align="center">類型 </td>
      <td width="37%" align="center">刪除 修改設置 修改名稱 獲取代碼 預覽</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td width="7%" align="center">$rs[lid]</td>
      <td width="32%">$rs[name]</td>
      <td width="24%" align="center"> $rs[type]</td>
      <td width="37%" align="center"><a href="index.php?lfj=$lfj&action=delete&id=$rs[lid]"  onclick="return confirm('刪除後不可恢復,你確實要刪除嗎?')"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a> 
        &nbsp; <a href="index.php?lfj=label&&job=mod&ch=$rs[ch]&chtype=$rs[chtype]&tag=$rs[tag]&inc=$rs[type]&ch_ifjs=1"><img alt='設置管理' src='../member/images/icon_manage2.gif' border=0></a> 
        &nbsp; <a href="index.php?lfj=$lfj&job=edit&lid=$rs[lid]"><img alt='點擊修改' src='../member/images/button_edit.png' border=0></a> 
        &nbsp; <a href="javascript:" onClick="JM_cc('js_$rs[lid]');alert('復制succeed，你可以粘貼在網頁代碼里！')"><img alt='' src='../member/images/art_icon.gif' border=0></a>
        <input type="hidden" name="hiddenField" value='<script src="$webdb[www_url]/do/js.php?id=$rs[lid]"></script>' id="js_$rs[lid]">
        &nbsp; <a href="index.php?lfj=$lfj&job=show&id=$rs[lid]"><img alt='預覽效果' src='../member/images/icon_view.gif' border=0></a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td colspan="4" align="center"> $showpage </td>
    </tr>
  </form>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form1" method="post" action="index.php?lfj=$lfj&action=$job">
    <tr class="head"> 
      <td>幫助說明</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td>你可以在網頁的任意地方調用上面的JS代碼,即可顯示你需要的標題內容.非常的靈活方便.站內站外都可以調用</td>
    </tr>
  </form>
</table>
<SCRIPT LANGUAGE="JavaScript">
<!--
function JM_cc(ob){
var obj=document.getElementById(ob); if (obj) { 
obj.select();js=obj.createTextRange();js.execCommand("Copy");}
}
//-->
</SCRIPT>
<!--
EOT;
?>
-->
