<div class="tab-content">
<div class="tab tab-1">
<img src="<?php echo $logo;?>" width="30px" height="30px" /><?php echo $maskapai;?> <font face="sans-serif" size="2" ><?php echo $nomer;?></font>
<div class="tabcontent">
<div style="margin-left:5px; display:block;">
<p align="left"><font face="sans-serif" size="2"><?php echo $berang;?></font></p>
<p align="left" style="margin-top:100px;"> <font face="sans-serif" size="2"><?php echo $tiba;?></font></p>
</div>
<div class="garisdangambar">
<img src="awal.png" width="20px" height="20px" style="margin-left:-10px; margin-top:5px;">
<br><div class="garishubung"></div>
<img src="tujuan.png" width="20px" height="20px" style="margin-left:-10px; margin-top:-5px;">
</div>
<div style="margin-left:5px;">
<p align="left" style="margin-left:-10px;"><?php echo $bandarber;?></p>
<p align="left" style="margin-top:100px;"><?php echo $bandararr;?></p>
</div>
</div>
<?php }else {
for ($t=0 ; $t<count ($dataplane ['departures']['flight_infos']['flight_info']); $t++) {
$h=$t+1;
$kotatrans=$dataplane;
$waktutrans=$dataplane['departures']['flight_infos']['flight_info'][$h]['transit_arrival_text_time'];
$berangtransit=$dataplane['departures']['flight_infos']['flight_info'][$t]['departure_city_name'];
$datangtransit=$dataplane['departures']['flight_infos']['flight_info'][$t]['arrival_city_name'];
$nomertransit=$dataplane['departures']['flight_infos']['flight_info'][$t]['flight_number'];
$logotransit=$dataplane['departures']['flight_infos']['flight_info'][$t]['img_src'];
$airlinetransit=$dataplane['departures']['flight_infos']['flight_info'][$t]['airlines_name'];
$jamberangkat=$dataplane['departures']['flight_infos']['flight_info'][$t]['simple_departure_time'];
$jamdatang=$dataplane['departures']['flight_infos']['flight_info'][$t]['simple_arrival_time'];
$tempuhtransit=$dataplane['departures']['flight_infos']['flight_info'][$t]['duration_hour'];
$menittransit=$dataplane['departures']['flight_infos']['flight_info'][$t]['duration_minute'];
?>
<div class="dalam">
<div>
<img src= "<?php echo $logotransit;?>" width="30px" height="30px"/><font face="sans-serif" size="1"><?php echo "$airlinetransit";?></font>
<font face="sans-serif" size="2"><?php echo $nomertransit;?></font><br>
<font face="sans-serif" size="2"><?php echo $berangtransit;?></font><br>
<font face="sans-serif" size="2"><?php echo $jamberangkat;?></font>
</div>
<div>
<br>
<br>
<img src="jalan.png" width="20px" height="20px" align="center"/><br>
<font face="sans-serif" size="2"><?php echo "$tempuhtransit $menittransit" ;?></font><br>
</div>
<div>
<br>
<br>
<p>
<font face="sans-serif" size="2"><?php echo $datangtransit;?></font><br>
<font face="sans-serif" size="2"><?php echo $jamdatang;?></font><br>
</p>
</div>
<div class="transit" align="center">
<font face="sans-serif" size="2"><label><?php echo "$kotatrans $waktutrans";?></label></font><br>
</div>
</div>
</div>
<?php }}?>
<div class="tab tab-2">
<p>
<font face="sans-serif" size="2" color="blue"><label>Fasilitas</label></font><br>
</p>
<p>
<img src="sendokgar.jpg" width="20px" height="20px"/><font face="sans-serif" size="1"><label> <?php echo $makanan;?></label></font><br>
<img src="tas2.jpg" width="20px" height="20px"/> <font face="sans-serif" size="1"><label> <?php echo "$bagasi Kg";?></label></font>
</p>
</div>
<div class="tab tab-3">
<p>
<font face="sans-serif" size="2" color="blue"><label>Detail Harga :</label></font><br>
</p>
<p>
<label ><font face="sans-serif" size="2">Harga :</font><font face="sans-serif" size="2" color="red" ><b><?php echo "$dewasa x $harga";?></b></label></font><br>
<font face="sans-serif" size="2"><label>Pajak bandara : <?php echo "$pajak";?></label></font>
</p>
</div>
</div>
</div>
</div>
</div>