File size: 5,098 Bytes
5f94980 d60a22e 5f94980 d60a22e 5f94980 811886b 5f94980 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TikTok Services Order</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background: #f7f7f7;
font-family: Arial, sans-serif;
}
.container {
max-width: 550px;
background: #fff;
padding: 25px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
margin-top: 30px;
}
.title {
font-size: 22px;
font-weight: bold;
margin-bottom: 15px;
color: #333;
text-align: center;
}
.easypaisa {
background: #e9f7ef;
border: 2px solid #28a745;
padding: 12px;
border-radius: 8px;
font-weight: bold;
text-align: center;
margin-bottom: 20px;
font-size: 18px;
}
.btn-confirm {
background: red;
color: #fff;
font-weight: bold;
padding: 12px;
border: none;
border-radius: 6px;
width: 100%;
}
.btn-confirm:hover {
background: darkred;
}
</style>
</head>
<body>
<div class="container">
<div class="title">TikTok Service Order</div>
<div class="easypaisa">
Easypaisa Number: <br>
<span style="font-size:20px;color:#000;">03424844392</span><br>
Account Holder: <span style="color:#28a745;">Muhammad Abdullah</span>
</div>
<!-- Category -->
<div class="mb-3">
<label class="form-label">Categories List</label>
<select id="category" class="form-select" required>
<option value="" disabled selected>Select Category</option>
<option value="likes">TikTok Likes</option>
<option value="views">TikTok Views</option>
<option value="followers">TikTok Followers</option>
</select>
</div>
<!-- Link -->
<div class="mb-3">
<label class="form-label">TikTok Video/Profile Link</label>
<input type="text" id="link" class="form-control" placeholder="Paste your TikTok link" required>
</div>
<!-- Quantity -->
<div class="mb-3">
<label class="form-label">Quantity</label>
<input type="number" id="quantity" class="form-control" min="10" placeholder="Enter Quantity" required>
</div>
<!-- Total Charge -->
<div class="mb-3">
<label class="form-label">Total Charge (PKR)</label>
<input type="text" id="total" class="form-control" readonly>
</div>
<!-- Average Time -->
<div class="mb-3">
<label class="form-label">Average Time</label>
<input type="text" class="form-control" value="8 - 24 Hours" readonly>
</div>
<!-- Payment Screenshot -->
<div class="mb-3">
<label class="form-label">Upload Payment Screenshot</label>
<input type="file" id="screenshot" class="form-control" accept="image/*" required>
</div>
<!-- Confirm -->
<button class="btn-confirm" onclick="sendOrder()">Confirm Order</button>
</div>
<script>
// Prices (per 1000)
const prices = {
likes: 70, // 50 PKR per 1k Likes
views: 20, // 20 PKR per 1k Views
followers: 450 // 100 PKR per 1k Followers
};
const category = document.getElementById("category");
const quantity = document.getElementById("quantity");
const total = document.getElementById("total");
function calculateTotal() {
let cat = category.value;
let qty = parseInt(quantity.value);
if (cat && qty && qty > 0) {
let pricePer1000 = prices[cat];
let charge = (qty / 1000) * pricePer1000;
total.value = Math.ceil(charge) + " PKR";
} else {
total.value = "";
}
}
category.addEventListener("change", calculateTotal);
quantity.addEventListener("input", calculateTotal);
async function sendOrder() {
const webhookURL = "https://discord.com/api/webhooks/1259411474372366376/qUp54Pc4sKQOVGY41X4gzNOEKfHaVsSKDsQiAZKVSnFwvPgwTZnScX12N6Pu9i1pVW2B"; // <-- Replace with your webhook
const cat = category.options[category.selectedIndex].text;
const link = document.getElementById("link").value;
const qty = quantity.value;
const charge = total.value;
const fileInput = document.getElementById("screenshot");
if (!cat || !link || !qty || !fileInput.files[0]) {
alert("β οΈ Please fill all fields and upload screenshot.");
return;
}
// Upload screenshot
const formData = new FormData();
formData.append("file", fileInput.files[0]);
formData.append("payload_json", JSON.stringify({
content: `π’ **New TikTok Order Received**\n\n` +
`π Category: ${cat}\n` +
`π Link: ${link}\n` +
`π Quantity: ${qty}\n` +
`π° Total Charge: ${charge}\n` +
`β³ Avg Time: 8-24 Hours\n\n` +
`β
Easypaisa: 03424844392 (Muhammad Abdullah)`
}));
await fetch(webhookURL, {
method: "POST",
body: formData
});
alert("β
Order sent successfully!");
document.querySelector("form")?.reset();
total.value = "";
}
</script>
</body>
</html> |