Skip to content

App.py #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

App.py #37

wants to merge 1 commit into from

Conversation

DARK96-debug
Copy link

<title>UC Clicker</title> <style> body { margin: 0; font-family: 'Arial', sans-serif; background: linear-gradient(to bottom, #000, #1a1a1a); color: white; text-align: center; }
.section {
  display: none;
  padding: 20px;
}

.active {
  display: block;
}

.coin-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 30px auto;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.coin-img:hover {
  transform: scale(1.05);
}

.status {
  font-size: 18px;
  margin: 10px 0;
}

.navbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: #111;
  border-top: 1px solid #333;
  padding: 10px 0;
  z-index: 100;
}

.navbar button {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.navbar img {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
}

.card {
  background-color: #222;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  margin: 20px auto;
  max-width: 360px;
}

input, button {
  padding: 10px;
  margin: 5px 0;
  border-radius: 6px;
  border: none;
  font-size: 14px;
}

input {
  width: 100%;
}

.btn-copy {
  background-color: #007bff;
  color: white;
  cursor: pointer;
  width: 100%;
}

.mission {
  background-color: #444;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}
</style>
Balans: 0.0000 UC
Zaryat: 100%

UC chiqarish

Chiqarish

Missiyalar

Instagram obunasini amalga oshirish - 0.005 XV Coin

Bajarish

YouTube obunasini amalga oshirish - 0.005 XV Coin

Bajarish

Telegram kanaliga obuna bo‘lish - 0.005 XV Coin

Bajarish

Referal Tizimi

Referal havolani do‘stlaringizga yuboring va bonus oling!

Havolani Nusxalash
Uy UC Missiyalar Referal
<script> function navigate(id) { document.querySelectorAll('.section').forEach(s => s.classList.remove('active')); document.getElementById(id).classList.add('active'); } function addBalance() { let balance = parseFloat(localStorage.getItem("balance") || "0"); let zaryat = parseInt(localStorage.getItem("zaryat") || "100"); if (zaryat > 0) { balance += 0.001; zaryat -= 1; localStorage.setItem("balance", balance.toFixed(4)); localStorage.setItem("zaryat", zaryat); updateDisplay(); } else { alert("Zaryat tugagan. Kuting..."); } } function updateDisplay() { let balance = parseFloat(localStorage.getItem("balance") || "0"); let zaryat = parseInt(localStorage.getItem("zaryat") || "100"); document.getElementById("balance").innerText = "Balans: " + balance.toFixed(4) + " UC"; document.getElementById("zaryat").innerText = "Zaryat: " + zaryat + "%"; } function withdrawUC() { let amount = parseFloat(document.getElementById("withdrawAmount").value); let pubgId = document.getElementById("pubgId").value.trim(); let balance = parseFloat(localStorage.getItem("balance") || "0"); if (isNaN(amount) || amount <= 0 || !pubgId) { alert("Iltimos, UC miqdori va PUBG ID ni to‘g‘ri kiriting."); return; } if (balance >= amount) { balance -= amount; localStorage.setItem("balance", balance.toFixed(4)); updateDisplay(); // Telegram Botga xabar yuborish sendToTelegram(pubgId, amount); alert(amount + " UC chiqarildi."); } else { alert("Balans yetarli emas."); } } function sendToTelegram(pubgId, amount) { const botToken = 'YOUR_BOT_TOKEN'; // Telegram bot tokenini shu yerga qo‘ying const chatId = 'YOUR_CHAT_ID'; // Telegram chat ID ni shu yerga qo‘ying const message = `PUBG ID: ${pubgId}\nChiqarilgan UC miqdori: ${amount} UC`; const url = `https://api.telegram.org/bot${botToken}/sendMessage?chat_id=${chatId}&text=${encodeURIComponent(message)}`; fetch(url) .then(response => response.json()) .then(data => console.log('Xabar yuborildi', data)) .catch(error => console.error('Telegramga yuborishda xatolik', error)); } function completeMission(mission) { let balance = parseFloat(localStorage.getItem("balance") || "0"); if (mission === "Instagram" || mission === "YouTube" || mission === "Telegram") { balance += 0.005; // Har bir missiya uchun bonus localStorage.setItem("balance", balance.toFixed(4)); updateDisplay(); alert(mission + " missiyasi muvaffaqiyatli bajarildi! Bonus oling."); } } function copyLink() { let referalLink = document.getElementById("referalLink"); referalLink.select(); document.execCommand("copy"); alert("Referal havolasi nusxalandi: " + referalLink.value); } window.onload = updateDisplay; </script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant