<!--
<?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="3" class="linetable">
              <tr align="center" class="head3"> 
                <td  width="6%">订单号</td>
                <td width="31%" >订购商品</td>
                <td width="10%">总额(元)</td>
                <td  width="11%">订购时间</td>
                <td  width="10%">发货</td>
                <td  width="10%">收货</td>
                <td  width="5%">付款</td>
                <td  width="9%">订单</td>
                <td width="8%">相关操作</td>
              </tr>
              <!--
EOT;
foreach($listdb AS $key=>$rs){print <<<EOT
-->
              <tr> 
                <td class="middle" align="center" width="6%">$rs[id]</td>
                <td class="middle" width="31%" > 
                  <!--
EOT;
foreach($rs['plist'] AS $rs2){print <<<EOT
-->
                  <a href="../bencandy.php?fid=$rs2[fid]&id=$rs2[id]" target="_blank">$rs2[title]</a> 
                  <br>
                  <!--
EOT;
}print <<<EOT
-->
                </td>
                <td class="middle"  align="center" width="10%">$rs[totalmoney]</td>
                <td class="middle"  align="center" width="11%">$rs[posttime]</td>
                <td class="middle" align="center" width="10%">$rs[send]</td>
                <td class="middle" align="center" width="10%">$rs[_receive]</td>
                <td class="middle"  align="center" width="5%">$rs[pay]</td>
                <td class="middle"  align="center" width="9%"><a href="joinshow.php?id=$rs[id]">详情</a></td>
                <td class="middle" align="center" width="8%"><a href='$rs[editurl]' style="display:$rs[noedit];">改</a>  <a style="display:$rs[nodel];" href="?action=del&id=$rs[id]&cid=$rs[cid]">删</a></td>
              </tr>
              <!--
EOT;
}print <<<EOT
-->
            </table>
      
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center">
            <p>&nbsp;</p>
            <p>$showpage</p>
          </td>
        </tr>
      </table></td>
        </tr>
        <tr>
          <td class="foot"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->
