PATH: //proc/thread-self/cwd/kerbau
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
π .htaccess
β
X
π assets/
X
π balance.php
β
X
π bank.php
β
X
π banner.php
β
X
π connecty_api.php
β
X
π dashboard.php
β
X
π detail_result.php
β
X
π e_user.php
β
X
π edit_qris.php
β
X
π error_log
β
X
π export/
X
π function/
X
π game.php
β
X
π getNotif.php
β
X
π getWinner.php
β
X
π getbalance.php
β
X
π group.php
β
X
π index.php
β
X
π login-proses.php
β
X
π logout.php
β
X
π member.php
β
X
π minimal_depo_wd.php
β
X
π payment.php
β
X
π pop.php
β
X
π post.php
β
X
π promo.php
β
X
π promosid.php
β
X
π qris.php
β
X
π request_depo.php
β
X
π request_wd.php
β
X
π riwayat_topup.php
β
X
π riwayat_withdraw.php
β
X
π room.php
β
X
π session.php
β
X
π setting.php
β
X
π sidebar.php
β
X
π slide.php
β
X
π social.php
β
X
π top-menu.php
β
X
π topup.php
β
X
π transfer.php
β
X
π upload/
X
π user.php
β
X
π view.php
β
X
π withdraw.php
β
X
SAVING...
BERHASIL DIUBAH!
EDITING: getNotif.php
<?php include('session.php'); date_default_timezone_set('Asia/Jakarta'); $todayStart = date('Y-m-d 00:00:00'); $todayEnd = date('Y-m-d 23:59:59'); // ====== CEK DEPOSIT BARU ====== $getDeposit = mysqli_query($conn," SELECT * FROM tb_transaksi WHERE date BETWEEN '$todayStart' AND '$todayEnd' AND jenis = '1' AND status = 0 ORDER BY cuid DESC LIMIT 1 ") or die(mysqli_error($conn)); if (mysqli_num_rows($getDeposit) > 0) { $gd = mysqli_fetch_assoc($getDeposit); $userID = $gd['userID']; $getUser = mysqli_query($conn,"SELECT * FROM tb_user WHERE cuid = '$userID'") or die(mysqli_error($conn)); $gu = mysqli_fetch_assoc($getUser); echo ' <div class="alert alert-dismissible text-dark" role="alert" id="notifDeposit" style="background-color:#fff3cd; border:1px solid #ffeeba;"> Γ°ΕΈββ <b>Permintaan Deposit Baru!</b><br> Dari: <b>'.$gu['user'].'</b><br> Jumlah: Rp '.number_format($gd['total']).'<br> <button type="button" class="btn btn-sm btn-primary mt-2 bukaDeposit" data-id="'.$gd['cuid'].'">Buka</button> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" onclick="stopSound()"></button> </div> <script>playSound();</script> '; } // ====== CEK WITHDRAW BARU ====== $getWithdraw = mysqli_query($conn," SELECT * FROM tb_transaksi WHERE date BETWEEN '$todayStart' AND '$todayEnd' AND jenis = '2' AND status = 0 ORDER BY cuid DESC LIMIT 1 ") or die(mysqli_error($conn)); if (mysqli_num_rows($getWithdraw) > 0) { $gw = mysqli_fetch_assoc($getWithdraw); $userID = $gw['userID']; $getUser = mysqli_query($conn,"SELECT * FROM tb_user WHERE cuid = '$userID'") or die(mysqli_error($conn)); $gu = mysqli_fetch_assoc($getUser); echo ' <div class="alert alert-dismissible text-dark" role="alert" id="notifWithdraw" style="background-color:#fff3cd; border:1px solid #ffeeba;"> π <b>Permintaan Penarikan Baru!</b><br> Dari: <b>'.$gu['user'].'</b><br> Jumlah: Rp '.number_format($gw['total']).'<br> <button type="button" class="btn btn-sm btn-danger mt-2 bukaWithdraw" data-id="'.$gw['cuid'].'">Buka</button> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" onclick="stopSound()"></button> </div> <script>playSound();</script> '; } ?>
SIMPAN PERUBAHAN