Files
easystream-main/f_modules/m_frontend/m_donations/token_purchase.php
SamiAhmed7777 0b7e2d0a5b feat: Add comprehensive documentation suite and reorganize project structure
- Created complete documentation in docs/ directory
- Added PROJECT_OVERVIEW.md with feature highlights and getting started guide
- Added ARCHITECTURE.md with system design and technical details
- Added SECURITY.md with comprehensive security implementation guide
- Added DEVELOPMENT.md with development workflows and best practices
- Added DEPLOYMENT.md with production deployment instructions
- Added API.md with complete REST API documentation
- Added CONTRIBUTING.md with contribution guidelines
- Added CHANGELOG.md with version history and migration notes
- Reorganized all documentation files into docs/ directory for better organization
- Updated README.md with proper documentation links and quick navigation
- Enhanced project structure with professional documentation standards
2025-10-21 00:39:45 -07:00

57 lines
2.3 KiB
PHP

<?php
/*******************************************************************************************************************
| Token Purchase System - Docker Container Version
| Simple token purchase interface for testing
|*******************************************************************************************************************/
define('_ISVALID', true);
include_once '../../../f_core/config.core.php';
echo "<!DOCTYPE html>\n";
echo "<html lang='en'>\n";
echo "<head>\n";
echo "<meta charset='UTF-8'>\n";
echo "<meta name='viewport' content='width=device-width, initial-scale=1.0'>\n";
echo "<title>Token Purchase - EasyStream</title>\n";
echo "<style>\n";
echo "body { font-family: Arial, sans-serif; margin: 40px; background: #f8f9fa; }\n";
echo ".container { max-width: 600px; margin: 0 auto; background: white; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }\n";
echo ".header { text-align: center; margin-bottom: 30px; }\n";
echo ".status { background: #e7f3ff; padding: 15px; border-radius: 5px; margin: 20px 0; }\n";
echo ".info { background: #f8f9fa; padding: 15px; border-radius: 5px; margin: 10px 0; }\n";
echo "</style>\n";
echo "</head>\n";
echo "<body>\n";
echo "<div class='container'>\n";
echo "<div class='header'>\n";
echo "<h1>🪙 Token Purchase System</h1>\n";
echo "<p>Buy platform tokens with real money</p>\n";
echo "</div>\n";
echo "<div class='status'>\n";
echo "<h3>Container Information</h3>\n";
echo "<p><strong>Container:</strong> " . gethostname() . "</p>\n";
echo "<p><strong>PHP Version:</strong> " . PHP_VERSION . "</p>\n";
echo "<p><strong>Working Directory:</strong> " . getcwd() . "</p>\n";
echo "<p><strong>Main URL:</strong> " . (getenv('MAIN_URL') ?: 'Not set') . "</p>\n";
echo "</div>\n";
echo "<div class='info'>\n";
echo "<h3>System Status</h3>\n";
echo "<p>✅ Token purchase system is accessible</p>\n";
echo "<p>✅ Container routing is working</p>\n";
echo "<p>⚠️ Full token system implementation in progress</p>\n";
echo "</div>\n";
echo "<div class='info'>\n";
echo "<h3>Available Actions</h3>\n";
echo "<p><a href='/'>← Back to Homepage</a></p>\n";
echo "<p><a href='/admin'>Admin Panel</a></p>\n";
echo "<p><a href='/token_redemption'>Token Redemption</a></p>\n";
echo "<p><a href='/health'>Health Check</a></p>\n";
echo "</div>\n";
echo "</div>\n";
echo "</body>\n";
echo "</html>\n";
?>