Well, I had some free time, a php book, and I liked the idea of a challenge.
So I made this script for you.
Now I won't take all the credit as I had a lot of help from a friend of mine 
Here is the idea:
It starts off with 4 files: index.php, on_air_class.php, on_air.cfg, and modify.php.
Next we enter the DJ's information (add or remove as well as edit existing DJ's names, etc) in the on_air.cfg file. It is a very simple process here. If you need to add more just follow the examples, 
Once that is done open modify.php in an editor to find these lines:
PHP Code:
$administrator_password = "administrator";
$dj_reset_password = "clearentries";
These are for YOU as the administrator. You can change them to whatever you like. The admin password will allow you to edit a single entry as needed. The rest password will return all values to "Off The Air" to all DJ names that have a configuration file set up.
So as a DJ they need to go to modify.php. There they will find the table again but now it has radio buttons and a password box. The first thing to do is to enter a password. If their name has a * next to it this means they don't have a config file yet. They make up their own password, enter it in the field and their configuration file will be created. Next they once again click the radio button, enter their password and the text "Off The Air" will become editable. They can change the Off to On and hit enter to update the account.
It is really less complex than I make it sound.
Go Here to see the editing table. I have left 2 DJ's without config files, and set up the other 2. One is currently "On The Air" and the other is "Off The Air"
Go ahead and play around with it. If you like it and think it can work for you let me know and I will zip up the files and send them to you (or attach them to a post here so you can download them as you need to) 
Enjoy!
P.S. The 2 DJ's with config files already (skittles and biznitch) use their names without the "dj" as their password. Sorry forgot to mention that.
Bookmarks