Файл: ubiznes.mobi/inc/location/aeroport/aeroport.php
Строк: 29
<div class="b-top"> <h2> Аэропорт </h2> </div>
<?php while($obj_aircraft = mysql_fetch_object($aircraft)): ?>
<?php if($obj_aircraft->built == false): ?>
<div class="b-top">Пустое место </div>
<div class="b-bottom">
<table style="width:100%" cellspacing="0" cellpadding="0" valign="top">
<tbody>
<tr>
<td class="screen" width="20%" align="center">
<img width="38" height="38" src="/images/style/empty.png" alt="">
</td>
<td width="80%">
<a href="/?aeroport=set_aircraft&id=<?php echo $obj_aircraft->id; ?>"> Купить самолёт </a>
</td>
</tr>
</tbody>
</table>
</div>
<?php else: ?>
<div class="b-top">Самолёт </div>
<div class="b-bottom">
<table style="width:100%" cellspacing="0" cellpadding="0" valign="top">
<tbody>
<tr>
<td class="screen" width="20%" align="center">
<img width="38" height="38" src="/images/style/aircraft.png" alt="">
</td>
<td width="80%">
</td>
</tr>
</tbody>
</table>
</div>
<?php endif; ?>
<?php endwhile; ?>
<?php if($aircraft_count < $null_max): ?>
<div class="b-top">
<img width="36" height="36" src="http://static.hata.mobi/i/crops/bg/list-left.png" class="portrait">
<div> <span> Новое место </span> </div>
<div>
<a href="/?aeroport=newplace"> Купить </a> новое место, за
<img width="16" height="16" src="/images/icons/baks.png">
<span> <?php echo aeroport_place($aircraft_count); ?> </span>
</div>
</div>
<?php endif; ?>