-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboost.php.html
More file actions
401 lines (366 loc) · 16 KB
/
Copy pathboost.php.html
File metadata and controls
401 lines (366 loc) · 16 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NotCoin - Boosters</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/responsive.css">
<link rel="icon" type="image/x-icon" href="assets/favicon/favicon.ico">
<link rel="icon" type="image/png" href="assets/favicon/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="assets/favicon/favicon-32x32.png" sizes="32x32">
<link rel="apple-touch-icon" href="assets/favicon/apple-touch-icon.png">
<link rel="android-chrome-192x192" href="assets/favicon/android-chrome-192x192.png" sizes="192x192">
<link rel="android-chrome-512x512" href="assets/favicon/android-chrome-512x512.png" sizes="512x512">
<link rel="stylesheet" href="../npm/swiper%4011/swiper-bundle.min.css">
<link rel="stylesheet" href="../npm/sweetalert2%4011.0.19/dist/sweetalert2.min.css">
<script src="../npm/sweetalert2%4011.0.19/dist/sweetalert2.all.min.js" type="a156a1ab3bd26140c0396960-text/javascript"></script>
<style>
.free-boost-button {
cursor: pointer;
display: flex;
width: 100%;
height: 4.5rem;
margin: 0.5rem 0;
justify-content: space-between;
align-items: center;
border-radius: 15px;
padding: 0 0.75rem;
background-color: rgba(218, 218, 218, 0.2);
border:2px solid rgba(218, 218, 218, 0.02);
}
.free-boosts-buttons {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.select-none {
user-select: none; /* Prevent text selection */
-webkit-user-select: none; /* For WebKit browsers */
-moz-user-select: none; /* For Firefox */
pointer-events: none; /* Prevent interactions */
}
</style>
</head>
<body class="boost">
<div class="haeder">
<a href="index.htm?chat_id=1873407633">
<svg width="25px" height="25px" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22 11.9299H2" stroke="#ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M8.00009 19L2.84009 14C2.5677 13.7429 2.35071 13.433 2.20239 13.0891C2.05407 12.7452 1.97754 12.3745 1.97754 12C1.97754 11.6255 2.05407 11.2548 2.20239 10.9109C2.35071 10.567 2.5677 10.2571 2.84009 10L8.00009 5" stroke="#ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</a>
<!-- <h1>Notcoin</h1> -->
</div>
<div class="free-boosts">
<div class="free-boosts-title">
<h2>Free daily booster</h2>
</div>
<div class="free-boosts-buttons">
<div class="free-boost-button m-l" id="charge">
<div class="free-boosts-detail">
<span class="select-none">Full Energy</span>
<span class="available select-none">3/3 available</span>
</div>
<div>
<img src="assets/images/thunder.png" class="select-none" width="30px" alt="">
</div>
</div>
</div>
</div>
<div class="boosters">
<div class="boosters-title">
<h2 class="select-none">Boosters</h2>
</div>
<div class="boosters-buttons">
<div class="boosters-button m-b-1" id='Multitap' data-cost="1000" data-current-coinpertap="1">
<div class="boosters-button-detail">
<div class="boosters-button-image">
<img src="assets/images/point_up.png" class="select-none" width="50px">
</div>
<div>
<div>
<h4>Multitap</h4>
</div>
<div class="boosters-button-data">
<img src="assets/images/coin.png" width="20px" class="m-r-25 select-none">
<h5 class="m-r-25" id="upgrade-cost">1,000</h5>
<span class="m-r-25">•</span>
<p>1 lvl</p>
</div>
</div>
</div>
<div>
<svg width="30px" height="30px" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9 5L14.15 10C14.4237 10.2563 14.6419 10.5659 14.791 10.9099C14.9402 11.2539 15.0171 11.625 15.0171 12C15.0171 12.375 14.9402 12.7458 14.791 13.0898C14.6419 13.4339 14.4237 13.7437 14.15 14L9 19" stroke="#ffffff" opacity="0.4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<div class="boosters-button m-b-1" id='limitenergy' data-cost="2000" data-current-powerall="700">
<div class="boosters-button-detail">
<div class="boosters-button-image">
<img src="assets/images/battery.png" class="select-none" width="45px">
</div>
<div>
<div>
<h4>Energy Limit</h4>
</div>
<div class="boosters-button-data">
<img src="assets/images/coin.png" width="20px" class="m-r-25 select-none">
<h5 class="m-r-25" id="energy-upgrade-cost">2,000</h5>
<span class="m-r-25">•</span>
<p id="energy-level">1 lvl</p>
</div>
</div>
</div>
<div>
<svg width="30px" height="30px" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9 5L14.15 10C14.4237 10.2563 14.6419 10.5659 14.791 10.9099C14.9402 11.2539 15.0171 11.625 15.0171 12C15.0171 12.375 14.9402 12.7458 14.791 13.0898C14.6419 13.4339 14.4237 13.7437 14.15 14L9 19" stroke="#ffffff" opacity="0.4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<div class="boosters-button m-b-1" id='speedrecharge' data-cost="4000" data-current-speed="1500" data-current-level="3">
<div class="boosters-button-detail">
<div class="boosters-button-image">
<img src="assets/images/thunder.png" class="select-none" width="50px">
</div>
<div>
<div>
<h4>Speed Recharge</h4>
</div>
<div class="boosters-button-data">
<img src="assets/images/coin.png" width="20px" class="m-r-25 select-none">
<h5 class="m-r-25" id="speed-recharge-cost">4,000</h5>
<span class="m-r-25">•</span>
<p id="speed-recharge-level">3 lvl</p>
</div>
</div>
</div>
<div>
<script src="../npm/swiper%4011/swiper-bundle.min.js" type="a156a1ab3bd26140c0396960-text/javascript"></script>
<script type="a156a1ab3bd26140c0396960-text/javascript">
let chargeButton = document.getElementById('charge');
let availableSpan = chargeButton.querySelector('.available');
let total = 700;
// Function to get the current date in YYYY-MM-DD format
function getCurrentDate() {
let now = new Date();
return now.getFullYear() + '-' + (now.getMonth() + 1).toString().padStart(2, '0') + '-' + now.getDate().toString().padStart(2, '0');
}
// Function to check and update the charge counter
function updateChargeCount() {
let lastChargeDate = localStorage.getItem('lastChargeDate');
let currentDate = getCurrentDate();
let chargeCount = parseInt(localStorage.getItem('chargeCount') || '3');
if (lastChargeDate !== currentDate) {
chargeCount = 3;
localStorage.setItem('chargeCount', chargeCount);
localStorage.setItem('lastChargeDate', currentDate);
}
availableSpan.textContent = chargeCount + '/3 available';
return chargeCount;
}
// Function to charge power
function chargePower() {
let chargeCount = updateChargeCount();
if (chargeCount > 0) {
localStorage.setItem('power', total); // Charge to maximum
chargeCount--;
localStorage.setItem('chargeCount', chargeCount);
updateChargeCount();
Swal.fire({
title: 'Success!',
text: 'Power charged to maximum!',
icon: 'success',
confirmButtonText: 'OK'
});
} else {
Swal.fire({
title: 'No Today!',
text: 'No more charges available today. Please wait until tomorrow.',
icon: 'info',
confirmButtonText: 'OK'
});
}
}
// Add event listener for charge button
chargeButton.addEventListener('click', chargePower);
// Update charge counter display on page load
updateChargeCount();
function encryptChatId(chatId) {
return btoa(chatId.split('').reverse().join('')); // Simple encryption
}
document.getElementById('Multitap').addEventListener('click', function() {
var cost = parseInt(this.getAttribute('data-cost'));
var currentCoinpertap = parseInt(this.getAttribute('data-current-coinpertap'));
let encryptedChatId = encryptChatId('1873407633');
fetch('upgrade_multitap.php', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: 'chat_id=' + encryptedChatId + '&cost=' + cost
})
.then(response => response.json())
.then(data => {
if (data.success) {
// Update UI
currentCoinpertap++;
this.setAttribute('data-current-coinpertap', currentCoinpertap);
var newCost = 1000 * Math.pow(2, currentCoinpertap - 1);
this.setAttribute('data-cost', newCost);
document.getElementById('upgrade-cost').textContent = newCost.toLocaleString();
document.querySelector('#Multitap p').textContent = currentCoinpertap + ' lvl';
Swal.fire({
title: 'Success!',
text: 'Upgrade successful!',
icon: 'success',
confirmButtonText: 'OK'
});
} else {
Swal.fire({
title: 'Error!',
text: 'Not enough coins!',
icon: 'error',
confirmButtonText: 'OK'
});
}
});
});
document.getElementById('limitenergy').addEventListener('click', function() {
var cost = parseInt(this.getAttribute('data-cost'));
var currentPowerall = parseInt(this.getAttribute('data-current-powerall'));
let encryptedChatId = encryptChatId('1873407633');
fetch('upgrade_energy_limit.php', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: 'chat_id=' + encryptedChatId + '&cost=' + cost
})
.then(response => response.json())
.then(data => {
if (data.success) {
currentPowerall = data.new_powerall;
this.setAttribute('data-current-powerall', currentPowerall);
var newLevel = data.new_level;
document.getElementById('energy-level').textContent = newLevel + ' lvl';
var newCost = 2000 * Math.pow(2, newLevel - 1);
this.setAttribute('data-cost', newCost);
document.getElementById('energy-upgrade-cost').textContent = newCost.toLocaleString();
Swal.fire({
title: 'Success!',
text: 'Energy Limit upgraded successfully!',
icon: 'success',
confirmButtonText: 'OK'
});
} else {
Swal.fire({
title: 'Error!',
text: 'Not enough coins!',
icon: 'error',
confirmButtonText: 'OK'
});
}
});
});
document.getElementById('speedrecharge').addEventListener('click', function() {
var cost = parseInt(this.getAttribute('data-cost'));
var currentSpeed = parseInt(this.getAttribute('data-current-speed'));
var currentLevel = parseInt(this.getAttribute('data-current-level'));
if (currentLevel >= 9) {
Swal.fire({
title: 'Maximum Level Reached',
text: 'Speed Recharge is already at the highest level (9).',
icon: 'info',
confirmButtonText: 'OK'
});
return;
}
let encryptedChatId = encryptChatId('1873407633');
fetch('upgrade_speed_recharge.php', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: 'chat_id=' + encryptedChatId + '&cost=' + cost + '¤t_speed=' + currentSpeed + '¤t_level=' + currentLevel
})
.then(response => response.json())
.then(data => {
if (data.success) {
// Update UI
var newSpeed = data.new_speed;
var newLevel = data.new_level;
this.setAttribute('data-current-speed', newSpeed);
this.setAttribute('data-current-level', newLevel);
document.getElementById('speed-recharge-level').textContent = newLevel + ' lvl';
if (newLevel < 9) {
var newCost = 1000 * Math.pow(2, newLevel - 1);
this.setAttribute('data-cost', newCost);
document.getElementById('speed-recharge-cost').textContent = newCost.toLocaleString();
} else {
// Hide or disable the upgrade button if at max level
this.style.opacity = '0.5';
this.style.pointerEvents = 'none';
document.getElementById('speed-recharge-cost').textContent = 'Max';
}
Swal.fire({
title: 'Success!',
text: 'Speed Recharge upgraded successfully!',
icon: 'success',
confirmButtonText: 'OK'
});
} else {
Swal.fire({
title: 'Error!',
text: 'Not enough coins!',
icon: 'error',
confirmButtonText: 'OK'
});
}
});
});
document.getElementById('botmainer2').addEventListener('click', function() {
var status = this.getAttribute('data-status');
var cost = 8000;
if(status === 'null' || status === '') {
let encryptedChatId = encryptChatId('1873407633');
fetch('activate_botmainer.php', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: 'chat_id=' + encryptedChatId + '&cost=' + cost
})
.then(response => response.json())
.then(data => {
if (data.success) {
this.setAttribute('data-status', 'yes');
document.getElementById('botmainer-status').textContent = 'Active';
Swal.fire({
title: 'Success!',
text: 'Botminer activated successfully!',
icon: 'success',
confirmButtonText: 'OK'
});
} else {
Swal.fire({
title: 'Error!',
text: 'Not enough coins to activate Botminer!',
icon: 'error',
confirmButtonText: 'OK'
});
}
})
} else {
Swal.fire({
title: 'Already Activated!',
text: 'Botminer is already activated!',
icon: 'info',
confirmButtonText: 'OK'
});
}
});
</script>
<script src="../cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="a156a1ab3bd26140c0396960-|49" defer=""></script></div></div></div></div></body>
</html>