<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>China train ticket(s) confirmed, Booking Number <?php echo $coli_id;?></title><style>*{ font-family:Verdana, Geneva, sans-serif; color:#545454;}</style></head><body style="font-family:Verdana, Geneva, sans-serif; border-left:1px solid #d1d1d1; border-right:1px solid #d1d1d1;"><h1 style="font-size:20px; text-align:center;">China Highlights Booking Confirmation</h1><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">Dear <?php echo $toname?>,</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">Thank you for your payment of <?php echo $price->GAI_SQJECurrency.' '.$price->GAI_SQJE?> . Your train ticket(s) have already been issued. </p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> <strong>This email is important so please read it carefully. </strong>To ensure you have a smooth trip, it is highly recommended that you read the confirmation letter carefully. <strong>A mistake with your name or passport number will mean that you may not be able to collect your ticket(s) or board the train</strong>. Let us know <strong>immediately</strong> if you see any mistakes below. </p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">You can collect your paper ticket(s) from now on at any train station in mainland China. If you booked multiple trains, you can collect all of your paper tickets at the same time. You can just send one person to collect all tickets with all passengers’ original passports. </p><p>China Rail now provides e-ticket services for most high-speed trains (G/D/C trains) serving most popular cities like Beijing, Shanghai, Guangzhou, Xi'an, Hangzhou, Guilin, and so on. Consult staff at your departure station to confirm whether your train has the e-ticket service or not.</p><p>If a train has the e-ticket service, foreign passengers can use a passport to check in at the manual ticket check-in gate, with no need to collect a paper ticket.</p><p>Before boarding a train with the e-ticket service, please note or print your seat and coach number in advance, as you will not have a paper ticket to tell you where it is.</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"><strong>Please note:</strong></p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">1.Present the <strong>original passport(s) of all the passenger(s)</strong> and the ticket pick-up number(s) <span style="color:#33F"><?php echo $elecnumber;?></span> at ticket collection counters. The counter will then issue your paper train ticket(s). </p>
<p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">2.Watch the <a style="color:#33F" href="https://www.chinahighlights.com/travelguide/transportation/how-to-board-train.htm">video</a> about how to collect your ticket(s) in China.</p><table border="0" cellpadding="0" cellspacing="0" style="width:100%; border-top:3px solid #a31022; border-left:1px solid #d1d1d1; margin-bottom:15px;"><tr><th style="text-align:left; padding:10px; font-size:14px; background:#f1f1f1;width: 293px;">Ticket collection sentences</th><td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;"><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> 1.Excuse me, where is ** train station? 你好，请问**火车站怎么走？</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">2.Please show me which window is the one to collect my train ticket(s) from.你好，请问哪个是取票窗？</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">2.Please issue the paper ticket(s) for me. The following is/are the pick-up number(s).请帮我出票，电子取票号如下.</p></td></tr></table>
<?php 
	$j = 0;
	foreach($train_info as $item){
		echo '<table border="0" cellpadding="0" cellspacing="0" style="width:100%; border-top:3px solid #a31022; border-left:1px solid #d1d1d1; margin-bottom:15px;">
			  <tr>
			  <th style="width: 293px;text-align:left; padding:10px; font-size:14px; background:#f1f1f1;"><strong>Pick up</strong></th>';
		echo '<td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;"><span style="color:#33F">'.$item->FOI_TrainNetOrderNo.'</span></td></tr>';
		
		echo '<tr><th style="text-align:left; padding:10px; font-size:14px; background:#f1f1f1;"><strong>Number / Seat</strong></th>';
		echo '<td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;">('.$seatinfo.')</td></tr>';
		
		echo '<tr><th style="text-align:left; padding:10px; font-size:14px; background:#f1f1f1;"><strong>Train No.</strong></th>';
		echo '<td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;">'.$item->FlightsNo.'</td></tr>';
		
		echo '<tr><th style="text-align:left; padding:10px; font-size:14px; background:#f1f1f1;"><strong>Departure</strong></th>';
		echo '<td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;">'.date('H:i M d',strtotime($item->DepartureTime)).', '.$item->DepartureCity.' Station(in Chinese '.$item->DepartAirport_cn.'火车站)</td></tr>';
		
		echo '<tr><th style="text-align:left; padding:10px; font-size:14px; background:#f1f1f1;"><strong>Arrival</strong></th>';
		echo '<td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;">'.date('H:i M d',strtotime($item->ArrivalTime)).', '.$item->ArrivalCity.' Station(in Chinese '.$item->ArrivalAirport_cn.'火车站)</td></tr>';
		
		echo '<tr><th style="text-align:left; padding:10px; font-size:14px; background:#f1f1f1;"><strong>Class</strong></th>';
		echo '<td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;">'.$item->Cabin.'</td></tr></table>';
	}
?>
<table border="0" cellpadding="0" cellspacing="0" style="width:100%; border-top:3px solid #a31022; border-left:1px solid #d1d1d1; margin-bottom:15px;"><tr><th style="width: 293px;text-align:left; padding:10px; font-size:14px; background:#f1f1f1;">Passenger(s)</th><td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1; font-size:14px; line-height:22px; padding:10px;"><p><?php 
		if($adult>0){echo $adult.' adult(s) ';}
		if($chlid>0){echo $chlid.' chlid(s) ';}
		if($baby>0){echo $baby.' baby(s) ';}
		?></p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> <?php 
		$i=0;
		foreach($allpeople as $item){
			echo ++$i.'.'.$item->BPE_FirstName.$item->BPE_MiddleName.$item->BPE_LastName.' , passport number '.$item->BPE_Passport.'<br>';
		}
	?></p></td></tr></table>
<p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> 3.<strong>Kindly note there is more than one station in most cities</strong>. On your departure day, please time your arrival at the station wisely. 
If you are going to collect your train ticket(s) on the departure day, allow enough time to queue at the ticket collection counter, to pass through the security X-ray check for your luggage, and for the ticket check before entering the passenger lounge.
Tickets will stop being issued 30 minutes prior to departure. We suggest you arrive at the station at least 1.5 hours ahead of the stated departure time. Please leave at least 2.5 hours during public holidays.</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> 4.If you’ve already collected your ticket(s) before the departure day, we recommend that you arrive at the station at least 40 minutes ahead of time. Please be at the station at least 1.5 hours prior to departure during a public holiday.</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> 5.Please don't throw your ticket(s) away because you'll need it/them to exit the station.</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">6.If you cancel your ticket(s) at a train station yourself, the money will be refunded to our account. Please cancel the ticket(s) before the train departure and e-mail us. We will then refund you accordingly.</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">Read our China train travel <a href="https://www.chinahighlights.com/travelguide/transportation/china-train-faq.htm">FAQS</a>.</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">Should you have any questions about your train ticket booking(s), please do not hesitate to contact me.</p>
<p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> Best Regards!</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"><?php echo $operator[0]->Name?>, Travel Advisor</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> Tel: <?php echo $operator[0]->tel;?> Mobile: <?php echo $operator[0]->Mobile;?> </p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> E-mail: <a href="mailto:<?php echo $emailarr[0]?>"><?php echo $emailarr[0]?>;</a><a href="mailto:<?php echo $emailarr[1]?>"><?php echo $emailarr[1]?>;</a></p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"><a href="http://www.chinahighlights.com">www.chinahighlights.com</a></p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;"> Address: Building 6, Chuangyi Business Park, 70 Qilidian Road, Guilin, Guangxi, 541004, China</p><p style="font-size:14px; margin:0 0 18px 0; line-height:22px;">If you wish to share anything with my supervisor (Ms. Ethel), please feel free to send an e-mail to <a href="mailto:ethel@chinahighlights.net">ethel@chinahighlights.net</a>.</p></body></html>
