<!--
<?php
print <<<EOT
-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td height="100" valign="top" class="Main"> 
<!--
EOT;
if($job=='buy'){print <<<EOT
-->
	
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" ><form name="form1" method="post" action="?hack=$hack&job=$job&step=2">
        <tr> 
          <td class="head">电话广告位购买</td>
        </tr>
        <tr> 
            <td class="middle" style="padding:10px;line-height:150%;"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="5">
                <tr>
                  <td width="21%" align="right">广告标题:</td>
                  <td width="79%"> 
                    <input type="text" name="title" size="20">
                  </td>
                </tr>
                <tr>
                  <td width="21%" align="right">电话号码:</td>
                  <td width="79%"> 
                    <input type="text" name="telephone" size="20">
                  </td>
                </tr>
                <tr>
                  <td width="21%" align="right">介绍(可留空):</td>
                  <td width="79%"> 
                    <input type="text" name="about" size="60">
                  </td>
                </tr>
                <tr>
                  <td width="21%" align="right">购买天数:</td>
                  <td width="79%"> 
                    <input type="text" name="day" size="4">
                    天 (每天需要{$webdb[MoneyName]}<b><font color="#FF0000">{$webdb[money_sell_telephone]}</font></b>{$webdb[MoneyDW]},你当前拥有<b><font color="#0000FF">{$lfjdb[money]}</font></b>{$webdb[MoneyDW]})</td>
                </tr>
                <tr>
                  <td width="21%" align="right">&nbsp;</td>
                  <td width="79%"> 
                    <input type="submit" name="Submit" value="提交">
                  </td>
                </tr>
              </table>
            </td>
        </tr><tr><td class="foot"></td></tr></form>
      </table>
    </td>
  </tr>
</table>
<!--
EOT;
}else{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="3" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
              <tr align="center" class="head_in"> 
                <td width="16%">标题名称</td>
                <td width="14%">电话号码</td>
                <td width="37%">介绍</td>
                <td width="13%">购买日期</td>
                <td width="13%">截止日期</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="16%">$rs[title]</td>
                <td align="center" width="14%">$rs[telephone]</td>
                <td align="center" width="37%">$rs[about]</td>
                <td align="center" width="13%">$rs[posttime]</td>
                <td align="center" width="13%">$rs[endtime]</td>
                <td align="center" width="7%"><a href="?hack=$hack&action=del&id=$rs[id]">删除</a></td>
              </tr>
              <!--
EOT;
}print <<<EOT
-->
              <tr align="center"> 
                <td colspan="7">$showpage</td>
              </tr>
            </table>
            <!--
EOT;
}print <<<EOT
-->
          </td>
        </tr>
        <tr>
          <td class="foot"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->