ShowDd.php 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?>
  7. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link href="../../data/images/css.css" rel="stylesheet" type="text/css">
  12. <title>查看订单</title>
  13. <script>
  14. function PrintDd()
  15. {
  16. pdiv.style.display="none";
  17. window.print();
  18. }
  19. </script>
  20. </head>
  21. <body>
  22. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1">
  23. <tr>
  24. <td width="61%" height="27" bgcolor="#FFFFFF"><strong>订单号:
  25. <?=$r[ddno]?>
  26. </strong></td>
  27. <td width="39%" bgcolor="#FFFFFF"><strong>下单时间:
  28. <?=$r[ddtime]?>
  29. </strong></td>
  30. </tr>
  31. <tr>
  32. <td height="23" colspan="2" bgcolor="#EFEFEF"><strong>商品信息</strong></td>
  33. </tr>
  34. <tr>
  35. <td colspan="2">
  36. <?php
  37. $buycar=$addr['buycar'];
  38. $payby=$r['payby'];
  39. include('buycar/buycar_showdd.php');
  40. ?>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td height="23" colspan="2" bgcolor="#EFEFEF"><strong>订单信息</strong></td>
  45. </tr>
  46. <tr>
  47. <td height="23" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  48. <tr>
  49. <td width="12%" height="25">
  50. <div align="right">订单号:</div></td>
  51. <td width="32%"><strong>
  52. <?=$r[ddno]?>
  53. </strong></td>
  54. <td width="14%">
  55. <div align="right">订单状态:</div></td>
  56. <td width="41%"><strong>
  57. <?=$ha?>
  58. </strong>/<strong>
  59. <?=$ou?>
  60. </strong>/<strong>
  61. <?=$ch?>
  62. </strong>
  63. <?=$topay?> </td>
  64. </tr>
  65. <tr>
  66. <td height="25">
  67. <div align="right">下单时间:</div></td>
  68. <td><strong>
  69. <?=$r[ddtime]?>
  70. </strong></td>
  71. <td><div align="right">商品总金额:</div></td>
  72. <td><strong>
  73. <?=$alltotal?>
  74. </strong></td>
  75. </tr>
  76. <tr>
  77. <td height="25">
  78. <div align="right">配送方式:</div></td>
  79. <td><strong>
  80. <?=$r[psname]?>
  81. </strong></td>
  82. <td><div align="right">+ 商品运费:</div></td>
  83. <td><strong>
  84. <?=$pstotal?>
  85. </strong></td>
  86. </tr>
  87. <tr>
  88. <td height="25">
  89. <div align="right">支付方式:</div></td>
  90. <td><strong>
  91. <?=$payfsname?>
  92. </strong></td>
  93. <td><div align="right">+ 发票费用:</div></td>
  94. <td><?=$r[fptotal]?></td>
  95. </tr>
  96. <tr>
  97. <td height="25">
  98. <div align="right">需要发票:</div></td>
  99. <td><?=$fp?></td>
  100. <td><div align="right">- 优惠:</div></td>
  101. <td><?=$r[pretotal]?></td>
  102. </tr>
  103. <tr>
  104. <td height="25">
  105. <div align="right">发票抬头:</div></td>
  106. <td><strong>
  107. <?=stripSlashes($r[fptt])?>
  108. </strong></td>
  109. <td><div align="right">订单总金额:</div></td>
  110. <td><strong>
  111. <?=$mytotal?>
  112. </strong></td>
  113. </tr>
  114. <tr>
  115. <td height="25"><div align="right">发票名称:</div></td>
  116. <td colspan="3"><strong>
  117. <?=stripSlashes($r[fpname])?>
  118. </strong></td>
  119. </tr>
  120. </table></td>
  121. </tr>
  122. <tr>
  123. <td height="23" colspan="2" bgcolor="#EFEFEF"><strong>收货人信息</strong></td>
  124. </tr>
  125. <tr>
  126. <td colspan="2"><table width="100%%" border="0" cellspacing="1" cellpadding="3">
  127. <tr>
  128. <td width="20%" height="25">真实姓名:</td>
  129. <td width="80%">
  130. <?=stripSlashes($r[truename])?> </td>
  131. </tr>
  132. <tr>
  133. <td height="25">QQ:</td>
  134. <td>
  135. <?=stripSlashes($r[oicq])?> </td>
  136. </tr>
  137. <tr>
  138. <td height="25">MSN:</td>
  139. <td>
  140. <?=stripSlashes($r[msn])?> </td>
  141. </tr>
  142. <tr>
  143. <td height="25">固定电话:</td>
  144. <td>
  145. <?=stripSlashes($r[mycall])?> </td>
  146. </tr>
  147. <tr>
  148. <td height="25">移动电话:</td>
  149. <td>
  150. <?=stripSlashes($r[phone])?> </td>
  151. </tr>
  152. <tr>
  153. <td height="25">联系邮箱:</td>
  154. <td>
  155. <?=stripSlashes($r[email])?> </td>
  156. </tr>
  157. <tr>
  158. <td height="25">联系地址:</td>
  159. <td>
  160. <?=stripSlashes($r[address])?> </td>
  161. </tr>
  162. <tr>
  163. <td height="25">邮编:</td>
  164. <td>
  165. <?=stripSlashes($r[zip])?> </td>
  166. </tr>
  167. <tr>
  168. <td height="25">标志建筑:</td>
  169. <td><?=stripSlashes($r[signbuild])?></td>
  170. </tr>
  171. <tr>
  172. <td height="25">最佳送货地址:</td>
  173. <td><?=stripSlashes($r[besttime])?></td>
  174. </tr>
  175. <tr>
  176. <td height="25">备注:</td>
  177. <td>
  178. <?=nl2br(stripSlashes($addr[bz]))?> </td>
  179. </tr>
  180. </table></td>
  181. </tr>
  182. <tr>
  183. <td height="23" colspan="2" bgcolor="#EFEFEF"><strong>管理员备注信息</strong></td>
  184. </tr>
  185. <tr>
  186. <td colspan="2"><table width="100%%" border="0" cellspacing="1" cellpadding="3">
  187. <tr>
  188. <td width="20%" height="25">备注内容:</td>
  189. <td width="80%">
  190. <?=nl2br(stripSlashes($addr['retext']))?> </td>
  191. </tr>
  192. </table></td>
  193. </tr>
  194. <tr>
  195. <td colspan="2"><div align="center">
  196. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" id="pdiv">
  197. <tr>
  198. <td><div align="center">
  199. <input type="button" name="Submit" value=" 打 印 " onclick="javascript:PrintDd();">
  200. </div></td>
  201. </tr>
  202. </table>
  203. </div></td>
  204. </tr>
  205. </table>
  206. </body>
  207. </html>