Jump to content

Recommended Posts

  • Moderators
Posted

This is a flight duration calculator. The results are of course estimated but with this you could have an idea of how to manage your schedules when adding them. This is an open source module, so feel free if you want to make changes.

Install:

1. Download the zip.

2. Unzip & upload in the order of folder structure.

3, Make a link to access it by <?php echo url('duration') ;?>.

Pix:

Dur1.png

Dur2.png

Dur3.png

Download at Github: Github.com/parkho

  • Like 1
Posted

This is a flight duration calculator. The results are of course estimated but with you could have an idea of how to manage your schedules when adding them. This an open source module, so feel free if you want to make changes.

Install:

1. Download the zip.

2. Unzip & upload in the order of folder structure.

3, Make link to access it (ex. <?php echo url('duration') ;?>.

Pix:

Dur1.png

Dur2.png

Dur3.png

Getting error

P.S Help

Fatal error: Call to undefined method Util::FormatDuration()**********************************/core/templates/results.tpl on line 60

  • Moderators
Posted

Getting error

P.S Help

Fatal error: Call to undefined method Util::FormatDuration()**********************************/core/templates/results.tpl on line 60

What version of phpvms are you running?

  • Moderators
Posted

Version 2.1.934

Remove the util::formatduration() every where you see it in the results.tpl. You can use notepad++(search web) to open it and see if it's fixed.

  • Like 1
  • 2 months later...
Posted

<table cellpadding="0 cellspacing=" 0"="" width="80%" class="tablesorter" style="color: rgb(23, 23, 23); font-family: 'segoe ui', tahoma, arial, helvetica, clean, sans-serif; font-size: 12px; "> Flight Data Departure Airport: KSEA Arrival Airport: KRNO Distance: 490 nm Cruising Altitude: 33000 ft Reaching Altitude: 33000 ft Average Vertical Speed: 2500 ft/m Top Of Descend Distance: 99 nm Climb Time Cruise Time Descend & Approach Time Estimated Total Flight Duration from KSEA to KRNO

i getting not time to climb and stuff like that can you help me out

Posted

<table cellpadding="0 cellspacing=" 0"="" width="80%" class="tablesorter" style="color: rgb(23, 23, 23); font-family: 'segoe ui', tahoma, arial, helvetica, clean, sans-serif; font-size: 12px; "> Climb Time Cruise Time Descend & Approach Time

Estimated Total Flight Duration from KSEA to KLAS

i am still getting nothing to show up... can you please help???

  • Moderators
Posted

i can not get it in... its not showing me

Cimb Time

Cruise Time Descend & Approach Time

Estimated Total Flight Duration from KSEA to KLA

its not show me time

For those of you who are having trouble seeing the time format, please download and replace the attached .tpl file in templates folder.

Thanks

results.zip

  • 1 year later...
  • Moderators
Posted

Yes. Use "round(number, 2)" command in results.tpl. Number is the number you wanna round and 2 is the decimal you wanna round it by, so you put 2 it'll be 1.57 you put 3 it'll be 1.571 :D

Good luck. ;)

  • Moderators
Posted

Yes. Use "round(number, 2)" command in results.tpl. Number is the number you wanna round and 2 is the decimal you wanna round it by, so you put 2 it'll be 1.57 you put 3 it'll be 1.571 :D

Good luck. ;)

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...
×
×
  • Create New...