Jump to content

Jerry

Members
  • Posts

    5
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Location
    Nairobi
  • Interests
    Simming/Photography/RC flying

Recent Profile Visitors

2091 profile views

Jerry's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. HELP my schedules are not changing. I have been seeing the same flights available everyday of the week even on days they are not available on the schedule. It is simply not updating and its the same options every day per aircraft where flights are available Sunday to Sunday. http://www.fofvirtua...ealScheduleLite
  2. tried adding this didn't work, any suggestions?
  3. <?php if(!$lastbids) { echo 'FOF pilots at the bar'; echo '</p><img src="<?php echo SITE_URL; ?>/lib/images/nobookedflight.gif" width="80px" height="99px" /></p>'; return; } foreach($lastbids as $lastbid); { ?> <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td>Flight</td> <td>Pilot</td> <td>Departure</td> <td>Arrival</td> <td>Aircraft</td> </tr> <tr> <td><?php echo $lastbid->code.$lastbid->flightnum ;?></td> <td> <?php $pilotid = $lastbid->pilotid; $pilot = PilotData::getPilotData($pilotid); echo $pilot->firstname.' '.$pilot->lastname ;?> </td> <td><?php echo $lastbid->depicao ;?></td> <td><?php echo $lastbid->arricao ;?></td> <td><?php echo $lastbid->aircraft ;?></td> </tr> </table> <?php } ?> <div id="mainbox"> <h3>Flight Departures Board</h3> <?php if(!$lastbids) { echo '<p align="center">FOF pilots at the bar</p>'; return; } ?> <table width="100%" class="tablesorter"> <thead> <tr bgcolor="#336699"> <th height="20" width="15%"><div align="center">Flight Number</div></th> <th height="20" width="13%"><div align="center">Depart</div></th> <th height="20" width="13%"><div align="center">Arrive</div></th> <th height="20" width="20%"><div align="center">Pilot Name</div></th> <th height="20" width="15%"><div align="center">Aircraft</th> <th height="20" width="12%"><div align="center">Tail No.</div></th> <th height="20" width="12%"><div align="center">Flight Time</div></th> </tr> </thead> <tbody> <?php foreach($lastbids as $lastbid) { ?> <tr bgcolor="#DFF4FF"> <td height="20" width="15%" align="center"><?php echo $lastbid->code . $lastbid->flightnum; ?></a> </td> <td height="20" width="13%" align="center"><span><?php echo $lastbid->depicao; ?></span></td> <td height="20" width="13%" align="center"><span><?php echo $lastbid->arricao; ?></span></td> <?php $params = $lastbid->pilotid; $pilot = PilotData::GetPilotData($params); $pname = $pilot->firstname; $psurname = $pilot->lastname; ?> <td height="20" width="20%" align="center"><span><?php echo $pname; ?> <?php echo $psurname; ?></span></td> <td height="20" width="15%" align="center"><span><?php echo $lastbid->aircraft; ?></span></td> <td height="20" width="12%" align="center"><?php echo $lastbid->registration?></td> <td height="20" width="12%" align="center"><span><?php echo $lastbid->flighttime; ?> Hours</span></td> </tr> <?php } ?> </tbody> </table> <hr> </div>
  4. Thanks Alex, I guess we can mark this as solved.
  5. In the Airports database, we still have the old ICAO codes for Johannesburg and Lusaka. New codes are: FAJS-FAOR FLLS-FLKK Jerry Mrima Founder FOF VA
×
×
  • Create New...