forked from root/threadr.lostcave.ddnss.de
seperated the two board lists
parent
9a9aac0148
commit
0fdf012dc2
|
@ -35,12 +35,17 @@ $navbar="boards";
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
$error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
|
$error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="item-3">
|
||||||
|
<ul class="list">
|
||||||
|
<?php
|
||||||
if ($login) {
|
if ($login) {
|
||||||
$error = false;
|
$error = false;
|
||||||
$error_message = "";
|
$error_message = "";
|
||||||
if (!$error) {
|
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 = $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) {
|
||||||
|
|
Loading…
Reference in New Issue