Jump to content

Photo

Update to aircraft information page

- - - - -

  • Please log in to reply
3 replies to this topic

#1
737MMA

737MMA

    V3 Data Guru

  • Member
  • 277 posts
A suggestion I might make, given the problems with the LF bug and such, would be to make the profit each aircraft makes either red or green, denoting whether or not its profit has increased or decreased since the last time you've updated its routes.

#2
dazwalsh

dazwalsh

    Senior Member

  • Member
  • 438 posts
tis a good idea but i think quite a complex one..but om not a coder so i dunno i can only presume

maybe highlighting a route that has had competition join it is a more simpler method..?

#3
alexm3

alexm3

    Senior Member

  • Member
  • 247 posts
  • AIM Screen Name:alexm5488
I like that idea...
Alex McKnight- CEO of
Posted Image
I don't know what the hell is going on!

A founding member of:
Posted Image

#4
gizgiz

gizgiz

    Left AE for Better Games

  • Member
  • 269 posts
  • WLM ID:cheesyli@hotmail.com
  • Website:http://www.cheesy.ca
Code? Hard? Here:

<?php
$last_dop_save = [put last saved dop here];
$current_dop = [put current dop here];

if ($last_dop_save > $current_dop) {
//it went down!
echo "<font color="red">".$current_dop."</font>";
} else {
//Yippee! it went up!
echo "<font color="green">".$current_dop."</font>";
}
?>

Now all you gotta do is save the DOP inside your companies table after every route update!
Posted Image
Gizme Airways International, 2536

Posted Image
May the spirit of 3RA live on

HONG KONG WEATHER ALERTS:
None current and none forecast




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users