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.
 
 
 
 
 

81 lines
2.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. date_default_timezone_set('PRC');
  6. $current_date = date("Y-m-d");
  7. if( $current_date >= "2016-09-01" ) {
  8. header("Location:http://sfx.zhizhuchuxing.com/");
  9. exit();
  10. }
  11. //DB
  12. $objDbh = new Db;
  13. $objDbh->setAccount(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB);
  14. $objDisney = new DbDisney($objDbh);
  15. ?>
  16. <!DOCTYPE html>
  17. <html lang="en">
  18. <head>
  19. <meta charset="UTF-8">
  20. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
  21. <title>蜘蛛出行</title>
  22. <link rel="stylesheet" href="css/reset.css">
  23. <link rel="stylesheet" href="css/list.css">
  24. <script src="js/flexible.js"></script>
  25. <script src="js/makegrid.js"></script>
  26. <script src="js/jquery-2.2.4.min.js"></script>
  27. </head>
  28. <body>
  29. <div id="content" class="content" style="height:auto;">
  30. <section>
  31. <div id="ticketType_1" ticketType="1" class="box" onclick="chooseTicket(this.id)">
  32. <a href="lionkingbus_q_qdh.php"><img style="border-radius: 5px;" src="images/qiandaohuticket.png" alt="">
  33. <div class="productname">
  34. 千岛湖到上海<br>直通巴士
  35. </div>
  36. </a>
  37. </div>
  38. <div id="ticketType_1" ticketType="1" class="box" onclick="chooseTicket(this.id)">
  39. <a href="lionkingbus_s_qdh.php"><img style="border-radius: 5px;" src="images/qiandaohuticket.png" alt="">
  40. <div class="productname">
  41. 上海到千岛湖<br>直通巴士
  42. </div>
  43. </a>
  44. </div>
  45. <div id="ticketType_2" ticketType="2" class="box" onclick="chooseTicket(this.id)">
  46. <a href="disneyticket.php">
  47. <img src="images/disni.png" alt="">
  48. <div class="productname">
  49. 上海迪士尼<br>门票
  50. </div>
  51. </a>
  52. </div>
  53. <div id="ticketType_3" ticketType="2" class="box" onclick="chooseTicket(this.id)">
  54. <a href="lionkingticket.php">
  55. <img src="images/shiziwang.png" alt="">
  56. <div class="productname">
  57. 上海迪士尼<br>狮子王剧场票
  58. </div>
  59. </a>
  60. </div>
  61. </section>
  62. </div>
  63. </body>
  64. <script>
  65. var H=document.documentElement.clientHeight;
  66. var content=document.getElementById('content');
  67. if (content.style.height<H) {
  68. content.style.height=H+"px";
  69. };
  70. function chooseTicket(index){
  71. var ind = $("#"+index).attr("ticketType");
  72. window.localStorage.setItem("ticketType",ind);
  73. }
  74. </script>
  75. </html>