Jump to content

Flight Briefing show Airportcharts auto generated


Nighthawk

Recommended Posts

Show This:flightbrief.jpg

Pressing "Click to view Airport Charts" will open new Window with Following:

fscharts.jpg

You must insert the following line as shown in the next Picture in core/templates/schedule_briefing.tpl

notepad.jpg

Cheers

Nighthawk

Here is the complete Code:

<h3>Procedures and Information</h3><br>
<table width="98%" align="center">

<tr style="background-color: #333; color: #FFF;">
	<td>Charts for <?php echo $schedule->depicao?></td>
	<td>Charts for <?php echo $schedule->arricao?></td>
</tr>
<tr align="center">
	<td width="50%" valign="top">
		<a href="http://www.airnav.com/airport/<?php echo $schedule->depicao?>#ifr" target="_blank">
		<img border="0" src="http://flightaware.com/resources/airport/<?php echo $schedule->depicao?>/APD/AIRPORT+DIAGRAM/png"
			width="387px" height="594px" alt="No chart available" /></a></br>
		<a href="http://www.fscharts.com/index.php?action=search&type=icao&term=<?php echo $schedule->depicao?>&radius=2"
			target="_blank">Click to view Airport Charts</a>
	</td>
	<td width="50%" valign="top">
		<a href="http://www.airnav.com/airport/<?php echo $schedule->arricao?>#ifr" target="_blank">
		<img border="0" src="http://flightaware.com/resources/airport/<?php echo $schedule->arricao?>/APD/AIRPORT+DIAGRAM/png" 
			width="387px" height="594px" alt="No chart available" /></br>
		<a href="http://www.fscharts.com/index.php?action=search&type=icao&term=<?php echo $schedule->arricao?>&radius=2"
			target="_blank">Click to view Airport Charts</a></a>
	</td>

  • Like 1
Link to comment
Share on other sites

  • Moderators

Could you just copy the code from the third screenshot and paste it here?

It would an eyesore for someone looking at the picture and typing into their tpl files. It makes it easier for someone to copy and paste, not typing every single word.

Cheers!

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