forked from root/threadr.lostcave.ddnss.de
„threadr/boards/index.php“ ändern
parent
1778e13ad5
commit
fbdb7b8848
|
@ -14,12 +14,9 @@
|
|||
$statement = $pdo->prepare("SELECT * FROM boards");
|
||||
$statement->execute();
|
||||
|
||||
echo "<ul class="topnav">"
|
||||
foreach($statement->fetchAll() as $ROW) {
|
||||
echo "<li><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></li>";
|
||||
echo "<li><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></li><br />";
|
||||
}
|
||||
echo "</ul>"
|
||||
|
||||
}
|
||||
|
||||
if (!$result) {
|
||||
|
|
Loading…
Reference in New Issue