forked from root/threadr.lostcave.ddnss.de
„threadr/boards/index.php“ ändern
parent
4084529804
commit
f9006f35f6
|
@ -19,7 +19,7 @@ $navbar="boards";
|
||||||
<h1><center>ThreadR Boards</center></h1>
|
<h1><center>ThreadR Boards</center></h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-2">
|
<div class="item-2">
|
||||||
<ul class="topnav">
|
<ul class="list">
|
||||||
<?php
|
<?php
|
||||||
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
|
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
|
||||||
$error = false;
|
$error = false;
|
||||||
|
@ -30,7 +30,7 @@ $navbar="boards";
|
||||||
$statement->execute();
|
$statement->execute();
|
||||||
|
|
||||||
foreach($statement->fetchAll() as $ROW) {
|
foreach($statement->fetchAll() as $ROW) {
|
||||||
echo "<li><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></li>";
|
echo "<li><p><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></p></li>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue