????????????????????
??????????????????
ÿØÿà
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
prepare("INSERT INTO support_tickets (user_id, subject, message, image_url) VALUES (?, ?, ?, ?)");
$stmt->bind_param("isss", $user_id, $subject, $content, $image_url);
if ($stmt->execute()) {
$message = "Your support ticket has been submitted successfully!";
} else {
$error = "Failed to submit your ticket.";
}
$stmt->close();
}
}
}
// Fetch user's tickets
$tickets = [];
$stmt_tickets = $conn->prepare("SELECT id, subject, message, image_url, status, admin_reply, created_at, updated_at FROM support_tickets WHERE user_id = ? ORDER BY created_at DESC");
$stmt_tickets->bind_param("i", $user_id);
$stmt_tickets->execute();
$result = $stmt_tickets->get_result();
while ($row = $result->fetch_assoc()) {
$tickets[] = $row;
}
$stmt_tickets->close();
$conn->close();
function getStatusBadge($status) {
switch ($status) {
case 'replied': return 'bg-green-100 text-green-800';
case 'rejected': return 'bg-red-100 text-red-800';
default: return 'bg-yellow-100 text-yellow-800';
}
}
?>
You have no support tickets.