Jump to content

mattsmith

Members
  • Posts

    373
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by mattsmith

  1. Sorry i want to customise it like some other ones i've seen, icons etc
  2. Could someone point me in the right direction for help on making a custom pilot center please.
  3. 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??
  4. 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>'; ?>
  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. mattsmith

    VAForum 2

    Import "install.sql" file to database How do you do this?
  7. 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
  8. I have this problem Fatal error: Class 'Screenshots' not found in /home/a7174905/public_html/lib/skins/GOL2012/frontpage_main.tpl on line 114
  9. 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 ???
  10. Could someone recommend a website for storing files on for download i.e aircraft
  11. mattsmith

    Ranks

    Where are the Pilot Ranks located so you can add more and different images?
  12. mattsmith

    News

    How do i post news with out it saying Posted by phpVMS Installer on 11/08/2012
  13. How do you get this to show up on your website so u can click on it and then see the fleet?
  14. 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
  15. I am using Fivedev but still can't find the php.ini
  16. and its good that your advertising other peoples va's
×
×
  • Create New...