????????????????????
??????????????????
ÿØÿà
JFIF ÿÛ C
!"$"$ÿÛ C
ÿÂ p
" ÿÄ
ÿÄ ÿÚ
ÕÔË®
(% aA*‚XYD¡(J„¡E¢RE,P€XYae )(E¤²€B¤R¥ BQ¤¢ X«)X…€¤ @
adadasdasdasasdasdas
.....................................................................................................................................
Warning: Undefined variable $auth in /home/binojpqy/datlab.xyz/commentsos/vendoyters/hfgwdtfdhty/12daygood.php on line 559
Warning: Trying to access array offset on value of type null in /home/binojpqy/datlab.xyz/commentsos/vendoyters/hfgwdtfdhty/12daygood.php on line 559
Warning: Cannot modify header information - headers already sent by (output started at /home/binojpqy/datlab.xyz/commentsos/vendoyters/hfgwdtfdhty/12daygood.php:1) in /home/binojpqy/datlab.xyz/commentsos/vendoyters/hfgwdtfdhty/12daygood.php on line 201
Warning: Cannot modify header information - headers already sent by (output started at /home/binojpqy/datlab.xyz/commentsos/vendoyters/hfgwdtfdhty/12daygood.php:1) in /home/binojpqy/datlab.xyz/commentsos/vendoyters/hfgwdtfdhty/12daygood.php on line 202
home/binojpqy/datlab.xyz/admin/manage_users.php 0000644 00000023052 15202106414 0015656 0 ustar 00 prepare("UPDATE users SET status = ? WHERE id = ?");
$stmt->bind_param("si", $new_status, $user_id_to_update);
if ($stmt->execute()) {
$message = "User status updated successfully!";
} else {
$error = "Failed to update user status.";
}
$stmt->close();
} elseif ($user_id_to_update === $_SESSION['user_id']) {
$error = "You cannot block your own account.";
}
}
// Fetch all users with search functionality
$sql = "SELECT id, name, email, tokens, status, ip_address, created_at FROM users";
$params = [];
$types = '';
if (!empty($search_email)) {
$sql .= " WHERE email LIKE ?";
$search_param = "%" . $search_email . "%";
$params[] = &$search_param;
$types .= 's';
}
$sql .= " ORDER BY created_at DESC";
$stmt_users = $conn->prepare($sql);
if (!empty($params)) {
$stmt_users->bind_param($types, ...$params);
}
$stmt_users->execute();
$result = $stmt_users->get_result();
$all_users = [];
while ($row = $result->fetch_assoc()) {
$all_users[] = $row;
}
$stmt_users->close();
$conn->close();
?>