/*----------------------------------------------*\
| Project.: CS:Source Admin (cssourceadmin)
| File....: admin.php
| Info....: CSAdmin main admin file
| Author..: "ThorN" thorn@clanbank.com
| Date....: 11-23-2004
|
| Copyright (C) 2004 Michael "ThorN" Thornton
|
| This program is free software; you can 
| redistribute it and/or modify it under the terms
| of the GNU General Public License as published by
| the Free Software Foundation; either version 2 of
| the License, or (at your option) any later version.
|
| This program is distributed in the hope that it
| will be useful, but WITHOUT ANY WARRANTY; without
| even the implied warranty of MERCHANTABILITY or
| FITNESS FOR A PARTICULAR PURPOSE. See the GNU
| General Public License for more details.
|
| You should have received a copy of the GNU General
| Public License along with this program; if not,
| write to the Free Software Foundation, Inc.
| 59 Temple Place, Suite 330
| Boston, MA 02111-1307 USA
| 
\*----------------------------------------------*/

ABOUT:
CS:Source Admin is PHP web application for administering 
Counter-Strike: Source servers remotely. Current functions 
include player listing, kick, ban, temp ban, and sending message. 
It is password protected and allows moderators to admin without rcon.

INSTALLATION:
1. Extract to a web accessible 
   directory (http://www.yourdomain.com/cssourceadmin).
2. Set your server's host, port, and passwords in config.php
3. Set CS:S Admin passwords in config.php

USAGE:
Connect to http://www.yourdomain.com/cssourceadmin via your web browser.
If connected succesfully server information and a player list should 
appear if there are players on the server. To kick or ban a player,
click the check boxes in the right-most column beside each players
name that you want to kick.

To kick, select Kick below the player list and enter a duration. One
minute is the minumum duration. Press "Do It" to execute.

To ban, select Ban below the player list. Press "Do It" to execute.

To send a message, enter your message in the "Send Message" box and
press "Do It".

Please send any comments, suggestions, or bugs to thorn@clanbank.com

USER LEVELS:
There are two user levels, admin and moderator (mod). An admin can ban
users, has no limit on temp bans, and can see Steam IDs and IPs. A
moderator can only kick users, send messages, and has a 15 minute
limit on temp bans. The Steam IDs and IPs are hidden from mods.

CHANGELOG:
11-23-2004 "ThorN" thorn@clanbank.com
	Released version 0.2

	Split CSS into seperate .css file and
	added page title

	Fixed missing permission check for
	message posts

11-22-2004 "ThorN" thorn@clanbank.com
	Added support for two access levels, mod
	and admin

	Added in "Spammages" macros for messages

	Added moderator passwords to config.php

	Added $SPAMMAGES to config.php

11-19-2004 "ThorN" thorn@clanbank.com
	Added $escape option to Rcon::sendCommand
	to prevent quoting when not needed

11-18-2004 "ThorN" thorn@clanbank.com
	Created