add css to submit page

This commit is contained in:
Your Name 2025-10-13 18:23:33 -04:00
parent eef9a44d55
commit 3c6edc5277
3 changed files with 5 additions and 3 deletions

View file

@ -64,7 +64,9 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
require 'common.php';
if (submitSite($name, $url, $summary, $category)) {
session_destroy();
echo("<html><head><link rel=\"stylesheet\" href=\"/css/main.css\" id=\"pagestyle\"><title>" . constant("sitename") . " | Success</title><body><p>Your site was submitted. Click <a href=\"/\">here</a> to go back to the homepage.</p></body></html>");
echo("<html>");
head();
echo("<body><p>Your site was submitted. Click <a href=\"/\">here</a> to go back to the homepage.</p></body></html>");
die();
} else {
echo("Error");