ویرگول
ورودثبت نام
omid
omid
omid
omid
خواندن ۳ دقیقه·۸ روز پیش

پشتیبانی

<!DOCTYPE html>

<html lang="fa" dir="rtl">

<head>

<meta charset="UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>پشتیبانی</title>

<style>

* {

box-sizing: border-box;

font-family: Tahoma, Arial, sans-serif;

}

body {

margin: 0;

background: linear-gradient(135deg, #0f172a, #1e293b);

color: #fff;

min-height: 100vh;

display: flex;

align-items: center;

justify-content: center;

padding: 20px;

}

.container {

width: 100%;

max-width: 520px;

background: rgba(255,255,255,0.06);

backdrop-filter: blur(12px);

border: 1px solid rgba(255,255,255,0.12);

border-radius: 24px;

padding: 28px;

box-shadow: 0 20px 60px rgba(0,0,0,0.35);

}

.title {

text-align: center;

font-size: 32px;

margin: 0 0 10px;

font-weight: 700;

}

.subtitle {

text-align: center;

color: #cbd5e1;

margin-bottom: 24px;

line-height: 1.9;

}

.card {

background: rgba(255,255,255,0.08);

border: 1px solid rgba(255,255,255,0.12);

border-radius: 18px;

padding: 18px;

margin-bottom: 16px;

}

.label {

font-size: 15px;

color: #cbd5e1;

margin-bottom: 10px;

display: block;

}

.value {

font-size: 17px;

word-break: break-word;

margin-bottom: 12px;

}

.btn {

width: 100%;

border: none;

border-radius: 14px;

padding: 14px 16px;

cursor: pointer;

font-size: 16px;

font-weight: 700;

margin-top: 10px;

transition: 0.25s ease;

}

.btn:hover {

transform: translateY(-2px);

opacity: 0.95;

}

.btn-primary {

background: #2563eb;

color: #fff;

}

.btn-green {

background: #16a34a;

color: #fff;

}

.btn-dark {

background: #334155;

color: #fff;

}

.admin-panel {

display: none;

margin-top: 20px;

padding-top: 10px;

border-top: 1px solid rgba(255,255,255,0.12);

}

input, textarea {

width: 100%;

margin-top: 10px;

margin-bottom: 12px;

padding: 12px 14px;

border-radius: 12px;

border: 1px solid rgba(255,255,255,0.18);

outline: none;

background: rgba(15, 23, 42, 0.85);

color: #fff;

font-size: 15px;

}

.small {

font-size: 13px;

color: #cbd5e1;

line-height: 1.8;

}

.footer {

text-align: center;

margin-top: 18px;

font-size: 13px;

color: #94a3b8;

}

.row {

display: flex;

gap: 10px;

}

.row .btn {

width: 50%;

}

</style>

</head>

<body>

<div class="container">

<h1 class="title">پشتیبانی</h1>

<p class="subtitle">

برای ارتباط، ورود به کانال و گروه از دکمههای زیر استفاده کن.

</p>

<div class="card">

<span class="label">لینک اصلی / پشتیبانی</span>

<div class="value" id="mainLinkText">@Sketch_West</div>

<button class="btn btn-primary" ="openMainLink()">ورود به پشتیبانی</button>

</div>

<div class="card">

<span class="label">لینک گروه</span>

<div class="value" id="groupLinkText">https://rubika.ir/joing/BACIDCHAG0ZRROQPIRFIBMXYAZQIDJXD</div>

<button class="btn btn-green" ="openGroupLink()">ورود به گروه</button>

</div>

<div class="card">

<button class="btn btn-dark" ="toggleAdmin()">ورود به پنل مدیریت</button>

<div class="admin-panel" id="adminPanel">

<p class="small">

برای تغییر لینکها، نام کاربری و رمز را وارد کن.

</p>

<input type="text" id="username" placeholder="نام کاربری" />

<input type="password" id="password" placeholder="رمز عبور" />

<button class="btn btn-primary" ="loginAdmin()">ورود</button>

<div id="editArea" style="display:none; margin-top:18px;">

<input type="text" id="newMainLink" placeholder="لینک جدید پشتیبانی" />

<input type="text" id="newGroupLink" placeholder="لینک جدید گروه" />

<button class="btn btn-green" ="saveLinks()">ذخیره تغییرات</button>

<button class="btn btn-dark" ="logoutAdmin()">خروج از پنل</button>

</div>

</div>

</div>

<div class="footer">

ساخته شده برای پشتیبانی

</div>

</div>

let mainLink = "@Sketch_West";

let groupLink = "https://rubika.ir/joing/BACIDCHAG0ZRROQPIRFIBMXYAZQIDJXD";

const adminUser = "OMID";

const adminPass = "OMID_MAFYA";

function openMainLink() {

if (mainLink.startsWith("@")) {

alert("این آیدی است: " + mainLink + "\nاگر لینک کامل داری، آن را در پنل مدیریت وارد کن.");

} else {

window.open(mainLink, "_blank");

}

}

function openGroupLink() {

window.open(groupLink, "_blank");

}

function toggleAdmin() {

const panel = document.getElementById("adminPanel");

panel.style.display = panel.style.display === "none" || panel.style.display === "" ? "block" : "none";

}

function loginAdmin() {

const user = document.getElementById("username").value;

const pass = document.getElementById("password").value;

if (user === adminUser && pass === adminPass) {

document.getElementById("editArea").style.display = "block";

alert("ورود موفق بود.");

} else {

alert("نام کاربری یا رمز اشتباه است.");

}

}

function saveLinks() {

const newMain = document.getElementById("newMainLink").value.trim();

const newGroup = document.getElementById("newGroupLink").value.trim();

if (newMain) {

mainLink = newMain;

document.getElementById("mainLinkText").textContent = newMain;

}

if (newGroup) {

groupLink = newGroup;

document.getElementById("groupLinkText").textContent = newGroup;

}

alert("لینکها با موفقیت تغییر کردند.");

}

function logoutAdmin() {

document.getElementById("username").value = "";

document.getElementById("password").value = "";

document.getElementById("newMainLink").value = "";

document.getElementById("newGroupLink").value = "";

document.getElementById("editArea").style.display = "none";

alert("از پنل خارج شدی.");

}

</body>

</html>

gt lt
۲
۰
omid
omid
شاید از این پست‌ها خوشتان بیاید