prepare("INSERT INTO listings (platform, title, link, submitted_by) VALUES (:platform, :title, :link, :submitted_by)");
$stmt->execute([':platform' => $platform, ':title' => $title, ':link' => $link, ':submitted_by' => $user_email]);
$system_message = '
✨ Listing submitted for review!
';
}
}
elseif (isset($_POST['form_type']) && $_POST['form_type'] == 'staff_report' && $is_staff) {
$report_link = htmlspecialchars($_POST['report-link'] ?? '');
$reason = htmlspecialchars($_POST['reason'] ?? '');
if (!empty($report_link) && !empty($reason)) {
$stmt = $pdo->prepare("INSERT INTO reports (report_link, reason, submitted_by) VALUES (:report_link, :reason, :submitted_by)");
$stmt->execute([':report_link' => $report_link, ':reason' => $reason, ':submitted_by' => $user_email]);
$system_message = '🛡️ Report submitted successfully.
';
}
}
}
?>
htmmainfo.org
☀️ Closed for the Summer. See you in the Fall!
🚨 SITE LOCKDOWN: Submissions currently paused.
🔒 TEMPORARY FREEZE: Under Administration Review.
💬 Open Messages
Submit Listing
Staff Reporting (Admin)