Upload index.html
#1
by King-auy - opened
- index.html +120 -0
index.html
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
| 5 |
+
<title>Airways Flights - GOTYME BANK 53002232772</title>
|
| 6 |
+
<style>
|
| 7 |
+
*{box-sizing:border-box}body{margin:0;background:#05122a;color:#fff;font-family:Arial}
|
| 8 |
+
.top{background:#0a1930;border-bottom:2px solid #c9a74d;padding:12px;text-align:center;position:sticky;top:0;z-index:10}
|
| 9 |
+
.card{background:#132040;border:1px solid #2a4a8a;border-radius:12px;padding:12px;margin:10px}
|
| 10 |
+
.btn{padding:11px;border:none;border-radius:8px;font-weight:900;cursor:pointer;width:100%;margin:5px 0}
|
| 11 |
+
.btn-y{background:#ffcc33;color:#000}.btn-g{background:#00c853;color:#fff}.btn-b{background:#1e90ff;color:#fff}
|
| 12 |
+
input{padding:11px;border-radius:8px;border:1px solid #555;background:#000;color:#fff;width:100%;margin:4px 0}
|
| 13 |
+
.lv{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;font-size:12px;text-align:center}
|
| 14 |
+
.lv div{background:#0e244a;padding:8px;border-radius:8px;border:1px solid #ffcc33;cursor:pointer}
|
| 15 |
+
.badge{background:#ffcc33;color:#000;padding:3px 8px;border-radius:12px;font-weight:900}
|
| 16 |
+
</style>
|
| 17 |
+
</head>
|
| 18 |
+
<body>
|
| 19 |
+
<div class="top">
|
| 20 |
+
<h2 style="color: #ffcc33; margin: 0;">✈️ AIRWAYS FLIGHTS 18%</h2>
|
| 21 |
+
<div style="margin: 6px;"><a href="https://wa.me/27790991677?text=Hello GLORY" style="background: #25D366; color: #fff; padding: 6px 12px; border-radius: 20px; font-weight: 900; text-decoration: none; font-size: 12px;">💬 Support 0790991677</a></div>
|
| 22 |
+
<div style="background: #ffcc33; color: #000; padding: 6px; border-radius: 8px; font-weight: 900; font-size: 12px;">🏦 GOTYME BANK ACC: 53002232772 REF: AIRWAYS FLIGHTS</div>
|
| 23 |
+
</div>
|
| 24 |
+
<div id="auth" class="card">
|
| 25 |
+
<h3 style="color: #ffcc33;">Register - New Account Activation</h3>
|
| 26 |
+
<input id="rName" placeholder="Full Name" type="text" /><input id="rPhone" placeholder="Phone 07..." type="text" /><input id="rPass" type="password" placeholder="Password" /><input id="rRef" placeholder="Referral Code (New link only)" type="text" /> <button class="btn btn-y" onclick="doReg()">REGISTER NEW ACCOUNT - ACTIVATE</button><hr />
|
| 27 |
+
<h3 style="color: #8ab0ff;">Login</h3>
|
| 28 |
+
<input id="lCode" placeholder="BSM Code or Phone" type="text" /><input id="lPass" type="password" placeholder="Password" /> <button class="btn btn-b" onclick="doLogin()">LOGIN - ACTIVATE ALL BUTTONS</button>
|
| 29 |
+
<p id="linkMsg" style="font-size: 11px; color: #ffcc33;"></p>
|
| 30 |
+
</div>
|
| 31 |
+
<div id="dash" style="display: none;">
|
| 32 |
+
<div class="card" style="border: 2px solid #ffcc33;"><b><span id="uName"></span> <span class="badge" id="uCodeBadge"></span></b><br />Code: <b id="uCode"></b> | Lvl <span id="uLvl"></span> | Inv R<span id="uInv"></span> | Bal R<span id="uBal"></span></div>
|
| 33 |
+
<div class="card" style="border: 2px solid #ffcc33; background: linear-gradient(135deg,#132040,#0e244a);">
|
| 34 |
+
<h4 style="color: #ffcc33; margin: 0;">🔗 NEW INVITE LINK (Old reset)</h4>
|
| 35 |
+
<input id="invLink" readonly="readonly" style="border: 2px solid #ffcc33; color: #ffcc33; font-weight: 900;" type="text" /> <button class="btn btn-y" onclick="copyInvite()">📋 COPY NEW LINK - REGISTER NEW ACCOUNT</button> <button class="btn btn-b" onclick="shareWA()">💬 SHARE TO WHATSAPP</button>
|
| 36 |
+
<p style="font-size: 10px;">New link: <span id="invCode"></span> - Old links expired!</p>
|
| 37 |
+
</div>
|
| 38 |
+
<div class="card">
|
| 39 |
+
<h4 style="color: #ffcc33;">✈️ LEVELS - All Buttons Active</h4>
|
| 40 |
+
<div class="lv">
|
| 41 |
+
<div onclick="submitDep(150)">Lvl1 R150</div>
|
| 42 |
+
<div onclick="submitDep(300)">Lvl2 R300</div>
|
| 43 |
+
<div onclick="submitDep(600)">Lvl3 R600</div>
|
| 44 |
+
<div onclick="submitDep(1000)">Lvl4 R1000</div>
|
| 45 |
+
<div onclick="submitDep(2000)">Lvl5 R2000</div>
|
| 46 |
+
</div>
|
| 47 |
+
<p style="font-size: 11px; color: #ffcc33;">GOTYME BANK 53002232772 - Fee 12% Min R60</p>
|
| 48 |
+
</div>
|
| 49 |
+
<div class="card"><input id="dRef" placeholder="Ref: AIRWAYS FLIGHTS" type="text" /><button class="btn btn-g" onclick="customDep()">DEPOSIT - GOTYME BANK</button> <input id="wAmt" type="number" placeholder="Withdraw Min R60" /><button class="btn btn-b" onclick="submitWit()">WITHDRAW - 12% FEE</button>
|
| 50 |
+
<div id="hist" style="font-size: 11px; margin-top: 8px;"></div>
|
| 51 |
+
</div>
|
| 52 |
+
<div class="card"><input id="bName" placeholder="Bank" type="text" /><input id="bHolder" placeholder="Holder" type="text" /><input id="bNumber" placeholder="Acc No" type="text" /> <button class="btn btn-b" onclick="saveBank()">Save Bank</button>
|
| 53 |
+
<p id="bankInfo" style="font-size: 11px;"></p>
|
| 54 |
+
</div>
|
| 55 |
+
<button class="btn" style="background: #222; color: #fff;" onclick="logout()">Logout</button></div>
|
| 56 |
+
<script>
|
| 57 |
+
let users=JSON.parse(localStorage.getItem('airUsers')||'[]');
|
| 58 |
+
let cur=JSON.parse(localStorage.getItem('airCur')||'null');
|
| 59 |
+
if(cur) showDash();
|
| 60 |
+
|
| 61 |
+
// NEW LINK SYSTEM - Check ref on load
|
| 62 |
+
window.addEventListener('DOMContentLoaded',()=>{
|
| 63 |
+
let params=new URLSearchParams(location.search);
|
| 64 |
+
let ref=params.get('ref');
|
| 65 |
+
if(ref){
|
| 66 |
+
let all=JSON.parse(localStorage.getItem('airUsers')||'[]');
|
| 67 |
+
let found=all.find(u=>u.myCode==ref);
|
| 68 |
+
if(found){
|
| 69 |
+
rRef.value=ref;
|
| 70 |
+
linkMsg.innerText='✅ New invite from '+found.name+' ('+ref+') - Register new account to activate!';
|
| 71 |
+
} else {
|
| 72 |
+
// Old link expired
|
| 73 |
+
linkMsg.innerText='⚠️ Old link '+ref+' expired! Use new link. Register new account to activate.';
|
| 74 |
+
rRef.value='';
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
});
|
| 78 |
+
|
| 79 |
+
function genCode(phone){return 'BSM'+Math.floor(10000+Math.random()*90000);}
|
| 80 |
+
function doReg(){
|
| 81 |
+
let name=rName.value.trim(),phone=rPhone.value.trim(),pass=rPass.value.trim(),ref=rRef.value.trim();
|
| 82 |
+
if(!name||!phone||!pass){alert('Fill all');return;}
|
| 83 |
+
if(phone=='0790991677'||phone=='27790991677'){alert('Admin hidden');return;}
|
| 84 |
+
if(users.find(u=>u.phone==phone)){alert('Phone exists - Login');return;}
|
| 85 |
+
let code=genCode(phone);
|
| 86 |
+
while(users.find(u=>u.myCode==code))code=genCode(phone);
|
| 87 |
+
let u={name,phone,pass,myCode:code,refBy:ref,i:0,b:0,p:0,level:1,pend:[],h:['New Account Activated'],bank:null,isAdmin:false};
|
| 88 |
+
users.push(u);localStorage.setItem('airUsers',JSON.stringify(users));cur=u;localStorage.setItem('airCur',JSON.stringify(cur));
|
| 89 |
+
alert('✅ NEW ACCOUNT ACTIVATED! Your NEW CODE: '+code+'\nInvite Link: https://airways-flights.likesyou.org/register?ref='+code);
|
| 90 |
+
showDash();
|
| 91 |
+
}
|
| 92 |
+
function doLogin(){
|
| 93 |
+
let code=lCode.value.trim(),pass=lPass.value.trim();
|
| 94 |
+
if(code=='0790991677'){alert('Admin hidden - use admin.html');return;}
|
| 95 |
+
let u=users.find(x=>(x.myCode.toLowerCase()==code.toLowerCase()||x.phone==code)&&x.pass==pass&&!x.isAdmin);
|
| 96 |
+
if(!u){alert('Wrong code/pass');return;}
|
| 97 |
+
cur=u;localStorage.setItem('airCur',JSON.stringify(cur));showDash();
|
| 98 |
+
}
|
| 99 |
+
function showDash(){
|
| 100 |
+
if(!cur)return;
|
| 101 |
+
if(cur.phone=='0790991677'||cur.isAdmin){localStorage.removeItem('airCur');location.reload();return;}
|
| 102 |
+
auth.style.display='none';dash.style.display='block';
|
| 103 |
+
let up=users.find(x=>x.phone==cur.phone)||cur;cur=up;
|
| 104 |
+
uName.innerText=cur.name;uCode.innerText=cur.myCode;uCodeBadge.innerText=cur.myCode;invCode.innerText=cur.myCode;uLvl.innerText=cur.level;uInv.innerText=cur.i||0;uBal.innerText=Math.floor(cur.b||0);
|
| 105 |
+
let newLink='https://airways-flights.likesyou.org/register?ref='+cur.myCode;
|
| 106 |
+
invLink.value=newLink;
|
| 107 |
+
bankInfo.innerText=cur.bank?'Saved: '+cur.bank.bankName:'No bank';
|
| 108 |
+
hist.innerHTML=(cur.pend||[]).slice(-5).reverse().map(x=>`${x.type} R${x.amt} ${x.status}`).join('<br>');
|
| 109 |
+
}
|
| 110 |
+
function submitDep(amt){let ref=dRef.value.trim()||'AIRWAYS FLIGHTS';let pend={id:Date.now(),type:'DEPOSIT',amt,ref,status:'PENDING',time:new Date().toLocaleString()};cur.pend.push(pend);cur.h.push('DEP R'+amt);save();let msg=`DEPOSIT ✈️\nName:${cur.name}\nBSM:${cur.myCode}\nR${amt} Ref:${ref}\nGOTYME BANK ACC 53002232772 REF AIRWAYS FLIGHTS`;window.open('https://wa.me/27790991677?text='+encodeURIComponent(msg),'_blank');alert('Deposit R'+amt+' to GOTYME 53002232772 - Activated!');showDash();}
|
| 111 |
+
function customDep(){let amt=Number(prompt('Amount min 150:'));if(!amt||amt<150)return;submitDep(amt);}
|
| 112 |
+
function submitWit(){let amt=Number(wAmt.value);if(!amt||amt<60){alert('Min R60');return;}if((cur.b||0)<amt){alert('No balance');return;}if(!cur.bank){alert('Save bank');return;}let fee=Math.floor(amt*0.12),get=amt-fee;let pend={id:Date.now(),type:'WITHDRAW',amt,fee,get,status:'PENDING',time:new Date().toLocaleString(),bankName:cur.bank.bankName,holder:cur.bank.holder,accNumber:cur.bank.number};cur.pend.push(pend);save();let msg=`WITHDRAW ✈️\nBSM:${cur.myCode}\nR${amt} Fee R${fee} Get R${get}\nBank ${cur.bank.bankName}`;window.open('https://wa.me/27790991677?text='+encodeURIComponent(msg),'_blank');alert('Withdraw R'+amt+' pending');showDash();}
|
| 113 |
+
function copyInvite(){let link=invLink.value;navigator.clipboard.writeText(link);alert('✅ NEW LINK COPIED:\n'+link+'\nOld links reset - Must register new account!');}
|
| 114 |
+
function shareWA(){let link=invLink.value;window.open('https://wa.me/?text='+encodeURIComponent('Join Airways Flights NEW LINK - Register new account to activate! '+link+' GOTYME BANK 53002232772'),' _blank');}
|
| 115 |
+
function saveBank(){let bank={bankName:bName.value.trim(),holder:bHolder.value.trim(),number:bNumber.value.trim()};if(!bank.bankName||!bank.number){alert('Fill bank');return;}cur.bank=bank;save();alert('Bank saved - Buttons activated!');showDash();}
|
| 116 |
+
function save(){let idx=users.findIndex(x=>x.phone==cur.phone);if(idx>=0)users[idx]=cur;else users.push(cur);localStorage.setItem('airUsers',JSON.stringify(users));localStorage.setItem('airCur',JSON.stringify(cur));}
|
| 117 |
+
function logout(){localStorage.removeItem('airCur');location.reload();}
|
| 118 |
+
</script>
|
| 119 |
+
</body>
|
| 120 |
+
</html>
|