Jump to content

Kyle

Moderators
  • Posts

    2282
  • Joined

  • Last visited

Everything posted by Kyle

  1. Try this, there was a slight change in the Auth Class in the beta's. <?php $bids = SchedulesData::GetBids(Auth::$userinfo->pilotid); if(!$bids) { ?> <p align="center">you havent booked a flight yet<br /> <a href="<?php echo url('/schedules') ?>">Click Here to to get a flight</a> </p> <?php return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Route</th> </tr> </thead> <tbody> <?php foreach($bids as $bid) { ?> <tr id="bid<?php echo $bid->bidid ?>"> <td align="center"><?php echo $bid->depicao; ?> to <?php echo $bid->arricao; ?></td> </tr> <?php } ?> </tbody> </table>
  2. Just be patient. Nabeel said he had large amount of data, and that can take a while to restore them.
  3. Since your VA has massive schedules, your hosting has a php memory limit and it can't process more schedules. If you can, talk to your host and see if they can uppen the memory. Be sure to copy the error to them.
  4. Kyle

    KACARS Issue on FSX

    Note from lorathon... You might want to check on these. http://forum.phpvms.net/topic/5782-before-asking-a-question-of-kacars/
  5. Set your core folder as writable (permissions 777). Because your directory is not allowing the installer to write in the file.
  6. Nice Site, But where's the "Powered by phpVMS"?
  7. Do you have the Data.class connecting to the $stats array. Which module? Example, should be in the modules or you need to create a data class... $this->set('stats', SomethingData::getAllLandings()); If you are creating another TPL file or something, you'll need to put in the $stats = TouchdownStatsData::get_all_stats(); to grab the landings. <table width="100%" border="1px"> <tr> <td>Pilot</td> <td>Aircraft</td> <td>Arrival Airport</td> <td>Landing Rate</td> <td>Date Posted</td> </tr> <?php $stats = TouchdownStatsData::get_all_stats(); foreach($stats as $stat) { $pilot = PilotData::getPilotData($stat->pilotid); $aircraft = OperationsData::getAircraftInfo($stat->aircraft); echo '<tr>'; echo '<td>'.PilotData::getPilotCode($pilot->code, $pilot->pilotid).' - '.$pilot->firstname.' '.$pilot->lastname.'</td>'; echo '<td>'.$aircraft->fullname.'</td>'; echo '<td>'.$stat->arricao.'</td>'; echo '<td>'.$stat->landingrate.'</td>'; echo '<td>'.date(DATE_FORMAT, strtotime($stat->submitdate)).'</td>'; echo '</tr>'; } ?> </table>
  8. Your like me. lol. Can't trust a virtual airlines to take your credit card info. Very Unsecured...
  9. I been hearing that in other places and I thought, "what?"
  10. Not I know... I know I hate the both of them. I don't trust a virtual airline giving out my credit card. It's always hard to find these VA's in these days.
  11. Um, that is odd. Maybe I'm guessing phpVMS doesn't like the IP URLs?
  12. If you have simpilot's ScheduleSearch.... simply put this code in your frontpage anywhere. Whenever someone enters the params on what flights they look for, it'll go to the page with list of schedules. <?php $airports = OperationsData::GetAllAirports()); $airlines = OperationsData::getAllAirlines()); $aircrafts = FrontSchedulesData::findaircrafttypes()); $countries = FrontSchedulesData::findcountries()); ?> <form action="<?php echo url('/FrontSchedules');?>" method="post" enctype="multipart/form-data"> <table width="100%" cellpadding="10px"> <tr> <td>Select An Airline</td> <td> <select class="search" name="airline"> <option value="">All</option> <?php foreach ($airlines as $airline) {echo '<option value="'.$airline->code.'">'.$airline->name.'</option>';} ?> </select> </td> </tr> <tr> <td>Select An Aircraft Type</td> <td> <select class="search" name="aircraft"> <option value="">All</option> <?php foreach ($aircrafts as $aircraft) {echo '<option value="'.$aircraft->icao.'">'.$aircraft->icao.'</option>';} ?> </select> </td> </tr> <tr> <td>Select A Departure Airfield</td> <td> <select class="search" name="depicao"> <option value="">All</option> <?php foreach ($airports as $airport) {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';} ?> </select> </td> </tr> <tr> <td>Select An Arrival Airfield</td> <td> <select class="search" name="arricao"> <option value="">All</option> <?php foreach ($airports as $airport) {echo '<option value="'.$airport->icao.'">'.$airport->icao.' - '.$airport->name.'</option>';} ?> </select> </td> </tr> <tr> <td colspan="2"> <input type="hidden" name="action" value="findflight" /> <input type="submit" name="submit" value="Search For A Flight" /> </td> </tr> </table> </form> OR!!! If you want want a simple code... <?php MainController::Run('FrontSchedules', 'index'); ?> Remember, if you use that code, and you change the TPL file for it, it'll change for the frontpage as well.
  13. [Connection failed] Could not connect to remote server - error is "cURL not installed or initialized!" You need to turn on cURL. I'm not sure where excatly. You need to find a php.ini file and find the line... ;extension=php_curl.dll And uncomment the line like this... extension=php_curl.dll Hopefully that will slove your problem.
  14. I done that, I'll put a pull request and see what Dave thinks. Thanks Nabeel!
  15. Jeff, Seems your domain - http://www.fs-products.net/ has expired.
  16. And to add. Joining in vaList or vaCentral, Posting your VA in flight sim front page news. ETC.
  17. Give this a go, change in pireplist.tpl file in the date area. <?php echo date("j-M-Y", $report->submitdate); ?>
  18. Good Luck finding one, mostly phpVMS users here are VA CEO's.
  19. You make me laugh man! Unalakleet (PAUN) - A Very Unkown Hub for joeri
  20. That wasn't my idea, I'm not the CEO. lol. Heck yes, I didn't even want that hub.
  21. I know, it's sorta a good start so far. We're always aiming for higher hours. Thanks!
  22. Do you guys use google chrome and whenever you go editing a news with many formatting, then your chrome gets frozed up. That doesn't happen to firefox as well. I'm thinking the text editor doesn't like Google Chrome?
  23. March 08, 2012 - Sun Country Virtual Hits 100 Hours! As of March 08, 2012, Sun Country Virtual has hit over 100 hours of flight with 44 PIREPs filed! What a great acheviement! Let's aim for 500 hours shall we? Target Date? Sure, let's hit 500 hours by May 31st, 2012! Get those hours and PIREPs in! Kyle Reaume Sun Country Virtual Founder & Chief Technology Officer
  24. You had a <style type="text/css"> On line 18, and you never closed it. So you don't need to add the style tag in there because you are already linked to a CSS file. The style tag is the site's style definitions. I removed that and it works. Check the attachment.
×
×
  • Create New...