seperated the two board lists
parent
9a9aac0148
commit
0fdf012dc2
|
@ -35,12 +35,17 @@ $navbar="boards";
|
|||
if (!$result) {
|
||||
$error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
|
||||
}
|
||||
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="item-3">
|
||||
<ul class="list">
|
||||
<?php
|
||||
if ($login) {
|
||||
$error = false;
|
||||
$error_message = "";
|
||||
if (!$error) {
|
||||
echo '<br /><center><h2 class="beige">Private Boards</h2></center>';
|
||||
echo '<center><h2 class="beige">Private Boards</h2></center>';
|
||||
$statement = $pdo->prepare("SELECT * FROM boards WHERE private='1' ORDER BY id asc");
|
||||
$statement->execute();
|
||||
foreach($statement->fetchAll() as $ROW) {
|
||||
|
|
Loading…
Reference in New Issue