PATH: /home/hwyuvbry/dear.waroenkhoki123.web.id/topadmin
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 .htaccess
↓
X
📄 Saldorespon.json
↓
X
📄 anggota.php
↓
X
📁 assets/
X
📄 bonus.php
↓
X
📄 bonus_floating.php
↓
X
📄 bukti_jp.php
↓
X
📄 bukti_jp.php#
↓
X
📄 check_data_changes.php
↓
X
📄 dasbor.php
↓
X
📄 deposit.php
↓
X
📄 error_log
↓
X
📄 footer.php
↓
X
📄 ikon_mengambang.php
↓
X
📄 import_games.php
↓
X
📄 index.php
↓
X
📄 keluar.php
↓
X
📄 kyc.php
↓
X
📄 masuk.php
↓
X
📄 masuk.php##
↓
X
📄 masuk_step_1.php
↓
X
📄 navbar.php
↓
X
📄 pemberitahuan.php
↓
X
📄 pengaturan.php
↓
X
📄 pengaturan.php#
↓
X
📄 popup.php
↓
X
📄 profil.php
↓
X
📄 promosi.php
↓
X
📄 refferal.php
↓
X
📄 rekening.php
↓
X
📄 saldo.php
↓
X
📄 saldobckup.php
↓
X
📄 sidebar.php
↓
X
📄 staff.php
↓
X
📄 tambah_anggota.php
↓
X
📄 tambah_bonus.php
↓
X
📄 tambah_bukti_jp.php
↓
X
📄 tambah_ikon_mengambang.php
↓
X
📄 tambah_promosi.php
↓
X
📄 tambah_rekening.php
↓
X
📄 tambah_rekening.php#
↓
X
📄 tambah_staff.php
↓
X
📄 test.php
↓
X
📄 ubah_anggota.php
↓
X
📄 ubah_bonus.php
↓
X
📄 ubah_bukti_jp.php
↓
X
📄 ubah_deposit.php
↓
X
📄 ubah_ikon_mengambang.php
↓
X
📄 ubah_kyc.php
↓
X
📄 ubah_promosi.php
↓
X
📄 ubah_rekening.php
↓
X
📄 ubah_saldo.php
↓
X
📄 ubah_staff.php
↓
X
📄 ubah_withdraw.php
↓
X
📄 verifikasi.php
↓
X
📄 wd.txt
↓
X
📄 withdraw.php
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: ubah_kyc.php
<?php include_once '../koneksi.php'; session_start(); // Cek apakah pengguna sudah masuk if (!isset($_SESSION['kode_admin'])) { echo ' <script> alert("Terjadi kesalahan, harap masuk kembali!"); window.location.replace("'.$alamat_admin.'keluar.php"); </script> '; exit; } // Cek jika form di-submit if (isset($_POST['update_kyc'])) { $id_anggota = $_POST['id_anggota']; $new_status = $_POST['new_status']; // Validasi status yang diterima if (in_array($new_status, ['0', '1', '2'])) { // Fungsi untuk memperbarui status KYC function updateKYCStatus($id_anggota, $new_status) { global $koneksi; $query = "UPDATE anggota SET kyc_status = ? WHERE id_anggota = ?"; $stmt = $koneksi->prepare($query); if ($stmt) { $stmt->bind_param("ii", $new_status, $id_anggota); return $stmt->execute(); } return false; } // Panggil fungsi untuk memperbarui status KYC if (updateKYCStatus($id_anggota, $new_status)) { echo '<script>alert("Status KYC berhasil diperbarui!"); window.location.replace("' . $alamat_admin . 'kyc");</script>'; } else { echo '<script>alert("Gagal memperbarui status KYC!"); window.history.back();</script>'; } } else { echo '<script>alert("Status yang diberikan tidak valid!"); window.history.back();</script>'; } } ?>
SIMPAN PERUBAHAN