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: bonus_floating.php
<?php class NexusAPI { private $api_url = "https://api.nexusggr.com"; private $agent_code = "Bastian"; private $agent_token = "ae301ee35c16c6d3662ad284c6c19006"; private function callAPI($data) { $ch = curl_init($this->api_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); $response = curl_exec($ch); curl_close($ch); return json_decode($response, true); } public function getPlayers() { $data = [ "method" => "call_players", "agent_code" => $this->agent_code, "agent_token" => $this->agent_token ]; return $this->callAPI($data); } public function getCallList($provider_code, $game_code) { $data = [ "method" => "call_list", "agent_code" => $this->agent_code, "agent_token" => $this->agent_token, "provider_code" => $provider_code, "game_code" => $game_code ]; return $this->callAPI($data); } public function applyBonus($provider_code, $game_code, $user_code, $call_rtp, $call_type = 1) { $data = [ "method" => "call_apply", "agent_code" => $this->agent_code, "agent_token" => $this->agent_token, "provider_code" => $provider_code, "game_code" => $game_code, "user_code" => $user_code, "call_rtp" => intval($call_rtp), "call_type" => $call_type ]; return $this->callAPI($data); } } $nexus = new NexusAPI(); $players = $nexus->getPlayers(); $selected_player = null; $call_list = null; $result = null; if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['player'])) { $selected_player = json_decode($_POST['player'], true); $call_list = $nexus->getCallList($selected_player['provider_code'], $selected_player['game_code']); } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['call_rtp'])) { $selected_player = json_decode($_POST['selected_player'], true); $call_rtp = isset($_POST['call_rtp']) ? intval($_POST['call_rtp']) : 0; if ($call_rtp > 0) { $result = $nexus->applyBonus( $selected_player['provider_code'], $selected_player['game_code'], $selected_player['user_code'], $call_rtp, 1 ); } else { $result = ["status" => 0, "msg" => "Call RTP tidak valid!"]; } } ?> <!-- Tombol Floating --> <button class="floating-btn" onclick="openModal()">+</button> <!-- Modal --> <div id="bonusModal" class="modal"> <div class="modal-content"> <span class="close-btn" onclick="closeModal()">×</span> <h2>Bonus Free Spin</h2> <form method="post"> <label>Pilih Pemain:</label> <select name="player" onchange="this.form.submit()"> <option value="">-- Pilih Pemain --</option> <?php if (!empty($players['data'])): ?> <?php foreach ($players['data'] as $player): ?> <option value='<?= json_encode($player) ?>' <?= ($selected_player && $selected_player['user_code'] == $player['user_code']) ? 'selected' : '' ?>> <?= $player['user_code'] ?> | <?= $player['provider_code'] ?> | <?= $player['game_code'] ?> </option> <?php endforeach; ?> <?php else: ?> <option value="">Tidak ada pemain online</option> <?php endif; ?> </select> </form> <?php if ($selected_player): ?> <h3>Daftar Call RTP untuk <?= $selected_player['user_code'] ?></h3> <form method="post"> <input type="hidden" name="selected_player" value='<?= json_encode($selected_player) ?>'> <label>Pilih Call RTP:</label> <select name="call_rtp"> <option value="">-- Pilih RTP --</option> <?php if (!empty($call_list['calls'])): ?> <?php foreach ($call_list['calls'] as $call): ?> <option value="<?= intval($call['rtp']) ?>"><?= $call['rtp'] ?> | <?= $call['call_type'] ?></option> <?php endforeach; ?> <?php else: ?> <option value="">Tidak ada Call RTP tersedia</option> <?php endif; ?> </select> <button type="submit">Kirim Bonus</button> </form> <?php endif; ?> <?php if ($result): ?> <h3>Hasil Pemberian Bonus</h3> <p><?= json_encode($result) ?></p> <?php endif; ?> </div> </div> <style> .floating-btn { position: fixed; bottom: 80%; right: 50px; background: #007BFF; color: white; border: none; border-radius: 50%; width: 60px; z-index: 1000; height: 60px; font-size: 30px; cursor: pointer; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); } .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 20px; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); } .modal-content { background-color: white; margin: 10% auto; padding: 20px; width: 50%; border-radius: 10px; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); } .close-btn { float: right; font-size: 24px; cursor: pointer; } </style> <script> function openModal() { document.getElementById("bonusModal").style.display = "block"; } function closeModal() { document.getElementById("bonusModal").style.display = "none"; } </script>
SIMPAN PERUBAHAN