-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
81 lines (71 loc) · 2.89 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tahcoin DEX</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Tahcoin Decentralized Exchange</h1>
<!-- Day/Night Mode Toggle -->
<div class="mode-toggle" id="modeToggle" title="Toggle Day/Night Mode">
☀️
</div>
<!-- Tahcoin Price and Market Cap Section -->
<div class="tahcoin-info">
<h2>Tahcoin Information</h2>
<p><strong>Price:</strong> $1.00 @ 0.000015 BTC (0.00%)</p>
</div>
<h2>Set Your Dex Wallet</h2>
<div class="wallet-info">
<label for="public_key">Public Key:</label>
<input type="text" id="public_key" placeholder="Enter your public key">
<label for="private_key">Private Key:</label>
<input type="password" id="private_key" placeholder="Enter your private key">
</div>
<div class="sell-order">
<h2>Create Sell Order</h2>
<label for="amount">Amount of Tahcoin:</label>
<input type="number" id="amount" placeholder="Enter amount">
<label for="usdt_receiver_address">USDT Receiver Address (Polygon PoS Only):</label>
<input type="text" id="usdt_receiver_address" placeholder="Enter USDT receiver address">
<button id="createOrder">Create Sell Order</button>
</div>
<h2>Available Sell Orders</h2>
<div class="filter-options">
<label for="filterPrice">Filter by Price:</label>
<select id="filterPrice">
<option value="all">All</option>
<option value="highest">Highest to Lowest</option>
<option value="lowest">Lowest to Highest</option>
</select>
<label for="filterDate">Filter by Date:</label>
<select id="filterDate">
<option value="all">All</option>
<!--option value="newest">Newest First</option-->
<!--option value="oldest">Oldest First</option-->
</select>
<button id="applyFilters">Apply Filters</button>
</div>
<div id="error-container" style="color: red;"></div>
<!-- Message Display -->
<div id="message"></div>
<!-- Sell Orders List -->
<div id="sellOrders"></div>
<div id="paginationControls">
<button id="prevPage" disabled>Previous</button>
<span id="pageInfo"></span>
<button id="nextPage">Next</button>
</div>
</div>
<!-- Include your script -->
<script src="app.9.9.9.9.9.2.js"></script>
<script>
document.getElementById('modeToggle').addEventListener('click', function() {
document.body.classList.toggle('light-mode');
});
</script>
</body>
</html>