|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <?php
- require_once '../php_include/Config.php';
- require_once '../php_include/class.db.inc';
- require_once '../php_include/disney.inc';
-
- date_default_timezone_set('PRC');
- $current_date = date("Y-m-d");
- if( $current_date >= "2016-09-01" ) {
- header("Location:http://sfx.zhizhuchuxing.com/");
- exit();
- }
-
- //DB
- $objDbh = new Db;
- $objDbh->setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB);
- $objDisney = new DbDisney($objDbh);
-
- $base_org_info = $objDisney->getBaseOrgInfoFromCode( $_COOKIE["companycode"] );
- if( $base_org_info["sell_type"] != 0 ) {
- header("Location:http://xmwxc.zhizhuchuxing.cn/disneydetial2/list_qdh.php?cc=".$_COOKIE["companycode"]);exit();
- }
- ?>
-
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
- <title>蜘蛛出行</title>
- <link rel="stylesheet" href="css/reset.css">
- <link rel="stylesheet" href="css/list.css">
- <script src="js/flexible.js"></script>
- <script src="js/makegrid.js"></script>
- <script src="js/jquery-2.2.4.min.js"></script>
- </head>
- <body>
- <div id="content" class="content">
- <section>
-
- <div id="ticketType_1" ticketType="1" class="box" onclick="chooseTicket(this.id)">
- <a href="lionkingbus.php"><img src="images/busticket.png" alt="">
- <div class="productname">
- 上海迪士尼<br>车票
- </div>
- </a>
- </div>
-
- <div id="ticketType_2" ticketType="2" class="box" onclick="chooseTicket(this.id)">
- <a href="disneyticket.php">
- <img src="images/disni.png" alt="">
- <div class="productname">
- 上海迪士尼<br>门票
- </div>
- </a>
- </div>
- <div id="ticketType_3" ticketType="2" class="box" onclick="chooseTicket(this.id)">
- <a href="lionkingticket.php">
- <img src="images/shiziwang.png" alt="">
- <div class="productname">
- 上海迪士尼<br>狮子王剧场票
- </div>
- </a>
- </div>
-
- <?php if($is_smartphone == false) { ?>
- <div style="text-align:center;color:#ffffff;font-size:20px;">
- <a style="color:#ffffff;" href="order_list2.php" >订单汇总</a><br />
- </div>
- <?php } ?>
- </section>
- </div>
- </body>
- <script>
- var H=document.documentElement.clientHeight;
- var content=document.getElementById('content');
- if (content.style.height<H) {
- content.style.height=H+"px";
- };
- function chooseTicket(index){
- var ind = $("#"+index).attr("ticketType");
- window.localStorage.setItem("ticketType",ind);
- }
- </script>
- </html>
|