Jump to content

BastiDE

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by BastiDE

  1. are here new news?
  2. hey, whats up with the release?
  3. oh I see. Great. Thanks
  4. 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
  5. 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.
  6. 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?
  7. 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
  8. how do you mean it? Can you give an example? But i find the other board better. ^^
  9. i dont know what i have to do with kACARS. Can one help me?
  10. 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>
  11. hey. Have you a code? I dont have the know how for something like this. But I want to sue WBBLite 2.1^^
  12. okay thx
  13. 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...
  14. can you give me this parts? I have very big problems to do this. Or gives for this a software??
  15. Hey, I would add the NAVDATA.SQL to my MySQL-Database, but when i try to add it, I become this error: Yes I read the manual to add the navdata!
  16. i have read it, but what of this, I have to follow?
  17. at first THANKS But it dont works, Firefox report in the error-console the same error: Error: $("#form, .ajaxform").ajaxForm is not a function Source File: http://www.ptp-forum.de/demo/lib/js/phpvms.js Line: 31
  18. but you must say, its a nice addition
  19. no problem, thx forward! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo $page_title; ?></title> <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/style.css" /> <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/cloudsv1/css/ie7.css" /><![endif]--> <?php echo $page_htmlhead; ?> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/chili-1.7.pack.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery.cycle.all.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/cloudsv1/js/jquery.easing.1.1.1.js"></script> <script type="text/javascript"> $(function() { $('#s1').cycle({ fx: 'fade', delay: 2000, timeout: 6500 }); }); </script> </head> <body> <?php echo $page_htmlreq; ?> <p><a class="skiplink" href="#maincontent">Skip over navigation</a></p> <div id="container"> <div id="backfooter"> <div id="imgfooter"> <div id="wrapper"> <div id="header"> <a href="/" class="replace" id="logo"><span></span><?php echo $page_title; ?></a> </div> <div id="placeanim"> <div id="s1"> <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim1.jpg" alt="Animation 1" /> <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim2.jpg" alt="Animation 2" /> <img src="<?php echo SITE_URL?>/lib/skins/cloudsv1/images/anim3.jpg" alt="Animation 3" /> </div> <div id="placemainmenu"> <ul id="mainmenu"> <?php Template::Show('core_navigation.tpl'); ?> <li class="last"><a href="http://www.ptp-forum.de/forum">Forum</a></li><!-- NOTE the class="last" --> </ul> <h2>North Air</h2> </div> <div id="placeintro"> <h3>Solltest du Fragen haben, oder ein Training anfragen wollen, kannst du jederzeit unser Ticketsystem benutzen! Dabei ist es egal, ob du Pilot bei uns bist oder nicht.</h3> <a href="http://www.ptp-forum.de/ticket/" class="butlink">Ticketsystem</a> <div class="clear"></div> </div> </div> <div id="content"> <div id="maincontent"> <h1><?php echo $page_title; ?></h1> <br /> <p><?php echo $page_content; ?></p> </div> <div id="nav"> <div class="navtop"> </div> <div class="navback"> <h3>Pilotenpanel</h3> <?php if(Auth::LoggedIn() == false) { ?> <form name="loginform" action="<?php echo url('/login'); ?>" method="post"> Melde dich mit deiner Piloten ID an, oder <a href="http://www.ptp-forum.de/index.php/registration">Registriere dich!</a><br /> <input type="text" name="email" value="" onClick="this.value=''" /> <input type="password" name="password" value="" /> <input type="hidden" name="remember" value="on" /> <input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <input type="submit" name="submit" value="Einloggen" /> </form> <?php } else { $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <img align="left" height="50px" width="50px" style="margin-right: 10px;" src="<?php echo PilotData::getPilotAvatar($pilotid);?>" /> <strong>Piloten ID: </strong> <?php echo $pilotid ; ?> <strong>Rang: </strong><?php echo Auth::$userinfo->rank;?><br /> <strong>Flüge: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Flugstunden: </strong><?php echo Auth::$userinfo->totalhours;?> <br /> <a href="<?php echo url('/pireps/new');?>">Flug einreichen</a> | <a href="<?php echo url('/schedules/bids');?>">Meine Flüge</a> | <a href="<?php echo url('/profile/');?>">Zum Pilotenpanel</a> <?php } ?><br /> <h3>Derzeit gebuchte Flüge</h3> <br><?php MainController::Run('FrontBids', 'RecentFrontPage', 5); ?><br> <h3>Letzter Flug</h3> <br><?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?><br> <h3>Neuster Pilot</h3> <br><?php MainController::Run('Pilots', 'RecentFrontPage', 1); ?><br> </div> <div class="navbottom"> </div> <br> <div id="nav"> <div class="navtop"> </div> <div class="navback"> <h3>Unser Rang bei VACentral.net</h3><br> <font size="+9"><b><p align="center"><?php $cws = new CodonWebService(); $xml = $cws->get('http://www.vacentral.net/airline/nxa_northair/xml'); $xml = simplexml_load_string($xml); echo "{$xml->rank}"; ?></p></b></font> </div> <div class="navbottom"> </div> </div> </div> <div class="clear"></div> </div> </div> <div id="footer"> <h5>copyright © 2010 - <?php echo date('Y') ?> - North Air VA | <a href="http://www.phpvms.net" target="_blank">powered by phpVMS/LA92</a> | Layout <a href="http://www.northair-va.tk" target="_blank">North Air VA</a> | <a href="http://www.ptp-forum.de/index.php/pages/impressum" target="_blank">Impressum</a></h5> </div> </div> <!-- imgfooter --> </div> <!-- backfooter --> </div> </body> </html> link to the page: ptp-forum.de/demo/ When you need an login say it to me. Because you cant register on the site. All links are to the old/regulary site, because i build only the layout and then i will upload it to the regulary site.
  20. yes. But the passenger and the rent/sale system is very good at FS-Airlines!
  21. come.... pls help me.
  22. great! But why didnt you like the virtual Passenger? When all VA's (who want) are connectet, then cant one make a price, like 10000€ per passenger. And the other VA is realistic and does 100€ for the same ticket. In reality no passenger would fly with the 10000€ airline and all fly with the 100€ airline. This bring competitive in the virtual live as VA. When you create an Flight-Price you can see a list with prices from other VA's. (Like http://www.fsairlines.net/ - with FS-Airlines I mean only the passenger and rent system NOT more.) I find it more realistic and funny. Regards Basti
  23. I like your Idea, but I find you have after the flight to pay. Who know, eventually does nobody this flight? xD This would be only work with real schedules, i think. But I find you can more connect. I find, virtual Passengers bings more realistic. All VA's whos want, come in a System (like VA-Central.net). It creates every day virtual passengers with money and one destination. This Passenger try to find the cheapest/fastest way to this destination (he uses only destinations from the airline). Is one VA cheapüer he fly with this. At the moment does the System generates randomly how much does fly with my airline or I have to put it in. It brings competitive in PHPVMS. AND all VA's have the same rate to pay (Percentage and solid contributions) Like: Maintance Passengerfee Landingfee Airportfee Fuel Service Serviceteam And all VA's can Rent Aircrafts from other VA's (when they give it free. When one VA lease the Aircraft, then cant the other VA use the Aircraft) And it gives an solid list of all Airplanes what gives (with very often updates ), that all have to pay the same, when they want an aircraft. Basti
  24. not more?
×
×
  • Create New...