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