Jump to content

BastiDE

Members
  • Posts

    92
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

BastiDE's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hey, whats up with the release?
  2. now it shows this: Schedules: 365 Pilots: 82 PIREPS: 1,405 Flights: 1,386 Hours: 2,849.12 Current Score: 0 (+0) But you see the Score. pls help
  3. another error. I see, that we are rank 149. Then I look to VACentral an see: Schedules: 0 Pilots: 0 PIREPS: 1,405 Flights: 0 Hours: 0.00 Current Score: 0 (+0) äh? We was Rank 33. Pls help us.
  4. Some (not all) Pilots have the error: "You must be logged in to acess this feature" when they want to login. I dont know what they can do, to fix it. The search have with this error no results. Have one a idea?
  5. Here not only this, all Pilots and Flight Hours are removed! Only the PIREPS aviable. http://vacentral.net/airline/nxa_northair Sending PIREPS is not possible, too. Whats now? We was on 44/43 and now 246
  6. how do you mean it? Can you give an example? But i find the other board better. ^^
  7. i dont know what i have to do with kACARS. Can one help me?
  8. dont know how to use this with my site and with kACARS. Can one help me? <h3 style="text-align: center;">Flight Departures Board</h3> <?php if(!$lastbids) { echo '<p align="center">There are currently no booked flights!</p></div>'; return; } mysql_connect('localhost', 'xxx', 'xxx'); mysql_select_db('flkeeper'); $result = mysql_query("SELECT * FROM liveacars"); $fsfk = mysql_num_rows($result); ?> <center> <table cellspacing="0" cellpadding="0" style="border:1px solid grey;"> <thead> <tr style="font-size:14px; font-weight:bold;"> <th align="center" style="background-color: #1F1F1F; width: 3.5%;"> </th> <th align="center" style="background-color: #1F1F1F; width: 10%;"><font color="#ff8710"><b>Flight</b></font></th> <th align="center" style="background-color: #1F1F1F; width: 30%;"><font color="#ff8710"><b>Departing</b></font></th> <th align="center" style="background-color: #1F1F1F; width: 30%;"><font color="#ff8710"><b>Arriving</b></font></th> <th align="center" style="background-color: #1F1F1F; width: 5%"><font color="#ff8710"><b>Aircraft</b></font></th> <th align="center" style="background-color: #1F1F1F; width: 18.5%;"><font color="#ff8710"><b>Status</b></font></th> </tr> </thead> <tbody> <?php $flights = ACARSData::GetACARSData(); if ($flights OR $fsfk > 0) { if($flights) { foreach($flights as $flight) { $pid = $flight->pilotid + 100;?> <tr style="height:12px; font-size:14px; font-weight:normal;"> <td align="center" valign="middle" style="background-color: #1F1F1F; padding: 1px;"><?php if($flight->phasedetail == "Boarding") { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_blink.gif'>"; } elseif($flight->phasedetail == "Arrived") { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots.gif'>"; } elseif($flight->phasedetail == "On Approach") { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_yellow.gif'>"; } ?></td> <td align="center" valign="middle" style="background-color: #1F1F1F;"><font color="#ff961e"><?php echo $flight->flightnum?></td> <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo $flight->depapt?></td> <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo $flight->arrapt?></td> <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 0px;"><font color="#ff961e"> <?php echo $flight->aircraftname?> </td> <td align="center" valign="middle" style="background-color: #1F1F1F;"><font color="#ff961e"><?php if($flight->phasedetail != 'Paused') { echo $flight->phasedetail; } else { echo "Cruise"; } ?></font></td> </tr> <?php } } while($row = mysql_fetch_assoc($result)) { mysql_select_db('berlin_vms'); $dep = mysql_fetch_assoc(mysql_query("SELECT name FROM phpvms_airports WHERE icao = '$row[OriginAirport]'")); $arr = mysql_fetch_assoc(mysql_query("SELECT name FROM phpvms_airports WHERE icao = '$row[DestinationAirport]'")); $row['OriginAirport']; ?> <tr style="height:12px; font-size:14px; font-weight:normal;"> <td align="center" valign="middle" style="background-color: #1F1F1F; padding: 1px;"><?php if($row['Status'] == 0) { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_blink.gif'>"; } elseif($row['Status'] == 4) { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots.gif'>"; } elseif($row['Status'] == 3) { echo "<img style='padding-left:3px;' src='http://www.airberlinva.de/lib/skins/airberlin/images/dots_yellow.gif'>"; }?></td> <td align="center" valign="middle" style="background-color: #1F1F1F;"><font color="#ff961e"><?php echo $row['FlightNumber']; ?>*</td> <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo utf8_encode($dep['name']); ?></td> <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 5px;"><font color="#ff961e"> <?php echo utf8_encode($arr['name']); ?></td> <td align="center" valign="middle" style="background-color: #1F1F1F; padding-right: 0px;"><font color="#ff961e"> <?php echo $row['Aircraft']; ?> </td> <td align="center" valign="middle" style="background-color: #1F1F1F;"><font color="#ff961e"><?php if($row['Status'] == 0) { echo "Boarding"; } elseif($row['PauseMode'] != 0) { echo "Paused"; } elseif($row['Status'] == 1) { echo "Taxiing to Runway"; } elseif($row['Status'] == 2 && $row['AltitudeStatus'] == 1) { echo "Cruise"; } elseif($row['Status'] == 2 && $row['AltitudeStatus'] == 2) { echo "Climbing"; } elseif($row['Status'] == 2 && $row['AltitudeStatus'] == 0) { echo "Descending"; } elseif($row['Status'] == 3) { echo "Taxiing to Gate"; } elseif($row['Status'] == 4) { echo "Arrived"; } ?></font></td> </tr> <?php } } else { ?> <tr><td width="20%" align="center" colspan="6" style="padding: 5px; font-size: 13px; font-weight: bold; color: #ff961e;">No Flights in Progress!</td></tr> <?php } ?> </tbody> </table> <p><i>The actual, flights and flights completed in the last <?php echo Config::Get('ACARS_LIVE_TIME') ?> minutes.<br />*Flight with FSFlightkeeper</i></p>
  9. hey. Have you a code? I dont have the know how for something like this. But I want to sue WBBLite 2.1^^
  10. yes with 10000 works it. But I cant only add the first. After this i cant, I think i forget what, but what? Can you please help me? Eventually give me your files...
  11. can you give me this parts? I have very big problems to do this. Or gives for this a software??
×
×
  • Create New...