# Pilot Roster Active/Inactive

**URL:** <https://forum.phpvms.net/t/pilot-roster-active-inactive/3940>\
**Category:** Skinning - Legacy phpVMS (v2/v5)\
**Created:** [January 22, 2011, 1:11pm UTC](https://forum.phpvms.net/t/pilot-roster-active-inactive/3940 "2011-01-22T13:11:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blu-Express\_VA](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@Blu-Express\_VA](https://forum.phpvms.net/u/Blu-Express_VA)\
**Post date:** [January 22, 2011, 1:11pm UTC](https://forum.phpvms.net/t/pilot-roster-active-inactive/3940/1 "2011-01-22T13:11:55Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [January 23, 2011, 3:47pm UTC](https://forum.phpvms.net/t/pilot-roster-active-inactive/3940/2 "2011-01-23T15:47:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Blu-Express\_VA](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@Blu-Express\_VA](https://forum.phpvms.net/u/Blu-Express_VA)\
**Post date:** [January 24, 2011, 7:22pm UTC](https://forum.phpvms.net/t/pilot-roster-active-inactive/3940/3 "2011-01-24T19:22:45Z")

</div>

Please,

you can write The code for Active - Inactive in the Pilot Roster with image,

Sorry for my question,

Thanks

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [January 24, 2011, 7:31pm UTC](https://forum.phpvms.net/t/pilot-roster-active-inactive/3940/4 "2011-01-24T19:31:11Z")

</div>

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>

```

---

<div class="post-metadata">

**Author:** ![Blu-Express\_VA](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@Blu-Express\_VA](https://forum.phpvms.net/u/Blu-Express_VA)\
**Post date:** [January 24, 2011, 7:47pm UTC](https://forum.phpvms.net/t/pilot-roster-active-inactive/3940/5 "2011-01-24T19:47:33Z")

</div>

Sorry,

what is the file when modified??

Thanks!
