<!--
<?php
print <<<EOT
--> 

<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <tr class="head" align="center"> 
    <td width="22%">廣告位名稱</td>
    <td width="10%">購買者</td>
    <td width="14%">有效日期</td>
    <td width="39%">廣告內容</td>
    <td width="6%"> 出價</td>
    <td width="9%">管理</td>
  </tr>
  <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
  <tr bgcolor="#FFFFFF" class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
    <td width="22%" align="center">{$rs[name]}</td>
    <td width="10%" align="center">$rs[username] </td>
    <td width="14%" align="center">開始:$rs[begintime]<br>
      結束:$rs[endtime]</td>
    <td width="39%" align="center"><a href="{$rs[adlink]}">{$rs[adword]}</a></td>
    <td width="6%" align="center">$rs[money]</td>
    <td width="9%" align="center"><a href="?lfj=$lfj&ad_id=$rs[ad_id]&action=deleteusr" onclick="return confirm('你確認要刪除這個廣告嗎?')"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a></td>
  </tr>
  <!--
EOT;
}
print <<<EOT
-->
  <tr bgcolor="#FFFFFF"> 
    <td colspan="6" align="center">$showpage<a href="?id=$rs[id]&action=deleteadplace" onclick="return confirm('你確認要刪除這個廣告嗎?')"></a></td>
  </tr>
</table>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <tr class="head" align="center"> 
    <td align="left">說明</td>
  </tr>
   
  <tr bgcolor="#FFFFFF"> 
    <td>&nbsp;</td>
  </tr>
   
</table>
<!--
EOT;
?>
-->
