You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.5 KiB

  1. <?php
  2. require_once './php_include/Config.php';
  3. require_once './php_include/class.db.inc';
  4. require_once './php_include/disney.inc';
  5. if( !isset($_GET["order_id"]) ) {
  6. echo "没有订单序列号";
  7. exit();
  8. }
  9. //DB
  10. $objDbh = new Db;
  11. $objDbh->setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB);
  12. $objDisney = new DbDisney($objDbh);
  13. $order_common_info = $objDisney->getOrderInfoFromSN($_GET["order_id"]);
  14. $good_info = $objDisney->getGoodInfoFromId($order_common_info["prod_id"]);
  15. ?>
  16. <html>
  17. <head>
  18. </head>
  19. <body>
  20. <div style="text-align:left;">
  21. 以下订单支付成功。<br />蜘蛛出行祝您玩的开心。<br /><br />
  22. <B>■订单信息</B><br />
  23. 订单编号:<?php echo $order_common_info["order_serial_no"];?><br />
  24. <B>■商品信息</B><br />
  25. 预定:<?php echo $order_common_info["prod_name"];?><br />
  26. 价格:<?php echo $order_common_info["order_price"];?><br /><br />
  27. <B>■附加信息</B><br />
  28. 去程:<?php echo $order_common_info["start_time"];?><br />
  29. 返程:<?php echo $order_common_info["end_time"];?><br /><br />
  30. <B>■个人信息</B><br />
  31. 姓名:<?php echo $order_common_info["cus_name"];?><br />
  32. 手机:<?php echo $order_common_info["cus_mobile"];?><br />
  33. 证件:<?php echo $order_common_info["cus_iden"];?><br /><br />
  34. <a href="top.php?cc=<?php echo $_COOKIE["companycode"];?>">返回</a>
  35. </div>
  36. </body>
  37. </html>