Jump to content

mattsmith

Members
  • Posts

    373
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by mattsmith

  1. Could someone point me in the right direction for help on making a custom pilot center please.
  2. I have my Acars Map on my front page but would like it on its own page i.e current flights How would i do this??
  3. This is the code i'm using but nothing is showing in the status fro arrivals???? <?php date_default_timezone_set('europe/london'); $query = "SELECT * FROM phpvms_schedules ORDER BY deptime + 0 ASC"; $list = DB::get_results($query); echo '<h3>Expected Departures - Current Time is '.date('D M j H:i:s T Y').'</h3>'; echo '<table width="90%" border="1">'; echo '<tr><td><b>Flight Number</b></td><td><b>Departure</b></td><td><b>Arrival</b></td><td><b>Departure Time</b></td><td><b>Aircraft</b></td><td><b>Status</b></td></tr>'; $count = 0; foreach($list as $flight) { if(date('G:i') >= '23') {$time = '0';} else {$time = date('G:i');} if(($flight->deptime + 0) > $time) { if($count < 10) { $aircraft = OperationsData::getAircraftInfo($flight->aircraft); echo '<tr><td>'.$flight->code.$flight->flightnum.'</td><td>'.$flight->depicao.'</td><td>'.$flight->arricao.'</td><td>'.$flight->deptime.'</td><td>'.$aircraft->fullname.'</td>'; echo '<td>'; if(($flight->deptime - date('G:i')) <= 2 / 120 * 15) { echo 'Final Call'; } if(($flight->deptime - date('G:i')) <= 2 / 120 * 30) { echo 'Boarding'; } if(($flight->deptime - date('G:i')) <= 2) { echo 'Check-In open'; } else { echo ''; } echo '</td></tr>'; $count++; } } } echo '</table>'; echo '<h3>Expected Arrivals - Current Time is '.date('G:i').'</h3>'; echo '<table width="90%" border="1">'; echo '<tr><td><b>Flight Number</b></td><td><b>Departure</b></td><td><b>Arrival</b></td><td><b>Arrival Time</b></td><td><b>Aircraft</b></td><td><b>Status</b></td></tr>'; $count = 0; foreach($list as $flight) { if(date('G:i') >= '23') {$time = '0';} else {$time = date('G:i');} if(($flight->arrtime + 0) > $time) { if($count < 10) { $aircraft = OperationsData::getAircraftInfo($flight->aircraft); echo '<tr><td>'.$flight->code.$flight->flightnum.'</td><td>'.$flight->depicao.'</td><td>'.$flight->arricao.'</td><td>'.$flight->arrtime.'</td><td>'.$aircraft->fullname.'</td>'; echo '<td>'; if(($flight->arrtime - date('G:i')) <= 1 / 60 * 1) { echo 'Landed'; } if(($flight->arrtime - date('G:i')) <= 1 / 60 * 15) { echo 'On Time'; } echo '</td></tr>'; $count++; } } } echo '</table>'; ?>
  4. mattsmith

    VAForum 2

    Thanks
  5. mattsmith

    VAForum 2

    OK got the forum working but how can i get a "forum" button on the website to get to it?
  6. There's no ads on our site??????
  7. mattsmith

    VAForum 2

    Import "install.sql" file to database How do you do this?
  8. After a good few months away MPK Airways is glad to announce there return! Come join us! New aircraft and routes coming soon! MPK Airways
  9. I have this problem Fatal error: Class 'Screenshots' not found in /home/a7174905/public_html/lib/skins/GOL2012/frontpage_main.tpl on line 114
  10. I think a lot of CEO's start there own VA because that is how they want it to run, so why fly for another VA? Spend all that time and money starting your own VA then fly for someone else's ???
  11. Could someone recommend a website for storing files on for download i.e aircraft
  12. THANKS!!!
  13. Ok thanks
  14. mattsmith

    Ranks

    Where are the Pilot Ranks located so you can add more and different images?
  15. 404 error
  16. Its ok found it
  17. mattsmith

    News

    Thanks
  18. mattsmith

    News

    How do i post news with out it saying Posted by phpVMS Installer on 11/08/2012
  19. How do you get this to show up on your website so u can click on it and then see the fleet?
  20. download link anyone?
  21. At the bottom of my website there is a link for "gallery" how do i set this up so it actually goes to a gallery where i can put pics in
  22. I am using Fivedev but still can't find the php.ini
  23. and its good that your advertising other peoples va's
  24. British Airways own bavirtual
  25. ok
×
×
  • Create New...