|
- <?php
- require_once './php_include/Config.php';
- require_once './php_include/class.db.inc';
- require_once './php_include/disney.inc';
-
- if( !isset($_GET["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($_GET["gid"]);
- ?>
-
- <html>
- <head>
- </head>
- <body>
- <form action="order_confirm.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 />
- 数量:<input type="text" name="good_num"><br />
- 去程:<input type="text" name="start_date"><br />
- 返程:<input type="text" name="end_date"><br /><br />
- <B>■个人信息</B><br />
- 姓名:<input type="text" name="cus_name"><br />
- 手机:<input type="text" name="cus_mobile"><br />
- 证件:<input type="text" name="cus_iden"><br />
- </div>
- <input type="submit" value="预定" />
- </form>
- </body>
- </html>
-
-
|