kbohme Posted May 4, 2009 Report Share Posted May 4, 2009 After much tweaking I think I got it... Comments are welcome and requested. Thanks www.pakakadventures.com Quote Link to comment Share on other sites More sharing options...
Strider Posted May 5, 2009 Report Share Posted May 5, 2009 Nice, one question what is the code you used to get the number of schedules you have? Cheers Dan C Quote Link to comment Share on other sites More sharing options...
RogerB Posted May 5, 2009 Report Share Posted May 5, 2009 Very nice man. Quote Link to comment Share on other sites More sharing options...
kbohme Posted May 7, 2009 Author Report Share Posted May 7, 2009 Nice, one question what is the code you used to get the number of schedules you have? Cheers Dan C Actually I had to write a new class for that one, as well as for total aircraft and top pilot. In fact I think I had to write a new module for the top pilot.... I can't remember off the top of my head. Since I am a php newbie there was ALOT of trial and error going on there. for the number of schedules the class code was: public static function TotalSchedules() { $sql = 'SELECT COUNT(*) AS total FROM '.TABLE_PREFIX.'schedules'; $res = DB::get_row($sql); return $res->total; } and then I just called the class into the sidebar. 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.