add css to submit page
This commit is contained in:
parent
eef9a44d55
commit
3c6edc5277
3 changed files with 5 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,6 @@
|
||||||
*~
|
*~
|
||||||
#*
|
#*
|
||||||
|
.#*
|
||||||
*.secret
|
*.secret
|
||||||
*.db
|
*.db
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,9 @@ error_reporting(E_ERROR | E_PARSE);
|
||||||
define("bannedhosts", array("google.com"));
|
define("bannedhosts", array("google.com"));
|
||||||
define("sitename", "Eternal Winter");
|
define("sitename", "Eternal Winter");
|
||||||
define("dbfile", "secrets/eternalwinter.db");
|
define("dbfile", "secrets/eternalwinter.db");
|
||||||
define("static", "/static");
|
define("static", "static");
|
||||||
define("banner", "banner.jpg");
|
define("banner", "banner.jpg");
|
||||||
define("css", "main.css");
|
define("css", "main.css");
|
||||||
define("captchafont", "captchafont.ttf");
|
|
||||||
define("footer", '<small>- <a href="https://git.xmpub.org/xmpub/EternalWinter">eternalwinter</a> -<br>Est. Oct 12, 2025</small>');
|
define("footer", '<small>- <a href="https://git.xmpub.org/xmpub/EternalWinter">eternalwinter</a> -<br>Est. Oct 12, 2025</small>');
|
||||||
define("categories", array(
|
define("categories", array(
|
||||||
"blog" => "Blog",
|
"blog" => "Blog",
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,9 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||||
require 'common.php';
|
require 'common.php';
|
||||||
if (submitSite($name, $url, $summary, $category)) {
|
if (submitSite($name, $url, $summary, $category)) {
|
||||||
session_destroy();
|
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();
|
die();
|
||||||
} else {
|
} else {
|
||||||
echo("Error");
|
echo("Error");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue