<!--
<?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" align="center"> 
      <td width="6%">序號 </td>
      <td width="24%">投票項目</td>
      <td width="49%">描 述</td>
      <td width="21%">刪 / 改 / 查看 / 獲取代碼</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF" align="center"> 
      <td width="6%">$rs[cid]</td>
      <td width="24%">$rs[name]</td>
      <td width="49%">$rs[about] </td>
      <td width="21%"><a href="index.php?lfj=$lfj&action=delete&cid=$rs[cid]&aid=$rs[aid]"  onclick="return confirm('刪除後不可恢復,你確實要刪除嗎?')"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a> 
        / <a href="index.php?lfj=$lfj&job=edit&cid=$rs[cid]"><img alt='點擊修改' src='../member/images/button_edit.png' border=0></a> / <a href="$webdb[www_url]/do/vote.php?job=show&cid=$rs[cid]" target="_blank"><img alt='瀏覽' src='../member/images/icon_view.gif' border=0></a> 
        / <a href="?lfj=$lfj&job=make&cid=$rs[cid]"><img alt='獲取JS代碼' src='../member/images/art_icon.gif' border=0></a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr align="center" bgcolor="#FFFFFF"> 
      <td colspan="4"> $showpage </td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF"> 
      <td colspan="4">&nbsp; </td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->
