Website Code
Website Code
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>PROFESSORxDATABASE </title>
<style>
body {
margin: 0;
padding: 0;
background: #000;
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
animation: fadeIn 1s ease-in-out;
}
.box {
background: #111;
border: 2px solid red;
box-shadow: 0 0 25px red;
padding: 30px 20px;
border-radius: 15px;
width: 100%;
max-width: 400px;
text-align: center;
animation: fadeIn 1s ease-in-out;
}
.top-title {
color: #0f0;
text-shadow: 0 0 10px #0f0;
font-size: 16px;
margin-bottom: 5px;
font-weight: bold;
letter-spacing: 2px;
}
.box h2 {
color: red;
font-size: 24px;
margin-bottom: 20px;
}
.box input {
width: 100%;
padding: 12px;
border-radius: 8px;
border: none;
margin-bottom: 20px;
font-size: 16px;
background: #333;
color: white;
box-shadow: inset 0 0 5px red;
}
.box button {
width: 100%;
padding: 12px;
border: none;
border-radius: 8px;
margin: 10px 0;
font-size: 16px;
font-weight: bold;
cursor: pointer;
color: white;
background: linear-gradient(90deg, #c00000, #ff0000);
box-shadow: 0 0 15px red;
transition: 0.3s;
}
.box button:hover {
transform: scale(1.05);
background: linear-gradient(90deg, #ff0000, #c00000);
}
.whatsapp-btn {
background: linear-gradient(90deg, #25D366, #128C7E);
box-shadow: 0 0 15px #25D366;
color: white;
}
#responseBox {
color: white;
margin-top: 20px;
font-size: 16px;
display: none;
animation: fadeIn 1s ease-in-out;
background: #222;
border: 1px solid #444;
padding: 15px;
border-radius: 10px;
text-align: left;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
</style>
</head>
<body>
<div class="box">
<div class="top-title">PROXARMY</div>
<h2>🔍 Search SIM Details</h2>
<input type="text" id="number" placeholder="Enter phone number" required />
<button onclick="fetchData()">🔎 Get Details</button>
<div id="responseBox"></div>
if (!number) {
alert("Please enter a phone number.");
return;
}
try {
const res = await fetch(url);
const json = await res.json();
const apiData = JSON.parse(json.contents);
function shareWhatsApp() {
const responseBox = document.getElementById("responseBox");
const text = encodeURIComponent(responseBox.innerText);
const url = `https://wa.me/?text=${text}`;
window.open(url, '_blank');
}
</script>