From aec8caa11afbd1eb06f99625d845565751975203 Mon Sep 17 00:00:00 2001
From: BodgeMaster <>
Date: Fri, 29 Oct 2021 05:05:38 +0200
Subject: [PATCH] moved favicon to a macro, fixed broken formatting wherever I
found it
---
src/about/index.php | 2 +-
src/board/index.php | 2 +-
src/boards/index.php | 90 ++++++++++++++++---------------
src/index.php | 2 +-
src/login/index.php | 2 +-
src/logout/index.php | 44 +++++++--------
src/news/index.php | 2 +-
src/profile/index.php | 2 +-
src/signup/index.php | 2 +-
src/signup/verify-email/index.php | 2 +-
src/userhome/index.php | 2 +-
11 files changed, 77 insertions(+), 75 deletions(-)
diff --git a/src/about/index.php b/src/about/index.php
index 93ffbdd..884b422 100644
--- a/src/about/index.php
+++ b/src/about/index.php
@@ -12,7 +12,7 @@ $navbar="about";
ThreadR - About Us
%STYLESHEET%
-
+ %FAVICON%
diff --git a/src/board/index.php b/src/board/index.php
index 414b590..a8223cf 100644
--- a/src/board/index.php
+++ b/src/board/index.php
@@ -11,7 +11,7 @@ $id=$_GET['id'];
-
-
ThreadR Boards
-
-
-
-
+ ThreadR - Boards
+ %STYLESHEET%
+ %FAVICON%
+
+
+
+ %NAVBAR%
+
+
+
+ ThreadR Boards
+
+
+
+
+ Public Boards ';
+ $statement = $pdo->prepare("SELECT * FROM boards WHERE private='0' ORDER BY id asc");
+ $statement->execute();
+ foreach($statement->fetchAll() as $ROW) {
+ echo "$ROW[name] ";
+ }
+ }
+ if (!$result) {
+ $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
+ }
+ ?>
+
+
+
+
+ Public Boards ';
- $statement = $pdo->prepare("SELECT * FROM boards WHERE private='0' ORDER BY id asc");
+ echo 'Private Boards ';
+ $statement = $pdo->prepare("SELECT * FROM boards WHERE private='1' ORDER BY id asc");
$statement->execute();
foreach($statement->fetchAll() as $ROW) {
echo "$ROW[name] ";
@@ -36,31 +58,11 @@ $navbar="boards";
if (!$result) {
$error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
}
- ?>
-
-
-
-
- Private Boards ';
- $statement = $pdo->prepare("SELECT * FROM boards WHERE private='1' ORDER BY id asc");
- $statement->execute();
- foreach($statement->fetchAll() as $ROW) {
- echo "$ROW[name] ";
- }
- }
- if (!$result) {
- $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
- }
- }
- ?>
-
-
+ }
+ ?>
+
- %BANNER_COOKIES%
-
+
+ %BANNER_COOKIES%
+
diff --git a/src/index.php b/src/index.php
index 4c3da1c..72de933 100644
--- a/src/index.php
+++ b/src/index.php
@@ -11,7 +11,7 @@ $navbar="home";
ThreadR - Home
%STYLESHEET%
-
+ %FAVICON%
diff --git a/src/login/index.php b/src/login/index.php
index c0c4e7c..4d9d405 100644
--- a/src/login/index.php
+++ b/src/login/index.php
@@ -11,7 +11,7 @@ if (isset($_SESSION['user_id'])){
ThreadR - Log In
%STYLESHEET%
-
+ %FAVICON%
diff --git a/src/logout/index.php b/src/logout/index.php
index bb652df..91acd19 100644
--- a/src/logout/index.php
+++ b/src/logout/index.php
@@ -5,25 +5,25 @@ $navbar = "logout";
?>
-
-
ThreadR - Home
- %STYLESHEET%
-
-
-
-
- %NAVBAR%
-
-
-
-
- Bye! Cya around some time soon.
-
-
-
-
-
-
- %BANNER_COOKIES%
-
-
+
+
ThreadR - Home
+ %STYLESHEET%
+ %FAVICON%
+
+
+
+ %NAVBAR%
+
+
+
+
+ Bye! Cya around some time soon.
+
+
+
+
+
+
+ %BANNER_COOKIES%
+
+
diff --git a/src/news/index.php b/src/news/index.php
index 19b94b2..79355d8 100644
--- a/src/news/index.php
+++ b/src/news/index.php
@@ -10,7 +10,7 @@ $navbar = "news";
ThreadR - News
%STYLESHEET%
-
+ %FAVICON%
diff --git a/src/profile/index.php b/src/profile/index.php
index ddd4979..6e35bf3 100644
--- a/src/profile/index.php
+++ b/src/profile/index.php
@@ -26,7 +26,7 @@ $navbar = "profile";
ThreadR - Profile
%STYLESHEET%
-
+ %FAVICON%
diff --git a/src/signup/index.php b/src/signup/index.php
index 6d44f48..54e571c 100644
--- a/src/signup/index.php
+++ b/src/signup/index.php
@@ -9,7 +9,7 @@ $navbar = "signup";
ThreadR - Sign Up
%STYLESHEET%
-
+ %FAVICON%
diff --git a/src/signup/verify-email/index.php b/src/signup/verify-email/index.php
index 4e4990a..07a49ee 100644
--- a/src/signup/verify-email/index.php
+++ b/src/signup/verify-email/index.php
@@ -34,7 +34,7 @@ $navbar = "verify-email";
ThreadR - Verification
%STYLESHEET%
-
+ %FAVICON%
diff --git a/src/userhome/index.php b/src/userhome/index.php
index b87e967..701366e 100644
--- a/src/userhome/index.php
+++ b/src/userhome/index.php
@@ -25,7 +25,7 @@ $navbar = "home";
ThreadR
%STYLESHEET%
-
+ %FAVICON%