Rafael Posted February 8, 2011 Report 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
Thomas Rozanov Posted February 8, 2011 Report 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
Rafael Posted February 8, 2011 Author Report Posted February 8, 2011 The map does not appear, it looks like it was Quote
Rafael Posted February 8, 2011 Author Report Posted February 8, 2011 The map does not appear. If I add the ICAO airport manually until it works, but not automatic updates. Quote
Thomas Rozanov Posted February 8, 2011 Report 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
Rafael Posted February 8, 2011 Author Report 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
Thomas Rozanov Posted February 9, 2011 Report 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
CPC900 Posted February 10, 2011 Report 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
Rafael Posted February 11, 2011 Author Report Posted February 11, 2011 Exactly, I think it is, you could pass me and tell me where to put? Quote
Administrators Nabeel Posted February 11, 2011 Administrators Report Posted February 11, 2011 Look in the code snippets forum 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.