Jump to content

artem

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by artem

  1. On my briefing page I have the following code which gives me aircraft's name from schedules:

    <?php echo "{$schedule->aircraft}"; ?>

    Which outputs something like this: A320-214

    I can also use:

    <?php echo "{$schedule->aircraftid}"; ?>

    Which gives me an ID of an aircraft from *aircraft* table.

     

    Knowing aircraft's name and id, how can I get aircraft icao code from *aircraft* database?

    (In aircraft database there are fields *id*, *icao*, *name* etc)

    Thanks!

  2. Go to /lib/skins/*your skin*/schedule_search.php
    And add this after <div class="row"> (This is for FireCrew3)

    <p align="center"><img src="location of your logo" width="200px"></p>

    I know it's a bit messy but it's the easiest way without editing css

×
×
  • Create New...