|
- <?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"] );
- $base_org_name = false == $base_org_info ? "酒店" : $base_org_info["org_name"];
-
- if( !isset($_GET["id"])) {
- header("Location:list.php?cc=".$_COOKIE["companycode"]);exit();
- }
- $good_id = $_GET["id"];
- $good_info=$objDisney->getGoodInfoFromId($_GET["id"]);
- if( false == $good_info) {
- header("Location:list.php?cc=".$_COOKIE["companycode"]);exit();
- }
- if( $good_info["good_type"] == 1 ) {
- $good_info["good_name"] = $base_org_name.$good_info["good_name"];
- } else if( $good_info["good_type"] == 2 ) {
- $good_info["good_name"] = $_GET["id"] == 3 ? "上海迪士尼乐园一日票" : "上海迪士尼乐园两日票";
- $good_price_array = $_GET["id"] == 3 ? $_ary_disney_price1 : $_ary_disney_price2;
- }
-
- $start_end_time = $objDisney->getStartEndTimeArray($good_info["good_type"], $base_org_info["org_id"]);
- $start_time_array = array();
- $end_time_array = array();
- foreach( $start_end_time as $start_end_info ) {
- if( $start_end_info["time_type"] == 1 ) {
- if( !isset($start_time_array[$start_end_info["weekday"]])) {
- $start_time_array[$start_end_info["weekday"]] = array();
- }
- $start_time_array[$start_end_info["weekday"]][] = $start_end_info;
- } else {
- if( !isset($end_time_array[$start_end_info["weekday"]])) {
- $end_time_array[$start_end_info["weekday"]] = array();
- }
- $end_time_array[$start_end_info["weekday"]][] = $start_end_info;
- }
- }
-
- $today_week = date("w");
- if( $today_week == 0 ) {
- $today_week = 7;
- }
- $start_time_ary = array();
- foreach( $start_time_array[$today_week] as $start_time_info ) {
- $start_time_ary[] = sprintf( "%d%02d",substr($start_time_info["time_info"],0,2),substr($start_time_info["time_info"],3,2));
- }
- $end_time_ary = array();
- foreach( $end_time_array[$today_week] as $end_time_info ) {
- $end_time_ary[] = sprintf( "%d%02d",substr($end_time_info["time_info"],0,2),substr($end_time_info["time_info"],3,2));
- }
- $start_time_txt = implode(",",$start_time_ary);
- $end_time_txt = implode(",",$end_time_ary);
-
- $start_end_type = "lion";
- if( $_GET["id"] == 1 ) {
- $start_end_type = "oneday";
- }else if( $_GET["id"] == 15 ) {
- $start_end_type = "oneway";
- } else if( $_GET["id"] == 2 ){
- $start_end_type = "twoday";
- } else if( $good_info["good_type"] == 2 ) {
- $start_end_type = "disney";
- }
-
- $current_time = date("Y-m-d H:i:s");
-
- ?>
-
-
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>蜘蛛出行</title>
- <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
- <meta name="format-detection" content="telephone=no">
- <link rel="stylesheet" href="css/reset.css">
- <link rel="stylesheet" href="css/master.css">
- <link rel="stylesheet" href="js/fancybox2/jquery.fancybox.css" media="screen">
- <script src="js/flexible.js"></script>
- <script src="js/makegrid.js"></script>
- <script src="js/jquery-2.2.4.min.js"></script>
- <script src="js/master.js"></script>
- <script src="js/fancybox2/jquery.fancybox.js"></script>
-
-
- </head>
- <body>
- <input type="hidden" id="current_time" value="<?php echo $current_time; ?>"/>
- <form name="pay_form" action="pay_excute.php" method="post">
- <input type="hidden" name="gid" value="<?php echo $_GET["id"];?>" />
- <input type="hidden" name="check_go_time" value="<?php echo $start_time_txt;?>" />
- <input type="hidden" name="check_back_time" value="<?php echo $end_time_txt;?>" />
- <div class="content">
- <section>
- <div class="month clearfix fire aonelist" style="display:none;">
-
- </div>
- <div class="asell_list" >
- <div class="fire"></div>
- <div class="warp ticket_title fire clearfix">
- <img src="images/bus.png" alt="">
- <p><?php echo $good_info["good_name"];?></p>
-
- </div>
- <div class="sel_ticket fire">
- <div class="sel_tickettitle warp">选择票种
- <!-- <a class="sell_info" href="note.html"><img src="images/sell_info.png" alt="">预订须知</a> -->
- </div>
- <?php if($good_info["good_type"] != 2 ) { ?>
- <!-- 一个票种 -->
- <div class="ticket_list clearfix marwarp">
- <div class="ticket_man">成人</div>
- <div class="ticket_price">¥<?php echo $good_info["good_price"];?></div>
- <div class="ticket_num">
- <img src="images/icon-cut.png" alt="" class="cut">
- <input type="number" name="number1" value="0" class="aticket">
- <img src="images/icon-add.png" alt="" class="add">
- </div>
- </div>
- <?php } else { ?>
- <!-- 一个票种 -->
- <div class="ticket_list clearfix marwarp">
- <div class="ticket_man">成人</div>
- <div class="ticket_price">¥<?php echo $good_price_array[0]; ?></div>
- <div class="ticket_num">
- <img src="images/icon-cut.png" alt="" class="cut">
- <input type="number" name="number2" value="0" class="aticket">
- <img src="images/icon-add.png" alt="" class="add">
- </div>
- </div>
- <div class="ticket_list clearfix marwarp">
- <div class="ticket_man">老人</div>
- <div class="ticket_price">¥<?php echo $good_price_array[1]; ?></div>
- <div class="ticket_num">
- <img src="images/icon-cut.png" alt="" class="cut">
- <input type="number" name="number3" value="0" class="aticket">
- <img src="images/icon-add.png" alt="" class="add">
- </div>
- </div>
- <div class="ticket_list clearfix marwarp">
- <div class="ticket_man">儿童</div>
- <div class="ticket_price">¥<?php echo $good_price_array[2]; ?></div>
- <div class="ticket_num">
- <img src="images/icon-cut.png" alt="" class="cut">
- <input type="number" name="number4" value="0" class="aticket">
- <img src="images/icon-add.png" alt="" class="add">
- </div>
- </div>
- <?php } ?>
- </div>
-
- <div class="warp fire sel_goback clearfix">
- <?php if( $good_info["good_type"] == 1 ) {
- if( $good_info["id"] == 15 ) {
- ?>
- <div class="hide">选择单程时间</div>
- <?php } else { ?>
- <div class="hide">选择往返时间</div>
- <?php }} else if( $good_info["good_type"] == 2 ) { ?>
- <div class="hide">选择入园日期</div>
- <?php } else { ?>
- <div class="hide">选择演出时间</div>
- <?php } ?>
- <div class="atime clearfix">
- <div class="goback_date">mydata</div>
- <div class="goback_time1 clearfix">
- <img src="images/icon-date.png" alt="">
- <div class="goback_timeinfo">
- <p class="go"><span class="agodata">mytime1</span><?php if( $good_info["good_type"] == 1 ) { ?><span>出发</span><?php } ?></p>
- <p class="back"><span class="backtime">mytime2</span><?php if( $good_info["good_type"] == 1 ) { ?><span>返回</span><?php } ?></p>
- <p class="onego"></p>
- </div>
- </div>
- <input type="text" value="time_val" name="star_time" style="display:none;">
- </div>
- <div class="atime4 clearfix">
- <div class="goback_date">mydata</div>
- <input type="text" value="time_val" name="star_time" style="display:none;">
- </div>
- <div class="atime2 clearfix borderbotda">
- <div class="goback_date">mydata</div>
- <div class="goback_time2 clearfix">
- <div class="goback_timeinfo">
- <p class="onego"><span class="agodata">gotime</span><?php if( $good_info["good_type"] == 1 ) { ?><span>出发</span><?php } ?></p>
- </div>
- </div>
- <input type="text" value="time_val" name="star_time" style="display:none;">
- </div>
- <div class="atime3 clearfix">
- <div class="goback_date">mydata</div>
- <div class="goback_time3 clearfix">
- <div class="goback_timeinfo">
- <p class="onego"><span class="agodata">gotime</span><?php if( $good_info["good_type"] == 1 ) { ?><span>返回</span><?php } ?></p>
- </div>
- </div>
- <input type="text" value="time_val" name="star_time" style="display:none;">
- </div>
- <!-- <div class="atime clearfix">
- <div class="goback_date">2016.6.18</div>
- <div class="goback_time clearfix">
- <img src="images/icon-date.png" alt="">
- <div class="goback_timeinfo">
- <p class="go"><span class="gotime">10:30</span><span>出发</span></p>
- <p class="back"><span class="backtime">10:30</span><span>返回</span></p>
- <p class="oneback"></p>
- </div>
- </div>
- </div> -->
-
- </div>
- <div class="alist fire">
- <div class="title borderbot warp">
- 联系人
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="content borderbotda marwarp">
- <input type="text" class="name" name="name" value="" placeholder="姓名">
- </div>
- <div class="content marwarp">
- <input type="number" class="phone" name="phone" value="" placeholder="手机号码">
- </div>
- <?php } else { ?>
- <div class="content borderbotda marwarp">
- <input type="text" class="name" name="name" value="" placeholder="姓名">
- </div>
- <div class="content marwarp borderbotda">
- <input type="number" class="phone" name="phone" value="" placeholder="手机号码">
- </div>
- <div class="content marwarp">
- <input type="text" class="idcard" name="idcard" value="" placeholder="身份证号码">
- </div>
- <?php } ?>
- </div>
-
- <div class="buy">
- <div class="buyprice">¥0</div>
- <a class="pay" href="#" >提交订单</a>
- </div>
- </div>
-
- <div class="timeinfo fire <?php echo $start_end_type;?>" style="display:none;">
- <!-- lion 狮子王 oneday 一日往返 towday 两日往返 -->
- <!-- 周日 -->
-
- <div class="aweekday">
-
- <?php if( $good_info["id"] == 15 ) { ?>
- <div class="timeinfo_go" style="display:none;">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[7] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[7] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } else { ?>
- <div class="timeinfo_go">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[7] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[7] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } ?>
-
-
-
- </div>
-
-
- <!-- 周一 -->
- <div class="aweekday">
-
- <?php if( $good_info["id"] == 15 ) { ?>
- <div class="timeinfo_go" style="display:none;">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程车次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[1] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[1] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } else { ?>
- <div class="timeinfo_go">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程车次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[1] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[1] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } ?>
-
- </div>
- <!-- 周二 -->
-
- <div class="aweekday">
- <?php if( $good_info["id"] == 15 ) { ?>
- <div class="timeinfo_go" style="display:none;">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[2] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[2] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } else { ?>
- <div class="timeinfo_go">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[2] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[2] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } ?>
- </div>
- <!-- 周三 -->
-
- <div class="aweekday">
- <?php if( $good_info["id"] == 15 ) { ?>
- <div class="timeinfo_go" style="display:none;">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[3] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[3] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } else { ?>
- <div class="timeinfo_go">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[3] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[3] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } ?>
- </div>
- <!-- 周四 -->
- <div class="aweekday">
- <?php if( $good_info["id"] == 15 ) { ?>
- <div class="timeinfo_go" style="display:none;">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[4] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[4] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } else { ?>
- <div class="timeinfo_go">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[4] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[4] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } ?>
- </div>
- <!-- 周五 -->
-
- <div class="aweekday">
- <?php if( $good_info["id"] == 15 ) { ?>
- <div class="timeinfo_go" style="display:none;">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[5] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[5] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } else { ?>
- <div class="timeinfo_go">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[5] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[5] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } ?>
- </div>
- <!-- 周六 -->
- <div class="aweekday">
-
- <?php if( $good_info["id"] == 15 ) { ?>
- <div class="timeinfo_go" style="display:none;">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[6] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[6] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } else { ?>
- <div class="timeinfo_go">
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <p class="warp aonelist">请选择去程班次</p>
- <?php } else { ?>
- <p class="warp aonelist">请选择演出时间</p>
- <?php } ?>
- <ul class="cartime clearfix fire go">
- <?php
- $temp_go_index = 0;
- foreach( $start_time_array[6] as $start_time_info ) {
- echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
- if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
- echo '</li>';
- $temp_go_index ++;
- }
- ?>
- </ul>
- </div>
- <?php if( $good_info["good_type"] == 1 ) { ?>
- <div class="timeinfo_back">
- <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
- <ul class="cartime clearfix back">
- <?php
- $temp_back_index = 0;
- foreach( $end_time_array[6] as $end_time_info ) {
- echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
- $temp_back_index++;
- }
- ?>
- </ul>
- </div>
- <?php if( $_GET["id"] == 2 ){ ?>
- <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
- <?php } ?>
- <?php } ?>
- <?php } ?>
- </div>
-
-
- </div>
-
-
- </section>
- </div>
- <div id="detailsone">
- <div class="dscontent">
- <div id="x">×</div>
- <div id="detailcontent">产品详情</div>
- </div>
- </div>
-
- <div id="inline" style="display:none">登录</div>
- <a class="fancybox" href="#inline" style="visibility:hidden;">登录</a>
-
- <!-- <script src="js/rtk.js"></script> -->
- </body>
- </html>
|