1.0
This commit is contained in:
parent
2a30fbdcdb
commit
f2abc84982
178
admin.php
Normal file
178
admin.php
Normal file
@ -0,0 +1,178 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>awallwt - Admin Dashboard</title>
|
||||
<meta name="description" content="Admin dashboard for P2P Cryptocurrency Exchange Bot. Built with Flatlogic Generator.">
|
||||
<meta name="keywords" content="admin, dashboard, p2p, crypto, exchange, ton, management, flatlogic">
|
||||
<meta property="og:title" content="awallwt - Admin Dashboard">
|
||||
<meta property="og:description" content="Admin dashboard for P2P Cryptocurrency Exchange Bot. Built with Flatlogic Generator.">
|
||||
<meta property="og:image" content="">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:image" content="">
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<nav class="col-md-3 col-lg-2 d-md-block sidebar collapse">
|
||||
<div class="sidebar-sticky pt-3">
|
||||
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
|
||||
<span>Admin Menu</span>
|
||||
</h6>
|
||||
<ul class="nav flex-column">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="#">
|
||||
<span data-feather="home"></span>
|
||||
Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
<span data-feather="users"></span>
|
||||
Users
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
<span data-feather="file-text"></span>
|
||||
Ads
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
<span data-feather="repeat"></span>
|
||||
Deals
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
<span data-feather="alert-octagon"></span>
|
||||
Disputes
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
<span data-feather="settings"></span>
|
||||
Settings
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="main-content col-md-9 ms-sm-auto col-lg-10 px-md-4">
|
||||
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
|
||||
<h1 class="h2">Dashboard</h1>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="card text-white bg-primary">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Total Users</h5>
|
||||
<p class="card-text fs-4">1,234</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="card text-white bg-success">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Active Deals</h5>
|
||||
<p class="card-text fs-4">56</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="card text-white bg-info">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Volume (TON)</h5>
|
||||
<p class="card-text fs-4">15,789</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<div class="card text-white bg-danger">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Pending Disputes</h5>
|
||||
<p class="card-text fs-4">3</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header">Deals Over Time</div>
|
||||
<div class="card-body" style="height: 300px;">
|
||||
<canvas id="dealsChart"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header">Volume by Currency</div>
|
||||
<div class="card-body" style="height: 300px;">
|
||||
<canvas id="volumeChart"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">Recent Activity</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover mb-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Event</th>
|
||||
<th>User</th>
|
||||
<th>Details</th>
|
||||
<th>Timestamp</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="badge bg-success">DEAL_COMPLETED</span></td>
|
||||
<td>user_alpha</td>
|
||||
<td>Deal #123 completed</td>
|
||||
<td>2025-10-26 10:30:00</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="badge bg-primary">USER_REGISTER</span></td>
|
||||
<td>user_beta</td>
|
||||
<td>New user registered</td>
|
||||
<td>2025-10-26 10:25:00</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="badge bg-warning">AD_CREATED</span></td>
|
||||
<td>user_gamma</td>
|
||||
<td>New SELL ad created</td>
|
||||
<td>2025-10-26 10:20:00</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="badge bg-danger">DISPUTE_OPEN</span></td>
|
||||
<td>user_delta</td>
|
||||
<td>Dispute opened for Deal #121</td>
|
||||
<td>2025-10-26 10:15:00</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
||||
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
72
assets/css/custom.css
Normal file
72
assets/css/custom.css
Normal file
@ -0,0 +1,72 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
padding: 48px 0 0;
|
||||
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.sidebar-sticky {
|
||||
position: relative;
|
||||
top: 0;
|
||||
height: calc(100vh - 48px);
|
||||
padding-top: .5rem;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.nav-link.active,
|
||||
.nav-link:hover {
|
||||
color: #007bff;
|
||||
}
|
||||
|
||||
.nav-link .feather {
|
||||
margin-right: 8px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.nav-link.active .feather {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
margin-left: 240px;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: none;
|
||||
border-radius: 0.375rem;
|
||||
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.sidebar {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: relative;
|
||||
box-shadow: none;
|
||||
}
|
||||
.main-content {
|
||||
margin-left: 0;
|
||||
}
|
||||
.sidebar-sticky {
|
||||
height: auto;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
55
assets/js/main.js
Normal file
55
assets/js/main.js
Normal file
@ -0,0 +1,55 @@
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
feather.replace();
|
||||
|
||||
// Chart 1: Deals Over Time
|
||||
const ctx1 = document.getElementById('dealsChart');
|
||||
if (ctx1) {
|
||||
new Chart(ctx1, {
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
|
||||
datasets: [{
|
||||
label: 'Completed Deals',
|
||||
data: [65, 59, 80, 81, 56, 55, 40],
|
||||
fill: false,
|
||||
borderColor: 'rgb(0, 123, 255)',
|
||||
tension: 0.1
|
||||
}]
|
||||
},
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
scales: {
|
||||
y: {
|
||||
beginAtZero: true
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Chart 2: Volume by Currency
|
||||
const ctx2 = document.getElementById('volumeChart');
|
||||
if (ctx2) {
|
||||
new Chart(ctx2, {
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
labels: ['TON', 'BTC (mock)', 'ETH (mock)'],
|
||||
datasets: [{
|
||||
label: 'Trade Volume',
|
||||
data: [300, 50, 100],
|
||||
backgroundColor: [
|
||||
'rgb(0, 123, 255)',
|
||||
'rgb(255, 193, 7)',
|
||||
'rgb(108, 117, 125)'
|
||||
],
|
||||
hoverOffset: 4
|
||||
}]
|
||||
},
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -15,3 +15,22 @@ function db() {
|
||||
}
|
||||
return $pdo;
|
||||
}
|
||||
|
||||
function apply_schema() {
|
||||
$pdo = db();
|
||||
$schema = file_get_contents(__DIR__ . '/schema.sql');
|
||||
if ($schema === false) {
|
||||
throw new Exception("Could not read schema.sql");
|
||||
}
|
||||
$pdo->exec($schema);
|
||||
}
|
||||
|
||||
// Automatically apply schema on inclusion.
|
||||
// In a real app, you'd use a more robust migration system.
|
||||
try {
|
||||
apply_schema();
|
||||
} catch (Exception $e) {
|
||||
// You might want to log this error instead of echoing it
|
||||
error_log("Schema application failed: " . $e->getMessage());
|
||||
// Optionally, you could re-throw or handle it to prevent app execution
|
||||
}
|
||||
|
||||
99
db/schema.sql
Normal file
99
db/schema.sql
Normal file
@ -0,0 +1,99 @@
|
||||
-- Initial Schema for P2P Crypto Exchange Bot
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `users` (
|
||||
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
||||
`telegram_id` BIGINT UNIQUE NOT NULL,
|
||||
`nickname` VARCHAR(18) UNIQUE NOT NULL,
|
||||
`username` VARCHAR(255),
|
||||
`language` VARCHAR(10) DEFAULT 'en',
|
||||
`phone_number` VARCHAR(20),
|
||||
`is_verified` BOOLEAN DEFAULT FALSE,
|
||||
`rating` FLOAT DEFAULT 5.0,
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
`role` ENUM('user', 'admin') DEFAULT 'user'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `wallets` (
|
||||
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
||||
`user_id` INT NOT NULL,
|
||||
`currency` VARCHAR(10) NOT NULL,
|
||||
`available` DECIMAL(20, 8) DEFAULT 0.0,
|
||||
`reserved` DECIMAL(20, 8) DEFAULT 0.0,
|
||||
UNIQUE KEY `user_currency` (`user_id`, `currency`),
|
||||
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ads` (
|
||||
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
||||
`user_id` INT NOT NULL,
|
||||
`ad_type` ENUM('SELL', 'BUY') NOT NULL,
|
||||
`currency` VARCHAR(10) NOT NULL DEFAULT 'TON',
|
||||
`payment_currency` VARCHAR(10) NOT NULL DEFAULT 'RUB',
|
||||
`price_type` ENUM('FIXED', 'FORMULA') NOT NULL,
|
||||
`fixed_price` DECIMAL(20, 2) DEFAULT NULL,
|
||||
`formula_add` DECIMAL(20, 2) DEFAULT NULL,
|
||||
`min_amount` DECIMAL(20, 8) NOT NULL,
|
||||
`max_amount` DECIMAL(20, 8) NOT NULL,
|
||||
`available_amount` DECIMAL(20, 8) NOT NULL,
|
||||
`bank_name` VARCHAR(255) NOT NULL,
|
||||
`bank_details` TEXT,
|
||||
`comment` TEXT,
|
||||
`start_time` TIME,
|
||||
`end_time` TIME,
|
||||
`status` ENUM('ACTIVE', 'PAUSED', 'CLOSED') DEFAULT 'ACTIVE',
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `orders` (
|
||||
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
||||
`ad_id` INT NOT NULL,
|
||||
`buyer_id` INT NOT NULL,
|
||||
`seller_id` INT NOT NULL,
|
||||
`amount_crypto` DECIMAL(20, 8) NOT NULL,
|
||||
`amount_fiat` DECIMAL(20, 2) NOT NULL,
|
||||
`escrow_fee` DECIMAL(20, 8) DEFAULT 0.0,
|
||||
`status` ENUM('PENDING_CONFIRMATION', 'AWAITING_PAYMENT', 'AWAITING_SELLER_CONFIRMATION', 'COMPLETED', 'CANCELED', 'DISPUTED') NOT NULL,
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (`ad_id`) REFERENCES `ads`(`id`),
|
||||
FOREIGN KEY (`buyer_id`) REFERENCES `users`(`id`),
|
||||
FOREIGN KEY (`seller_id`) REFERENCES `users`(`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `transactions` (
|
||||
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
||||
`user_id` INT NOT NULL,
|
||||
`order_id` INT,
|
||||
`type` ENUM('DEPOSIT', 'WITHDRAW', 'HOLD', 'RELEASE', 'TRANSFER', 'FEE', 'DISPUTE_REFUND') NOT NULL,
|
||||
`currency` VARCHAR(10) NOT NULL,
|
||||
`amount` DECIMAL(20, 8) NOT NULL,
|
||||
`description` VARCHAR(255),
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`),
|
||||
FOREIGN KEY (`order_id`) REFERENCES `orders`(`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `disputes` (
|
||||
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
||||
`order_id` INT NOT NULL,
|
||||
`created_by_id` INT NOT NULL,
|
||||
`reason` TEXT,
|
||||
`status` ENUM('OPEN', 'RESOLVED_BUYER', 'RESOLVED_SELLER', 'RESOLVED_SPLIT') DEFAULT 'OPEN',
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (`order_id`) REFERENCES `orders`(`id`),
|
||||
FOREIGN KEY (`created_by_id`) REFERENCES `users`(`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `messages` (
|
||||
`id` INT AUTO_INCREMENT PRIMARY KEY,
|
||||
`order_id` INT NOT NULL,
|
||||
`sender_id` INT NOT NULL,
|
||||
`receiver_id` INT NOT NULL,
|
||||
`message` TEXT NOT NULL,
|
||||
`is_read` BOOLEAN DEFAULT FALSE,
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
FOREIGN KEY (`order_id`) REFERENCES `orders`(`id`),
|
||||
FOREIGN KEY (`sender_id`) REFERENCES `users`(`id`),
|
||||
FOREIGN KEY (`receiver_id`) REFERENCES `users`(`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
118
index.php
118
index.php
@ -35,116 +35,34 @@ $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg-color-start: #6a11cb;
|
||||
--bg-color-end: #2575fc;
|
||||
--text-color: #ffffff;
|
||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.hero {
|
||||
background: linear-gradient(45deg, #007bff, #6c757d);
|
||||
color: white;
|
||||
padding: 6rem 2rem;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
|
||||
animation: bg-pan 20s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
@keyframes bg-pan {
|
||||
0% { background-position: 0% 0%; }
|
||||
100% { background-position: 100% 100%; }
|
||||
}
|
||||
main {
|
||||
padding: 2rem;
|
||||
}
|
||||
.card {
|
||||
background: var(--card-bg-color);
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: 16px;
|
||||
padding: 2rem;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.loader {
|
||||
margin: 1.25rem auto 1.25rem;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 3px solid rgba(255, 255, 255, 0.25);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
.hint {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px; height: 1px;
|
||||
padding: 0; margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap; border: 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 1rem;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
code {
|
||||
background: rgba(0,0,0,0.2);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
opacity: 0.7;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<div class="card">
|
||||
<h1>Analyzing your requirements and generating your website…</h1>
|
||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||
<span class="sr-only">Loading…</span>
|
||||
<main class="container mt-5">
|
||||
<div class="hero">
|
||||
<h1 class="display-4">P2P Crypto Exchange Bot</h1>
|
||||
<p class="lead">This is the web interface for your Telegram-based P2P exchange.</p>
|
||||
<hr class="my-4">
|
||||
<p>The initial admin dashboard is ready for review.</p>
|
||||
<a class="btn btn-light btn-lg" href="admin.php" role="button">View Admin Dashboard</a>
|
||||
</div>
|
||||
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
||||
<footer class="text-center text-muted mt-4">
|
||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||
</footer>
|
||||
</main>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user