# Idle RPG Website Code

**Category:** Standalone_Bot
**Original Author:** Jon Honeycutt (jotun@idlerpg.net)

## Description
This is a standalone web-based interface for an IRC game called Idle RPG, providing player management and interaction features through a website. The code includes various PHP scripts to handle user registration, login, quests, and world maps.

## Key Features
- **User Registration & Login:** Allows players to register and log in using the IRC bot.
- **Quest Management:** Displays active quests and their progress.
- **World Map:** Shows the current state of player positions on a map.
- **Player Information:** Provides detailed information about each player, including class, level, and penalties.
- **XML API:** Exposes player data in XML format for external use.

## File Analysis
- **commonfunctions.php** — Contains various utility functions used throughout the code.
- **config.php** — Configuration settings for the website, such as database paths and admin details.
- **contact.php** — Handles contact form submissions to send emails to administrators.
- **db.php** — Displays a sortable list of player data from the database.
- **dump.php** — Outputs player data in a specific format compatible with previous versions.
- **footer.php** — Contains footer content including hit counter and navigation links.
- **header.php** — Provides header content for the website, such as logo and navigation bar.
- **index.php** — Main page providing game information and instructions.
- **makemap.php** — Draws a map of player positions on an image.
- **makequestmap.php** — Draws a quest map based on active quests.
- **makeworldmap.php** — Generates a world map showing all online players.
- **players.php** — Lists all registered players with their details.
- **playerview.php** — Displays detailed information about a specific player.
- **quest.php** — Shows the current active quest and its progress.
- **worldmap.php** — Main page displaying the world map.
- **xml.php** — Outputs player data in XML format for external use.