|
- <?php
- require_once './php_include/Config.php';
- require_once './php_include/class.db.inc';
- require_once './php_include/disney.inc';
-
- if( !isset($_POST["gid"]) ) {
- echo "没有产品信息";
- exit();
- }
-
- //DB
- $objDbh = new Db;
- $objDbh->setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB);
- $objDisney = new DbDisney($objDbh);
- $good_info=$objDisney->getGoodInfoFromId($_POST["gid"]);
- $submit_button_name= $is_smartphone == false ? "确 认" : "支 付";
- ?>
-
- <html>
- <head>
- </head>
- <body>
- <form action="pay.php" method="POST">
- <div style="text-align:left;">
- <B>■商品信息</B><br />
- <input type="hidden" name="gid" value="<?php echo $good_info["id"];?>" />
- 预定:<?php echo $good_info["good_name"];?><br />
- 价格:<?php echo $good_info["good_price"];?><br /><br />
- <B>■附加信息</B><br />
- 数量:<?php echo $_POST["good_num"];?><input type="hidden" name="good_num" value="<?php echo $_POST["good_num"];?>" /><br />
- 去程:<?php echo $_POST["start_date"];?><input type="hidden" name="start_date" value="<?php echo $_POST["start_date"];?>" /><br />
- 返程:<?php echo $_POST["end_date"];?><input type="hidden" name="end_date" value="<?php echo $_POST["end_date"];?>" /><br /><br />
- <B>■个人信息</B><br />
- 姓名:<?php echo $_POST["cus_name"];?><input type="hidden" name="cus_name" value="<?php echo $_POST["cus_name"];?>" /><br />
- 手机:<?php echo $_POST["cus_mobile"];?><input type="hidden" name="cus_mobile" value="<?php echo $_POST["cus_mobile"];?>" /><br />
- 证件:<?php echo $_POST["cus_iden"];?><input type="hidden" name="cus_iden" value="<?php echo $_POST["cus_iden"];?>" /><br />
- </div>
- <input type="submit" value="<?php echo $submit_button_name;?>" />
- </form>
- </body>
- </html>
-
-
|