PATH: /home/hwyuvbry/public_html/m
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 .htaccess
↓
X
📄 arcade.php
↓
X
📄 callback.php
↓
X
📄 callback.php#
↓
X
📄 casino.php
↓
X
📄 create_pp.php
↓
X
📄 deposit.php
↓
X
📄 error_log
↓
X
📄 history.php
↓
X
📄 history.php#
↓
X
📄 history_ajax.php
↓
X
📄 index.php
↓
X
📄 logout.php
↓
X
📄 maintenance.php
↓
X
📄 memo.php
↓
X
📄 password.php
↓
X
📄 payment.php
↓
X
📄 refferal.php
↓
X
📄 rekening.php
↓
X
📄 slots.php
↓
X
📄 sports.php
↓
X
📄 togel.php
↓
X
📄 withdraw.php
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: history_ajax.php
<?php include("../app/headl.php"); ?> <?php if (!isset($_SESSION['user'])) exit(); $user = mysqli_query($conn, "SELECT * FROM `tb_user` WHERE user = '" . $_SESSION['user'] . "'") or die(mysqli_error($conn)); $u = mysqli_fetch_array($user); $usersID = $u['cuid']; $filter = $_GET['filter'] ?? ''; // Query history $where = "WHERE userID='$usersID'"; if ($filter == 'game') { $where .= " AND result IS NOT NULL"; } elseif ($filter == 'depowd') { $where .= " AND (note LIKE '%Deposit%' OR note LIKE '%Withdraw%')"; } elseif ($filter == 'log') { $where .= " AND (note LIKE '%Login%' OR note LIKE '%Logout%' OR note LIKE '%Password%')"; } elseif ($filter == 'dll') { $where .= " AND (note LIKE '%Bonus%' OR note LIKE '%Freebet%' OR note LIKE '%Promo%')"; } $sql = mysqli_query($conn, "SELECT * FROM tb_history_game $where ORDER BY datetime DESC") or die(mysqli_error($conn)); if (mysqli_num_rows($sql) > 0) { while ($row = mysqli_fetch_assoc($sql)) { $statusColor = ($row['result'] == 'Win') ? 'color:#00ff00; font-weight:bold;' : 'color:#ff4444; font-weight:bold;'; echo "<tr> <td align='center'>" . htmlspecialchars($row['datetime']) . "</td> <td align='center'>" . htmlspecialchars($row['note']) . "</td> <td align='center'>Rp " . number_format($row['bet'], 0, ',', '.') . "</td> <td align='center'>Rp " . number_format($row['win'], 0, ',', '.') . "</td> <td align='center' style='$statusColor'>" . htmlspecialchars($row['result']) . "</td> <td align='center'>" . htmlspecialchars($row['provider']) . "</td> </tr>"; } } else { echo "<tr><td colspan='6' align='center'>Belum ada transaksi.</td></tr>"; } ?>
SIMPAN PERUBAHAN