Files
easystream/modules/m_frontend/m_donations/token_purchase.php
T
Krystie 092a8bc7ce refactor: organize codebase and remove redundant files
- Removed all backup/duplicate files
- Removed test files from root
- Consolidated documentation to /docs/
- Moved scripts to /scripts/
- Renamed f_* directories (removed prefix)
- Organized icons and assets
- Removed unused vendor directories
- Cleaned up redundant config files
2026-03-30 16:34: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";
?>