25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

821 satır
31 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. $base_org_info = $objDisney->getBaseOrgInfoFromCode( $_COOKIE["companycode"] );
  16. $base_org_name = false == $base_org_info ? "酒店" : $base_org_info["org_name"];
  17. if( !isset($_GET["id"])) {
  18. header("Location:list.php?cc=".$_COOKIE["companycode"]);exit();
  19. }
  20. $good_id = $_GET["id"];
  21. $good_info=$objDisney->getGoodInfoFromId($_GET["id"]);
  22. if( false == $good_info) {
  23. header("Location:list.php?cc=".$_COOKIE["companycode"]);exit();
  24. }
  25. if( $good_info["good_type"] == 1 ) {
  26. $good_info["good_name"] = $base_org_name.$good_info["good_name"];
  27. } else if( $good_info["good_type"] == 2 ) {
  28. $good_info["good_name"] = $_GET["id"] == 3 ? "上海迪士尼乐园一日票" : "上海迪士尼乐园两日票";
  29. $good_price_array = $_GET["id"] == 3 ? $_ary_disney_price1 : $_ary_disney_price2;
  30. }
  31. $start_end_time = $objDisney->getStartEndTimeArray($good_info["good_type"], $base_org_info["org_id"]);
  32. $start_time_array = array();
  33. $end_time_array = array();
  34. foreach( $start_end_time as $start_end_info ) {
  35. if( $start_end_info["time_type"] == 1 ) {
  36. if( !isset($start_time_array[$start_end_info["weekday"]])) {
  37. $start_time_array[$start_end_info["weekday"]] = array();
  38. }
  39. $start_time_array[$start_end_info["weekday"]][] = $start_end_info;
  40. } else {
  41. if( !isset($end_time_array[$start_end_info["weekday"]])) {
  42. $end_time_array[$start_end_info["weekday"]] = array();
  43. }
  44. $end_time_array[$start_end_info["weekday"]][] = $start_end_info;
  45. }
  46. }
  47. $today_week = date("w");
  48. if( $today_week == 0 ) {
  49. $today_week = 7;
  50. }
  51. $start_time_ary = array();
  52. foreach( $start_time_array[$today_week] as $start_time_info ) {
  53. $start_time_ary[] = sprintf( "%d%02d",substr($start_time_info["time_info"],0,2),substr($start_time_info["time_info"],3,2));
  54. }
  55. $end_time_ary = array();
  56. foreach( $end_time_array[$today_week] as $end_time_info ) {
  57. $end_time_ary[] = sprintf( "%d%02d",substr($end_time_info["time_info"],0,2),substr($end_time_info["time_info"],3,2));
  58. }
  59. $start_time_txt = implode(",",$start_time_ary);
  60. $end_time_txt = implode(",",$end_time_ary);
  61. $start_end_type = "lion";
  62. if( $_GET["id"] == 1 ) {
  63. $start_end_type = "oneday";
  64. }else if( $_GET["id"] == 15 ) {
  65. $start_end_type = "oneway";
  66. } else if( $_GET["id"] == 2 ){
  67. $start_end_type = "twoday";
  68. } else if( $good_info["good_type"] == 2 ) {
  69. $start_end_type = "disney";
  70. }
  71. $current_time = date("Y-m-d H:i:s");
  72. ?>
  73. <!DOCTYPE html>
  74. <html lang="en">
  75. <head>
  76. <meta charset="UTF-8">
  77. <title>蜘蛛出行</title>
  78. <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  79. <meta name="format-detection" content="telephone=no">
  80. <link rel="stylesheet" href="css/reset.css">
  81. <link rel="stylesheet" href="css/master.css">
  82. <link rel="stylesheet" href="js/fancybox2/jquery.fancybox.css" media="screen">
  83. <script src="js/flexible.js"></script>
  84. <script src="js/makegrid.js"></script>
  85. <script src="js/jquery-2.2.4.min.js"></script>
  86. <script src="js/master.js"></script>
  87. <script src="js/fancybox2/jquery.fancybox.js"></script>
  88. </head>
  89. <body>
  90. <input type="hidden" id="current_time" value="<?php echo $current_time; ?>"/>
  91. <form name="pay_form" action="pay_excute.php" method="post">
  92. <input type="hidden" name="gid" value="<?php echo $_GET["id"];?>" />
  93. <input type="hidden" name="check_go_time" value="<?php echo $start_time_txt;?>" />
  94. <input type="hidden" name="check_back_time" value="<?php echo $end_time_txt;?>" />
  95. <div class="content">
  96. <section>
  97. <div class="month clearfix fire aonelist" style="display:none;">
  98. </div>
  99. <div class="asell_list" >
  100. <div class="fire"></div>
  101. <div class="warp ticket_title fire clearfix">
  102. <img src="images/bus.png" alt="">
  103. <p><?php echo $good_info["good_name"];?></p>
  104. </div>
  105. <div class="sel_ticket fire">
  106. <div class="sel_tickettitle warp">选择票种
  107. <!-- <a class="sell_info" href="note.html"><img src="images/sell_info.png" alt="">预订须知</a> -->
  108. </div>
  109. <?php if($good_info["good_type"] != 2 ) { ?>
  110. <!-- 一个票种 -->
  111. <div class="ticket_list clearfix marwarp">
  112. <div class="ticket_man">成人</div>
  113. <div class="ticket_price">¥<?php echo $good_info["good_price"];?></div>
  114. <div class="ticket_num">
  115. <img src="images/icon-cut.png" alt="" class="cut">
  116. <input type="number" name="number1" value="0" class="aticket">
  117. <img src="images/icon-add.png" alt="" class="add">
  118. </div>
  119. </div>
  120. <?php } else { ?>
  121. <!-- 一个票种 -->
  122. <div class="ticket_list clearfix marwarp">
  123. <div class="ticket_man">成人</div>
  124. <div class="ticket_price">¥<?php echo $good_price_array[0]; ?></div>
  125. <div class="ticket_num">
  126. <img src="images/icon-cut.png" alt="" class="cut">
  127. <input type="number" name="number2" value="0" class="aticket">
  128. <img src="images/icon-add.png" alt="" class="add">
  129. </div>
  130. </div>
  131. <div class="ticket_list clearfix marwarp">
  132. <div class="ticket_man">老人</div>
  133. <div class="ticket_price">¥<?php echo $good_price_array[1]; ?></div>
  134. <div class="ticket_num">
  135. <img src="images/icon-cut.png" alt="" class="cut">
  136. <input type="number" name="number3" value="0" class="aticket">
  137. <img src="images/icon-add.png" alt="" class="add">
  138. </div>
  139. </div>
  140. <div class="ticket_list clearfix marwarp">
  141. <div class="ticket_man">儿童</div>
  142. <div class="ticket_price">¥<?php echo $good_price_array[2]; ?></div>
  143. <div class="ticket_num">
  144. <img src="images/icon-cut.png" alt="" class="cut">
  145. <input type="number" name="number4" value="0" class="aticket">
  146. <img src="images/icon-add.png" alt="" class="add">
  147. </div>
  148. </div>
  149. <?php } ?>
  150. </div>
  151. <div class="warp fire sel_goback clearfix">
  152. <?php if( $good_info["good_type"] == 1 ) {
  153. if( $good_info["id"] == 15 ) {
  154. ?>
  155. <div class="hide">选择单程时间</div>
  156. <?php } else { ?>
  157. <div class="hide">选择往返时间</div>
  158. <?php }} else if( $good_info["good_type"] == 2 ) { ?>
  159. <div class="hide">选择入园日期</div>
  160. <?php } else { ?>
  161. <div class="hide">选择演出时间</div>
  162. <?php } ?>
  163. <div class="atime clearfix">
  164. <div class="goback_date">mydata</div>
  165. <div class="goback_time1 clearfix">
  166. <img src="images/icon-date.png" alt="">
  167. <div class="goback_timeinfo">
  168. <p class="go"><span class="agodata">mytime1</span><?php if( $good_info["good_type"] == 1 ) { ?><span>出发</span><?php } ?></p>
  169. <p class="back"><span class="backtime">mytime2</span><?php if( $good_info["good_type"] == 1 ) { ?><span>返回</span><?php } ?></p>
  170. <p class="onego"></p>
  171. </div>
  172. </div>
  173. <input type="text" value="time_val" name="star_time" style="display:none;">
  174. </div>
  175. <div class="atime4 clearfix">
  176. <div class="goback_date">mydata</div>
  177. <input type="text" value="time_val" name="star_time" style="display:none;">
  178. </div>
  179. <div class="atime2 clearfix borderbotda">
  180. <div class="goback_date">mydata</div>
  181. <div class="goback_time2 clearfix">
  182. <div class="goback_timeinfo">
  183. <p class="onego"><span class="agodata">gotime</span><?php if( $good_info["good_type"] == 1 ) { ?><span>出发</span><?php } ?></p>
  184. </div>
  185. </div>
  186. <input type="text" value="time_val" name="star_time" style="display:none;">
  187. </div>
  188. <div class="atime3 clearfix">
  189. <div class="goback_date">mydata</div>
  190. <div class="goback_time3 clearfix">
  191. <div class="goback_timeinfo">
  192. <p class="onego"><span class="agodata">gotime</span><?php if( $good_info["good_type"] == 1 ) { ?><span>返回</span><?php } ?></p>
  193. </div>
  194. </div>
  195. <input type="text" value="time_val" name="star_time" style="display:none;">
  196. </div>
  197. <!-- <div class="atime clearfix">
  198. <div class="goback_date">2016.6.18</div>
  199. <div class="goback_time clearfix">
  200. <img src="images/icon-date.png" alt="">
  201. <div class="goback_timeinfo">
  202. <p class="go"><span class="gotime">10:30</span><span>出发</span></p>
  203. <p class="back"><span class="backtime">10:30</span><span>返回</span></p>
  204. <p class="oneback"></p>
  205. </div>
  206. </div>
  207. </div> -->
  208. </div>
  209. <div class="alist fire">
  210. <div class="title borderbot warp">
  211. 联系人
  212. </div>
  213. <?php if( $good_info["good_type"] == 1 ) { ?>
  214. <div class="content borderbotda marwarp">
  215. <input type="text" class="name" name="name" value="" placeholder="姓名">
  216. </div>
  217. <div class="content marwarp">
  218. <input type="number" class="phone" name="phone" value="" placeholder="手机号码">
  219. </div>
  220. <?php } else { ?>
  221. <div class="content borderbotda marwarp">
  222. <input type="text" class="name" name="name" value="" placeholder="姓名">
  223. </div>
  224. <div class="content marwarp borderbotda">
  225. <input type="number" class="phone" name="phone" value="" placeholder="手机号码">
  226. </div>
  227. <div class="content marwarp">
  228. <input type="text" class="idcard" name="idcard" value="" placeholder="身份证号码">
  229. </div>
  230. <?php } ?>
  231. </div>
  232. <div class="buy">
  233. <div class="buyprice">¥0</div>
  234. <a class="pay" href="#" >提交订单</a>
  235. </div>
  236. </div>
  237. <div class="timeinfo fire <?php echo $start_end_type;?>" style="display:none;">
  238. <!-- lion 狮子王 oneday 一日往返 towday 两日往返 -->
  239. <!-- 周日 -->
  240. <div class="aweekday">
  241. <?php if( $good_info["id"] == 15 ) { ?>
  242. <div class="timeinfo_go" style="display:none;">
  243. <?php if( $good_info["good_type"] == 1 ) { ?>
  244. <p class="warp aonelist">请选择去程班次</p>
  245. <?php } else { ?>
  246. <p class="warp aonelist">请选择演出时间</p>
  247. <?php } ?>
  248. <ul class="cartime clearfix fire go">
  249. <?php
  250. $temp_go_index = 0;
  251. foreach( $start_time_array[7] as $start_time_info ) {
  252. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  253. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  254. echo '</li>';
  255. $temp_go_index ++;
  256. }
  257. ?>
  258. </ul>
  259. </div>
  260. <?php if( $good_info["good_type"] == 1 ) { ?>
  261. <div class="timeinfo_back">
  262. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  263. <ul class="cartime clearfix back">
  264. <?php
  265. $temp_back_index = 0;
  266. foreach( $end_time_array[7] as $end_time_info ) {
  267. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  268. $temp_back_index++;
  269. }
  270. ?>
  271. </ul>
  272. </div>
  273. <?php if( $_GET["id"] == 2 ){ ?>
  274. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  275. <?php } ?>
  276. <?php } ?>
  277. <?php } else { ?>
  278. <div class="timeinfo_go">
  279. <?php if( $good_info["good_type"] == 1 ) { ?>
  280. <p class="warp aonelist">请选择去程班次</p>
  281. <?php } else { ?>
  282. <p class="warp aonelist">请选择演出时间</p>
  283. <?php } ?>
  284. <ul class="cartime clearfix fire go">
  285. <?php
  286. $temp_go_index = 0;
  287. foreach( $start_time_array[7] as $start_time_info ) {
  288. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  289. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  290. echo '</li>';
  291. $temp_go_index ++;
  292. }
  293. ?>
  294. </ul>
  295. </div>
  296. <?php if( $good_info["good_type"] == 1 ) { ?>
  297. <div class="timeinfo_back">
  298. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  299. <ul class="cartime clearfix back">
  300. <?php
  301. $temp_back_index = 0;
  302. foreach( $end_time_array[7] as $end_time_info ) {
  303. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  304. $temp_back_index++;
  305. }
  306. ?>
  307. </ul>
  308. </div>
  309. <?php if( $_GET["id"] == 2 ){ ?>
  310. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  311. <?php } ?>
  312. <?php } ?>
  313. <?php } ?>
  314. </div>
  315. <!-- 周一 -->
  316. <div class="aweekday">
  317. <?php if( $good_info["id"] == 15 ) { ?>
  318. <div class="timeinfo_go" style="display:none;">
  319. <?php if( $good_info["good_type"] == 1 ) { ?>
  320. <p class="warp aonelist">请选择去程车次</p>
  321. <?php } else { ?>
  322. <p class="warp aonelist">请选择演出时间</p>
  323. <?php } ?>
  324. <ul class="cartime clearfix fire go">
  325. <?php
  326. $temp_go_index = 0;
  327. foreach( $start_time_array[1] as $start_time_info ) {
  328. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  329. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  330. echo '</li>';
  331. $temp_go_index ++;
  332. }
  333. ?>
  334. </ul>
  335. </div>
  336. <?php if( $good_info["good_type"] == 1 ) { ?>
  337. <div class="timeinfo_back">
  338. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  339. <ul class="cartime clearfix back">
  340. <?php
  341. $temp_back_index = 0;
  342. foreach( $end_time_array[1] as $end_time_info ) {
  343. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  344. $temp_back_index++;
  345. }
  346. ?>
  347. </ul>
  348. </div>
  349. <?php if( $_GET["id"] == 2 ){ ?>
  350. <p class="warp aonelist">购票说明:两日往返票每日须各选择一个往返班次。</p>
  351. <?php } ?>
  352. <?php } ?>
  353. <?php } else { ?>
  354. <div class="timeinfo_go">
  355. <?php if( $good_info["good_type"] == 1 ) { ?>
  356. <p class="warp aonelist">请选择去程车次</p>
  357. <?php } else { ?>
  358. <p class="warp aonelist">请选择演出时间</p>
  359. <?php } ?>
  360. <ul class="cartime clearfix fire go">
  361. <?php
  362. $temp_go_index = 0;
  363. foreach( $start_time_array[1] as $start_time_info ) {
  364. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  365. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  366. echo '</li>';
  367. $temp_go_index ++;
  368. }
  369. ?>
  370. </ul>
  371. </div>
  372. <?php if( $good_info["good_type"] == 1 ) { ?>
  373. <div class="timeinfo_back">
  374. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  375. <ul class="cartime clearfix back">
  376. <?php
  377. $temp_back_index = 0;
  378. foreach( $end_time_array[1] as $end_time_info ) {
  379. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  380. $temp_back_index++;
  381. }
  382. ?>
  383. </ul>
  384. </div>
  385. <?php if( $_GET["id"] == 2 ){ ?>
  386. <p class="warp aonelist">购票说明:两日往返票每日须各选择一个往返班次。</p>
  387. <?php } ?>
  388. <?php } ?>
  389. <?php } ?>
  390. </div>
  391. <!-- 周二 -->
  392. <div class="aweekday">
  393. <?php if( $good_info["id"] == 15 ) { ?>
  394. <div class="timeinfo_go" style="display:none;">
  395. <?php if( $good_info["good_type"] == 1 ) { ?>
  396. <p class="warp aonelist">请选择去程班次</p>
  397. <?php } else { ?>
  398. <p class="warp aonelist">请选择演出时间</p>
  399. <?php } ?>
  400. <ul class="cartime clearfix fire go">
  401. <?php
  402. $temp_go_index = 0;
  403. foreach( $start_time_array[2] as $start_time_info ) {
  404. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  405. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  406. echo '</li>';
  407. $temp_go_index ++;
  408. }
  409. ?>
  410. </ul>
  411. </div>
  412. <?php if( $good_info["good_type"] == 1 ) { ?>
  413. <div class="timeinfo_back">
  414. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  415. <ul class="cartime clearfix back">
  416. <?php
  417. $temp_back_index = 0;
  418. foreach( $end_time_array[2] as $end_time_info ) {
  419. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  420. $temp_back_index++;
  421. }
  422. ?>
  423. </ul>
  424. </div>
  425. <?php if( $_GET["id"] == 2 ){ ?>
  426. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  427. <?php } ?>
  428. <?php } ?>
  429. <?php } else { ?>
  430. <div class="timeinfo_go">
  431. <?php if( $good_info["good_type"] == 1 ) { ?>
  432. <p class="warp aonelist">请选择去程班次</p>
  433. <?php } else { ?>
  434. <p class="warp aonelist">请选择演出时间</p>
  435. <?php } ?>
  436. <ul class="cartime clearfix fire go">
  437. <?php
  438. $temp_go_index = 0;
  439. foreach( $start_time_array[2] as $start_time_info ) {
  440. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  441. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  442. echo '</li>';
  443. $temp_go_index ++;
  444. }
  445. ?>
  446. </ul>
  447. </div>
  448. <?php if( $good_info["good_type"] == 1 ) { ?>
  449. <div class="timeinfo_back">
  450. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  451. <ul class="cartime clearfix back">
  452. <?php
  453. $temp_back_index = 0;
  454. foreach( $end_time_array[2] as $end_time_info ) {
  455. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  456. $temp_back_index++;
  457. }
  458. ?>
  459. </ul>
  460. </div>
  461. <?php if( $_GET["id"] == 2 ){ ?>
  462. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  463. <?php } ?>
  464. <?php } ?>
  465. <?php } ?>
  466. </div>
  467. <!-- 周三 -->
  468. <div class="aweekday">
  469. <?php if( $good_info["id"] == 15 ) { ?>
  470. <div class="timeinfo_go" style="display:none;">
  471. <?php if( $good_info["good_type"] == 1 ) { ?>
  472. <p class="warp aonelist">请选择去程班次</p>
  473. <?php } else { ?>
  474. <p class="warp aonelist">请选择演出时间</p>
  475. <?php } ?>
  476. <ul class="cartime clearfix fire go">
  477. <?php
  478. $temp_go_index = 0;
  479. foreach( $start_time_array[3] as $start_time_info ) {
  480. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  481. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  482. echo '</li>';
  483. $temp_go_index ++;
  484. }
  485. ?>
  486. </ul>
  487. </div>
  488. <?php if( $good_info["good_type"] == 1 ) { ?>
  489. <div class="timeinfo_back">
  490. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  491. <ul class="cartime clearfix back">
  492. <?php
  493. $temp_back_index = 0;
  494. foreach( $end_time_array[3] as $end_time_info ) {
  495. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  496. $temp_back_index++;
  497. }
  498. ?>
  499. </ul>
  500. </div>
  501. <?php if( $_GET["id"] == 2 ){ ?>
  502. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  503. <?php } ?>
  504. <?php } ?>
  505. <?php } else { ?>
  506. <div class="timeinfo_go">
  507. <?php if( $good_info["good_type"] == 1 ) { ?>
  508. <p class="warp aonelist">请选择去程班次</p>
  509. <?php } else { ?>
  510. <p class="warp aonelist">请选择演出时间</p>
  511. <?php } ?>
  512. <ul class="cartime clearfix fire go">
  513. <?php
  514. $temp_go_index = 0;
  515. foreach( $start_time_array[3] as $start_time_info ) {
  516. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  517. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  518. echo '</li>';
  519. $temp_go_index ++;
  520. }
  521. ?>
  522. </ul>
  523. </div>
  524. <?php if( $good_info["good_type"] == 1 ) { ?>
  525. <div class="timeinfo_back">
  526. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  527. <ul class="cartime clearfix back">
  528. <?php
  529. $temp_back_index = 0;
  530. foreach( $end_time_array[3] as $end_time_info ) {
  531. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  532. $temp_back_index++;
  533. }
  534. ?>
  535. </ul>
  536. </div>
  537. <?php if( $_GET["id"] == 2 ){ ?>
  538. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  539. <?php } ?>
  540. <?php } ?>
  541. <?php } ?>
  542. </div>
  543. <!-- 周四 -->
  544. <div class="aweekday">
  545. <?php if( $good_info["id"] == 15 ) { ?>
  546. <div class="timeinfo_go" style="display:none;">
  547. <?php if( $good_info["good_type"] == 1 ) { ?>
  548. <p class="warp aonelist">请选择去程班次</p>
  549. <?php } else { ?>
  550. <p class="warp aonelist">请选择演出时间</p>
  551. <?php } ?>
  552. <ul class="cartime clearfix fire go">
  553. <?php
  554. $temp_go_index = 0;
  555. foreach( $start_time_array[4] as $start_time_info ) {
  556. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  557. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  558. echo '</li>';
  559. $temp_go_index ++;
  560. }
  561. ?>
  562. </ul>
  563. </div>
  564. <?php if( $good_info["good_type"] == 1 ) { ?>
  565. <div class="timeinfo_back">
  566. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  567. <ul class="cartime clearfix back">
  568. <?php
  569. $temp_back_index = 0;
  570. foreach( $end_time_array[4] as $end_time_info ) {
  571. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  572. $temp_back_index++;
  573. }
  574. ?>
  575. </ul>
  576. </div>
  577. <?php if( $_GET["id"] == 2 ){ ?>
  578. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  579. <?php } ?>
  580. <?php } ?>
  581. <?php } else { ?>
  582. <div class="timeinfo_go">
  583. <?php if( $good_info["good_type"] == 1 ) { ?>
  584. <p class="warp aonelist">请选择去程班次</p>
  585. <?php } else { ?>
  586. <p class="warp aonelist">请选择演出时间</p>
  587. <?php } ?>
  588. <ul class="cartime clearfix fire go">
  589. <?php
  590. $temp_go_index = 0;
  591. foreach( $start_time_array[4] as $start_time_info ) {
  592. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  593. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  594. echo '</li>';
  595. $temp_go_index ++;
  596. }
  597. ?>
  598. </ul>
  599. </div>
  600. <?php if( $good_info["good_type"] == 1 ) { ?>
  601. <div class="timeinfo_back">
  602. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  603. <ul class="cartime clearfix back">
  604. <?php
  605. $temp_back_index = 0;
  606. foreach( $end_time_array[4] as $end_time_info ) {
  607. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  608. $temp_back_index++;
  609. }
  610. ?>
  611. </ul>
  612. </div>
  613. <?php if( $_GET["id"] == 2 ){ ?>
  614. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  615. <?php } ?>
  616. <?php } ?>
  617. <?php } ?>
  618. </div>
  619. <!-- 周五 -->
  620. <div class="aweekday">
  621. <?php if( $good_info["id"] == 15 ) { ?>
  622. <div class="timeinfo_go" style="display:none;">
  623. <?php if( $good_info["good_type"] == 1 ) { ?>
  624. <p class="warp aonelist">请选择去程班次</p>
  625. <?php } else { ?>
  626. <p class="warp aonelist">请选择演出时间</p>
  627. <?php } ?>
  628. <ul class="cartime clearfix fire go">
  629. <?php
  630. $temp_go_index = 0;
  631. foreach( $start_time_array[5] as $start_time_info ) {
  632. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  633. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  634. echo '</li>';
  635. $temp_go_index ++;
  636. }
  637. ?>
  638. </ul>
  639. </div>
  640. <?php if( $good_info["good_type"] == 1 ) { ?>
  641. <div class="timeinfo_back">
  642. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  643. <ul class="cartime clearfix back">
  644. <?php
  645. $temp_back_index = 0;
  646. foreach( $end_time_array[5] as $end_time_info ) {
  647. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  648. $temp_back_index++;
  649. }
  650. ?>
  651. </ul>
  652. </div>
  653. <?php if( $_GET["id"] == 2 ){ ?>
  654. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  655. <?php } ?>
  656. <?php } ?>
  657. <?php } else { ?>
  658. <div class="timeinfo_go">
  659. <?php if( $good_info["good_type"] == 1 ) { ?>
  660. <p class="warp aonelist">请选择去程班次</p>
  661. <?php } else { ?>
  662. <p class="warp aonelist">请选择演出时间</p>
  663. <?php } ?>
  664. <ul class="cartime clearfix fire go">
  665. <?php
  666. $temp_go_index = 0;
  667. foreach( $start_time_array[5] as $start_time_info ) {
  668. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  669. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  670. echo '</li>';
  671. $temp_go_index ++;
  672. }
  673. ?>
  674. </ul>
  675. </div>
  676. <?php if( $good_info["good_type"] == 1 ) { ?>
  677. <div class="timeinfo_back">
  678. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  679. <ul class="cartime clearfix back">
  680. <?php
  681. $temp_back_index = 0;
  682. foreach( $end_time_array[5] as $end_time_info ) {
  683. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  684. $temp_back_index++;
  685. }
  686. ?>
  687. </ul>
  688. </div>
  689. <?php if( $_GET["id"] == 2 ){ ?>
  690. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  691. <?php } ?>
  692. <?php } ?>
  693. <?php } ?>
  694. </div>
  695. <!-- 周六 -->
  696. <div class="aweekday">
  697. <?php if( $good_info["id"] == 15 ) { ?>
  698. <div class="timeinfo_go" style="display:none;">
  699. <?php if( $good_info["good_type"] == 1 ) { ?>
  700. <p class="warp aonelist">请选择去程班次</p>
  701. <?php } else { ?>
  702. <p class="warp aonelist">请选择演出时间</p>
  703. <?php } ?>
  704. <ul class="cartime clearfix fire go">
  705. <?php
  706. $temp_go_index = 0;
  707. foreach( $start_time_array[6] as $start_time_info ) {
  708. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  709. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  710. echo '</li>';
  711. $temp_go_index ++;
  712. }
  713. ?>
  714. </ul>
  715. </div>
  716. <?php if( $good_info["good_type"] == 1 ) { ?>
  717. <div class="timeinfo_back">
  718. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  719. <ul class="cartime clearfix back">
  720. <?php
  721. $temp_back_index = 0;
  722. foreach( $end_time_array[6] as $end_time_info ) {
  723. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  724. $temp_back_index++;
  725. }
  726. ?>
  727. </ul>
  728. </div>
  729. <?php if( $_GET["id"] == 2 ){ ?>
  730. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  731. <?php } ?>
  732. <?php } ?>
  733. <?php } else { ?>
  734. <div class="timeinfo_go">
  735. <?php if( $good_info["good_type"] == 1 ) { ?>
  736. <p class="warp aonelist">请选择去程班次</p>
  737. <?php } else { ?>
  738. <p class="warp aonelist">请选择演出时间</p>
  739. <?php } ?>
  740. <ul class="cartime clearfix fire go">
  741. <?php
  742. $temp_go_index = 0;
  743. foreach( $start_time_array[6] as $start_time_info ) {
  744. echo '<li class="carticketGo'.$temp_go_index.'"><span class="time">'.$start_time_info["time_info"].'</span>';
  745. if($good_info["good_type"] == 1) { echo '<span>出发</span>';}
  746. echo '</li>';
  747. $temp_go_index ++;
  748. }
  749. ?>
  750. </ul>
  751. </div>
  752. <?php if( $good_info["good_type"] == 1 ) { ?>
  753. <div class="timeinfo_back">
  754. <p class="warp aonelist">请选择返程班次<?php if( $_GET["id"] == 2 ){ ?><span style="color:#ff0000;"> </span><?php } ?></p>
  755. <ul class="cartime clearfix back">
  756. <?php
  757. $temp_back_index = 0;
  758. foreach( $end_time_array[6] as $end_time_info ) {
  759. echo '<li class="carticketBack'.$temp_back_index.'"><span class="time">'.$end_time_info["time_info"].'</span><span>返回</span></li>';
  760. $temp_back_index++;
  761. }
  762. ?>
  763. </ul>
  764. </div>
  765. <?php if( $_GET["id"] == 2 ){ ?>
  766. <p class="warp aonelist">购票说明:两日往返票每日须要各选择一个往返班次。</p>
  767. <?php } ?>
  768. <?php } ?>
  769. <?php } ?>
  770. </div>
  771. </div>
  772. </section>
  773. </div>
  774. <div id="detailsone">
  775. <div class="dscontent">
  776. <div id="x">×</div>
  777. <div id="detailcontent">产品详情</div>
  778. </div>
  779. </div>
  780. <div id="inline" style="display:none">登录</div>
  781. <a class="fancybox" href="#inline" style="visibility:hidden;">登录</a>
  782. <!-- <script src="js/rtk.js"></script> -->
  783. </body>
  784. </html>