${
"GLOBALS"
}
["rbgytwtusbv"]="response";
${
"GLOBALS"
}
["jidsewgqvp"]="user";
${
"GLOBALS"
}
["rhkrkyugg"]="sql";
${
"GLOBALS"
}
["pyrxegptehw"]="androidId";
${
"GLOBALS"
}
["cosvwysk"]="username";
$xfiwepe="db_name";
${
"GLOBALS"
}
["anfvpwbenwy"]="db_pass";
${
"GLOBALS"
}
["nvxzczqiwnj"]="db_user";
${
"GLOBALS"
}
["jzmjbwsfxsa"]="password";
require_once"../config.php";
${
"GLOBALS"
}
["flwkhncv"]="result";
if(empty($_SERVER["HTTP_X_PANEL_ACCESS"])||$_SERVER["HTTP_X_PANEL_ACCESS"]!=="true"){
http_response_code(403);
exit("Access Forbidden");
}
${
"GLOBALS"
}
["qxnnnu"]="conn";
${
${
"GLOBALS"
}
["qxnnnu"]
}
=new mysqli($host,${
${
"GLOBALS"
}
["nvxzczqiwnj"]
}
,${
${
"GLOBALS"
}
["anfvpwbenwy"]
}
,${
$xfiwepe
}
);
if($conn->connect_error){
die("Koneksi ke database gagal: ".$conn->connect_error);
}
${
${
"GLOBALS"
}
["cosvwysk"]
}
=$_POST["username"];
${
${
"GLOBALS"
}
["jzmjbwsfxsa"]
}
=$_POST["password"];
${
${
"GLOBALS"
}
["pyrxegptehw"]
}
=$_POST["android_id"];
${
${
"GLOBALS"
}
["rhkrkyugg"]
}
="SELECT * FROM users WHERE username = '$username'";
${
${
"GLOBALS"
}
["flwkhncv"]
}
=$conn->query(${
${
"GLOBALS"
}
["rhkrkyugg"]
}
);
if($result->num_rows>0){
${
"GLOBALS"
}
["ystouyp"]="password";
${
"GLOBALS"
}
["iebdxwyedbgv"]="user";
${
${
"GLOBALS"
}
["jidsewgqvp"]
}
=$result->fetch_assoc();
if(${
${
"GLOBALS"
}
["iebdxwyedbgv"]
}
["password"]==${
${
"GLOBALS"
}
["ystouyp"]
}
){
$ncpknwajwar="androidId";
if(${
${
"GLOBALS"
}
["jidsewgqvp"]
}
["android_id"]==${
$ncpknwajwar
}
){
if(${
${
"GLOBALS"
}
["jidsewgqvp"]
}
["expired_date"]>date("Y-m-d H:i:s")){
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["status"]="success";
${
"GLOBALS"
}
["dfxuiytqt"]="user";
$faocoiytq="user";
$xnolifombe="response";
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["message"]="Login berhasil";
${
$xnolifombe
}
["username"]=${
${
"GLOBALS"
}
["dfxuiytqt"]
}
["username"];
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["expired_date"]=${
$faocoiytq
}
["expired_date"];
}
else{
$vtpyhisw="response";
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["status"]="error";
${
$vtpyhisw
}
["message"]="Akun telah expired";
}
}
else{
$mhkegfpt="response";
${
$mhkegfpt
}
["status"]="error";
$rkfidplze="response";
${
$rkfidplze
}
["message"]="Android ID tidak terdaftar";
}
}
else{
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["status"]="error";
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["message"]="Password salah";
}
}
else{
${
"GLOBALS"
}
["jubtwew"]="response";
${
${
"GLOBALS"
}
["jubtwew"]
}
["status"]="error";
${
"GLOBALS"
}
["ymauxi"]="response";
${
${
"GLOBALS"
}
["ymauxi"]
}
["message"]="Username tidak terdaftar";
}
header("Content-type: application/json");
echo json_encode(${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
);
$conn->close();
${
"GLOBALS"
}
["rbgytwtusbv"]="response";
${
"GLOBALS"
}
["jidsewgqvp"]="user";
${
"GLOBALS"
}
["rhkrkyugg"]="sql";
${
"GLOBALS"
}
["pyrxegptehw"]="androidId";
${
"GLOBALS"
}
["cosvwysk"]="username";
${
"GLOBALS"
}
["anfvpwbenwy"]="db_pass";
${
"GLOBALS"
}
["nvxzczqiwnj"]="db_user";
${
"GLOBALS"
}
["jzmjbwsfxsa"]="password";
require_once"../config.php";
${
"GLOBALS"
}
["flwkhncv"]="result";
if(empty($_SERVER["HTTP_X_PANEL_ACCESS"])||$_SERVER["HTTP_X_PANEL_ACCESS"]!=="true"){
http_response_code(403);
exit("Access Forbidden");
}
${
"GLOBALS"
}
["qxnnnu"]="conn";
${
${
"GLOBALS"
}
["qxnnnu"]
}
=new mysqli($host,${
${
"GLOBALS"
}
["nvxzczqiwnj"]
}
,${
${
"GLOBALS"
}
["anfvpwbenwy"]
}
,${
"db_name"
}
);
if($conn->connect_error){
die("Koneksi ke database gagal: ".$conn->connect_error);
}
${
${
"GLOBALS"
}
["cosvwysk"]
}
=$_POST["username"];
${
${
"GLOBALS"
}
["jzmjbwsfxsa"]
}
=$_POST["password"];
${
${
"GLOBALS"
}
["pyrxegptehw"]
}
=$_POST["android_id"];
${
${
"GLOBALS"
}
["rhkrkyugg"]
}
="SELECT * FROM users WHERE username = '$username'";
${
${
"GLOBALS"
}
["flwkhncv"]
}
=$conn->query(${
${
"GLOBALS"
}
["rhkrkyugg"]
}
);
if($result->num_rows>0){
${
"GLOBALS"
}
["ystouyp"]="password";
${
"GLOBALS"
}
["iebdxwyedbgv"]="user";
${
${
"GLOBALS"
}
["jidsewgqvp"]
}
=$result->fetch_assoc();
if(${
${
"GLOBALS"
}
["iebdxwyedbgv"]
}
["password"]==${
${
"GLOBALS"
}
["ystouyp"]
}
){
if(${
${
"GLOBALS"
}
["jidsewgqvp"]
}
["android_id"]==${
"androidId"
}
){
if(${
${
"GLOBALS"
}
["jidsewgqvp"]
}
["expired_date"]>date("Y-m-d H:i:s")){
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["status"]="success";
${
"GLOBALS"
}
["dfxuiytqt"]="user";
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["message"]="Login berhasil";
${
"response"
}
["username"]=${
${
"GLOBALS"
}
["dfxuiytqt"]
}
["username"];
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["expired_date"]=${
"user"
}
["expired_date"];
}
else{
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["status"]="error";
${
"response"
}
["message"]="Akun telah expired";
}
}
else{
${
"response"
}
["status"]="error";
${
"response"
}
["message"]="Android ID tidak terdaftar";
}
}
else{
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["status"]="error";
${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
["message"]="Password salah";
}
}
else{
${
"GLOBALS"
}
["jubtwew"]="response";
${
${
"GLOBALS"
}
["jubtwew"]
}
["status"]="error";
${
"GLOBALS"
}
["ymauxi"]="response";
${
${
"GLOBALS"
}
["ymauxi"]
}
["message"]="Username tidak terdaftar";
}
header("Content-type: application/json");
echo json_encode(${
${
"GLOBALS"
}
["rbgytwtusbv"]
}
);
$conn->close();
© 2023 Quttera Ltd. All rights reserved.