fixed links
parent
e0e4592289
commit
1545576d1e
|
@ -29,7 +29,7 @@ $navbar="boards";
|
||||||
$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) {
|
||||||
echo "<li><a href='%CONTENT_DIR%/boards/thread.php?id=$ROW[id]'>$ROW[name]</a></li>";
|
echo "<li><a href='%CONTENT_DIR%/board/?id=$ROW[id]'>$ROW[name]</a></li>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
|
@ -49,7 +49,7 @@ $navbar="boards";
|
||||||
$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) {
|
||||||
echo "<li><a href='%CONTENT_DIR%/boards/thread.php?id=$ROW[id]'>$ROW[name]</a></li>";
|
echo "<li><a href='%CONTENT_DIR%/board/?id=$ROW[id]'>$ROW[name]</a></li>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
|
|
Loading…
Reference in New Issue