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.
 
 
 
 
 

45 lines
1.8 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($_POST["gid"]) ) {
  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. $good_info=$objDisney->getGoodInfoFromId($_POST["gid"]);
  14. $submit_button_name= $is_smartphone == false ? "确 认" : "支 付";
  15. ?>
  16. <html>
  17. <head>
  18. </head>
  19. <body>
  20. <form action="pay.php" method="POST">
  21. <div style="text-align:left;">
  22. <B>■商品信息</B><br />
  23. <input type="hidden" name="gid" value="<?php echo $good_info["id"];?>" />
  24. 预定:<?php echo $good_info["good_name"];?><br />
  25. 价格:<?php echo $good_info["good_price"];?><br /><br />
  26. <B>■附加信息</B><br />
  27. 数量:<?php echo $_POST["good_num"];?><input type="hidden" name="good_num" value="<?php echo $_POST["good_num"];?>" /><br />
  28. 去程:<?php echo $_POST["start_date"];?><input type="hidden" name="start_date" value="<?php echo $_POST["start_date"];?>" /><br />
  29. 返程:<?php echo $_POST["end_date"];?><input type="hidden" name="end_date" value="<?php echo $_POST["end_date"];?>" /><br /><br />
  30. <B>■个人信息</B><br />
  31. 姓名:<?php echo $_POST["cus_name"];?><input type="hidden" name="cus_name" value="<?php echo $_POST["cus_name"];?>" /><br />
  32. 手机:<?php echo $_POST["cus_mobile"];?><input type="hidden" name="cus_mobile" value="<?php echo $_POST["cus_mobile"];?>" /><br />
  33. 证件:<?php echo $_POST["cus_iden"];?><input type="hidden" name="cus_iden" value="<?php echo $_POST["cus_iden"];?>" /><br />
  34. </div>
  35. <input type="submit" value="<?php echo $submit_button_name;?>" />
  36. </form>
  37. </body>
  38. </html>