PATH: //home/hwyuvbry/sahabat.waroenkhoki123.web.id
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 .htaccess
↓
X
📁 .well-known/
X
📁 assets/
X
📁 blacklist/
X
📄 cek_provider.php
↓
X
📁 cgi-bin/
X
📁 dekstop/
X
📄 error_log
↓
X
📁 function/
X
📄 get_saldo_agent.php
↓
X
📄 halo.php
↓
X
📁 img/
X
📄 index.php
↓
X
📄 kontol.php
↓
X
📁 main/
X
📄 maintenance.php
↓
X
📁 mobile/
X
📄 popup.php
↓
X
📄 rtp.php
↓
X
📄 superbiz_rumor (1).sql
↓
X
📄 test.php
↓
X
📁 upload/
X
📁 uploads/
X
SAVING...
BERHASIL DIUBAH!
EDITING: get_saldo_agent.php
<?php include_once __DIR__ . "/function/connect.php"; include_once __DIR__ . "/main/API/functions.php"; $saldo = 0; // ambil data integrasi $q = mysqli_query($koneksi, "SELECT * FROM tb_integrasi LIMIT 1"); $d = mysqli_fetch_assoc($q); if ($d) { $response = $SGX->agentbalance(); if ($response) { $status = $response['status'] ?? ''; $msg = strtoupper($response['msg'] ?? ''); if ( $status == 1 || strtoupper($status) == 'SUCCESS' || strpos($msg, 'SUCCESS') !== false ) { // ✅ FIX DI SINI if (isset($response['agent']['balance'])) { $saldo = $response['agent']['balance']; } } } } // output ke dashboard echo number_format($saldo);
SIMPAN PERUBAHAN