Пример #1
0
$mapsData = new MapsData($endPoint);
$bearingsDistances = $mapsData->getBearingsDistances();
?>
				
		  <table class="tableOne" width="100%"  border="1" cellpadding="0" cellspacing="1" > 
		    <tr> 
		      <th width="30%">Field</th> 
		      <th width="20%">R/W</th> 
		      <th width="10%">Unicom</th> 
		      <th width="10%">Radio</th> 
		      <th width="10%">Approach</th> 
		      <th width="10%">Tower</th> 
		      <th width="10%">Ground</th> 
		    </tr> 
			<?php 
foreach ($parser->getAirports() as $number => $row) {
    ?>
		    <tr> 
		      <td>&nbsp;<?php 
    echo $row['point'];
    ?>
</td> 
		      <td align="center" height="20px"><?php 
    echo $row['runway'];
    ?>
, <?php 
    echo $row['length'];
    ?>
m, <?php 
    echo $row['ground'];
    ?>