Jump to content

Expected Flight Time


OA01
 Share

Recommended Posts

In pirep_viewreports.tpl, it tells you the actual flight time, I want to display the expected flight time as set in schedules>flighttime. I came up with:

<li><strong>Expected Time: </strong><?php echo $schedule->flighttime; ?></li>

But I'm thinking that this doesn't work because it doesn't know what flight to look at?

Any help gratefully received :)

Link to comment
Share on other sites

Errrr. and what has this to do with my question? :wacko:

Look at this

http://forum.phpvms....t-flight-board/

To include photos of aircraft, we can make by name, or by the enrollments registered in the database.

Depending on how many aircraft you have recommend using the model of the aircraft.

Example I have 170 aircraft would not be viable I create several photos, I can replace only the models of aircraft and not by enrollment which would be more laborious.

Create photos and send to folder on your server, for example:

mysite.com/lib/aircraft/img/ (here will be the location of the photos)

B737.png

A320.png

After creating all aircraft can make it read photos from this locality,

test it and see if that's what you want, and make the changes

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...