faraz Posted December 17, 2009 Report Share Posted December 17, 2009 HI I want Make Type rating in admin menu and location after AWARD in pilot&Group . what is type rating ? type rating exactly working like this code: <?php foreach($allroutes as $route) { if(Auth::LoggedIn()) { if(Auth::$userinfo->rank == 'Commercial Pilot') { // Skip any B772 flights if they're a "Commercial Pilot" rank if($route->aircraft == '') { continue; // This will tell it to skip and move to the next route } } } but I want add or delete type rating like Award. for example : my rank in VA is New Hire and New Hire rank just can fly with 727 and 737 and commercial Rank fly with 747-400 and 777-300 ... . TNX Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 17, 2009 Administrators Report Share Posted December 17, 2009 There's plenty of code examples around, try taking a crack at it, you have the above as well. 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.