fixed some headings

master
Jakob 2020-03-06 10:06:24 +01:00
parent e3705b84ed
commit 74fc06bbf3
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ $navbar="boards";
$error = false; $error = false;
$error_message = ""; $error_message = "";
if (!$error) { if (!$error) {
echo "<p>Public Boards: </p>"; echo '<center><h2 color="beige">Public Boards</h2><center>';
$statement = $pdo->prepare("SELECT * FROM boards WHERE private='0' ORDER BY id asc"); $statement = $pdo->prepare("SELECT * FROM boards WHERE private='0' ORDER BY id asc");
$statement->execute(); $statement->execute();
foreach($statement->fetchAll() as $ROW) { foreach($statement->fetchAll() as $ROW) {
@ -40,7 +40,7 @@ $navbar="boards";
$error = false; $error = false;
$error_message = ""; $error_message = "";
if (!$error) { if (!$error) {
echo "<p>Private Boards: </p>"; echo '<br /><center><h2 color="beige">Private Boards</h2><center>;
$statement = $pdo->prepare("SELECT * FROM boards WHERE private='1' ORDER BY id asc"); $statement = $pdo->prepare("SELECT * FROM boards WHERE private='1' ORDER BY id asc");
$statement->execute(); $statement->execute();
foreach($statement->fetchAll() as $ROW) { foreach($statement->fetchAll() as $ROW) {