MrAmsterdam Posted August 23, 2010 Report Share Posted August 23, 2010 Hey all, I am wondering if it's possible to create a code that can show the top 10 most flown routes. I know i can see it in the admin panel but i would like it to be available as information for my pilots as well... just a thought, hopefully someone knows the answer? :-) Regards, Lucas Quote Link to comment Share on other sites More sharing options...
Nuclear Posted August 23, 2010 Report Share Posted August 23, 2010 Here, try this... Top_Flights_Module.zip Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted August 23, 2010 Author Report Share Posted August 23, 2010 Here, try this... YeH! Respect! Quote Link to comment Share on other sites More sharing options...
CPC900 Posted August 25, 2010 Report Share Posted August 25, 2010 Hmmm.....I get this: "Warning: Invalid argument supplied for foreach() in ....../core/templates/topflights_main.tpl on line 6" Quote Link to comment Share on other sites More sharing options...
CPC900 Posted August 25, 2010 Report Share Posted August 25, 2010 Nevermind. I forgot to change my database reference. I don't use the "phpvms_schedules" sql format on line 4. All good now. Thanks. 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.