Rafael Posted February 8, 2011 Report Share Posted February 8, 2011 Can someone pass me the code map of the last flights of the VA and the Pilot please? I find no place in not one, thank you. Equal to that at low! Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 8, 2011 Report Share Posted February 8, 2011 <?php $flights = PIREPData::getRecentReportsByCount(10); $string = ""; foreach($flights as $flight) { $string = $string.$flight->depicao.'+-+'.$flight->arricao.',+'; } ?> <img src="http://www.gcmap.com/map?P=<?php echo $string ?>&MS=bm&MR=240&MX=650x360&PM=pemr:diamond7:red%2b%22%25I%22:red&PC=%230000ff" /><br /> Maps generated by the <a href="http://www.gcmap.com/">Great Circle Mapper</a> - copyright © <a href="http://www.kls2.com/~karl/">Karl L. Swartz</a> Original Post Here: http://forum.phpvms.net/topic/3358-gcmap-great-circle-mapper/ 1 Quote Link to comment Share on other sites More sharing options...
Rafael Posted February 8, 2011 Author Report Share Posted February 8, 2011 The map does not appear, it looks like it was Quote Link to comment Share on other sites More sharing options...
Rafael Posted February 8, 2011 Author Report Share Posted February 8, 2011 The map does not appear. If I add the ICAO airport manually until it works, but not automatic updates. Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 8, 2011 Report Share Posted February 8, 2011 Yeah, I don't know how your uploading that??? just put it into frontpage.tpl manually. And it should work. frontpage.tpl is located in your skin folder Quote Link to comment Share on other sites More sharing options...
Rafael Posted February 8, 2011 Author Report Share Posted February 8, 2011 Ok, I've got it, but now you know the pros last code of the pilot and flight booked flights? Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 9, 2011 Report Share Posted February 9, 2011 Ok, I've got it, but now you know the pros last code of the pilot and flight booked flights? Sorry i don't understand your question please rephrase. And any code snippets and simpilot addons (cool stuff ) can be found in the forum, just search or browse around Good Luck! Quote Link to comment Share on other sites More sharing options...
CPC900 Posted February 10, 2011 Report Share Posted February 10, 2011 I think (and I could be wrong) he is wanting the code to show the map for JUST the individual pilots in addition to the map for all pilots, maybe? Quote Link to comment Share on other sites More sharing options...
Rafael Posted February 11, 2011 Author Report Share Posted February 11, 2011 Exactly, I think it is, you could pass me and tell me where to put? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 11, 2011 Administrators Report Share Posted February 11, 2011 Look in the code snippets forum 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.