Jump to content

NAT's in you Briefing 1.0


MaciejO

Recommended Posts

Well I managed to do mine first php addon to phpvms. Its really helpful tool for over Atlantic Flights. Its showing Current NAT's using RSS Feed server. :rolleyes:

How to add ?

Simply put line in schedule_briefing.tpl :

<?php include('nats.tpl'); ?>

How it looks ?

nats.jpg

Where to get ?

Well Simply Click Here !

The NAT's are showing only if route is +3000nm

Well i am proud of myself because its my first contact with php in that way, i will bring next version about tuesday ! ;)

Happy Pond Crossing !!

Maciej

  • Like 2
Link to comment
Share on other sites

Well update was much faster than i thoguht link in first posted updated :).

If you want want to show start of template and the heading etc you can use code below :

<?php  if($schedule->distance >= 3000.00) 
{
echo '<h3 align="center">NAT Tracks</h3>';
echo '<p align="center"><br />';
include('nats.tpl');
echo '</p>';
}
?>

Link to comment
Share on other sites

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...