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: bukti_jp.php#
<?php include_once '../koneksi.php'; if (!isset($_SESSION['kode_admin'])) { echo ' <script> alert("Terjadi kesalahan, harap masuk kembali!"); window.location.replace("'.$alamat_admin.'keluar.php"); </script> '; } ?> <style> /* Tombol simpan hitam + garis gold */ .btn-simpan-custom { background-color: #000; color: #FFD700; /* teks gold */ border: 2px solid #FFD700; } .btn-simpan-custom:hover { background-color: #111; color: #fff; border-color: #FFD700; } </style> <div class="container-xxl flex-grow-1 container-p-y"> <div class="row gy-4 mb-4"> <div class="col-md-6"> <div class="fw-bold fs-4 text-center text-md-start">Konfigurasi Api</div> </div> <div class="col-md-6"> <div class="text-center text-md-end"> <a href="<?php echo $alamat_admin.'dasbor'; ?>" class="btn btn-sm btn-primary waves-effect waves-light"> <span class="tf-icons mdi mdi-plus me-1"></span> Kembali </a> </div> </div> </div> <div class="card table-responsive p-3"> <table class="table" id="example"> <thead> <?php if ($message !== ''): ?> <div class="alert alert-info"><?php echo htmlspecialchars($message); ?></div> <?php endif; ?> <div class="card p-3"> <form method="post" action=""> <div class="mb-3"> <label for="agent_code" class="form-label">Agent Code</label> <input type="password" class="form-control" id="agent_code" name="agent_code" value="<?php echo htmlspecialchars($current_code); ?>" required> </div> <div class="mb-3"> <label for="agent_token" class="form-label">Agent Token</label> <input type="password" class="form-control" id="agent_token" name="agent_token" value="<?php echo htmlspecialchars($current_token); ?>" required> </div> <button type="submit" class="btn btn-simpan-custom w-100"> Simpan </button> </form> </thead> <tbody> <?php $message = ''; if ($_SERVER['REQUEST_METHOD'] === 'POST') { $agent_code = mysqli_real_escape_string($koneksi, $_POST['agent_code'] ?? ''); $agent_token = mysqli_real_escape_string($koneksi, $_POST['agent_token'] ?? ''); if ($agent_code === '' || $agent_token === '') { $message = 'Agent Code dan Agent Token wajib diisi.'; } else { $sql = "UPDATE tb_api SET agent_code = '{$agent_code}', agent_token = '{$agent_token}', updated_at = NOW() WHERE id = 1"; if (mysqli_query($koneksi, $sql)) { $message = 'Data berhasil diperbarui.'; } else { $message = 'Terjadi kesalahan saat menyimpan: ' . mysqli_error($koneksi); } } } $sql2 = "SELECT agent_code, agent_token FROM tb_api WHERE id = 1 LIMIT 1"; $res2 = mysqli_query($koneksi, $sql2); if (!$res2) { die("Query gagal: " . mysqli_error($koneksi)); } $data = mysqli_fetch_assoc($res2); $current_code = $data['agent_code'] ?? ''; $current_token = $data['agent_token'] ?? ''; ?>
SIMPAN PERUBAHAN