<!--
<?php
print <<<EOT
-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td height="100" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" >
        <tr> 
          <td class="head">現有廣告位列表</td>
        </tr>
        <tr> 
          <td class="middle"> 
            <table width="100%" border="0" cellspacing="1" cellpadding="10" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
              <tr align="center" class="head_in"> 
                <td width="37%" style="line-height:23px;">廣告位名稱</td>
                <td width="18%">售價(金幣/天)</td>
                <td width="15%">狀態</td>
                <td width="14%">是否需要審核</td>
                <td width="9%">預覽</td>
                <td width="7%">購買</td>
              </tr>
              <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
              <tr class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
                <td  align="left" width="37%" style="padding-left:8px;">$rs[name]</td>
                <td  align="center" width="18%">$rs[moneycard]</td>
                <td align="center" width="15%">$rs[state]</td>
                <td align="center" width="14%">$rs[_ifyz]</td>
                <td align="center" width="9%"><a href="$rs[demourl]" target="_blank"><img src="images/icon_view.gif" border="0"></a></td>
                <td align="center" width="7%"><a href="?job=buy&id=$rs[id]" style="color:$rs[color];" onclick="$rs[alert]">購買</a></td>
              </tr>
              <!--
EOT;
}print <<<EOT
-->
            </table>
          </td>
        </tr><tr><td class="foot"></td></tr>
      </table>
    </td>
  </tr>
</table><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td height="100" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" >
        <tr> 
          <td class="head">相關信息</td>
        </tr>
        <tr> 
          <td class="middle">
            <table width="100%" border="0" cellspacing="5" cellpadding="0" style="margin:20px 0 20px 5px;">
              <tr> 
                <td>1.購買以上廣告,只能使用金幣購買.<br><br>
2.你當前擁有的金幣數是:<b><font color="#FF0000">{$lfjdb[moneycard]}</font></b>個，金幣不足的話，你可以選擇在線即時充值,以增加你的金幣數 
                  <a href="money.php?job=list"><b><font color="#FF0000">立即沖值</font></b></a></td>
              </tr>
            </table>
          </td>
        </tr><tr><td class="foot"></td></tr>
      </table>
    </td>
  </tr>
</table>

<!--
EOT;
?>
-->