# The Affluent Man - Order Management System ## Complete PHP Application A professional order management system for custom suit orders with: - Customer-facing order form - MySQL database for storing orders - Admin dashboard for viewing/managing orders - Secure authentication - Responsive design ## Files Included ### Frontend - `index.php` - Customer order form - `submit-order.php` - Order submission handler - `css/style.css` - Styling ### Backend/Admin - `admin/login.php` - Admin login - `admin/dashboard.php` - View all orders - `admin/view-order.php` - View single order details - `admin/delete-order.php` - Delete orders - `admin/logout.php` - Logout ### Configuration - `config/database.php` - Database connection - `config/config.php` - Site configuration - `database/install.sql` - Database structure ### Documentation - `README.md` - Installation instructions ## Installation Steps 1. Upload all files to your server 2. Create a MySQL database 3. Import `database/install.sql` 4. Edit `config/database.php` with your credentials 5. Access admin at: `yoursite.com/admin/` 6. Default login: admin / admin123 (CHANGE THIS!) ## Features ✅ Secure order submission ✅ Complete measurement tracking ✅ Admin authentication ✅ Order management dashboard ✅ Search and filter orders ✅ Responsive design ✅ Print-friendly order details