EricThePanic Posted October 25, 2013 Report Share Posted October 25, 2013 Hello all! Quick question... in my flight briefing, how can I show the departure and arrival countries? I tought something like <?php echo $depinfo->country;?> would show it directly, but it doesn't do so! I went over this forum and tried different ways, any idea? Thanks! Quote Link to comment Share on other sites More sharing options...
Zach Posted October 25, 2013 Report Share Posted October 25, 2013 Place this somewhere near the top of your schedule_briefing.tpl $depinfo = OperationsData::getAirportInfo($schedule->depicao); $arrinfo = OperationsData::getAirportInfo($schedule->arricao); Then, where you want the countries to be placed... <?php echo $depinfo->country;?> <?php echo $arrinfo->country;?> Enjoy! Quote Link to comment Share on other sites More sharing options...
EricThePanic Posted October 26, 2013 Author Report Share Posted October 26, 2013 Zach, thanks a lot, that's exactly what I needed, and it works well! Thank you very much for your great help! Quote Link to comment Share on other sites More sharing options...
Zach Posted October 26, 2013 Report Share Posted October 26, 2013 No problem, glad it worked. Can you edit the title of your post to [sOLVED]? Thanks in advance Quote Link to comment Share on other sites More sharing options...
EricThePanic Posted October 26, 2013 Author Report Share Posted October 26, 2013 Sure! Done. Quote Link to comment Share on other sites More sharing options...
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.