# #G7 Idle RPG Site Source Code

**Category:** Standalone_Bot
**Original Author:** Jon Honeycutt (jotun@ultrazone.org)

## Description
This is a PHP-based web application that serves as the frontend for an IRC bot running on the #G7 channel of SlashNet. It provides player management, statistics, and interaction features through a simple web interface.

## Key Features
- Player registration and login via IRC commands.
- Displaying player information, including level, class, and time idled.
- Managing penalties and item inventory.
- Handling of various bot commands for administrative tasks.
- Maintaining a database of players with detailed stats.
- Contact form for reporting issues or suggesting features.

## File Analysis
- **commonfunctions.php** — Contains utility functions for sorting and comparing player data.
- **contact.php** — Handles contact form submissions via email.
- **db.php** — Displays a sortable list of players based on various criteria.
- **dump.php** — Outputs player data in tabular format, useful for database backups or analysis.
- **footer.php** — Provides footer content and tracks visitor statistics.
- **header.php** — Contains header HTML and navigation links.
- **index.php** — Serves as the main page with game information and instructions.
- **others.php** — Collects and displays information about other Idle RPG instances.
- **players.php** — Allows viewing of individual player stats.
- **playerview.php** — Displays detailed statistics for a specific player.
- **sitesource.php** — Contains source code and version history.
- **source.php** — Lists available versions of the IRC bot.
- **ChangeLog** — Records changes made to the site source over time.
- **admincomms.txt** — Documentation on administrative commands for the IRC bot.
- **idlerpg-adv.txt** — Perl script for advanced player stats retrieval.
- **idlerpg.txt** — Simple Perl script for fetching player information.
- **idlestats.txt** — Perl script for parsing and displaying detailed player inventory.
- **urls.txt** — List of other Idle RPG instances.