Blu-Express VA Posted January 22, 2011 Report Share Posted January 22, 2011 Hi, I wanted to know if you can change the setting Pilot Roster status Active / Inactive which then will change after a total time that the pilot not flying (of course if possible I would like to establish it ...) Thanks! Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted January 23, 2011 Moderators Report Share Posted January 23, 2011 The code to change is in the local_config.php Retired pilots. Do a search there is also the code here as well to show the if else images Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted January 24, 2011 Author Report Share Posted January 24, 2011 Please, you can write The code for Active - Inactive in the Pilot Roster with image, Sorry for my question, Thanks Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted January 24, 2011 Moderators Report Share Posted January 24, 2011 Pop this in the right place where you want it to show, <td><div align="center"><?php If ($pilot->retired == 0) { echo '<img src="your image path active" />'; } else { echo '<img src="your image path inactive" />'; } ?></div></td> Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted January 24, 2011 Author Report Share Posted January 24, 2011 Sorry, what is the file when modified?? 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.