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.
 
 
 
 
 

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