<!--
<?php
print <<<EOT
--> 
<link rel="stylesheet" type="text/css" href="./images/shop.css">
<div class="Containers">
	<div class="head">订单管理</div>
    <div class="cont">
<script type="text/javascript">
$(function(){
	$(".listtable tr:even").addClass("hbg");
	$(".listtable tr th:even").addClass("ck");
	$(".listtable tr td:even").addClass("ck");
});
</script>
    	<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="listtable">
          <tr>
          	<th width="5%">订单号</th>
            <th width="25%">名称</th>
            <th width="8%">单价</th>
            <th width="5%">数量</th>
            <th width="7%">应付总额</th>
            <th width="10%">订购时间</th>
            <th width="6%">付款</th>
            <th width="6%">消费</th>
            <th width="8%">消费密码</th>
            <th width="5%">查看</th>
            <th width="5%">修改</th> 
            <th width="5%">删除</th> 
            <th width="5%">评论</th>           
          </tr>
<!--
EOT;
foreach($listdb AS $key=>$rs){
$title0=$rs[shop][title];
$title=get_word($title0,40);
print <<<EOT
-->
          <tr>
            <td>$rs[id]</td>
            <td>
                <div><a href="../bencandy.php?city_id=$rs[city_id]&fid=$rs[fid]&id=$rs[cid]&city_id={$rs[shop][city_id]}" title="$title0" target="_blank">{$title}</a></div>
            </td>
            <td>{$rs[shop][price]}</td>
            <td>$rs[shopnum]</td>
            <td>$rs[totalmoney]</td>
            <td>$rs[posttime]</td>
            <td>$rs[pay]</td>
            <td>$rs[send]</td>
            <td>$rs[password]</td>
            <td><a href="joinshow.php?fid=$rs[fid]&id=$rs[id]">查看</a></td>
            <td><a href='$rs[editurl]'>修改</a></td>
            <td><a href="?action=del&id=$rs[id]&fid=$rs[fid]&cid=$rs[cid]">删除</a></td>
            <td>$rs[comment]</td>
          </tr>
<!--
EOT;
}print <<<EOT
-->
      </table>
        <div class="pages">$showpage</div>
    </div>
</div>
<div class="Containers">
	<div class="head">订单管理</div>
    <div class="cont">
    	<div style="padding:5px;line-height:20px;">
    	1.如果你支付成功后,请不要删除订单,否则管理员查不到你的信息,会认为你没付款!<br>
        2.如果你要上门取货或者是去实体店消费的话,请牢记你的消费密码.商家会凭消费密码核实你是否已付款,请不要泄露你的消费密码.<br>
        3.如果你还没付款的话,你可以点击在线付款.
        </div>
    </div>
</div>
<!--
EOT;
?>
-->
