<?php 
defined('IN_HS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="5">
  <tr>
    <td></td>
  </tr>
</table>
<?=$menu?>
<table width="455" cellpadding="2" cellspacing="2" class="tableborder">
  <tr bgColor='#F1F1F1'  height="26">
    <td colspan="8"><font color="#0000FF">操作：</font> 
	<input type="button" class="btn" onClick="javascript:if(confirm('确认改变发货状态吗？'))  location='?mod=<?=$mod?>&file=<?=$file?>&action=changestatus&job=isship&odr_id=<?=$odr_id?>&forward=<?=urlencode($PHP_URL)?>'" value="改变发货状态">
  </td>
  </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="5">
  <tr>
    <td></td>
  </tr>
</table>
<table cellpadding="0" cellspacing="2" width="100%">
  <tr>
    <td width="50%" valign="top">
<table cellpadding="2" cellspacing="1" class="tableborder">
<th colspan=2><font color="white">订单信息</font></th> 
<tr     bgcolor="#F1F3F5"  height="22">
<td  width="115"><strong>订单号</strong></td>
<td><?=$odr_info['odr_No']?></td>
</tr>
<tr     bgcolor="#F1F3F5"  height="22">
<td><strong>下单时间</strong></td>
<td><?=$odr_info['addtime']?></td>
</tr>
<tr     bgcolor="#F1F3F5"  height="22">
<td><strong>用户名</strong></td>
<td><?=$odr_info['username']?></td>
</tr>
</table></td>


<td valign="top"><table cellpadding="2" cellspacing="1" class="tableborder">
<th colspan=2><font color="white">发货信息</font></th> 
<tr     bgcolor="#F1F3F5"  height="22">
<td width="115"><strong>真实姓名</strong><br></td>
<td><?=$odr_info['truename']?></td>
</tr>
<tr     bgcolor="#F1F3F5"  height="22">
<td><strong>电话</strong></td>
<td><?=$odr_info['telephone']?></td>
</tr>
<tr     bgcolor="#F1F3F5"  height="22">
<td><strong>qq</strong></td>
<td><?=$odr_info['qq']?></td>
</tr>
</table></td>
  </tr>

</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="5">
  <tr>
    <td></td>
  </tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
  <tr>
    <th colspan=9>商品信息</th>
  </tr>
<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=listorder">
<tr align="center">
<td width="5%" class="tablerowhighlight">ID</td>
<td width="16%" class="tablerowhighlight">商品编号</td>
<td width="12%" class="tablerowhighlight">商品名称</td>

<td width="13%" class="tablerowhighlight">价格</td>
</tr>
<?php
 foreach($odr_pdts as $odr_pdt)
{
?>
<tr align="center"    bgColor='#F1F3F5' height="22">
  <td><?=$odr_pdt['productid']?></td>
  <td><a href="<?=linkurl($odr_pdt['linkurl'])?>" target="_blank"><?=$odr_pdt['pdt_No']?></a></td>
  <td><a href="<?=linkurl($odr_pdt['linkurl'])?>" target="_blank"><?=$odr_pdt['pdt_name']?></a></td>
  <td><?=$odr_pdt['price']?></td>
  </tr>
<?php
}
?>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">&nbsp;
      <input type="button" class="btn" name="submits" value="返回" onClick="history.back(-1);">
 </td></tr>
</table>
</body>
</html>