Jump to content
OA01

Expected Flight Time

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 :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×