|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821 |
- <?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>
|