HighFlyerPL185 Posted February 14, 2013 Report Posted February 14, 2013 How can I put a route map of the booked flight inside schedule briefing page, and how can I apply a size change of the map, only for that specific page? Quote
Moderators Parkho Posted February 14, 2013 Moderators Report Posted February 14, 2013 Like this: This is the code I use in schedule_results.tpl : <table> <tr> <th align="center" bgcolor="black"><font color="white">Flight Map</font></th> </tr> <tr> <td width="100%"> <?php $string = ""; $string = $string.$route->depicao.'+-+'.$route->arricao.',+'; ?> <img width="100%" src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=680x200&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /> </td> </tr> </table> 2 Quote
HighFlyerPL185 Posted February 14, 2013 Author Report Posted February 14, 2013 Thank you parkho Quote
Moderators Parkho Posted February 15, 2013 Moderators Report Posted February 15, 2013 Yw. Did it work for you? Quote
HighFlyerPL185 Posted February 15, 2013 Author Report Posted February 15, 2013 Yw. Did it work for you? Yes, I just had to change $route to $schedule. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.